Add memchr tests for n == 0
[glibc.git] / ChangeLog
blob99efccf6a03e04811d65b28cf8f66a19b446d4b1
1 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
3         * string/test-memchr.c (test_main): Add tests for n == 0.
5 2017-05-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7         * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
8         nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
9         (tests-internal): ... here.
11 2017-05-25   Siddhesh Poyarekar  <siddhesh@sourceware.org>
12              H.J. Lu  <hongjiu.lu@intel.com>
14         * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
15         * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
16         (__tunable_set_val): Likewise.
18 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
20         * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
21         dl-tunables.list in subdirectories.
23 2017-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
25             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27         * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28         (SNANF128): New macro.
29         * math/e_sqrtf128.c: New file.
30         * math/s_fmaxmag_template.c: Include math_private.h in order to
31         make inline expansion of fabs128().
32         * math/s_fminmag_template.c: Likewise.
34         * sysdeps/ieee754/float128/e_acosf128.c: New file.
35         * sysdeps/ieee754/float128/e_acoshf128.c: New file.
36         * sysdeps/ieee754/float128/e_asinf128.c: New file.
37         * sysdeps/ieee754/float128/e_atan2f128.c: New file.
38         * sysdeps/ieee754/float128/e_atanhf128.c: New file.
39         * sysdeps/ieee754/float128/e_coshf128.c: New file.
40         * sysdeps/ieee754/float128/e_exp10f128.c: New file.
41         * sysdeps/ieee754/float128/e_expf128.c: New file.
42         * sysdeps/ieee754/float128/e_fmodf128.c: New file.
43         * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
44         * sysdeps/ieee754/float128/e_hypotf128.c: New file.
45         * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
46         * sysdeps/ieee754/float128/e_j0f128.c: New file.
47         * sysdeps/ieee754/float128/e_j1f128.c: New file.
48         * sysdeps/ieee754/float128/e_jnf128.c: New file.
49         * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
50         * sysdeps/ieee754/float128/e_log10f128.c: New file.
51         * sysdeps/ieee754/float128/e_log2f128.c: New file.
52         * sysdeps/ieee754/float128/e_logf128.c: New file.
53         * sysdeps/ieee754/float128/e_powf128.c: New file.
54         * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
55         * sysdeps/ieee754/float128/e_remainderf128.c: New file.
56         * sysdeps/ieee754/float128/e_scalbf128.c: New file.
57         * sysdeps/ieee754/float128/e_sinhf128.c: New file.
58         * sysdeps/ieee754/float128/float128_private.h: New file.
59         * sysdeps/ieee754/float128/gamma_productf128.c: New file.
60         * sysdeps/ieee754/float128/ieee754_float128.h: New file.
61         * sysdeps/ieee754/float128/k_cosf128.c: New file.
62         * sysdeps/ieee754/float128/k_sincosf128.c: New file.
63         * sysdeps/ieee754/float128/k_sinf128.c: New file.
64         * sysdeps/ieee754/float128/k_tanf128.c: New file.
65         * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
66         * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
67         * sysdeps/ieee754/float128/s_asinhf128.c: New file.
68         * sysdeps/ieee754/float128/s_atanf128.c: New file.
69         * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
70         * sysdeps/ieee754/float128/s_ceilf128.c: New file.
71         * sysdeps/ieee754/float128/s_copysignf128.c: New file.
72         * sysdeps/ieee754/float128/s_cosf128.c: New file.
73         * sysdeps/ieee754/float128/s_erff128.c: New file.
74         * sysdeps/ieee754/float128/s_expm1f128.c: New file.
75         * sysdeps/ieee754/float128/s_fabsf128.c: New file.
76         * sysdeps/ieee754/float128/s_finitef128.c: New file.
77         * sysdeps/ieee754/float128/s_floorf128.c: New file.
78         * sysdeps/ieee754/float128/s_fmaf128.c: New file.
79         * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
80         * sysdeps/ieee754/float128/s_frexpf128.c: New file.
81         * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
82         * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
83         * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
84         * sysdeps/ieee754/float128/s_isinff128.c: New file.
85         * sysdeps/ieee754/float128/s_isnanf128.c: New file.
86         * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
87         * sysdeps/ieee754/float128/s_llrintf128.c: New file.
88         * sysdeps/ieee754/float128/s_llroundf128.c: New file.
89         * sysdeps/ieee754/float128/s_log1pf128.c: New file.
90         * sysdeps/ieee754/float128/s_logbf128.c: New file.
91         * sysdeps/ieee754/float128/s_lrintf128.c: New file.
92         * sysdeps/ieee754/float128/s_lroundf128.c: New file.
93         * sysdeps/ieee754/float128/s_modff128.c: New file.
94         * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
95         * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
96         * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
97         * sysdeps/ieee754/float128/s_nextupf128.c: New file.
98         * sysdeps/ieee754/float128/s_remquof128.c: New file.
99         * sysdeps/ieee754/float128/s_rintf128.c: New file.
100         * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
101         * sysdeps/ieee754/float128/s_roundf128.c: New file.
102         * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
103         * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
104         * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
105         * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
106         * sysdeps/ieee754/float128/s_signbitf128.c: New file.
107         * sysdeps/ieee754/float128/s_significandf128.c: New file.
108         * sysdeps/ieee754/float128/s_sincosf128.c: New file.
109         * sysdeps/ieee754/float128/s_sinf128.c: New file.
110         * sysdeps/ieee754/float128/s_tanf128.c: New file.
111         * sysdeps/ieee754/float128/s_tanhf128.c: New file.
112         * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
113         * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
114         * sysdeps/ieee754/float128/s_truncf128.c: New file.
115         * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
116         * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
117         * sysdeps/ieee754/float128/t_sincosf128.c: New file.
118         * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
120         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
121         (__iscanonicalf128): Define as a macro.
123 2017-05-24  Steve Ellcey  <sellcey@caviumnetworks.com>
125         * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
126         (memmove): Use MEMMOVE for name.
127         (memcpy): Use MEMCPY for name.  Change internal labels
128         to external labels.
129         * sysdeps/aarch64/multiarch/Makefile: New file.
130         * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
131         * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
132         * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
133         * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
134         * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
135         * sysdeps/aarch64/multiarch/memmove.c: Likewise.
137 2017-05-24  Siddhesh Poyarekar  <siddhesh@sourceware.org>
139         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
140         (_dl_arm_cap_flags): Fix array subscript.
141         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
142         Fix count.
144 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
146         * sysdeps/x86/cacheinfo.c: Skip if not in libc.
148 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
150         * sysdeps/x86/cacheinfo.c (is_intel): Removed.
151         (is_amd): Likewise.
152         (max_cpuid): Likewise.
153         (__cache_sysconf): Use __get_cpu_features to get cpu_features.
154         (init_cacheinfo): Likewise.
156 2017-05-23  Joseph Myers  <joseph@codesourcery.com>
158         [BZ #21511]
159         * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
160         [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
161         (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
162         !__USE_XOPEN2K) || __USE_MISC].
163         * conform/data/signal.h-data (struct sigstack): Expect type only
164         if [!XOPEN2K8 && !POSIX2008].
165         (sigstack): Expect function only if [XPG42 || UNIX98].
167         [BZ #21457]
168         * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
169         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
170         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
171         <bits/types/__sigset_t.h>.
172         (ucontext_t): Use sigset_t instead of __sigset_t.
173         * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
174         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
175         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
176         <bits/types/__sigset_t.h>.
177         (ucontext_t): Use sigset_t instead of __sigset_t.
178         * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
179         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
180         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
181         <bits/types/__sigset_t.h>.
182         (ucontext_t): Use sigset_t instead of __sigset_t.
183         * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
184         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
185         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
186         <bits/types/__sigset_t.h>.
187         (ucontext_t): Use sigset_t instead of __sigset_t.
188         * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
189         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
190         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
191         <bits/types/__sigset_t.h>.
192         (ucontext_t): Use sigset_t instead of __sigset_t.
193         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
194         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
195         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
196         <bits/types/__sigset_t.h>.
197         (ucontext_t): Use sigset_t instead of __sigset_t.
198         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
199         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
200         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
201         <bits/types/__sigset_t.h>.
202         (ucontext_t): Use sigset_t instead of __sigset_t.
203         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
204         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
205         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
206         <bits/types/__sigset_t.h>.
207         (ucontext_t): Use sigset_t instead of __sigset_t.
208         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
209         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
210         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
211         <bits/types/__sigset_t.h>.
212         (ucontext_t): Use sigset_t instead of __sigset_t.
213         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
214         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
215         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h>.
216         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
217         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
218         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
219         <bits/types/__sigset_t.h>.
220         (ucontext_t): Use sigset_t instead of __sigset_t.
221         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
222         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
223         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
224         <bits/types/__sigset_t.h>.
225         (ucontext_t): Use sigset_t instead of __sigset_t.
226         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
227         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
228         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
229         <bits/types/__sigset_t.h>.
230         (ucontext_t): Use sigset_t instead of __sigset_t.
231         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
232         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
233         <bits/ss_flags.h>.
234         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
235         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
236         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
237         <bits/types/__sigset_t.h>.
238         (ucontext_t): Use sigset_t instead of __sigset_t.
239         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
240         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
241         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
242         <bits/types/__sigset_t.h>.
243         (ucontext_t): Use sigset_t instead of __sigset_t.
244         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
245         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
246         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
247         <bits/types/__sigset_t.h>.
248         (ucontext_t): Use sigset_t instead of __sigset_t.
249         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
250         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
251         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
252         <bits/types/__sigset_t.h>.
253         (ucontext_t): Use sigset_t instead of __sigset_t.
254         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
255         <bits/types.h>.
256         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
257         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
258         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
259         <bits/types/__sigset_t.h>.
260         (ucontext_t): Use sigset_t instead of __sigset_t.
262 2017-05-22  Zack Weinberg  <zackw@panix.com>
264         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
265         (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
266         bits/siginfo-arch.h, only if not already defined.
267         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
268         (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
269         (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
270         Likewise.
272         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
273         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
274         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
275         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
276         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
277         Unconditionally define __SI_* macros.
279 2017-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
281         [BZ #21393]
282         * libio/freopen.c (freopen): Avoid dup already opened file descriptor
283         and add a check for dup3 failure.
284         * libio/freopen64.c (freopen64): Likewise.
285         * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
286         libsupport.
287         (do_test_bz21398): New test.
288         * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
290 2017-05-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
292         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
293         Remove invalid comment.
295 2017-05-21  Zack Weinberg  <zackw@panix.com>
297         * signal/Makefile (headers): Add bits/types/sigval_t.h.
299 2017-05-20  Zack Weinberg  <zackw@panix.com>
301         * bits/sigevent-consts.h
302         * bits/siginfo-consts.h
303         * bits/types/__sigset_t.h
304         * bits/types/sigevent_t.h
305         * bits/types/siginfo_t.h
306         * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
307         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
308         * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
309         * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
310         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
311         New system-dependent bits headers.
313         * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
314         * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
315         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
316         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
317         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
318         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
319         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
320         * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
321         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
322         New Linux-only system-dependent bits headers.
324         * signal/bits/types/sig_atomic_t.h
325         * signal/bits/types/sigset_t.h
326         * signal/bits/types/sigval_t.h:
327         New non-system-dependent bits headers.
329         * sysdeps/generic/sigsetops.h
330         * sysdeps/unix/sysv/linux/sigsetops.h:
331         New internal headers.
333         * include/bits/types/sig_atomic_t.h
334         * include/bits/types/sigset_t.h
335         * include/bits/types/sigval_t.h:
336         New wrappers.
338         * signal/sigsetops.h
339         * bits/siginfo.h
340         * bits/sigset.h
341         * sysdeps/unix/sysv/linux/bits/siginfo.h
342         * sysdeps/unix/sysv/linux/bits/sigset.h
343         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
344         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
345         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
346         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
347         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
348         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
349         Deleted.
351         * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
352         Update lists of installed headers.
354         * posix/bits/types.h: Define __sig_atomic_t here.
355         * signal/signal.h: Use the new bits headers; no need to handle
356         __need_sig_atomic_t nor __need_sigset_t.  Don't use __sigmask
357         to define sigmask.
358         * include/signal.h: No need to handle __need_sig_atomic_t
359         nor __need_sigset_t.  Don't define __sigemptyset.
361         * io/sys/poll.h, setjmp/setjmp.h
362         * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
363         * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
364         * sysdeps/mach/hurd/i386/bits/sigcontext.h
365         * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
366         * sysdeps/pthread/bits/sigthread.h
367         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
368         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
369         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
370         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
371         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
372         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
373         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
374         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
375         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
376         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
377         Use bits/types/__sigset_t.h.
379         * misc/sys/select.h, posix/spawn.h
380         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
381         * sysdeps/unix/sysv/linux/sys/epoll.h
382         * sysdeps/unix/sysv/linux/sys/signalfd.h:
383         Use bits/types/sigset_t.h.
385         * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
386         * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
387         * socket/sys/socket.h: Don't include bits/sigset.h.
389         * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
390         * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
391         * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
392         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
393         * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
394         * sysdeps/unix/sysv/linux/nptl-signals.h:
395         Include sigsetops.h.
397         * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
398         * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
399         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
400         __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
401         now return no value.
403         * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
404         Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
405         "sigsetops.h".
407         * signal/sigsetops.c: Explicitly define __sigismember,
408         __sigaddset, and __sigdelset as compatibility symbols.
410         * signal/Versions: Correct commentary on __sigpause,
411         __sigaddset, __sigdelset, __sigismember.
413         * inet/rcmd.c: Include sigsetops.h.  Convert old code using
414         __sigblock/__sigsetmask to use __sigprocmask and friends.
416         * resolv/resolv.h: Remove __need_res_state logic.
417         Move definition of res_state and related constants to ...
418         * resolv/bits/types/res_state.h: ...this new file.
419         * resolv/Makefile: Install bits/types/res_state.h.
420         * include/bits/types/res_state.h: New wrapper.
421         * include/list.h: Remove __need_list_t logic.
422         Move definition of list_t to ...
423         * include/list_t.h: ...this new file.
425         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
426         instead of list.h and resolv.h.
428         * resolv/resolv.h: Remove __need_res_state logic.
429         Move definition of res_state and related constants to ...
430         * resolv/bits/types/res_state.h: ...this new file.
431         * resolv/Makefile: Install bits/types/res_state.h.
432         * include/bits/types/res_state.h: New wrapper.
433         * include/list.h: Remove __need_list_t logic.
434         Move definition of list_t to ...
435         * include/list_t.h: ...this new file.
437         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
438         instead of list.h and resolv.h.
440 2017-05-20  H.J. Lu  <hongjiu.lu@intel.com>
442         * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
444 2017-05-20  Zack Weinberg  <zackw@panix.com>
446         * sysdeps/arm/sysdep.h
447         (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
449         * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
450         * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
451         * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
452         * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
453         * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
454         * sysdeps/arm/armv6t2/strlen.S
455         * sysdeps/arm/armv7/multiarch/memcpy_impl.S
456         * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
457         * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
458         * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
459         * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
460         Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
462 2017-05-20  Zack Weinberg  <zackw@panix.com>
464         Remove the NaCl port.
465         * sysdeps/arm/nacl: Remove directory and contents.
466         * sysdeps/nacl: Remove directory and contents.
467         * abi-tags: Remove .*-.*-nacl.* entry.
469 2017-05-19  Rical Jasan  <ricaljasan@pacific.net>
471         * manual/errno.texi: Convert @comment-based errno documentation to
472         @errno.
473         * manual/macros.texi (@errno): New macro.  Consolidate errors,
474         their values, and messages, adding the error string to the Concept
475         Index.  Provide a warning in the comment about external (to the
476         manual) dependencies.
477         * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
478         * sysdeps/mach/hurd/errnos.awk: Likewise.
480 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
482         * bits/ss_flags.h: New file.
483         * bits/types/stack_t.h: Likewise.
484         * include/bits/types/struct_sigstack.h: Likewise.
485         * signal/bits/types/struct_sigstack.h: Likewise.
486         * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
487         * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
488         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
489         * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
490         bits/types/stack_t.h and bits/ss_flags.h.
491         * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
492         Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
493         <bits/ss_flags.h>.
494         * bits/sigstack.h (struct sigstack): Remove.
495         (stack_t): Likewise.
496         (SS_ONSTACK): Likewise.
497         (SS_DISABLE): Likewise.
498         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
499         (struct sigstack): Likewise.
500         (stack_t): Likewise.
501         (SS_ONSTACK): Likewise.
502         (SS_DISABLE): Likewise.
503         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
504         Likewise.
505         (stack_t): Likewise.
506         (SS_ONSTACK): Likewise.
507         (SS_DISABLE): Likewise.
508         * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
509         Likewise.
510         (stack_t): Likewise.
511         (SS_ONSTACK): Likewise.
512         (SS_DISABLE): Likewise.
513         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
514         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
515         Likewise.
516         (stack_t): Likewise.
517         (SS_ONSTACK): Likewise.
518         (SS_DISABLE): Likewise.
519         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
520         (struct sigstack): Likewise.
521         (stack_t): Likewise.
522         (SS_ONSTACK): Likewise.
523         (SS_DISABLE): Likewise.
524         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
525         Likewise.
526         (stack_t): Likewise.
527         (SS_ONSTACK): Likewise.
528         (SS_DISABLE): Likewise.
529         * sysdeps/arm/sys/ucontext.h: Include
530         <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
531         <bits/ss_flags.h>.
532         * sysdeps/generic/sys/ucontext.h: Likewise.
533         * sysdeps/i386/sys/ucontext.h: Likewise.
534         * sysdeps/m68k/sys/ucontext.h: Likewise.
535         * sysdeps/mips/sys/ucontext.h: Likewise.
536         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
537         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
538         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
539         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
540         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
541         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
542         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
543         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
544         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
545         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
546         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
547         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
548         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
549         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
550         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
552 2017-05-19  H.J. Lu  <hongjiu.lu@intel.com>
554         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
555         "edx + ecx - 16" to avoid possible addition overflow.
556         * sysdeps/x86_64/memchr.S (memchr): Likewise.
558 2017-05-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
560         * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
561         (CFLAGS-splice.c): Likewise.
562         (CFLAGS-open_by_handle_at.c): Likewise.
563         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
564         (CFLAGS-splice.c): Likewise.
565         (CFLAGS-open_by_handle_at.c): Likewise.
567 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
569         * scripts/versions.awk: Generate ldbl-compat-choose.h.
570         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
571         <ldbl-compat-choose.h>.
572         (maybe_long_double_symbol): New macro.
573         [!declare_mgen_alias] (declare_mgen_alias): Use
574         maybe_long_double_symbol.
575         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
576         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
577         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
578         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
579         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
580         * Makerules [$(build-shared) = yes && !avoid-generated]
581         (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
582         [$(build-shared) = yes && !avoid-generated]
583         ($(common-objpfx)ldbl-compat-choose.h): New target.
585         * scripts/versions.awk: Generate first-versions.h.
586         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
587         <first-versions.h>.
588         (LDOUBLE_cabsl_libm_version): Remove macro.
589         (LDOUBLE_cargl_libm_version): Likewise.
590         (LDOUBLE_cimagl_libm_version): Likewise.
591         (LDOUBLE_conjl_libm_version): Likewise.
592         (LDOUBLE_creall_libm_version): Likewise.
593         (LDOUBLE_cacosl_libm_version): Likewise.
594         (LDOUBLE_cacoshl_libm_version): Likewise.
595         (LDOUBLE_ccosl_libm_version): Likewise.
596         (LDOUBLE_ccoshl_libm_version): Likewise.
597         (LDOUBLE_casinl_libm_version): Likewise.
598         (LDOUBLE_csinl_libm_version): Likewise.
599         (LDOUBLE_casinhl_libm_version): Likewise.
600         (LDOUBLE_csinhl_libm_version): Likewise.
601         (LDOUBLE_catanl_libm_version): Likewise.
602         (LDOUBLE_catanhl_libm_version): Likewise.
603         (LDOUBLE_ctanl_libm_version): Likewise.
604         (LDOUBLE_ctanhl_libm_version): Likewise.
605         (LDOUBLE_cexpl_libm_version): Likewise.
606         (LDOUBLE_clogl_libm_version): Likewise.
607         (LDOUBLE_cprojl_libm_version): Likewise.
608         (LDOUBLE_csqrtl_libm_version): Likewise.
609         (LDOUBLE_cpowl_libm_version): Likewise.
610         (LDOUBLE_clog10l_libm_version): Likewise.
611         (LDOUBLE___clog10l_libm_version): Likewise.
612         (LDOUBLE_fdiml_libm_version): Likewise.
613         (LDOUBLE_fmaxl_libm_version): Likewise.
614         (LDOUBLE_fminl_libm_version): Likewise.
615         (LDOUBLE_ilogbl_libm_version): Likewise.
616         (LDOUBLE_nanl_libm_version): Likewise.
617         [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
618         FIRST_VERSION_libm_* macros.
619         [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
620         * Makerules [$(build-shared) = yes && !avoid-generated]
621         (before-compile): Add $(common-objpfx)first-versions.h.
622         [$(build-shared) = yes && !avoid-generated]
623         ($(common-objpfx)first-versions.h): New target.
624         ($(common-objpfx)sysd-versions): Depend on and change to rule for
625         building $(common-objpfx)versions.stmp.
627 2017-05-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
629         * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
630         * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
631         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
632         auto-generation list.
634         * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
635         * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
636         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
637         from auto-generation list.
639         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
640         open_by_handle_at.
641         (CFLAGS-open_by_handle_at.c): New flag.
642         * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
643         * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
644         file.
645         * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
647         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
648         (CFLAGS-splice.c): New flag.
649         * sysdeps/unix/sysv/linux/splice.c: New file.
650         * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
651         auto-generation syscall list.
652         * misc/Makefile (CFLAGS-splice.c): New rule.
654         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
655         * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
656         auto-generation syscall list.
657         * sysdeps/unix/sysv/linux/vmsplice.c: New file.
658         * misc/Makefile (CFLAGS-vmsplice.c): New rule.
660         * misc/Makefile (CFLAGS-fsync.c): New flag.
661         * nptl/Makefile (CFLAGS-fsync.c): Likewise.
662         * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
663         syscall list.
664         * sysdeps/unix/sysv/linux/fsync.c: New file.
665         * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
666         (__errno_location): Remove.
668         * misc/Makefile (CFLAGS-fdatasync.c): New rule.
669         * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
670         * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
671         list.
672         * sysdeps/unix/sysv/linux/fdatasync.c: New file.
674         * misc/Makefile (CFLAGS-msync.c): New rule.
675         * nptl/Makefile (CFLAGS-msync.c): Likewise.
676         * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
677         * sysdeps/unix/sysv/linux/msync.c: New file.
679         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
680         * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
681         * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
682         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
683         (CFLAGS-sigsuspend.c): Remove rule.
685         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
686         (CFLAGS-tee.c): New rule.
687         * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
688         auto-generated list.
689         * sysdeps/unix/sysv/linux/tee.c: New file.
691         * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
692         * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
693         * sysdeps/unix/sysv/linux/nanosleep.c: New file.
694         * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
695         auto-generated list.
697         * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
698         auto-generated list.
699         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
700         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
701         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
702         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
703         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
705         * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
706         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
707         * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
708         (__NR_pause): Undefine.
709         * sysdeps/unix/sysv/linux/pause.c: New file.
710         * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
711         auto-generation list.
712         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
713         Remove rule.
714         * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
716 2017-05-18  H.J. Lu  <hongjiu.lu@intel.com>
718         * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
719         comments.
721 2017-05-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
723         * elf/Makefile (tst-env-setuid-ENV): Reduce value of
724         LD_HWCAP_MASK.
726 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
728         * manual/conf.texi: Convert @tables of annotated @items to
729         @vtables.
730         * manual/lang.texi: Likewise.
731         * manual/pattern.texi: Likewise.
732         * manual/resource.texi: Likewise.
733         * manual/socket.texi: Likewise.
735 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
737         * manual/crypt.texi: Move a comment out of an @*x list.
738         * manual/filesys.texi: Refactor some comments, one of which looks
739         like a standard.  Fix incorrectly separated standards.
740         * manual/locale.texi: Invert an annotation.
741         * manual/resource.texi: Fix incorrectly separated standards.
742         * manual/time.texi: Refactor a @vtable that obscures an
743         annotation.
744         * manual/users.texi: Refactor multiple headers to occupy a single
745         @comment.
747 2017-05-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
749         * sysdeps/powerpc/powerpc64/multiarch/Makefile
750         (sysdep_routines): Add memcmp-power8.
751         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
752         (memcmp): Add __memcmp_power8 to list of memcmp functions.
753         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
754         (memcmp): Add __memcmp_power8 to ifunc list.
755         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
756         * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
758 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
759             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
761         * math/math.h (__MATH_TG): Extend the conditions to add
762         _Float128 support.
763         * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
765 2017-05-17  Paul A. Clarke  <pc@us.ibm.com>
767         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
768         [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
769         s_cosf-ppc64.
770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
773         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
775 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
777         * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
778         (gen-libm-calls): Add e_exp2F to use the template.
779         * math/e_exp2l.c: Rename to math/e_exp2_template.c.
780         * math/e_exp2_template.c: New file, renamed from
781         math/e_exp2l.c, and made into a template.
782         * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
784 2017-05-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
786         * elf/dl-tunable-types.h (tunable_type_code_t): New type
787         TUNABLE_TYPE_UINT_64.
788         * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
789         Simplify computation of overflow.
790         (tunable_set_val_if_valid_range_signed,
791         tunable_set_val_if_valid_range_unsigned): Remove and replace
792         with this...
793         (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
794         (tunable_initialize): Adjust.  Add uint64_t support.
795         (__tunable_set_val): Add uint64_t support.
796         * README.tunables: Document it.
798         * scripts/gen-tunables.awk: Recognize 'default' keyword in
799         dl-tunables.list.
800         * README.tunables: Document it.
802 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
804         * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
805         * sysdeps/posix/preadv64.c: Likewise.
806         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
807         * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
808         * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
809         * sysdeps/posix/pwritev64.c: Likewise.
810         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
811         * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
812         * sysdeps/posix/preadv_common.c: New file.
813         * sysdeps/posix/pwritev_common.c: Likewise.
815 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
817         * sysdeps/generic/math-type-macros-float128.h
818         (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
819         wrapper templates.
821 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
822             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
824         * include/complex.h (__kernel_casinhf128): New declaration.
825         * include/float.h: New file.
826         * include/math.h (__finitef128): Add a hidden def.
827         (__isinff128): Likewise.
828         (__isnanf128): Likewise.
829         (__fpclassify): Likewise.
830         (__issignalling): Likewise.
831         (__expf128): Likewise.
832         (__expm1f128): Likewise.
834         * sysdeps/generic/fix-fp-int-convert-overflow.h:
835         (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
836         (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
838         * sysdeps/generic/math-type-macros-float128.h: New file.
840         * sysdeps/generic/math_private.h: Include bits/floatn.h and
841         math_private_calls.h for _Float128.
842         (__isinff128): New inline implementation used when GCC < 7.0,
843         since in this case __builtin_isinf_sign is broken.
844         (fabsf128): New inline implementation that calls the builtin.
845         (__EXPR_FLT128): New macro.
846         (min_of_type): Optionally include _Float128 types too.
848         * sysdeps/generic/math_private_calls.h (__kernel_sincos):
849         Declare for _Float128.
850         (__kernel_rem_pio2): Likewise.
852         * sysdeps/ieee754/ldbl-opt/s_sin.c:
853         (__DECL_SIMD_sincos_disablef128): New macro.
855 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
857         * math/math.h: Include bits/math-finite.h for float128.
858         (__MATH_DECLARING_FLOATN): Define to control declaration of
859         float128 functions.
860         * math/bits/math-finite.h (pow10): Do not declare for float128.
861         (gamma): Likewise.
862         (scalb): Likewise.
864 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
865             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
867         * bits/floatn.h: New file.
868         * bits/huge_val_flt128.h: Likewise.
870         * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
871         (__DECL_SIMD_sinf128): Likewise.
872         (__DECL_SIMD_sincosf128): Likewise.
873         (__DECL_SIMD_logf128): Likewise.
874         (__DECL_SIMD_expf128): Likewise.
875         (__DECL_SIMD_powf128): Likewise.
877         * math/Makefile (headers): Install bits/floatn.h and
878         bits/huge_val_flt128.h.
880         * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
881         defined.
883         * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
884         (isnan, gamma, nexttoward, scalb): Only define if not
885         __MATH_DECLARING_FLOATN.
886         (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
887         (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
888         (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
889         _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
891         * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
892         Include bits/cmathcalls.h to get the declarations of _Float128
893         versions of complex functions.
894         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
895         Define macro.
897         * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
898         Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
899         get the declarations of _Float128 versions of math functions.
900         (__MATH_DECLARING_FLOATN): New macro to control declaration of
901         _FloatN types.
902         [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
903         is type-generic, so use it without __MATH_TG.
904         [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
905         _Float128 type on GCC < 7.0.  Explicitly call __isinff128 for
906         _Float128 type and GCC < 7.0, otherwise use the builtin.
907         [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
908         (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
909         (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
910         New _GNU_SOURCE enabled macros.
912 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
914         * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
915         (signbitf): Likewise.
916         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
917         Likewise.
918         (signbitl): Likewise.
919         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
920         Likewise.
921         * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
922         (signbitl): Likewise.
923         * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
925 2017-05-12  Florian Weimer  <fweimer@redhat.com>
927         [BZ #21386]
928         * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
929         parent PID.  The assertion in the child is incorrect with PID
930         namespaces.
932 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
934         * sysdeps/unix/sysv/linux/kernel-features.h
935         (__ASSUME_STATFS_F_FLAGS): Remove macro.
936         * sysdeps/unix/sysv/linux/internal_statvfs.c
937         [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
939 2017-05-11  Zack Weinberg  <zackw@panix.com>
941         * Makerules: New subdir configuration variables 'tests-internal'
942         and 'test-internal-extras'.  Test files in these categories will
943         still be compiled with MODULE_NAME=nonlib.  Test files in the
944         existing categories (tests, xtests, test-srcs, test-extras) are
945         now compiled with MODULE_NAME=testsuite.
946         New subdir configuration variable 'modules-names-tests'.  Files
947         which are in both 'modules-names' and 'modules-names-tests' will
948         be compiled with MODULE_NAME=testsuite instead of
949         MODULE_NAME=extramodules.
950         (gen-as-const-headers): Move to tests-internal.
951         (do-tests-clean, common-mostlyclean): Support tests-internal.
952         * Makeconfig (built-modules): Add testsuite.
953         * Makefile: Change libof-check-installed-headers-c and
954         libof-check-installed-headers-cxx to 'testsuite'.
955         * Rules: Likewise.  Support tests-internal.
956         * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
957         Remove extra-modules.mk.
959         * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
960         * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
961         PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
962         very top of the file and rationalize their order.
963         If MODULE_NAME is not defined at all, define IS_IN to always be
964         false, and don't define _ISOMAC.
965         If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
966         true, define _ISOMAC and suppress everything else in this file,
967         starting with the inclusion of config.h.
968         Do check for inappropriate definitions of __OPTIMIZE__ and
969         __FAST_MATH__ here, but only if _ISOMAC is not defined.
970         Correct some out-of-date commentary.
972         * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
973         and _Mlong_double_ before including math.h.
974         * include/string.h: If _ISOMAC is defined, don't expose
975         _STRING_ARCH_unaligned. Move a comment to a more appropriate
976         location.
978         * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
979         * include/time.h, include/unistd.h, include/wchar.h: No need to
980         check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
982         * misc/sys/cdefs.h (__NTHNL): New macro.
983         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
984         (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
986         * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
987         defined, for HAVE_TUNABLES.
988         * inet/tst-checks-posix.c: No need to define _ISOMAC.
989         * intl/tst-gettext2.c: Provide own definition of N_.
990         * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
991         * math/test-signgam-main.c: No need to define _ISOMAC.
992         * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
993         * stdlib/tst-strtod1i.c: ...this new file.
994         * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
995         Split tests of __strtod_internal to...
996         * stdlib/tst-strtod5i.c: ...this new file.
997         * string/test-string.h: Include stdint.h. Duplicate definition of
998         inhibit_loop_to_libcall here (from libc-symbols.h).
999         * string/test-strstr.c: Provide dummy definition of
1000         libc_hidden_builtin_def when including strstr.c.
1001         * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
1002         mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
1003         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
1004         Don't include init-arch.h.
1005         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
1006         Don't include init-arch.h.
1008         * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
1009         tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
1010         unload, unload2, circleload1, neededtest, neededtest2,
1011         neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
1012         tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
1013         tst-stackguard1, tst-_dl_addr_inside_object, and all of the
1014         ifunc tests to tests-internal.
1015         Don't add $(modules-names) to test-extras.
1016         * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
1017         Add tst-deadline to tests-static-internal.
1018         * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
1019         tests-internal.
1020         * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
1021         * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
1022         tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
1023         tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
1024         tst-sem12-static, and tst-stackguard1-static to tests-internal.
1025         Link tests-internal with libpthread also.
1026         Don't add $(modules-names) to test-extras.
1027         * nss/Makefile: Move tst-field to tests-internal.
1028         * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
1029         tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
1030         * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
1031         tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
1032         tests-internal.
1033         * sunrpc/Makefile: Move tst-svc_register to tests-internal.
1034         * sysdeps/powerpc/Makefile: Move test-get_hwcap and
1035         test-get_hwcap-static to tests-internal.
1036         * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
1037         tests-internal.
1038         * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
1039         modules-names-tests.
1041 2017-05-11  Zack Weinberg  <zackw@panix.com>
1043         * libio/libio.h: Condition dummy definition of _IO_lock_t on
1044         _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
1045         non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
1046         _IO_funlockfile, and _IO_ftrylockfile.  Only define
1047         _IO_cleanup_region_start and _IO_cleanup_region_end if not
1048         already defined.
1049         * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
1050         _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
1051         appropriately.
1052         * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
1053         Define _IO_lock_t_defined after defining _IO_lock_t.
1055 2016-05-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1057         * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
1058         void* for argument type and use VDSO_SYMBOL macro.
1059         (is_sigtramp_address_rt): Likewise.
1060         (__backtrace): Setup expected frame pointer address for signal
1061         handling.
1062         * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
1063         void* for argumetn type and use VSDO_SYMBOL macro.
1064         (__backtrace): Setup expected frame pointer address for signal
1065         handling.
1067         * sysdeps/unix/sysv/linux/writev.c: New file.
1069         * sysdeps/unix/sysv/linux/readv.c: New file.
1071         * include/unistd.h (write): Add hidden proto.
1072         * io/Makefile (CFLAGS-write.c): New define.
1073         * nptl/Makefile (CFLAGS-write.c): Likewise.
1074         * sysdeps/unix/sysv/linux/write.c: New file.
1076         [BZ #21428]
1077         * include/unistd.h (read): Add hidden proto.
1078         * io/Makefile (CFLAGS-read.c): New define.
1079         * nptl/Makefile (CFLAGS-read.c): Likewise.
1080         * sysdeps/unix/sysv/linux/read.c: New file.
1082         * io/Makefile (CFLAGS-creat.c): New rule.
1083         (CFLAGS-creat64.c): Likewise.
1084         * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
1085         * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
1086         * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
1087         * sysdeps/unix/sysv/linux/creat.c: New file.
1088         * sysdeps/unix/sysv/linux/creat64.c: Likewise.
1089         * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
1090         auto-generated list.
1091         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1093         * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
1094         * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
1095         * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
1096         * sysdeps/unix/sysv/linux/open.c: New file.
1097         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
1098         iff __WORDSIZE != 64 and use __NR_openat when available.
1099         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
1100         from auto-generated list.
1102         * nptl/Makefile (CFLAGS-close.c): New flag.
1103         * sysdeps/unix/sysv/linux/close.c: New file.
1105 2017-05-11  DJ Delorie  <dj@redhat.com>
1107         * MAINTAINERS: New.  Points to wiki.
1109 2017-05-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1111         * scripts/gen-tunables.awk: Add attribute_relro to
1112         tunable_list.
1114 2017-05-11  Joseph Myers  <joseph@codesourcery.com>
1116         [BZ #21457]
1117         * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
1118         (R1): Likewise.
1119         (R2): Likewise.
1120         (R3): Likewise.
1121         (R4): Likewise.
1122         (R5): Likewise.
1123         (R6): Likewise.
1124         (R7): Likewise.
1125         (R8): Likewise.
1126         (R9): Likewise.
1127         (R10): Likewise.
1128         (R11): Likewise.
1129         (R12): Likewise.
1130         (R13): Likewise.
1131         (R14): Likewise.
1132         (R15): Likewise.
1133         * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
1134         (REG_FS): Likewise.
1135         (REG_ES): Likewise.
1136         (REG_DS): Likewise.
1137         (REG_EDI): Likewise.
1138         (REG_ESI): Likewise.
1139         (REG_EBP): Likewise.
1140         (REG_ESP): Likewise.
1141         (REG_EBX): Likewise.
1142         (REG_EDX): Likewise.
1143         (REG_ECX): Likewise.
1144         (REG_EAX): Likewise.
1145         (REG_TRAPNO): Likewise.
1146         (REG_ERR): Likewise.
1147         (REG_EIP): Likewise.
1148         (REG_CS): Likewise.
1149         (REG_EFL): Likewise.
1150         (REG_UESP): Likewise.
1151         (REG_SS): Likewise.
1152         * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
1153         (R_D1): Likewise.
1154         (R_D2): Likewise.
1155         (R_D3): Likewise.
1156         (R_D4): Likewise.
1157         (R_D5): Likewise.
1158         (R_D6): Likewise.
1159         (R_D7): Likewise.
1160         (R_A0): Likewise.
1161         (R_A1): Likewise.
1162         (R_A2): Likewise.
1163         (R_A3): Likewise.
1164         (R_A4): Likewise.
1165         (R_A5): Likewise.
1166         (R_A6): Likewise.
1167         (R_A7): Likewise.
1168         (R_SP): Likewise.
1169         (R_PC): Likewise.
1170         (R_PS): Likewise.
1171         (fpregset_t): Likewise.
1172         (MCONTEXT_VERSION): Likewise.
1173         * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
1174         (CTX_AT): Likewise.
1175         (CTX_V0): Likewise.
1176         (CTX_V1): Likewise.
1177         (CTX_A0): Likewise.
1178         (CTX_A1): Likewise.
1179         (CTX_A2): Likewise.
1180         (CTX_A3): Likewise.
1181         (CTX_T0): Likewise.
1182         (CTX_T1): Likewise.
1183         (CTX_T2): Likewise.
1184         (CTX_T3): Likewise.
1185         (CTX_T4): Likewise.
1186         (CTX_T5): Likewise.
1187         (CTX_T6): Likewise.
1188         (CTX_T7): Likewise.
1189         (CTX_S0): Likewise.
1190         (CTX_S1): Likewise.
1191         (CTX_S2): Likewise.
1192         (CTX_S3): Likewise.
1193         (CTX_S4): Likewise.
1194         (CTX_S5): Likewise.
1195         (CTX_S6): Likewise.
1196         (CTX_S7): Likewise.
1197         (CTX_T8): Likewise.
1198         (CTX_T9): Likewise.
1199         (CTX_K0): Likewise.
1200         (CTX_K1): Likewise.
1201         (CTX_GP): Likewise.
1202         (CTX_SP): Likewise.
1203         (CTX_S8): Likewise.
1204         (CTX_RA): Likewise.
1205         (CTX_MDLO): Likewise.
1206         (CTX_MDHI): Likewise.
1207         (CTX_CAUSE): Likewise.
1208         (CTX_EPC): Likewise.
1209         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
1210         inclusion of <sys/procfs.h> on [__USE_MISC].
1211         (greg_t): Condition on [__USE_MISC].
1212         (gregset_t): Likewise.
1213         (fpregset_t): Likewise.
1214         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
1215         (NGREG): Likewise.
1216         (gregset_t): Likewise.
1217         (REG_R0): Likewise.
1218         (REG_R1): Likewise.
1219         (REG_R2): Likewise.
1220         (REG_R3): Likewise.
1221         (REG_R4): Likewise.
1222         (REG_R5): Likewise.
1223         (REG_R6): Likewise.
1224         (REG_R7): Likewise.
1225         (REG_R8): Likewise.
1226         (REG_R9): Likewise.
1227         (REG_R10): Likewise.
1228         (REG_R11): Likewise.
1229         (REG_R12): Likewise.
1230         (REG_R13): Likewise.
1231         (REG_R14): Likewise.
1232         (REG_R15): Likewise.
1233         (struct _libc_fpstate): Likewise.
1234         (fpregset_t): Likewise.
1235         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
1236         (NFPREG): Likewise.
1237         (gregset_t): Likewise.
1238         (fpregset_t): Likewise.
1239         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
1240         (R_D1): Likewise.
1241         (R_D2): Likewise.
1242         (R_D3): Likewise.
1243         (R_D4): Likewise.
1244         (R_D5): Likewise.
1245         (R_D6): Likewise.
1246         (R_D7): Likewise.
1247         (R_A0): Likewise.
1248         (R_A1): Likewise.
1249         (R_A2): Likewise.
1250         (R_A3): Likewise.
1251         (R_A4): Likewise.
1252         (R_A5): Likewise.
1253         (R_A6): Likewise.
1254         (R_A7): Likewise.
1255         (R_SP): Likewise.
1256         (R_PC): Likewise.
1257         (R_PS): Likewise.
1258         (fpregset_t): Likewise.
1259         (MCONTEXT_VERSION): Likewise.
1260         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
1261         Likewise.
1262         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
1263         (REG_R1): Likewise.
1264         (REG_R2): Likewise.
1265         (REG_R3): Likewise.
1266         (REG_R4): Likewise.
1267         (REG_R5): Likewise.
1268         (REG_R6): Likewise.
1269         (REG_R7): Likewise.
1270         (REG_R8): Likewise.
1271         (REG_R9): Likewise.
1272         (REG_R10): Likewise.
1273         (REG_R11): Likewise.
1274         (REG_R12): Likewise.
1275         (REG_R13): Likewise.
1276         (REG_R14): Likewise.
1277         (REG_R15): Likewise.
1278         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
1279         of <arch/abi.h> on [__USE_MISC].
1280         (greg_t): Condition on [__USE_MISC].
1281         (NGREG): Likewise.
1282         (gregset_t): Likewise.
1284 2017-05-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1286         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
1287         (__pthread_rwlock_arch_t): Remove __data definition.
1288         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
1289         (__pthread_rwlock_arch_t): Likewise.
1291 2017-05-11  Florian Weimer  <fweimer@redhat.com>
1293         * resolv/inet_pton.c: Reformat in GNU style.  Remove
1294         internal_function on static functions.
1296 2017-05-11  Florian Weimer  <fweimer@redhat.com>
1298         * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
1299         from format_ai_flags.
1300         (format_ai_flags): New function.  Incorporate flag formatting code
1301         from format_ai_one.
1302         (format_ai_canonname): New function.
1303         (format_ai_one): Remove flags parameter.
1304         (format_ai_family): Likewise.
1305         (support_format_addrinfo): Call format_ai_flags,
1306         format_ai_canonname.
1307         * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
1308         check_ai.
1309         (check_ai): Call check_ai_hints.
1310         (do_test): Add AI_CANONNAME tests.
1312 2017-05-11  Florian Weimer  <fweimer@redhat.com>
1314         * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
1315         (gaih_inet): Likewise.
1317 2017-05-10  Andreas Schwab  <schwab@suse.de>
1319         * nptl/tst-fork1.c: Include <support/test-driver.c>.
1320         (main): Rename to do_test and make static.
1322 2017-05-10  Joseph Myers  <joseph@codesourcery.com>
1324         * string/rawmemchr.c: Include <libc-diag.h>.
1325         (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
1326         with size (size_t)-1.
1328 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
1330         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
1331         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1332         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1334         * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
1335         [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
1336         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
1337         [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
1338         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
1339         [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
1340         * sysdeps/unix/sysv/linux/kernel-features.h
1341         (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
1342         socket syscalls.
1343         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1344         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1345         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1346         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
1347         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1348         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1349         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
1350         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1351         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1352         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1353         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1354         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1355         (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1356         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1357         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1359 2017-05-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1361         * posix/Makefile (headers): Add pthreadtypes-arch.h and
1362         thread-shared-types.h.
1363         * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
1364         specific thread definition.
1365         * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
1366         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
1367         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
1368         * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
1369         * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
1370         * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
1371         * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
1372         * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
1373         * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
1374         * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
1375         * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
1376         * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
1377         * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
1378         * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
1379         * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
1380         thread definition between POSIX and C11.
1381         * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
1382         * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
1383         * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
1384         * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
1385         * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
1386         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
1387         * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
1388         * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
1389         * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
1390         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
1391         * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
1392         * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
1393         * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
1394         * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
1395         * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
1396         * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
1397         definitions shared across all architectures.
1399 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
1401         * sysdeps/unix/sysv/linux/kernel-features.h
1402         (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
1403         (__ASSUME_SENDMMSG): Likewise.
1404         (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
1405         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
1406         sendmmsg syscall if that can be assumed to be present, socketcall
1407         otherwise, with no fallback for runtime failure.
1409         * sysdeps/unix/sysv/linux/kernel-features.h
1410         (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
1411         (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
1412         (__ASSUME_RECVMMSG): Likewise.
1413         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
1414         recvmmsg syscall if it can be assumed to be present, socketcall
1415         otherwise, with no fallback for runtime failure.
1417 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1418             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1420         * bits/libc-header-start.h:
1421         (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
1422         * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
1423         * manual/creature.texi: Likewise.
1425 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1426             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1428         * math/Makefile:
1429         (type-float128-suffix): New variable
1430         (type-float128-routines): Likewise
1431         (type-float128-yes): Likewise
1432         (types): Append float128 if supported
1433         (types-basic): New variable to control the use of templates for
1434         float, double, and long double, but not for float128 or newer types.
1435         (type-basic-foreach): Likewise.
1437         * sysdeps/ieee754/float128/Makeconfig: New file.
1438         * sysdeps/ieee754/float128/Versions: New file.
1440 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
1442         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
1443         Remove macro.
1444         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
1445         prlimit64 is always available and does not give an ENOSYS error.
1446         * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
1447         unconditional.
1448         [!__NR_prlimit64]: Remove conditional code.
1449         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
1450         prlimit64 is always available and does not give an ENOSYS error.
1451         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
1453 2017-05-09  Zack Weinberg  <zackw@panix.com>
1455         * sunrpc/tst-xdrmem2.c: Include stdint.h.
1457 2017-05-09  Florian Weimer  <fweimer@redhat.com>
1459         [BZ #21474]
1460         * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
1461         (__res_maybe_init): Likewise.
1463 2017-05-09  Zack Weinberg  <zackw@panix.com>
1465         * extra-modules.mk: Delete file.
1466         * cppflags-iterator.mk: Rename to ...
1467         * libof-iterator.mk: ...this.  Adjust comments.
1469         * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
1470         * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
1471         * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
1472         Use libof-iterator.mk instead of cppflags-iterator.mk or
1473         extra-modules.mk.
1475         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
1476         extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
1478 2017-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
1480         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1482 2017-05-08  Carlos O'Donell  <carlos@redhat.com>
1484         * stdio-common/vfprintf.c (EXTSIZ): Define.
1485         (vfprintf): Use EXTSIZ.
1486         (printf_positional): Likewise.
1488 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
1490         * sysdeps/unix/sysv/linux/kernel-features.h
1491         (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
1492         * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
1493         <kernel-features.h>.
1494         (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
1496         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
1497         (__ASSUME_GETCPU_SYSCALL): Remove macro.
1499 2017-05-08  Florian Weimer  <fweimer@redhat.com>
1501         Prevent multiple deletion of temporary files.
1502         * support/temp_file.c (struct temp_name_list): Add owner member.
1503         (add_temp_file): Record owner.
1504         (support_delete_temp_files): Delete file only if owner matches.
1505         * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
1506         (do_prepare): Use create_temp_file instead of add_temp_file.
1507         Initialize temp_fd1, temp_fd2.
1508         (do_test): Use global temp_fd1, temp_fd2 variables.  Let the test
1509         framework remove the temporary files.
1510         * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
1511         (do_prepare): Use create_temp_file instead of add_temp_file.
1512         Initialize temp_fd1, temp_fd2, temp_fd3.
1513         (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables.  Let
1514         the test framework remove the temporary files.
1515         * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
1516         deletion.
1517         * posix/tst-pathconf.c (do_test): Do not call rmdir on the
1518         temporary directory.  It is removed by the test framework.
1519         * dirent/tst-scandir.c (do_test): Likewise.
1521 2017-05-08  Florian Weimer  <fweimer@redhat.com>
1523         Delete temporary files in LIFO order.
1524         * support/temp_file.c (struct temp_name_list): Replace q member
1525         with next.
1526         (add_temp_file): Add new file to front of linked list.
1527         (support_delete_temp_files): Use next member.
1528         (support_print_temp_files): Likewise.
1530 2017-05-08  Florian Weimer  <fweimer@redhat.com>
1532         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
1533         sys/ultrasound.h.
1534         * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
1536 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
1538         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
1539         Remove.
1540         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
1541         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
1542         (arch_minimum_kernel): Remove.
1543         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
1544         * README: Update statement about Linux kernel requirements.
1546 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1548         * manual/llio.texi: Add preadv and pwritev documentation.
1550 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
1552         [BZ #21455]
1553         * bits/stdint-intn.h: New file.
1554         * bits/stdint-uintn.h: Likewise.
1555         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
1556         bits/stdint-uintn.h.
1557         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
1558         <stdint.h>.
1559         * posix/sys/types.h: Include <bits/stdint-intn.h>.
1560         (__int8_t_defined): Do not define here.
1561         (int8_t): Likewise.
1562         (int16_t): Likewise.
1563         (int32_t): Likewise.
1564         (int64_t): Likewise.
1565         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
1566         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
1567         <stdint.h>.
1568         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
1569         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
1570         <bits/stdint-uintn.h>.
1571         (int8_t): Do not define here.
1572         (int16_t): Likewise.
1573         (int32_t): Likewise.
1574         (int64_t): Likewise.
1575         (uint8_t): Likewise.
1576         (uint16_t): Likewise.
1577         (uint32_t): Likewise.
1578         (uint64_t): Likewise.
1579         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
1580         variable.
1581         (test-xfail-XPG42/netdb.h/conform): Likewise.
1582         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
1583         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1584         (test-xfail-UNIX98/netdb.h/conform): Likewise.
1585         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1587 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1589         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
1590         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
1591         the above.
1592         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1593         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1595 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
1597         [BZ #21445]
1598         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
1600         [BZ #21457]
1601         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
1602         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
1603         __glibc_reserved1.
1604         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
1605         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
1606         (struct _fpxreg): Likewise.
1607         [!__x86_64__] (struct _fpstate): Rename field reserved to
1608         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
1609         [__x86_64__] (struct _fpstate): Rename field padding to
1610         __glibc_reserved1.
1611         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
1612         Rename field reserved2 to __glibc_reserved2.
1613         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
1614         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
1615         __glibc_reserved1.
1616         [__x86_64__] (struct _libc_fpstate): Rename field padding to
1617         __glibc_reserved1.
1619 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1621         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
1622         variable name.
1624 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
1626         [BZ #21391]
1627         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
1628         Only call init_cpu_features.
1629         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
1630         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
1631         * sysdeps/i386/dl-procinfo.h: Removed.
1632         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
1633         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
1634         <sysdeps/x86/dl-procinfo.h>.
1635         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
1636         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
1637         Include <sysdeps/x86/dl-procinfo.h> instead of
1638          <sysdeps/generic/dl-procinfo.h>.
1639         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
1640         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
1641         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
1642         (bit_cpu_MOVBE): Likewise.
1643         (bit_cpu_BMI1): Likewise.
1644         (bit_cpu_BMI2): Likewise.
1645         (index_cpu_BMI1): Likewise.
1646         (index_cpu_BMI2): Likewise.
1647         (index_cpu_LZCNT): Likewise.
1648         (index_cpu_MOVBE): Likewise.
1649         (index_cpu_POPCNT): Likewise.
1650         (reg_BMI1): Likewise.
1651         (reg_BMI2): Likewise.
1652         (reg_LZCNT): Likewise.
1653         (reg_MOVBE): Likewise.
1654         (reg_POPCNT): Likewise.
1655         * sysdeps/x86/dl-hwcap.h: New file.
1656         * sysdeps/x86/dl-procinfo.h: Likewise.
1657         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
1658         (_dl_x86_platforms): Likewise.
1660 2017-05-03  DJ Delorie  <dj@redhat.com>
1662         [BZ #21411]
1663         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
1665 2017-05-03  Phil Blundell  <pb@pbcl.net>
1667         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
1668         comments.
1670 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
1672         [BZ #20116]
1673         * nptl/pthread_create.c: Expand comments to describe
1674         semaphore-like and mutex-like uses of PD->lock.
1676 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1678         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
1679         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
1680         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
1681         auto-generation list.
1682         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
1683         epoll_wait.
1684         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
1685         Remove epoll_wait.
1687         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
1688         osf_select.
1689         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
1690         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
1691         osf_select from auto-generation list.
1692         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1693         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1694         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
1695         * sysdeps/unix/sysv/linux/select.c: New file.
1697         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
1698         * sysdeps/unix/sysv/linux/poll.c: New file.
1699         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
1700         auto-generation list.
1702 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
1704         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
1705         New macro.
1707 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
1709         [BZ #21179]
1710         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
1711         R_SPARC_REGISTER relocations.
1713 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1715         * include/unistd.h (__pread): Add libc_hidden_proto.
1716         (__pread64): Likewise.
1717         (__pwrite): Likewise.
1718         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
1719         (__pread64): Remove.
1720         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
1721         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
1722         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
1724 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1726         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1728 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1730         * nptl/tst-cancel4-common.c: Use libsupport.
1731         * nptl/tst-cancel4-common.h: Likewise.
1732         * nptl/tst-cancel4.c (tf_read): Likewise.
1733         (tf_readv): Likewise.
1734         (tf_write): Likewise.
1735         (tf_writev): Likewise.
1736         (tf_sleep): Likewise.
1737         (tf_usleep): Likewise.
1738         (tf_nanosleep): Likewise.
1739         (tf_select): Likewise.
1740         (tf_pselect): Likewise.
1741         (tf_poll): Likewise.
1742         (tf_ppoll): Likewise.
1743         (tf_wait): Likewise.
1744         (tf_waitpid): Likewise.
1745         (tf_waitid): Likewise.
1746         (tf_sigpause): Likewise.
1747         (tf_sigsuspend): Likewise.
1748         (tf_sigwait): Likewise.
1749         (tf_sigwaitinfo): Likewise.
1750         (tf_sigtimedwait): Likewise.
1751         (tf_pause): Likewise.
1752         (tf_accept): Likewise.
1753         (tf_send): Likewise.
1754         (tf_recv): Likewise.
1755         (tf_recvfrom): Likewise.
1756         (tf_recvmsg): Likewise.
1757         (tf_open): Likewise.
1758         (tf_close): Likewise.
1759         (tf_pread): Likewise.
1760         (tf_pwrite): Likewise.
1761         (tf_preadv): Likewise.
1762         (tf_pwritev): Likewise.
1763         (tf_fsync): Likewise.
1764         (tf_fdatasync): Likewise.
1765         (tf_msync): Likewise.
1766         (tf_sendto): Likewise.
1767         (tf_sendmsg): Likewise.
1768         (tf_creat): Likewise.
1769         (tf_connect): Likewise.
1770         (tf_tcdrain): Likewise.
1771         (tf_msgrcv): Likewise.
1772         (tf_msgsnd): Likewise.
1773         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
1774         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
1776         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
1777         expected arguments.
1778         (do_test): Adapt to use libsupport.
1780 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
1782         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
1784         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
1785         (PF_MAX): Set to 44.
1786         (AF_SMC): New macro.
1788         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1789         kernel version to 4.11.
1791 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1793         [BZ #21280]
1794         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
1795         signal of subnormals and adjust the exponent of power of 2 down
1796         when low part has opposite sign.
1798 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1800         * sysdeps/powerpc/powerpc64le/Implies: New file.
1801         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
1802         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
1803         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
1804         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
1805         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
1806         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
1807         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
1808         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
1809         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
1810         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
1811         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
1812         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
1813         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
1814         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
1815         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
1816         * sysdeps/powerpc/preconfigure: New file.
1817         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
1818         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
1820 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
1822         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
1823         inclusion.
1824         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
1825         Remove.
1827 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
1829         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
1830         (XPG3): Rename standard to XPG4.
1831         * conform/Makefile: Likewise.
1832         * conform/list-header-symbols.pl: Likewise.
1833         * conform/data/aio.h-data: Likewise.
1834         * conform/data/arpa/inet.h-data: Likewise.
1835         * conform/data/complex.h-data: Likewise.
1836         * conform/data/ctype.h-data: Likewise.
1837         * conform/data/dlfcn.h-data: Likewise.
1838         * conform/data/fcntl.h-data: Likewise.
1839         * conform/data/fenv.h-data: Likewise.
1840         * conform/data/float.h-data: Likewise.
1841         * conform/data/fmtmsg.h-data: Likewise.
1842         * conform/data/ftw.h-data: Likewise.
1843         * conform/data/grp.h-data: Likewise.
1844         * conform/data/inttypes.h-data: Likewise.
1845         * conform/data/iso646.h-data: Likewise.
1846         * conform/data/langinfo.h-data: Likewise.
1847         * conform/data/libgen.h-data: Likewise.
1848         * conform/data/limits.h-data: Likewise.
1849         * conform/data/locale.h-data: Likewise.
1850         * conform/data/math.h-data: Likewise.
1851         * conform/data/mqueue.h-data: Likewise.
1852         * conform/data/ndbm.h-data: Likewise.
1853         * conform/data/net/if.h-data: Likewise.
1854         * conform/data/netdb.h-data: Likewise.
1855         * conform/data/netinet/in.h-data: Likewise.
1856         * conform/data/poll.h-data: Likewise.
1857         * conform/data/pthread.h-data: Likewise.
1858         * conform/data/pwd.h-data: Likewise.
1859         * conform/data/sched.h-data: Likewise.
1860         * conform/data/search.h-data: Likewise.
1861         * conform/data/semaphore.h-data: Likewise.
1862         * conform/data/signal.h-data: Likewise.
1863         * conform/data/spawn.h-data: Likewise.
1864         * conform/data/stdbool.h-data: Likewise.
1865         * conform/data/stdint.h-data: Likewise.
1866         * conform/data/stdio.h-data: Likewise.
1867         * conform/data/stdlib.h-data: Likewise.
1868         * conform/data/string.h-data: Likewise.
1869         * conform/data/strings.h-data: Likewise.
1870         * conform/data/stropts.h-data: Likewise.
1871         * conform/data/sys/mman.h-data: Likewise.
1872         * conform/data/sys/resource.h-data: Likewise.
1873         * conform/data/sys/select.h-data: Likewise.
1874         * conform/data/sys/socket.h-data: Likewise.
1875         * conform/data/sys/stat.h-data: Likewise.
1876         * conform/data/sys/statvfs.h-data: Likewise.
1877         * conform/data/sys/time.h-data: Likewise.
1878         * conform/data/sys/timeb.h-data: Likewise.
1879         * conform/data/sys/types.h-data: Likewise.
1880         * conform/data/sys/uio.h-data: Likewise.
1881         * conform/data/sys/un.h-data: Likewise.
1882         * conform/data/sys/wait.h-data: Likewise.
1883         * conform/data/syslog.h-data: Likewise.
1884         * conform/data/termios.h-data: Likewise.
1885         * conform/data/tgmath.h-data: Likewise.
1886         * conform/data/time.h-data: Likewise.
1887         * conform/data/ucontext.h-data: Likewise.
1888         * conform/data/unistd.h-data: Likewise.
1889         * conform/data/utmpx.h-data: Likewise.
1890         * conform/data/varargs.h-data: Likewise.
1891         * conform/data/wchar.h-data: Likewise.
1892         * conform/data/wctype.h-data: Likewise.
1894 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
1896         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
1897         version to 7 branch.
1899 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
1901         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
1902         earlyclobber to output operand of sqrt insn.
1903         (__ieee754_sqrtf): Ditto.
1905 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
1907         [BZ #21426]
1908         * misc/bits/types/struct_iovec.h: New file.
1909         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
1910         * include/bits/types/struct_iovec.h: New file.
1911         * bits/uio.h (struct iovec): Replace by inclusion of
1912         <bits/types/struct_iovec.h>.
1913         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
1914         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
1915         of <sys/uio.h>.
1916         * nptl/tst-cancel4.c: Include <sys/uio.h>
1917         * posix/test-errno.c: Likewise.
1918         * support/resolv_test.c: Likewise.
1919         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
1920         Remove.
1921         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
1922         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
1923         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
1925         * conform/data/sys/socket.h-data (*_t): Allow.
1927 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1929         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
1930         assignment.
1932 2017-04-24  Daurnimator  <quae@daurnimator.com>
1933             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1935         [BZ #21340]
1936         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
1937         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
1938         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
1939         valid flags.
1940         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
1941         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
1942         POSIX_SPAWN_SETSID.
1943         * sysdeps/posix/spawni.c (__spawni): Likewise.
1944         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
1945         * NEWS: Add note about POSIX_SPAWN_SETSID support.
1947 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1949         * sysdeps/generic/math_private.h: Move the declaration of many
1950         functions to sysdeps/generic/math_private_calls.h.
1951         * sysdeps/generic/math_private_calls.h: New file with the
1952         declarations of the functions removed from math_private.h
1953         macroized by floating-point type.
1955 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
1957         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
1958         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
1959         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
1960         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
1961         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
1962         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
1964 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
1966         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
1967         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
1968         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
1969         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
1970         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
1971         New Define.
1973 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
1975         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
1976         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
1977         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
1978         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
1979         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
1980         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
1982 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
1984         * sysdeps/s390/multiarch/ifunc-resolve.h
1985         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
1986         * sysdeps/s390/multiarch/8bit-generic.c
1987         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
1988         define ifunc resolvers.
1990 2017-04-21  Florian Weimer  <fweimer@redhat.com>
1992         [BZ #20424]
1993         * manual/memory.texi (Replacing malloc): New section.
1994         (Allocating Storage For Program Data): Reference it.
1995         (The GNU Allocator): Likewise.
1997 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
1999         * stdlib/Versions (__strtod_internal): List explicitly, not as
2000         wildcard.
2001         (__strtof_internal): Likewise.
2002         (__strtold_internal): Likewise.
2003         (__strtol_internal): Likewise.
2004         (__strtoll_internal): Likewise.
2005         (__strtoul_internal): Likewise.
2006         (__strtoull_internal): Likewise.
2007         (__strtoq_internal): Likewise.
2008         (__strtouq_internal): Likewise.
2009         * wcsmbs/Versions (__wcstod_internal): Likewise.
2010         (__wcstof_internal): Likewise.
2011         (__wcstold_internal): Likewise.
2012         (__wcstol_internal): Likewise.
2013         (__wcstoll_internal): Likewise.
2014         (__wcstoul_internal): Likewise.
2015         (__wcstoull_internal): Likewise.
2017 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2019         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
2020         struct timespec definition.
2022 2017-04-19  Florian Weimer  <fweimer@redhat.com>
2024         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
2026 2017-04-19  Florian Weimer  <fweimer@redhat.com>
2028         * inet/rcmd.c (rresvport_af): Fix typo in comment.
2029         * inet/rexec.c (rexec_af): Likewise.
2031 2017-04-19  Zack Weinberg  <zackw@panix.com>
2033         * posix/tst-mmap-offset.c: Include stdint.h.
2034         * resolv/tst-ns_name_compress.c: Include string.h.
2035         * resolv/tst-resolv-edns.c: Include resolv.h.
2037 2017-04-19  Florian Weimer  <fweimer@redhat.com>
2039         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
2040         with __glibc_likely.
2041         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
2042         Replace __builtin_expect with __glibc_unlikely.
2043         * resolv/res_init.c (__res_vinit): Likewise.
2044         * resolv/res_query.c (__libc_res_nquery): Likewise.
2045         * resolv/res_send.c (__libc_res_nsend): Likewise.
2047 2017-04-19  Florian Weimer  <fweimer@redhat.com>
2049         [BZ #15722]
2050         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
2051         with SOCK_CLOEXEC.
2052         * resolv/res_send.c (send_vc, reopen): Likewise.
2053         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
2054         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
2055         Likewise.
2056         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
2057         * inet/rexec.c (rexec_af): Add comment.
2058         * inet/rcmd.c (rresvport_af): Likewise.
2060 2017-04-19  Florian Weimer  <fweimer@redhat.com>
2062         * nscd/connections.c (have_accept4): Removed definition.
2063         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
2064         accept4 works.
2065         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
2066         ia64 because that was the first version with accept4 support.
2067         * support/Makefile (libsupport-routines): Add xaccept4.
2068         * support/xsocket.h (xaccept4): Declare.
2069         * support/xaccept4.c: New file.
2070         * socket/tst-accept4.c: New file.
2071         * socket/Makefile (tests): Add tst-accept4.
2072         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
2073         definition.
2074         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
2075         comment.
2076         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
2077         implementation is available.
2078         (accept4): Use the system call if available, otherwise use the
2079         socket call.
2080         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
2081         Set to 3.2.18.
2082         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2083         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
2084         accept4 is unconditionally available in later 3.2 stable kernels.
2085         (__ASSUME_ACCEPT4_SYSCALL): Define.
2086         * sysdeps/unix/sysv/linux/kernel-features.h
2087         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
2088         definitions.
2089         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2090         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
2092 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
2094         * conform/Makefile (tests-special): Do not make addition of
2095         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
2096         (generated): Do not make addition of $(conformtest-header-base)
2097         conditional on [$(cross-compiling) = no].
2099         [BZ #21267]
2100         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
2101         if defined by <asm/socket.h> and not previously defined.
2102         (IOCSIZE_SHIFT): Likewise.
2103         (IOC_IN): Likewise.
2104         (IOC_INOUT): Likewise.
2105         (IOC_OUT): Likewise.
2107 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
2109         [BZ #21396]
2110         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
2111         Prefer_No_AVX512 if AVX512ER isn't available.
2112         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
2113         (index_arch_Prefer_No_AVX512): Likewise.
2114         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
2115         AVX512 version if Prefer_No_AVX512 is set.
2116         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
2117         Likewise.
2118         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
2119         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
2120         Likewise.
2121         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
2122         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
2123         Likewise.
2124         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
2125         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
2126         Likewise.
2128 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
2130         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
2131         Prefer_No_VZEROUPPER if AVX512ER is available.
2132         * sysdeps/x86/cpu-features.h
2133         (bit_cpu_AVX512PF): New.
2134         (bit_cpu_AVX512ER): Likewise.
2135         (bit_cpu_AVX512CD): Likewise.
2136         (bit_cpu_AVX512BW): Likewise.
2137         (bit_cpu_AVX512VL): Likewise.
2138         (index_cpu_AVX512PF): Likewise.
2139         (index_cpu_AVX512ER): Likewise.
2140         (index_cpu_AVX512CD): Likewise.
2141         (index_cpu_AVX512BW): Likewise.
2142         (index_cpu_AVX512VL): Likewise.
2143         (reg_AVX512PF): Likewise.
2144         (reg_AVX512ER): Likewise.
2145         (reg_AVX512CD): Likewise.
2146         (reg_AVX512BW): Likewise.
2147         (reg_AVX512VL): Likewise.
2149 2017-04-18  Florian Weimer  <fweimer@redhat.com>
2151         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
2152         O_CLOEXEC is defined.
2153         * include/fcntl.h (__have_o_cloexec): Remove declaration.
2154         * io/Makefile (aux): Remove.
2155         * io/have_o_cloexec.c: Remove file.
2156         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
2157         defined and works.
2158         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
2159         defined.
2160         * login/utmp_file.c (O_flags): Remove definition.
2161         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
2162         O_CLOEXEC works.
2163         (pututline_file): Likewise.
2164         * malloc/mtrace.c: Assume that O_CLOEXEC works.
2165         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
2166         definition.
2167         (internal_setgrent): Assume that O_CLOEXEC works.
2168         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
2169         Remove definition.
2170         (internal_setgrent): Assume that O_CLOEXEC works.
2171         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
2172         definition.
2173         (internal_setpwent): Assume that O_CLOEXEC works.
2174         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
2175         definition.
2176         (internal_setspent): Assume that O_CLOEXEC works.
2177         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
2178         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
2179         O_CLOEXEC is defined and works.
2180         * nss/Makefile (libnss_files-routines): Remove
2181         files-have_o_cloexec.
2182         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
2183         defined.
2184         * nss/nss_files/files-XXX.c (internal_setent): Assume that
2185         O_CLOEXEC is defined and works.
2186         * nss/nss_files/files-alias.c (internal_setent): Likewise.
2187         * nss/nss_files/files-have_o_cloexec.c: Remove.
2188         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
2189         defined.
2190         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
2191         and works.
2192         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
2193         definition.
2194         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
2195         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
2196         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
2197         (__opendirat, __opendir): Adjust opendir_oflags call.
2198         (check_have_o_cloexec): Remove.
2199         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
2200         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
2201         defined.
2202         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
2203         Remove definition.
2205 2017-04-18  Florian Weimer  <fweimer@redhat.com>
2207         * include/unistd.h (__have_dup3): Remove declaration.
2208         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
2209         dup3 is available.
2210         * libio/freopen64.c (freopen64): Likewise.
2211         * socket/Makefile (aux): Remove have_sock_cloexec.
2212         * socket/have_sock_cloexec.c: Remove file.
2213         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
2214         definition.
2215         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
2216         Likewise.
2217         * sysdeps/nacl/kernel-features.h: Update comment.
2219 2017-04-18  Florian Weimer  <fweimer@redhat.com>
2221         * include/unistd.h (__have_pipe2): Remove declaration.
2222         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
2223         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
2224         available.
2225         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
2226         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
2227         Remove definition.
2229 2017-04-18  Florian Weimer  <fweimer@redhat.com>
2231         * malloc/malloc.c (cfree): Turn into compat symbol.
2232         (__cfree): Remove alias.
2233         * stdlib/stdlib.h (cfree): Remove declaration.
2234         * malloc/malloc.h (cfree): Likewise.
2235         * manual/memory.texi (Freeing after Malloc): Remove cfree.
2236         * malloc/Versions (GLIBC_2.26): Add.
2238 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2240         * sysdeps/powerpc/powerpc64/multiarch/Makefile
2241         (sysdep_routines): Add strrchr-power8.
2242         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2243         (strrchr): Add __strrchr_power8 to list of strrchr functions.
2244         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
2245         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
2246         (strrchr): Add __strrchr_power8 to ifunc list.
2247         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
2249 2017-04-17  Rabin Vincent  <rabinv@axis.com>
2251         [BZ #21357]
2252         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
2253         Call free() outside of mutex.
2255 2017-04-13  Florian Weimer  <fweimer@redhat.com>
2257         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
2258         is defined.
2259         * elf/rtld.c (process_envvars): Likewise.
2260         * sysdeps/posix/shm_open.c (shm_open): Likewise.
2261         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
2262         O_NOFOLLOW directly.
2263         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
2265 2017-04-13  Florian Weimer  <fweimer@redhat.com>
2267         [BZ #21369]
2268         Remove EDNS fallback.
2269         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
2270         handling.
2271         * resolv/res_send.c (send_dg): Likewise.
2272         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
2273         "tcp." prefixes.
2274         (do_test): Send a "formerr."-prefixed query in an attempt to
2275         trigger EDNS fallback.
2277 2017-04-13  Florian Weimer  <fweimer@redhat.com>
2279         [BZ #21361]
2280         Limit EDNS buffer size to 1200 bytes.
2281         * include/resolv.h (__res_nopt): Remove declaration.
2282         * resolv/Makefile (tests): tst-resolv-edns.
2283         (tst-resolv-edns): Link with -lresolv, -lpthread.
2284         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
2285         interval [512, 1200].
2286         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
2287         we can resize the buffer.
2288         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
2289         (__res_nopt): Declare.
2290         * resolv/tst-resolv-edns.c: New file.
2291         * resolv/resolv_test.h (struct resolv_edns_info): Define.
2292         (struct resolv_response_context): Add edns member.
2293         * resolv/resolv_test.c (struct query_info): Add edns member.
2294         (parse_query): Extract EDNS information from the query.
2295         (server_thread_udp_process_one): Propagate EDNS data.
2296         (server_thread_tcp_client): Likewise.
2298 2017-04-13  Florian Weimer  <fweimer@redhat.com>
2300         [BZ #21359]
2301         * resolv/ns_name.c (ns_name_pack): Do not require an additional
2302         byte in the destination buffer.  Avoid out-of-bounds pointer
2303         arithmetic.
2304         * resolv/Makefile (tests): Add tst-ns_name_compress.
2305         (tst-ns_name_compress): Link with -lresolv.
2306         * resolv/tst-ns_name_compress.c: New file.
2307         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
2308         (response): Recognize LONG_NAME.
2309         (do_test): Add LONG_NAME tests.
2310         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
2311         for ns_name_unpack.  Add tests for ns_name_pton and
2312         ns_name_compress.
2314 2017-04-13  Florian Weimer  <fweimer@redhat.com>
2316         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
2317         (res_nisourserver): Remove definition.
2318         (p_section, res_npquery, res_nisourserver): Remove declaration.
2319         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
2320         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
2321         ... here.
2322         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
2323         <resolv.h>.
2324         * resolv/res_query.c: Likewise.
2325         * resolv/res_debug.c (p_section): Define as static.
2327 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2329         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
2330         strncat-power8.
2331         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
2332         __strncat_power8 to ifunc list.
2333         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2334         (strncat): Add __strncat_power8 to list of strncat functions.
2335         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
2337 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2339         [BZ #21270]
2340         * posix/tst-mmap-offset.c (do_prepare): New function.
2341         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
2342         (do_test_bz21270): New function.
2343         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
2344         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
2345         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
2346         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
2347         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
2348         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
2349         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
2350         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
2351         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
2352         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
2353         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
2354         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2355         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2356         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2357         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
2358         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
2359         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
2360         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
2361         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
2362         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
2363         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
2364         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
2365         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
2366         from auto-generation list.
2367         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
2368         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
2369         * sysdeps/unix/sysv/linux/mmap.c: New file.
2370         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
2371         offsets and support for mmap2 syscall.
2373         * posix/globtest.sh: Add cleanup routine on trap 0.
2375 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2377         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
2378         implementation-specific function name and remove unneeded
2379         macros definition.
2380         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
2381         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
2382         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
2383         name if not defined and pass as parameter to macros accordingly.
2384         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2385         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
2387         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
2388         implementation-specific function name and remove unneeded
2389         macros definition.
2390         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
2391         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
2392         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
2393         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
2394         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
2395         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
2396         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
2397         name if not defined and pass as parameter to macros accordingly.
2398         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2399         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2400         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2401         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2402         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2403         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
2405         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
2406         implementation-specific function name and remove unneeded macros
2407         definition.
2408         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
2409         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
2410         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
2411         function name if not defined and pass as parameter to macros
2412         accordingly.
2413         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2414         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
2416         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
2417         implementation-specific function name and remove unneeded macros
2418         definition.
2419         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
2420         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
2421         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
2422         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
2423         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
2424         not defined and pass as parameter to macros accordingly.
2425         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2426         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2427         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2428         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
2430         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
2431         strcasestr implementation name and remove unneeded macros definition.
2432         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
2433         strstr implementation name and remove unneeded macros definition.
2434         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
2435         name if not defined and pass as parameter to macros accordingly.
2436         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
2438         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
2439         implementation-specific function name and remove unneeded macros
2440         definition.
2441         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
2442         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
2443         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
2444         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
2445         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
2446         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
2447         function name if not defined and pass as parameter to macros
2448         accordingly.
2449         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
2450         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
2451         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
2452         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
2454         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
2455         the strlen implementation name and remove unneeded macros definition.
2456         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
2457         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
2458         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
2459         the strnlen implementation name and remove unneeded macros definition.
2460         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
2461         name if not defined and pass as parameter to macros accordingly.
2462         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
2463         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
2464         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2466         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
2467         the implementation-specific function name and remove unneeded
2468         macros definition.
2469         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
2470         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
2471         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
2472         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
2473         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
2474         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
2475         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
2476         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
2477         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
2478         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
2479         name if not defined and pass as parameter to macros accordingly.
2480         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
2481         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2482         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
2483         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
2484         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
2485         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
2486         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
2487         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2489         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
2490         implementation-specific function name and remove unneeded macros
2491         definition.
2492         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
2493         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
2494         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
2495         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
2496         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
2497         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
2498         function name if not defined.
2499         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
2500         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
2502 2017-04-11  Paul Clarke  <pc@us.ibm.com>
2504         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
2505         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
2506         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
2507         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
2509 2017-04-11  Florian Weimer  <fweimer@redhat.com>
2510             Zack Weinberg  <zackw@panix.com>
2512         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
2513         readdir64 as thread-safe.  Update warning about readdir_r.
2515 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2517         * sysdeps/unix/sysv/linux/x86/Implies: New file.
2518         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
2519         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
2520         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
2521         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
2522         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
2523         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2525 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
2527         * sysdeps/i386/dl-procinfo.c: Include
2528         <sysdeps/x86/dl-procinfo.c>.
2529         * sysdeps/x86_64/dl-procinfo.c: Likewise.
2530         * sysdeps/x86/dl-procinfo.c: New file.
2532 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2534         * sysdeps/generic/math_private.h: Remove declarations of
2535         many functions that are already declared in math.h.
2536         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
2537         declaration for __frexpl.
2538         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
2539         the declarations for __scalbnl and fabsl.
2541 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
2543         [BZ #20831]
2544         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
2545         of __mprotect to change protection on the excess portion
2546         to disallow all access.
2548 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
2550         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
2551         HAS_CPU_FEATURE to check for SSE.
2552         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2553         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
2554         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
2555         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
2556         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
2557         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
2558         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
2559         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
2560         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2561         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
2562         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
2563         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
2564         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
2565         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
2566         (index_cpu_SSE): Likewise.
2567         (reg_SSE): Likewise.
2569 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
2571         * posix/getopt1.c: Include <config.h>, not "config.h".
2573 2017-04-07  Zack Weinberg  <zackw@panix.com>
2575         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
2576         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
2577         Mention in top-of-file boilerplate that these files are shared
2578         with gnulib.
2579         * posix/getopt.h, posix/bits/getopt_posix.h:
2580         Mention in top-of-file boilerplate that these files are NOT shared
2581         with gnulib, unlike the rest of the getopt implementation.
2583         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
2584         New files, intended to be shared with gnulib.
2585         * posix/bits/getopt_posix.h:
2586         New file, not intended to be shared with gnulib.
2587         * posix/getopt.h: Now just includes features.h,
2588         bits/getopt_core.h, and bits/getopt_ext.h.  Will
2589         no longer be shared with gnulib.
2590         * include/bits/getopt_core.h, include/bits/getopt_ext.h
2591         * include/bits/getopt_posix.h: New wrappers.
2592         * posix/Makefile: Install new headers.
2593         * posix/unistd.h, libio/stdio.h:
2594         Include bits/getopt_posix.h instead of getopt.h.
2596         * include/libc-symbols.h: For gnulib compatibility, define
2597         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
2598         _GL_ATTRIBUTE_CONST.
2599         * posix/getopt.c (_getopt_initialize): Mark argc and argv
2600         parameters with _GL_UNUSED.
2602         * posix/getopt.c: When used standalone, define __libc_use_alloca
2603         as always false and alloca to abort if called.
2604         (process_long_option): Rewrite handling of ambiguous long options
2605         to use a single boolean vector, not a linked list; use
2606         __libc_use_alloca to decide whether to allocate this using alloca.
2607         * posix/tst-getopt_long1.c: Adjust text of expected error message.
2609         * posix/getopt.c (process_long_option): New function split out
2610         from _getopt_internal_r.
2611         (_getopt_internal_r): Replace both copies of the long-option
2612         processing code with calls to process_long_option.
2613         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
2614         (do_test): Differentiate argv[0] in the two subtests.
2616         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
2617         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
2618         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
2620         * posix/getopt.h: Add backup definition of __nonnull for
2621         consistency with gnulib.  Define __getopt_argv_const to const
2622         if not already defined.
2623         (getopt): Update doc comment from gnulib.  Prototype
2624         unconditionally.  Add __nonnull annotation.
2625         (__posix_getopt): Add __nonnull annotation.
2626         (getopt_long, getopt_long_only): Use __getopt_argv_const in
2627         prototypes for consistency with gnulib.  Add __nonnull
2628         annotations.
2629         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
2630         (getopt_internal): Change 'argv' argument to type 'char **'.
2631         Remove now-unnecessary casts.
2632         (getopt, __posix_getopt): Eliminate repetition with a macro.
2633         Cast 'argv' to 'char **' when calling _getopt_internal.
2634         * posix/getopt1.c (getopt_long, getopt_long_only):
2635         Use __getopt_argv_const for consistency with gnulib.
2636         Cast 'argv' to 'char **' when calling _getopt_internal.
2637         (_getopt_long_r, _getopt_long_only_r):
2638         Change 'argv' argument to type 'char **'.
2639         (main): Constify 'long_options'.
2640         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
2641         (_getopt_long_r, _getopt_long_only_r):
2642         Change 'argv' argument to type 'char **'.
2644         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
2645         (locked_vfxprintf): New helper function. Handle arbitrary
2646         multibyte strings, not just ASCII.
2647         * include/stdio.h: Declare __fxprintf_nocancel.
2648         * posix/getopt.c: When _LIBC is defined, define fprintf to
2649         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
2650         to _IO_funlockfile.  When neither _LIBC nor
2651         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
2652         funlockfile as no-ops.
2653         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
2654         the standalone error-printing code can now be used for libc as
2655         well.  Add an flockfile/funlockfile pair around one case where
2656         the error message is printed in several chunks.  Don't use fputc.
2657         * posix/tst-getopt-cancel.c: New test.
2658         * posix/Makefile: Run it.
2660         * posix/getopt.c (_getopt_internal_r): Don't increment
2661         d->optind a second time when reporting ambiguous -W options.
2663         * posix/getopt_int.h: Include getopt.h.
2664         Use impl-namespace names for all arguments to _getopt_internal and
2665         _getopt_internal_r.
2666         Declare __ordering enum outside the struct.
2667         Harmonize comments with gnulib.
2668         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
2669         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
2670         #ifdef TEST block and make unconditional.  Do not define NULL.
2671         * posix/getopt.c: Partial merge from gnulib, covering the
2672         initial includes and global declarations, commentary, and
2673         a couple of semantically-neutral code changes.
2675         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
2676         Use '...' instead of `...' for quotation marks inside
2677         comments and strings.
2679         * config.h.in (USE_NONOPTION_FLAGS): Remove.
2680         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
2681         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
2682         * posix/getopt_int.h: Likewise.
2683         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
2684         __libc_argc and __libc_argv externs, which were only used by
2685         #ifdef USE_NONOPTION_FLAGS blocks.
2686         * posix/getopt_init.c: Remove file.
2687         * posix/Makefile (routines): Remove getopt_init.
2688         * include/getopt.h: Don't declare __getopt_initialize_environment.
2689         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
2690         a comment.
2692 2017-04-07  Florian Weimer  <fweimer@redhat.com>
2694         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
2696 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2698         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
2699         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
2700         to __wrap_.udiv.
2701         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
2702         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
2704         * sysdeps/i386/symbol-hacks.h: New file.
2705         * sysdeps/m68k/symbol-hacks.h: New file.
2706         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
2707         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
2708         * sysdeps/unix/sysv/linux/i386/Makefile
2709         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
2710         [$(subdir) = csu] (sysdep-only-routines): Likewise.
2711         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
2712         * sysdeps/unix/sysv/linux/m68k/Makefile
2713         [$(subdir) = csu] (sysdep_routines): Likewise.
2714         [$(subdir) = csu] (sysdep-only-routines): Likewise.
2715         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
2716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2717         [$(subdir) = csu] (sysdep_routines): Likewise.
2718         [$(subdir) = csu] (sysdep-only-routines): Likewise.
2719         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
2720         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
2721         [$(subdir) = csu] (sysdep_routines): Likewise.
2722         [$(subdir) = csu] (sysdep-only-routines): Likewise.
2723         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
2724         * sysdeps/wordsize-32/Makefile: Remove file.
2725         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
2726         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
2728 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
2730         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
2731         (TEST_FUNCTION_ARGV): New.
2733 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2735         * elf/next.c: Import support/test-driver.c instead of
2736         test-skeleton.c and delete TEST_FUNCTION macro definition.
2737         * elf/nodelete.c: Likewise.
2738         * elf/order2.c: Likewise.
2739         * elf/tst-_dl_addr_inside_object.c: Likewise.
2740         * elf/tst-addr1.c: Likewise.
2741         * elf/tst-align.c: Likewise.
2742         * elf/tst-align2.c: Likewise.
2743         * elf/tst-audit11.c: Likewise.
2744         * elf/tst-audit12.c: Likewise.
2745         * elf/tst-audit2.c: Likewise.
2746         * elf/tst-audit9.c: Likewise.
2747         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
2748         * elf/tst-deep1.c: Likewise.
2749         * elf/tst-dl-iter-static.c: Likewise.
2750         * elf/tst-dlmodcount.c: Likewise.
2751         * elf/tst-dlmopen1.c: Likewise.
2752         * elf/tst-dlmopen2.c: Likewise.
2753         * elf/tst-dlmopen3.c: Likewise.
2754         * elf/tst-dlopen-aout.c: Likewise.
2755         * elf/tst-dlopenrpath.c: Likewise.
2756         * elf/tst-dlsym-error.c: Likewise.
2757         * elf/tst-execstack-needed.c: Likewise.
2758         * elf/tst-execstack-prog.c: Likewise.
2759         * elf/tst-execstack.c: Likewise.
2760         * elf/tst-global1.c: Likewise.
2761         * elf/tst-gnu2-tls1.c: Likewise.
2762         * elf/tst-latepthread.c: Likewise.
2763         * elf/tst-leaks1.c: Likewise.
2764         * elf/tst-linkall-static.c: Likewise.
2765         (do_test): New function.
2766         * elf/tst-nodelete-opened.c: Likewise.
2767         * elf/tst-nodelete.cc: Likewise.
2768         * elf/tst-nodelete2.c: Likewise.
2769         * elf/tst-noload.c: Likewise.
2770         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
2771         * elf/tst-order-main.c: Likewise.
2772         * elf/tst-pathopt.c: Likewise.
2773         * elf/tst-pie2.c: Likewise.
2774         * elf/tst-piemod1.c: Likewise.
2775         * elf/tst-prelink.c: Likewise.
2776         * elf/tst-protected1a.c: Likewise.
2777         * elf/tst-protected1b.c: Likewise.
2778         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
2779         and define _GNU_SOURCE macro.
2780         (cmdline_process_function): New function.
2781         * elf/tst-relsort1.c: Likewise.
2782         * elf/tst-stackguard1.c: Likewise, import getopt.h,
2783         and define _GNU_SOURCE macro.
2784         (cmdline_process_function): New function.
2785         * elf/tst-thrlock.c: Likewise.
2786         * elf/tst-tls-dlinfo.c: Likewise.
2787         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
2788         * elf/tst-tls1.c: Likewise.
2789         * elf/tst-tls10.c: Likewise.
2790         * elf/tst-tls11.c: Likewise.
2791         * elf/tst-tls12.c: Likewise.
2792         * elf/tst-tls13.c: Likewise.
2793         * elf/tst-tls14.c: Likewise.
2794         * elf/tst-tls15.c: Likewise.
2795         * elf/tst-tls16.c: Likewise.
2796         * elf/tst-tls17.c: Likewise.
2797         * elf/tst-tls18.c: Likewise.
2798         * elf/tst-tls19.c: Likewise.
2799         * elf/tst-tls2.c: Likewise.
2800         * elf/tst-tls3.c: Likewise.
2801         * elf/tst-tls4.c: Likewise.
2802         * elf/tst-tls5.c: Likewise.
2803         * elf/tst-tls6.c: Likewise.
2804         * elf/tst-tls7.c: Likewise.
2805         * elf/tst-tls8.c: Likewise.
2806         * elf/tst-tls9.c: Likewise.
2807         * elf/tst-tlsalign-extern.c: Likewise.
2808         * elf/tst-tlsalign.c: Likewise.
2809         * elf/tst-unique1.c: Likewise.
2810         * elf/tst-unique2.c: Likewise.
2811         * elf/vismain.c: Likewise.
2813 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2815         * string/test-strnlen.c (do_page_tests): New function
2816         to check length of strings ending at the page boundary.
2817         (test_main): Added call to the do_page_tests function.
2819 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2820             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2822         * sysdeps/powerpc/powerpc64/multiarch/Makefile
2823         (sysdep_routines): Add strnlen-power8.
2824         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2825         (strnlen): Add __strnlen_power8 to list of strnlen functions.
2826         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
2827         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
2828         (__strnlen): Add __strnlen_power8 to ifunc list.
2829         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
2831 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2833         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
2834         the TEST_FUNCTION macro definition.
2835         * wcsmbs/tst-mbrtowc2.c: Likewise.
2836         * wcsmbs/tst-mbsrtowcs.c: Likewise.
2837         * wcsmbs/tst-wchar-h.c: Likewise.
2838         * wcsmbs/tst-wcpncpy.c: Likewise.
2839         * wcsmbs/tst-wcrtomb.c: Likewise.
2840         * wcsmbs/tst-wcsnlen.c: Likewise.
2841         * wcsmbs/tst-wcstof.c: Likewise.
2843 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2845         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
2846         CALL_THREAD_FCT macro usage.
2847         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
2848         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
2849         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
2851         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
2852         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2853         (__ASSUME_REQUEUE_PI): Likewise.
2854         * sysdeps/unix/sysv/linux/kernel-features.h
2855         (__ASSUME_REQUEUE_PI): Likewise.
2856         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2857         (__ASSUME_REQUEUE_PI): Likewise.
2858         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2859         (__ASSUME_REQUEUE_PI): Likewise.
2860         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2861         (__ASSUME_REQUEUE_PI): Likewise.
2863 2017-04-04  Florian Weimer  <fweimer@redhat.com>
2865         * resolv/tst-resolv-canonname.c: New file.
2866         * resolv/Makefile (tests): Add tst-resolv-canonname.
2867         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
2869 2017-04-04  Florian Weimer  <fweimer@redhat.com>
2871         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
2872         Declare.
2873         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
2874         (NS_MAXCDNAME): Remove definition.
2875         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
2876         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
2877         (NS_MAXCDNAME): Remove definition.
2878         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
2880 2017-04-04  Florian Weimer  <fweimer@redhat.com>
2882         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
2883         call whose result is not used.
2885 2017-04-04  Florian Weimer  <fweimer@redhat.com>
2887         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
2888         * resolv/Makefile (tests): Add tst-ns_name.
2889         (tst-ns_name): Link with -lresolv.
2890         (tst-ns_name.out): Depend on the input data file.
2892 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
2894         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
2895         Clobber also r14.
2897 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
2899         [BZ #21253]
2900         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
2901         slack space by 32KiB.
2903 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
2905         [BZ #21338]
2906         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
2907         instead of incorrect do_set_arena_test
2909 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2911         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
2912         * math/bits/math-finite.h: Likewise.
2914 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
2916         [BZ #21289]
2917         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
2919 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2921         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
2922         non expected inotify_add_watch and quotactl return.
2924 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2926         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
2927         to int32_t.
2928         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
2929         as returning int32_t.
2931 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2933         * math/math.h: Include bits/math-finite.h once per
2934         floating-point type.
2935         * math/bits/math-finite.h: Macroize all declarations by
2936         floating-point type.
2938 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2940         [BZ #21182]
2941         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
2942         near end of a page.
2943         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
2944         overflow calculation.
2946 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
2948         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
2949         (IMPL) Call with 1 instead of 0 as argument.
2951 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2953         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
2954         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
2955         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
2956         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
2957         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
2958         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
2959         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
2960         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
2961         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
2962         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
2963         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
2964         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
2965         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2966         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
2967         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
2968         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
2969         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
2970         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
2971         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
2972         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
2973         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
2974         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
2975         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
2976         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
2977         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
2978         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
2979         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
2980         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
2981         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
2982         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
2983         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
2984         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
2985         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
2986         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
2987         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
2988         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
2989         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
2990         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
2991         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
2992         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
2993         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
2994         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
2995         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
2996         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
2997         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
2998         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
2999         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
3000         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
3001         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
3002         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
3003         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
3004         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
3005         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
3006         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
3007         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
3008         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
3009         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3010         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
3011         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
3012         defined.
3013         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
3014         __NR_setgroups32 if defined.
3015         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
3016         if defined.
3017         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
3018         __NR_setresgid32 is defined.
3019         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
3020         __NR_setresuid32 if defined.
3021         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
3022         __NR_setreuid32 if defined.
3023         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
3024         defined.
3025         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
3026         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
3027         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
3028         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
3029         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
3030         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
3031         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
3032         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
3033         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
3034         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
3035         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
3036         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
3037         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3038         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
3039         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
3040         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
3041         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
3042         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
3043         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
3044         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
3045         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
3046         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
3047         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
3048         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
3049         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
3050         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
3051         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
3052         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
3053         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
3054         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
3055         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
3056         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
3057         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
3058         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
3059         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
3060         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
3061         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
3062         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
3063         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
3064         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
3065         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
3066         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
3067         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
3068         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
3069         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
3070         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
3071         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
3072         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
3073         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
3074         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
3075         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
3076         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
3077         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
3078         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
3079         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
3080         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
3081         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3082         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
3083         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
3084         defined.
3085         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
3086         __NR_setgroups32 if defined.
3087         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
3088         if defined.
3089         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
3090         __NR_setresgid32 is defined.
3091         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
3092         __NR_setresuid32 if defined.
3093         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
3094         __NR_setreuid32 if defined.
3095         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
3096         defined.
3098 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
3100         [BZ #21277]
3101         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
3102         unconditionally.
3103         (IMAXBEL): Likewise.
3104         (IUTF8): Likewise.
3106 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3108         * sysdeps/aarch64/libm-test-ulps: Update.
3110 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
3112         * README.tunables: Updated descriptions.
3113         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
3114         * scripts/gen-tunables.awk: Updated the code related to the
3115         commit.
3117 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
3119         * benchtests/Makefile (string-benchset): Add memcpy-random.
3120         * benchtests/bench-memcpy-random.c: New file.
3122 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3124         * stdio-common/printf.h (register_printf_modifier): Change the
3125         order of __wur and __THROW.
3126         (register_printf_type): Likewise.
3128 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3130         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
3131         test_main ().
3132         (CMDLINE_PROCESS): Use function instead of defined macro.
3133         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
3134         <suppport/support.h> to use set_fortify_handler().
3135         * string/bug-envz1.c: Import support/test-driver.c instead of
3136         test-skeleton.c.
3137         * string/bug-strcoll2.c: Likewise.
3138         * string/bug-strtok1.c: Likewise.
3139         * string/stratcliff.c: Likewise.
3140         * string/test-ffs.c: Likewise.
3141         * string/test-memccpy.c: Likewise.
3142         * string/test-memchr.c: Likewise.
3143         * string/test-memcmp.c: Likewise.
3144         * string/test-memcpy.c: Likewise.
3145         * string/test-memmem.c: Likewise.
3146         * string/test-memmove.c: Likewise.
3147         * string/test-memrchr.c: Likewise.
3148         * string/test-memset.c: Likewise.
3149         * string/test-rawmemchr.c: Likewise.
3150         * string/test-strcasecmp.c: Likewise.
3151         * string/test-strcasestr.c: Likewise.
3152         * string/test-strcat.c: Likewise.
3153         * string/test-strchr.c: Likewise.
3154         * string/test-strcmp.c: Likewise.
3155         * string/test-strcpy.c: Likewise.
3156         * string/test-string.h: Likewise.
3157         * string/test-strlen.c: Likewise.
3158         * string/test-strncasecmp.c: Likewise.
3159         * string/test-strncat.c: Likewise.
3160         * string/test-strncmp.c: Likewise.
3161         * string/test-strncpy.c: Likewise.
3162         * string/test-strnlen.c: Likewise.
3163         * string/test-strpbrk.c: Likewise.
3164         * string/test-strrchr.c: Likewise.
3165         * string/test-strspn.c: Likewise.
3166         * string/test-strstr.c: Likewise.
3167         * string/tst-bswap.c: Likewise.
3168         * string/tst-cmp.c: Likewise.
3169         * string/tst-endian.c: Likewise.
3170         * string/tst-inlcall.c: Likewise.
3171         * string/tst-strcoll-overflow.c: Likewise.
3172         * string/tst-strfry.c: Likewise.
3173         * string/tst-strlen.c: Likewise.
3174         * string/tst-strtok.c: Likewise.
3175         * string/tst-strtok_r.c: Likewise.
3176         * string/tst-strxfrm.c: Likewise.
3177         * string/tst-strxfrm2.c: Likewise.
3178         * string/tst-svc.c: Likewise.
3179         * string/tst-svc2.c: Likewise.
3181 2017-03-22  Zack Weinberg  <zackw@panix.com>
3183         * stdio-common/bug25.c: Include stdlib.h.
3184         * support/tst-support_format_dns_packet.c: Include stdio.h,
3185         stdlib.h, and string.h.
3186         * support/tst-support_record_failure.c: Include string.h.
3187         * support/tst-support_record_failure-2.sh: Adjust line number
3188         expectations and correct a typo in an error message.
3190 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
3192         [BZ #21258]
3193         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
3194         Define only if _dl_runtime_resolve is defined to
3195         _dl_runtime_resolve_sse_vex.
3196         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
3197         Fallthrough to _dl_runtime_resolve_sse_vex.
3199 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
3201         * INSTALL: Regenerated.
3203 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
3205         * config.h.in: Add LINK_OBSOLETE_NSL.
3206         * config.make.in: Add build-obsolete-nsl.
3207         * configure.ac: Add obsolete-nsl option.
3208         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
3209         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
3210         * include/rpcsvc/nislib.h: Likewise.
3211         * include/rpcsvc/ypclnt.h: Likewise.
3212         * manual/install.texi: Document --enable-obsolete-nsl.
3213         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
3214         * nis/nis_add.c: Replace libnsl_hidden_def with
3215         libnsl_hidden_nolink_def.
3216         * nis/nis_addmember.c: Likewise.
3217         * nis/nis_call.c: Likewise.
3218         * nis/nis_clone_obj.c: Likewise.
3219         * nis/nis_defaults.c: Likeise.
3220         * nis/nis_domain_of_r.c: Likewise.
3221         * nis/nis_error.c: Likewise.
3222         * nis/nis_file.c: Likewise.
3223         * nis/nis_free.c: Likewise.
3224         * nis_local_names.c: Likewise.
3225         * nis/nis_lookup.c: Likewise.
3226         * nis/nis_modify.c: Likewise.
3227         * nis/nis_print.c: Likewise.
3228         * nis/nis_remove.c: Likewise.
3229         * nis/nis_table.c: Likewise.
3230         * nis/nis_util.c: Likewise.
3231         * nis/nis_xdr.c: Likewise.
3232         * nis/yp_xdr.c: Likewise.
3233         * nis/ypclnt.c: Likewise.
3234         * nis/ypupdate_xdr.c: Likewise.
3235         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
3236         * nis/nis_clone_dir.c: Likewise.
3237         * nis/nis_clone_res.c: Likewise.
3238         * nis/nis_creategroup.c: Likewise.
3239         * nis/nis_destroygroup.c: Likewise.
3240         * nis/nis_domain_of.c: Likewise.
3241         * nis/nis_getservlist.c: Likewise.
3242         * nis/nis_ismember.c: Likewise.
3243         * nis/nis_mkdir.c: Likewise.
3244         * nis/nis_ping.c: Likewise.
3245         * nis/nis_print_group_entry.c: Likewise.
3246         * nis/nis_removemember.c: Likewise.
3247         * nis/nis_rmdir.c: Likewise.
3248         * nis/nis_server.c: Likewise.
3249         * nis/nis_subr.c: Likewise.
3250         * nis/nis_verifygroup.c: Likewise.
3252 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
3254         * malloc/tst-interpose-aux.c (check_for_allocations):
3255         Move compiler barrier before free.
3257 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
3259         [BZ #21279]
3260         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
3261         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
3262         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
3263         x86_64-x32-linux.
3264         (mq_attr.mq_maxmsg): Likewise.
3265         (mq_attr.mq_msgsize): Likewise.
3266         (mq_attr.mq_curmsgs): Likewise.
3268         [BZ #21278]
3269         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
3270         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
3271         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
3272         mips-o32-linux.
3274         [BZ #21268]
3275         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
3276         if [__USE_MISC]
3277         (NL3): Likewise.
3279 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
3281         [BZ #21275]
3282         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
3283         __stack to __stackbase.
3284         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
3285         checks so we can include defined(__ia64__) first.
3287 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
3289         * sysdeps/unix/sysv/linux/ttyname.h: New file.
3290         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
3291         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
3292         Call is_pty when the link does not exist or does not match, fail
3293         with ENODEV when it returns true.
3294         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
3295         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
3296         Call is_pty when the link does not exist or does not match, fail
3297         with ENODEV when it returns true.
3299 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
3301         [BZ #16437]
3302         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
3303         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
3304         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
3305         x86_64-x32-linux.
3306         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
3307         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
3308         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
3310         [BZ #21261]
3311         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
3312         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
3313         names for all fields.
3314         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
3315         for jmp_buf field renaming.
3316         (_JMPBUF_UNWINDS_ADJ): Likewise.
3318         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
3319         with allow-header.
3321 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
3323         * malloc/malloc.c (unlink): Add consistency check between size and
3324         next->prev->size, to further harden against 1-byte overflows.
3326 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
3328         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
3329         CPU_FEATURES_CPU_P.
3331 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
3333         [BZ #21259]
3334         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
3335         unconditionally, not just for [__USE_MISC].
3337         [BZ #17786]
3338         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
3339         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
3340         mips-o32-linux.
3342         [BZ #21260]
3343         * sysdeps/unix/sysv/linux/alpha/Makefile
3344         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
3345         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
3347         * conform/conformtest.pl ($cross): New variable.
3348         (--cross): New command-line option.
3349         (runtest): Skip test execution when cross-compiling.
3350         * conform/Makefile (conformtest-cross): New variable.
3351         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
3352         conformtest.pl.
3354         * conform/conformtest.pl ($xfail_str): New variable.
3355         (--xfail=): New command-line option.
3356         (top level): Handle expectations starting xfail[cond]-.
3357         * conform/Makefile (conformtest-xfail): New variable.
3358         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
3359         conformtest.pl.
3361 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
3363         * conform/conformtest.pl: Use compilation instead of execution
3364         tests for testing values of constants and usability in #if.
3366 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3368         * math/auto-libm-test-in: Mark some catan and catanh as
3369         xfail-rounding:ibm128-libgcc.
3370         * math/auto-libm-test-out-catan: Regenerate.
3371         * math/auto-libm-test-out-catanh: Likewise.
3373 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
3375         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
3376         (__END_NAMESPACE_STD): Likewise.
3377         (__USING_NAMESPACE_STD): Likewise.
3378         (__BEGIN_NAMESPACE_C99): Likewise.
3379         (__END_NAMESPACE_C99): Likewise.
3380         (__USING_NAMESPACE_C99): Likewise.
3381         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
3382         undefine macro.
3383         (_Mdouble_END_NAMESPACE): Likewise.
3384         * ctype/ctype.h: Do not handle C++ namespaces.
3385         * libio/bits/stdio-ldbl.h: Likewise.
3386         * libio/stdio.h: Likewise.
3387         * locale/locale.h: Likewise.
3388         * math/bits/mathcalls.h: Likewise.
3389         * setjmp/setjmp.h: Likewise.
3390         * signal/signal.h: Likewise.
3391         * stdlib/bits/stdlib-float.h: Likewise.
3392         * stdlib/bits/stdlib-ldbl.h: Likewise.
3393         * stdlib/stdlib.h: Likewise.
3394         * string/string.h: Likewise.
3395         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
3396         * time/bits/types/clock_t.h: Likewise.
3397         * time/bits/types/struct_tm.h: Likewise.
3398         * time/bits/types/time_t.h: Likewise.
3399         * time/time.h: Likewise.
3400         * wcsmbs/bits/wchar-ldbl.h: Likewise.
3401         * wcsmbs/uchar.h: Likewise.
3402         * wcsmbs/wchar.h: Likewise.
3403         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
3404         * wctype/wctype.h: Do not handle C++ namespaces.
3405         * scripts/begin-end-check.pl: Remove.
3406         * Makefile (installed-headers): Likewise.
3407         (tests-special): Do not add $(objpfx)begin-end-check.out.
3408         ($(objpfx)begin-end-check.out): Remove.
3410 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
3411             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3413         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
3414         (DL_PLATFORM_INIT): New define.
3415         (dl_platform_init): New function.
3416         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
3417         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
3418         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
3419         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
3420         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
3422 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
3424         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
3425         instead of PIC.
3427 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
3429         [BZ #21094]
3430         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
3431         24+24+24-bit pi for wider range of values around pi/2.
3432         * math/auto-libm-test-in: Add more tests of cos and tan.
3433         * math/auto-libm-test-out-cos: Regenerated.
3434         * math/auto-libm-test-out-tan: Likewise.
3436 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
3438         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
3439         (RTLD_START): Don't record stack end address in _dl_start_user.
3441 2017-03-15  Alexey Neyman  <stilor@att.net>
3443         [BZ #21088]
3444         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
3445         around definitions match those around use.
3447 2017-03-15  Alexey Neyman  <stilor@att.net>
3449         * configure.ac: Avoid empty subexpression in grep.
3450         * configure: Regenerate.
3452 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3454         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
3455         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
3456         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
3457         (test_wrp_rv): Fix format.
3458         (test_wrp_rv2): New macro.
3459         (do_test): Handle mlock return on 64 bits kernels with 32 bits
3460         binaries.
3462 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
3464         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
3465         Use a union when storing pointers.
3466         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
3467         cast result when passing to INIT_VEC_PTRS_LOOP.
3468         (VECTOR_WRAPPER_fFF_3): Likewise.
3469         (VECTOR_WRAPPER_fFF_4): Likewise.
3471 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3473         * include/bits/mathcalls-helper-functions.h: New file.
3474         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
3475         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
3476         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
3477         math/bits/mathcalls-helper-functions.h.
3478         * math/bits/mathcalls-helper-functions.h: New file.
3479         * math/math.h: Include bits/mathcalls-helper-functions.h for
3480         float, double, and long double.
3482 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3484         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
3485         instead of feraiseexcept.
3487 2017-03-15  Florian Weimer  <fweimer@redhat.com>
3489         [BZ #21243]
3490         * support/temp_file.c (support_delete_temp_files): Add comment
3491         about ignored errors.
3493 2017-03-15  Florian Weimer  <fweimer@redhat.com>
3495         [BZ #21244]
3496         * support/xclose.c: New file.
3497         * support/Makefile (libsupport-routines): Add xclose.
3498         * support/xunistd.h (xclose): Declare.
3499         * support/resolv_test.c (server_thread_tcp_client)
3500         (server_thread_tcp, make_server_sockets, resolv_test_start)
3501         (resolv_test_end): Call xclose instead of close.
3502         * support/support_enter_network_namespace.c
3503         (support_enter_network_namespace): Likewise.
3504         * support/support_run_diff.c (write_to_temp_file): Likewise.
3506 2017-03-15  Florian Weimer  <fweimer@redhat.com>
3508         * support/support_format_dns_packet.c (support_format_dns_packet):
3509         Handle CNAME records in the response.  Extract RDATA names from
3510         rdata, not the whole packet.  Check AAAA record length.
3511         * support/tst-support_format_dns_packet.c: New file.
3512         * support/Makefile (tests): Add tst-support_format_dns_packet.
3513         (tst-support_format_dns_packet): Link against libresolv.
3515 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3517         [BZ #21232]
3518         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
3519         posix_fadvise64 weak_alias for static build.
3521 2017-03-14  Andreas Schwab  <schwab@suse.de>
3523         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
3524         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
3525         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
3526         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
3527         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
3528         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
3529         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
3530         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
3532 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3534         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
3535         posix error code.
3536         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3538 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3540         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
3541         no_isolate usage for SH.
3543 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
3545         [BZ #15105]
3546         [BZ #19463]
3547         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
3548         * inet/rcmd.c (rcmd_af): Likewise.
3549         * inet/rexec.c   (rexec_af): Likewise.
3550         * intl/dcigettext.c (_LIBC): Likewise.
3551         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
3552         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
3553         * locale/setlocale.c (setlocale): Likewise.
3554         * posix/spawn_faction_addopen.c
3555         (posix_spawn_file_actions_addopen): Likewise.
3556         * stdlib/putenv.c (putenv): Use __strndup.
3557         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
3558         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
3559         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
3560         (__Need_M_And_C) Remove define/undef.
3561         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
3562         (__malloc_and_calloc_defined): Remove define.
3563         * string/bits/string2.h (__strdup): Remove define.
3564         (strdup): Likewise.
3565         (__strndup): Likewise.
3566         (strndup): Likewise.
3568 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
3570         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
3571         macro.
3572         (IPV6_ADDR_PREFERENCES): Likewise.
3573         (IPV6_MINHOPCOUNT): Likewise.
3574         (IPV6_ORIGDSTADDR): Likewise.
3575         (IPV6_RECVORIGDSTADDR): Likewise.
3576         (IPV6_TRANSPARENT): Likewise.
3577         (IPV6_UNICAST_IF): Likewise.
3578         (IPV6_RECVFRAGSIZE): Likewise.
3580 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
3582         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
3584 2017-03-12  Alexey Neyman <stilor@att.net>
3586         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
3587         in R_SH_DIR32 case is always false when inlined from
3588         dl-conflict.c. Ifdef out to prevent GCC from insertin an
3590 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
3592         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3593         (__ASSUME_RECV_SYSCALL): Replace duplicate by
3594         __ASSUME_SEND_SYSCALL.
3596 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
3598         * sunrpc/Makefile: don't build and install rpcsvc header
3599         files, rpcgen and librpcsvc.a by default.
3601 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
3603         * math/auto-libm-test-out-catan: Regenerated.
3604         * math/auto-libm-test-out-catanh: Likewise.
3605         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3607 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
3609         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
3610         for long double with corrected test expectations.
3612 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3614         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
3615         Define.
3616         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
3617         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
3618         * sysdeps/unix/sysv/linux/nios2/sysdep.h
3619         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
3620         * sysdeps/unix/sysv/linux/tile/sysdep.h
3621         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
3622         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3623         (__ASSUME_RECV_SYSCALL): Define.
3624         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3625         (__ASSUME_RECV_SYSCALL): Likewise.
3626         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3627         (__ASSUME_RECV_SYSCALL): Likewise.
3628         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3629         (__ASSUME_RECV_SYSCALL): Likewise.
3630         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3631         (__ASSUME_RECV_SYSCALL): Likewise.
3632         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3633         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
3634         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3635         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
3636         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3637         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
3638         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
3639         auto-generation list.
3640         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3641         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3642         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
3643         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3644         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3645         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
3646         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
3647         __ASSUME_SENDTO_SYSCALL.
3648         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
3649         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
3650         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
3652         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
3653         auto-generation list.
3654         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3655         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
3656         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3657         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3658         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3659         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3660         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3661         * sysdeps/unix/sysv/linux/kernel-features.h
3662         (__ASSUME_SENDTO_SYSCALL): Define by default.
3663         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3664         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
3665         __NR_sendto.
3666         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3667         (__ASSUME_SENDTO_SYSCALL): Likewise.
3668         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3669         (__ASSUME_SENDTO_SYSCALL): Likewise.
3670         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3671         (__ASSUME_SENDTO_SYSCALL): Remove definition.
3672         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3673         (__ASSUME_SENDTO_SYSCALL): Likewise.
3674         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
3675         (__ASSUME_SENDTO_SYSCALL): Likewise.
3676         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
3678         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
3679         auto-generation list.
3680         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3681         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3682         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3683         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3684         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3685         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3686         (__ASSUME_RECV_SYSCALL): New define.
3687         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3688         (__ASSUME_RECV_SYSCALL): Likewise.
3689         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3690         (__ASSUME_RECV_SYSCALL): Likewise.
3691         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3692         (__ASSUME_RECV_SYSCALL): Likewise.
3693         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3694         (__ASSUME_RECV_SYSCALL): Likewise.
3695         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3696         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
3697         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3698         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
3699         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3700         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
3701         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
3702         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
3703         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
3704         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
3705         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
3706         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
3708         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
3709         auto-generation list.
3710         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3711         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
3712         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3713         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3714         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3715         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3716         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3717         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3718         (__ASSUME_RECVFROM_SYSCALL): Define by default.
3719         * sysdeps/unix/sysv/linux/kernel-features.h
3720         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
3721         __NR_recvfrom.
3722         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3723         (__ASSUME_RECVFROM_SYSCALL): Likewise.
3724         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3725         (__ASSUME_RECVFROM_SYSCALL): Likewise.
3726         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3727         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
3728         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3729         (__ASSUME_RECVFROM_SYSCALL): Likewise.
3730         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3731         (__ASSUME_RECVFROM_SYSCALL): Likewise.
3732         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3733         (__ASSUME_RECVFROM_SYSCALL): Likewise.
3734         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
3736         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
3737         auto-generation list.
3738         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3739         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
3740         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3741         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3742         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3743         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3744         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3745         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
3746         * sysdeps/unix/sysv/linux/kernel-features.h
3747         (__ASSUME_CONNECT_SYSCALL): Define.
3748         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3749         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
3750         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3751         (__ASSUME_CONNECT_SYSCALL): Likewise.
3752         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3753         (__ASSUME_CONNECT_SYSCALL): Likewise.
3754         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3755         (__ASSUME_CONNECT_SYSCALL): Likewise.
3757         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
3758         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
3759         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
3760         auto-generation list.
3761         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3762         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
3763         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3764         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3765         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3766         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3767         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3768         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3769         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
3770         (__ASSUME_ACCEPT_SYSCALL): Undefine.
3771         * sysdeps/unix/sysv/linux/kernel-features.h
3772         (__ASSUME_ACCEPT_SYSCALL): New define.
3773         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3774         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
3775         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
3776         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3777         (__ASSUME_ACCEPT_SYSCALL): Define.
3778         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3779         (__ASSUME_ACCEPT_SYSCALL): Undefine.
3780         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3781         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
3782         (__ASSUME_ACCEPT_SYSCALL): Undefine.
3783         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3784         (__ASSUME_ACCEPT_SYSCALL): Undefine.
3785         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3786         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
3788 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
3789             Zack Weinberg  <zackw@panix.com>
3791         * posix/test-errno.c: New file.
3792         * posix/Makefile (tests): Add test-errno.
3793         * sysdeps/unix/sysv/linux/test-errno.c: New file.
3794         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
3796 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
3798         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3800 2017-03-07  Florian Weimer  <fweimer@redhat.com>
3802         * time/tzset.c (compute_offset): Open-code min macro.
3803         (min, max, sign): Remove.
3805 2017-03-07  Florian Weimer  <fweimer@redhat.com>
3807         [BZ #15576]
3808         Remove TZNAME_MAX limit from sysconf.
3809         * include/time.h (__tzname_cur_max, __tzname_max): Remove
3810         declaration.
3811         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
3812         compute_tzname_max.
3813         (compute_tzname_max): Remove.
3814         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
3815         (update_vars): Do not update __tzname_cur_max.
3816         (tzset_internal): Remove argument.
3817         (__tzset): Adjust call to tzset_internal.
3818         (__tz_convert): Likewise.
3820         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
3821         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
3822         * manual/conf.texi (Sysconf Definition): Update comment.
3824 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3826         [BZ #21209]
3827         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
3828         AT_SECURE processes.
3829         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
3830         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
3831         (test_child): Likewise.
3832         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
3834 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3836         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
3838 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3840         * sysdeps/s390/atomic-machine.h
3841         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
3842         (__arch_compare_and_exchange_val_8_acq,
3843         __arch_compare_and_exchange_val_16_acq,
3844         __arch_compare_and_exchange_val_32_acq,
3845         __arch_compare_and_exchange_val_64_acq):
3846         Delete macro.
3847         (atomic_compare_and_exchange_val_acq,
3848         atomic_compare_and_exchange_val_rel,
3849         atomic_compare_and_exchange_bool_acq,
3850         catomic_compare_and_exchange_bool_acq,
3851         atomic_exchange_acq, atomic_exchange_rel,
3852         atomic_exchange_and_add_acq,
3853         atomic_exchange_and_add_rel,
3854         catomic_exchange_and_add, atomic_or_val,
3855         atomic_or, catomic_or, atomic_bit_test_set,
3856         atomic_and_val, atomic_and, catomic_and):
3857         Define macros with help of C11 atomic builtins.
3859 2017-03-03  Justus Winter <justus@gnupg.org>
3861         * sysdeps/mach/hurd/ftruncate64.c: New file.
3862         * sysdeps/mach/hurd/truncate64.c: Likewise.
3864 2017-03-03  Florian Weimer  <fweimer@redhat.com>
3866         * time/tzfile.c (NOID): Do not define.
3867         * time/tzset.c (NOID): Likewise.
3869 2017-03-03  Florian Weimer  <fweimer@redhat.com>
3871         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
3873 2017-03-02  Florian Weimer  <fweimer@redhat.com>
3875         * elf/get-dynamic-info.h: Remove header file inclusion guard.
3877 2017-03-02  Florian Weimer  <fweimer@redhat.com>
3879         [BZ #21015]
3880         * manual/install.texi (Configuring and compiling): Document
3881         --enable-bind-now.
3882         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
3883         (build-shlib-helper): Use $(LDFLAGS-lib.so).
3884         (format.lds): Likewise.
3885         [bind-now] (LDFLAGS-c.so): Remove.
3886         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
3887         be R_X86_64_GLOB_DAT.
3888         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
3889         relocation can be R_386_GLOB_DAT.
3890         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
3891         relocaiton can be R_ALPHA_GLOB_DAT.
3892         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
3894 2017-03-01  Zack Weinberg  <zackw@panix.com>
3896         * include/libc-pointer-arith.h: New file.  Define
3897         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
3898         PTR_ALIGN_DOWN here.
3899         * include/libc-internal.h: Definitions of above macros
3900         moved from here.  Don't include libc-diag.h anymore either.
3901         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
3902         Don't include libc-internal.h.
3904         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
3905         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
3906         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
3907         * string/strcoll_l.c, sysdeps/nacl/brk.c
3908         * sysdeps/unix/clock_settime.c
3909         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
3910         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
3911         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
3912         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
3913         Don't include libc-internal.h.
3915         * elf/get-dynamic-info.h, iconv/loop.c
3916         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
3917         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
3918         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
3919         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
3920         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
3921         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
3922         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
3923         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
3924         * sysdeps/ieee754/ldbl-128/k_tanl.c
3925         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
3926         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
3927         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
3928         Include libc-diag.h instead of libc-internal.h.
3930         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
3931         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
3932         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
3933         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
3934         * sysdeps/unix/sysv/linux/spawni.c
3935         * sysdeps/x86_64/nptl/tls.h:
3936         Include libc-pointer-arith.h instead of libc-internal.h.
3938         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
3939         * sysdeps/x86_64/atomic-machine.h:
3940         Add multiple include guard.
3942         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
3943         * string/strcasestr.c: No need to include config.h.
3944         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
3945         sys/auxv.h. Don't include sysdep.h.
3946         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
3948         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
3949         DL_LOOKUP_ADDRESS.
3950         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
3951         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
3952         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
3953         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
3954         of ARTIFICIAL_LIMIT.
3955         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
3956         declaration of __clone2.
3958 2017-02-28  Florian Weimer  <fweimer@redhat.com>
3960         * scripts/backport-support.sh (latest_commit): New file.
3962 2017-02-28  Florian Weimer  <fweimer@redhat.com>
3964         [BZ #20257]
3965         * inet/Makefile (routines): Add deadline.
3966         (tests-static): Add tst-deadline.
3967         * inet/net-internal.h (struct deadline_current_time)
3968         (__deadline_current_time, struct deadline, __deadline_is_infinite)
3969         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
3970         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
3971         * inet/deadline.c: New file.
3972         * inet/tst-deadline.c: Likewise.
3973         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
3974         tst-udp-timeout, tst-udp-garbage.
3975         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
3976         explicitly.
3977         (tst-udp-garbage): Likewise.  Also link against thread library.
3978         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
3979         struct layout is part of the ABI.
3980         (clntudp_call): Rework timeout handling.
3981         * sunrpc/tst-udp-garbage.c: New file.
3982         * sunrpc/tst-udp-nonblocking.c: Likewise.
3983         * sunrpc/tst-udp-timeout.c: Likewise.
3985 2017-02-28  Florian Weimer  <fweimer@redhat.com>
3987         [BZ #5010]
3988         * sunrpc/svc.c (svc_is_mapped): Remove.
3989         (svc_unregister): Obtain mapped status while the service is still
3990         registered.
3991         * sunrpc/Makefile [have-thread-library] (tests): Add
3992         tst-svc_register.
3993         (tst-svc_register): Link against libc.so explicitly and the thread
3994         library.
3995         * sunrpc/tst-svc_register.c: New file.
3997 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
3999         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
4000         * sysdeps/pthread/bits/sigthread.h: Likewise.
4002 2017-02-27  Florian Weimer  <fweimer@redhat.com>
4004         [BZ #21115]
4005         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
4006         * sunrpc/Makefile (tests): Add tst-udp-error.
4007         (tst-udp-error): Link against libc.so explicitly.
4008         * sunrpc/tst-udp-error: New file.
4010 2017-02-25  Zack Weinberg  <zackw@panix.com>
4012         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
4013         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
4015         * sysdeps/generic/math_ldbl.h
4016         * sysdeps/ia64/fpu/math_ldbl.h
4017         * sysdeps/ieee754/ldbl-128/math_ldbl.h
4018         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4019         * sysdeps/ieee754/ldbl-96/math_ldbl.h
4020         * sysdeps/powerpc/fpu/math_ldbl.h
4021         * sysdeps/x86_64/fpu/math_ldbl.h:
4022         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
4023         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
4024         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
4025         Add copyright notices.
4027         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
4028         Don't use EXTRACT_WORDS64.
4030         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
4031         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
4032         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
4033         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
4034         Include math_ldbl.h, not math_private.h.
4036 2017-02-25  Zack Weinberg  <zackw@panix.com>
4038         * include/libc-diag.h: New file.  Define ignore_value,
4039         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
4040         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
4042         * include/libc-internal.h: Definitions of above macros moved from
4043         here.  Include libc-diag.h.  Add copyright notice.
4045         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
4046         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
4047         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
4048         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
4049         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
4050         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
4051         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
4052         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
4053         Include libc-diag.h instead of libc-internal.h.
4055         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
4056         call to unsetenv (NULL).
4057         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
4058         call to pthread_mutexattr_destroy (NULL).
4060 2017-02-25  Zack Weinberg  <zackw@panix.com>
4062         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
4063         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
4064         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
4065         gets was removed from C++ in C++14.
4066         * include/stdio.h: Remove redundant declaration of gets.
4067         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
4068         be declared, since we are testing it.
4069         * stdio-common/Makefile (tst-gets.c): Compile with
4070         -Wno-deprecated-declarations.
4071         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
4072         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
4073         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
4074         Compile with -Wno-deprecated-declarations.
4076 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4078         * math/libm-test-support.c (check_ulp): Use LIT() around literal
4079         numbers.
4081 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4083         * resolv/tst-resolv-qtypes.c (domain):
4084         Change type to const pointer to const char.
4086 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
4088         * math/Makefile (libm-tests-generated): Remove variable.
4089         (libm-tests-base-normal): New variable.
4090         (libm-tests-base-finite): Likewise.
4091         (libm-tests-base-inline): Likewise.
4092         (libm-tests-base): Likewise.
4093         (libm-tests-normal): Likewise.
4094         (libm-tests-finite): Likewise.
4095         (libm-tests-inline): Likewise.
4096         (libm-tests-vector): Likewise.
4097         (libm-tests): Define in terms of these new variables.
4098         (libm-tests-for-type): New variable.
4099         (libm-tests.o): Move definition.
4100         (tests): Move addition of $(libm-tests).
4101         (generated): Update for new and removed libm test files.
4102         ($(objpfx)libm-test.c): Remove target.
4103         ($(objpfx)libm-have-vector-test.h): Likewise.
4104         (CFLAGS-test-double-vlen2.c): Remove variable.
4105         (CFLAGS-test-double-vlen4.c): Likewise.
4106         (CFLAGS-test-double-vlen8.c): Likewise.
4107         (CFLAGS-test-float-vlen4.c): Likewise.
4108         (CFLAGS-test-float-vlen8.c): Likewise.
4109         (CFLAGS-test-float-vlen16.c): Likewise.
4110         (CFLAGS-test-float.c): Likewise.
4111         (CFLAGS-test-float-finite.c): Likewise.
4112         (CFLAGS-libm-test-support-float.c): Likewise.
4113         (CFLAGS-test-double.c): Likewise.
4114         (CFLAGS-test-double-finite.c): Likewise.
4115         (CFLAGS-libm-test-support-double.c): Likewise.
4116         (CFLAGS-test-ldouble.c): Likewise.
4117         (CFLAGS-test-ldouble-finite.c): Likewise.
4118         (CFLAGS-libm-test-support-ldouble.c): Likewise.
4119         (libm-test-inline-cflags): New variable.
4120         (CFLAGS-test-ifloat.c): Remove variable.
4121         (CFLAGS-test-idouble.c): Likewise.
4122         (CFLAGS-test-ildouble.c): Likewise.
4123         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
4124         dependencies.
4125         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
4126         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
4127         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
4128         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
4129         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
4130         Likewise.
4131         (dependencies on libm-test-support-*.o): Remove.
4132         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
4133         rules using iterators.
4134         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
4135         Likewise.
4136         ($(objpfx)libm-test-support-$(o).o): Likewise.
4137         ($(addprefix $(objpfx),$(filter-out $(tests-static)
4138         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
4139         instead.
4140         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
4141         define rule instead.
4142         * math/README.libm-test: Update.
4143         * math/libm-test-acos.inc: Include libm-test-driver.c.
4144         (do_test): New function.
4145         * math/libm-test-acosh.inc: Include libm-test-driver.c.
4146         (do_test): New function.
4147         * math/libm-test-asin.inc: Include libm-test-driver.c.
4148         (do_test): New function.
4149         * math/libm-test-asinh.inc: Include libm-test-driver.c.
4150         (do_test): New function.
4151         * math/libm-test-atan.inc: Include libm-test-driver.c.
4152         (do_test): New function.
4153         * math/libm-test-atan2.inc: Include libm-test-driver.c.
4154         (do_test): New function.
4155         * math/libm-test-atanh.inc: Include libm-test-driver.c.
4156         (do_test): New function.
4157         * math/libm-test-cabs.inc: Include libm-test-driver.c.
4158         (do_test): New function.
4159         * math/libm-test-cacos.inc: Include libm-test-driver.c.
4160         (do_test): New function.
4161         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
4162         (do_test): New function.
4163         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
4164         (do_test): New function.
4165         * math/libm-test-carg.inc: Include libm-test-driver.c.
4166         (do_test): New function.
4167         * math/libm-test-casin.inc: Include libm-test-driver.c.
4168         (do_test): New function.
4169         * math/libm-test-casinh.inc: Include libm-test-driver.c.
4170         (do_test): New function.
4171         * math/libm-test-catan.inc: Include libm-test-driver.c.
4172         (do_test): New function.
4173         * math/libm-test-catanh.inc: Include libm-test-driver.c.
4174         (do_test): New function.
4175         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
4176         (do_test): New function.
4177         * math/libm-test-ccos.inc: Include libm-test-driver.c.
4178         (do_test): New function.
4179         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
4180         (do_test): New function.
4181         * math/libm-test-ceil.inc: Include libm-test-driver.c.
4182         (do_test): New function.
4183         * math/libm-test-cexp.inc: Include libm-test-driver.c.
4184         (do_test): New function.
4185         * math/libm-test-cimag.inc: Include libm-test-driver.c.
4186         (do_test): New function.
4187         * math/libm-test-clog.inc: Include libm-test-driver.c.
4188         (do_test): New function.
4189         * math/libm-test-clog10.inc: Include libm-test-driver.c.
4190         (do_test): New function.
4191         * math/libm-test-conj.inc: Include libm-test-driver.c.
4192         (do_test): New function.
4193         * math/libm-test-copysign.inc: Include libm-test-driver.c.
4194         (do_test): New function.
4195         * math/libm-test-cos.inc: Include libm-test-driver.c.
4196         (do_test): New function.
4197         * math/libm-test-cosh.inc: Include libm-test-driver.c.
4198         (do_test): New function.
4199         * math/libm-test-cpow.inc: Include libm-test-driver.c.
4200         (do_test): New function.
4201         * math/libm-test-cproj.inc: Include libm-test-driver.c.
4202         (do_test): New function.
4203         * math/libm-test-creal.inc: Include libm-test-driver.c.
4204         (do_test): New function.
4205         * math/libm-test-csin.inc: Include libm-test-driver.c.
4206         (do_test): New function.
4207         * math/libm-test-csinh.inc: Include libm-test-driver.c.
4208         (do_test): New function.
4209         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
4210         (do_test): New function.
4211         * math/libm-test-ctan.inc: Include libm-test-driver.c.
4212         (do_test): New function.
4213         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
4214         (do_test): New function.
4215         * math/libm-test-erf.inc: Include libm-test-driver.c.
4216         (do_test): New function.
4217         * math/libm-test-erfc.inc: Include libm-test-driver.c.
4218         (do_test): New function.
4219         * math/libm-test-exp.inc: Include libm-test-driver.c.
4220         (do_test): New function.
4221         * math/libm-test-exp10.inc: Include libm-test-driver.c.
4222         (do_test): New function.
4223         * math/libm-test-exp2.inc: Include libm-test-driver.c.
4224         (do_test): New function.
4225         * math/libm-test-expm1.inc: Include libm-test-driver.c.
4226         (do_test): New function.
4227         * math/libm-test-fabs.inc: Include libm-test-driver.c.
4228         (do_test): New function.
4229         * math/libm-test-fdim.inc: Include libm-test-driver.c.
4230         (do_test): New function.
4231         * math/libm-test-floor.inc: Include libm-test-driver.c.
4232         (do_test): New function.
4233         * math/libm-test-fma.inc: Include libm-test-driver.c.
4234         (do_test): New function.
4235         * math/libm-test-fmax.inc: Include libm-test-driver.c.
4236         (do_test): New function.
4237         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
4238         (do_test): New function.
4239         * math/libm-test-fmin.inc: Include libm-test-driver.c.
4240         (do_test): New function.
4241         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
4242         (do_test): New function.
4243         * math/libm-test-fmod.inc: Include libm-test-driver.c.
4244         (do_test): New function.
4245         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
4246         (do_test): New function.
4247         * math/libm-test-frexp.inc: Include libm-test-driver.c.
4248         (do_test): New function.
4249         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
4250         (do_test): New function.
4251         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
4252         (do_test): New function.
4253         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
4254         (do_test): New function.
4255         * math/libm-test-hypot.inc: Include libm-test-driver.c.
4256         (do_test): New function.
4257         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
4258         (do_test): New function.
4259         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
4260         (do_test): New function.
4261         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
4262         (do_test): New function.
4263         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
4264         (do_test): New function.
4265         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
4266         (do_test): New function.
4267         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
4268         (do_test): New function.
4269         * math/libm-test-isinf.inc: Include libm-test-driver.c.
4270         (do_test): New function.
4271         * math/libm-test-isless.inc: Include libm-test-driver.c.
4272         (do_test): New function.
4273         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
4274         (do_test): New function.
4275         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
4276         (do_test): New function.
4277         * math/libm-test-isnan.inc: Include libm-test-driver.c.
4278         (do_test): New function.
4279         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
4280         (do_test): New function.
4281         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
4282         (do_test): New function.
4283         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
4284         (do_test): New function.
4285         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
4286         (do_test): New function.
4287         * math/libm-test-iszero.inc: Include libm-test-driver.c.
4288         (do_test): New function.
4289         * math/libm-test-j0.inc: Include libm-test-driver.c.
4290         (do_test): New function.
4291         * math/libm-test-j1.inc: Include libm-test-driver.c.
4292         (do_test): New function.
4293         * math/libm-test-jn.inc: Include libm-test-driver.c.
4294         (do_test): New function.
4295         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
4296         (do_test): New function.
4297         * math/libm-test-llogb.inc: Include libm-test-driver.c.
4298         (do_test): New function.
4299         * math/libm-test-llrint.inc: Include libm-test-driver.c.
4300         (do_test): New function.
4301         * math/libm-test-llround.inc: Include libm-test-driver.c.
4302         (do_test): New function.
4303         * math/libm-test-log.inc: Include libm-test-driver.c.
4304         (do_test): New function.
4305         * math/libm-test-log10.inc: Include libm-test-driver.c.
4306         (do_test): New function.
4307         * math/libm-test-log1p.inc: Include libm-test-driver.c.
4308         (do_test): New function.
4309         * math/libm-test-log2.inc: Include libm-test-driver.c.
4310         (do_test): New function.
4311         * math/libm-test-logb.inc: Include libm-test-driver.c.
4312         (do_test): New function.
4313         * math/libm-test-lrint.inc: Include libm-test-driver.c.
4314         (do_test): New function.
4315         * math/libm-test-lround.inc: Include libm-test-driver.c.
4316         (do_test): New function.
4317         * math/libm-test-modf.inc: Include libm-test-driver.c.
4318         (do_test): New function.
4319         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
4320         (do_test): New function.
4321         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
4322         (do_test): New function.
4323         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
4324         (do_test): New function.
4325         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
4326         (do_test): New function.
4327         * math/libm-test-nextup.inc: Include libm-test-driver.c.
4328         (do_test): New function.
4329         * math/libm-test-pow.inc: Include libm-test-driver.c.
4330         (do_test): New function.
4331         * math/libm-test-remainder.inc: Include libm-test-driver.c.
4332         (do_test): New function.
4333         * math/libm-test-remquo.inc: Include libm-test-driver.c.
4334         (do_test): New function.
4335         * math/libm-test-rint.inc: Include libm-test-driver.c.
4336         (do_test): New function.
4337         * math/libm-test-round.inc: Include libm-test-driver.c.
4338         (do_test): New function.
4339         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
4340         (do_test): New function.
4341         * math/libm-test-scalb.inc: Include libm-test-driver.c.
4342         (do_test): New function.
4343         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
4344         (do_test): New function.
4345         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
4346         (do_test): New function.
4347         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
4348         (do_test): New function.
4349         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
4350         (do_test): New function.
4351         * math/libm-test-signbit.inc: Include libm-test-driver.c.
4352         (do_test): New function.
4353         * math/libm-test-significand.inc: Include libm-test-driver.c.
4354         (do_test): New function.
4355         * math/libm-test-sin.inc: Include libm-test-driver.c.
4356         (do_test): New function.
4357         * math/libm-test-sincos.inc: Include libm-test-driver.c.
4358         (do_test): New function.
4359         * math/libm-test-sinh.inc: Include libm-test-driver.c.
4360         (do_test): New function.
4361         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
4362         (do_test): New function.
4363         * math/libm-test-tan.inc: Include libm-test-driver.c.
4364         (do_test): New function.
4365         * math/libm-test-tanh.inc: Include libm-test-driver.c.
4366         (do_test): New function.
4367         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
4368         (do_test): New function.
4369         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
4370         (do_test): New function.
4371         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
4372         (do_test): New function.
4373         * math/libm-test-trunc.inc: Include libm-test-driver.c.
4374         (do_test): New function.
4375         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
4376         (do_test): New function.
4377         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
4378         (do_test): New function.
4379         * math/libm-test-y0.inc: Include libm-test-driver.c.
4380         (do_test): New function.
4381         * math/libm-test-y1.inc: Include libm-test-driver.c.
4382         (do_test): New function.
4383         * math/libm-test-yn.inc: Include libm-test-driver.c.
4384         (do_test): New function.
4385         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
4386         (HAVE_VECTOR): Remove macro.
4387         (START): Do not call HAVE_VECTOR.
4388         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
4389         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
4390         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
4391         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
4392         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
4393         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
4394         * math/test-math-vector.h (FUNC_TEST): New macro.
4395         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
4396         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
4397         (double-vlen4-funcs): Likewise.
4398         (double-vlen4-avx2-funcs): Likewise.
4399         (double-vlen8-funcs): Likewise.
4400         (float-vlen4-funcs): Likewise.
4401         (float-vlen8-funcs): Likewise.
4402         (float-vlen8-avx2-funcs): Likewise.
4403         (float-vlen16-funcs): Likewise.
4404         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
4405         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
4406         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
4407         macro.
4408         (TEST_VECTOR_sin): Likewise.
4409         (TEST_VECTOR_sincos): Likewise.
4410         (TEST_VECTOR_log): Likewise.
4411         (TEST_VECTOR_exp): Likewise.
4412         (TEST_VECTOR_pow): Likewise.
4413         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
4414         Likewise.
4415         (TEST_VECTOR_sin): Likewise.
4416         (TEST_VECTOR_sincos): Likewise.
4417         (TEST_VECTOR_log): Likewise.
4418         (TEST_VECTOR_exp): Likewise.
4419         (TEST_VECTOR_pow): Likewise.
4420         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
4421         Likewise.
4422         (TEST_VECTOR_sinf): Likewise.
4423         (TEST_VECTOR_sincosf): Likewise.
4424         (TEST_VECTOR_logf): Likewise.
4425         (TEST_VECTOR_expf): Likewise.
4426         (TEST_VECTOR_powf): Likewise.
4427         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
4428         Likewise.
4429         (TEST_VECTOR_sinf): Likewise.
4430         (TEST_VECTOR_sincosf): Likewise.
4431         (TEST_VECTOR_logf): Likewise.
4432         (TEST_VECTOR_expf): Likewise.
4433         (TEST_VECTOR_powf): Likewise.
4434         * math/gen-libm-have-vector-test.sh: Remove file.
4435         * math/libm-test.inc: Likewise.
4436         * math/libm-test-support-double.c: Likewise.
4437         * math/libm-test-support-float.c: Likewise.
4438         * math/libm-test-support-ldouble.c: Likewise.
4439         * math/test-double-finite.c: Likewise.: Likewise.
4440         * math/test-double.c: Likewise.
4441         * math/test-float-finite.c: Likewise.
4442         * math/test-float.c: Likewise.
4443         * math/test-idouble.c: Likewise.
4444         * math/test-ifloat.c: Likewise.
4445         * math/test-ildouble.c: Likewise.
4446         * math/test-ldouble-finite.c: Likewise.
4447         * math/test-ldouble.c: Likewise.
4448         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4449         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
4450         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4451         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4452         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4453         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4454         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4455         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
4456         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4457         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4459 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4460            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4462         * math/Makefile: Add wrappers to gen-libm-calls.
4463         * math/w_acos_template.c: New file.
4464         * math/w_acosh_template.c: Likewise.
4465         * math/w_asin_template.c: Likewise.
4466         * math/w_atan2_template.c: Likewise.
4467         * math/w_atanh_template.c: Likewise.
4468         * math/w_cosh_template.c: Likewise.
4469         * math/w_exp10_template.c: Likewise.
4470         * math/w_exp2_template.c: Likewise.
4471         * math/w_exp_template.c: Likewise.
4472         * math/w_fmod_template.c: Likewise.
4473         * math/w_hypot_template.c: Likewise.
4474         * math/w_j0_template.c: Likewise.
4475         * math/w_j1_template.c: Likewise.
4476         * math/w_jn_template.c: Likewise.
4477         * math/w_lgamma_r_template.c: Likewise.
4478         * math/w_lgamma_template.c: Likewise.
4479         * math/w_log10_template.c: Likewise.
4480         * math/w_log2_template.c: Likewise.
4481         * math/w_log_template.c: Likewise.
4482         * math/w_pow_template.c: Likewise.
4483         * math/w_remainder_template.c: Likewise.
4484         * math/w_sinh_template.c: Likewise.
4485         * math/w_sqrt_template.c: Likewise.
4486         * math/w_tgamma_template.c: Likewise.: Likewise.
4487         * sysdeps/generic/math-type-macros-double.h
4488         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
4489         the new wrappers.
4490         * sysdeps/generic/math-type-macros-float.h: Likewise.
4491         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
4493 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
4495         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
4496         New enum constant and macro.
4498         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4499         kernel version to 4.10.
4501 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
4503         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
4505 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4507         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4509 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4511         * sysdeps/powerpc/tst-set_ppr.c: New file.
4512         Implement test cases for __ppc_set_ppr_* functions.
4513         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
4514         in the list of tests.
4516 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4518         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
4519         instead of test-skeleton.c.
4520         (do_test): Replaced pthread_create and pthread_join with
4521         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
4522         Removed unneeded status variable.
4523         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
4524         instead of test-skeleton.c.
4525         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
4527 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
4529         [BZ #20313]
4530         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
4531         201605L, for Unicode 9.
4533 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
4535         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
4536         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4537         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4538         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4539         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
4540         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4542 2017-02-19  Zack Weinberg  <zackw@panix.com>
4544         * rt/tst-mqueue4.c: Include stdint.h.
4546 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
4548         * sysdeps/arm/libm-test-ulps: Update.
4549         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4550         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4551         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4553 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4555         [BZ #21029]
4556         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
4557         * sysdeps/unix/sysv/linux/i386/Makefile
4558         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
4559         (uses-6-syscall-arguments): Remove.
4560         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
4561         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
4562         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
4563         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
4564         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
4565         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
4566         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
4567         [$(subdir) = misc] (cflags-pselect.o): Likewise.
4568         [$(subdir) = misc] (cflags-pselect.os): Likewise.
4569         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
4570         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
4571         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
4572         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
4573         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
4574         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
4575         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
4576         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
4577         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
4578         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
4579         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
4580         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
4581         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
4582         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
4583         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
4584         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
4585         Likewise.
4586         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
4587         Likewise.
4588         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
4589         Likewise.
4590         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
4591         Likewise.
4592         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
4593         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
4594         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
4595         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
4596         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
4597         ebp on inline assembly.
4598         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
4599         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
4600         Set if CAN_USE_REGISTER_ASM_EBP is set.
4602 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
4604         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
4605         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
4607 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
4609         * math/auto-libm-test-in: Add tests of catan and catanh.
4610         * math/auto-libm-test-out-catan: New generated file.
4611         * math/auto-libm-test-out-catanh: Likewise.
4612         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
4613         Move tests with finite inputs, except divide-by-zero cases, to
4614         auto-libm-test-in.
4615         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
4616         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
4617         (libm-test-funcs-noauto): Remove catan and catanh.
4618         * sysdeps/i386/fpu/libm-test-ulps: Update.
4619         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4622         * math/auto-libm-test-in: Add tests of casin and casinh.
4623         * math/auto-libm-test-out-casin: New generated file.
4624         * math/auto-libm-test-out-casinh: Likewise.
4625         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
4626         Move tests with finite inputs to auto-libm-test-in.
4627         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
4628         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
4629         (libm-test-funcs-noauto): Remove casin and casinh.
4630         * sysdeps/i386/fpu/libm-test-ulps: Update.
4631         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4634         * math/auto-libm-test-in: Add tests of cacos and cacosh.
4635         * math/auto-libm-test-out-cacos: New generated file.
4636         * math/auto-libm-test-out-cacosh: Likewise.
4637         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
4638         Move tests with finite inputs to auto-libm-test-in.
4639         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
4640         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
4641         (libm-test-funcs-noauto): Remove cacos and cacosh.
4642         * sysdeps/i386/fpu/libm-test-ulps: Update.
4643         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4646         Revert:
4647         2017-02-16  Zack Weinberg  <zackw@panix.com>
4649         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
4650         Don't include init-arch.h.
4651         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
4652         Don't include init-arch.h.
4654 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4656         [BZ #21171]
4657         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
4658         +Inf and raise divide-by-zero when x is negative.
4659         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
4660         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
4661         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
4662         -Inf and raise divide-by-zero when x = +-0.
4663         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4664         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
4665         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
4666         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
4667         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
4668         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4669         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4671 2017-02-16  Zack Weinberg  <zackw@panix.com>
4673         * scripts/build-many-glibcs.py (bot_build_mail): If the
4674         bot_config does not contain all of the necessary email-
4675         related settings, just print a warning and continue.
4677 2017-02-16  Zack Weinberg  <zackw@panix.com>
4679         * crypt/md5.h: Test _LIBC with #if defined, not #if.
4680         * dirent/opendir-tst1.c: Include sys/stat.h.
4681         * dirent/tst-fdopendir.c: Include sys/stat.h.
4682         * dirent/tst-fdopendir2.c: Include stdlib.h.
4683         * dirent/tst-scandir.c: Include stdbool.h.
4684         * elf/tst-auditmod1.c: Include link.h and stddef.h.
4685         * elf/tst-tls15.c: Include stdlib.h.
4686         * elf/tst-tls16.c: Include stdlib.h.
4687         * elf/tst-tls17.c: Include stdlib.h.
4688         * elf/tst-tls18.c: Include stdlib.h.
4689         * iconv/tst-iconv6.c: Include endian.h.
4690         * iconvdata/bug-iconv11.c: Include limits.h.
4691         * io/test-utime.c: Include stdint.h.
4692         * io/tst-faccessat.c: Include sys/stat.h.
4693         * io/tst-fchmodat.c: Include sys/stat.h.
4694         * io/tst-fchownat.c: Include sys/stat.h.
4695         * io/tst-fstatat.c: Include sys/stat.h.
4696         * io/tst-futimesat.c: Include sys/stat.h.
4697         * io/tst-linkat.c: Include sys/stat.h.
4698         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
4699         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
4700         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
4701         * io/tst-openat.c: Include stdbool.h.
4702         * io/tst-readlinkat.c: Include sys/stat.h.
4703         * io/tst-renameat.c: Include sys/stat.h.
4704         * io/tst-symlinkat.c: Include sys/stat.h.
4705         * io/tst-unlinkat.c: Include stdbool.h.
4706         * libio/bug-memstream1.c: Include stdlib.h.
4707         * libio/bug-wmemstream1.c: Include stdlib.h.
4708         * libio/tst-fwrite-error.c: Include stdlib.h.
4709         * libio/tst-memstream1.c: Include stdlib.h.
4710         * libio/tst-memstream2.c: Include stdlib.h.
4711         * libio/tst-memstream3.c: Include stdlib.h.
4712         * malloc/tst-interpose-aux.c: Include stdint.h.
4713         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
4714         * nptl/tst-basic7.c: Include limits.h.
4715         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
4716         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
4717         * nptl/tst-cancel4_1.c: Include stddef.h.
4718         * nptl/tst-cancel4_2.c: Include stddef.h.
4719         * nptl/tst-cond16.c: Include limits.h.
4720         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
4721         * nptl/tst-cond18.c: Include limits.h.
4722         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
4723         * nptl/tst-cond4.c: Include stdint.h.
4724         * nptl/tst-cond6.c: Include stdint.h.
4725         * nptl/tst-stack2.c: Include limits.h.
4726         * nptl/tst-stackguard1.c: Include stddef.h.
4727         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
4728         * nptl/tst-tls4moda.c: Include stddef.h.
4729         Don't include stdio.h, unistd.h, or tls.h.
4730         * nptl/tst-tls4modb.c: Include stddef.h.
4731         Don't include stdio.h, unistd.h, or tls.h.
4732         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
4733         * posix/tst-getaddrinfo2.c: Include stdio.h.
4734         * posix/tst-getaddrinfo5.c: Include stdio.h.
4735         * posix/tst-pathconf.c: Include sys/stat.h.
4736         * posix/tst-posix_fadvise-common.c: Include stdint.h.
4737         * posix/tst-preadwrite-common.c: Include sys/stat.h.
4738         * posix/tst-regex.c: Include stdint.h.
4739         Don't include spawn.h or spawn_int.h.
4740         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
4741         * posix/tst-vfork3.c: Include sys/stat.h.
4742         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
4743         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
4744         * resolv/tst-resolv-search.c: Include stdlib.h.
4745         * stdio-common/tst-fmemopen2.c: Include stdint.h.
4746         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
4747         * stdlib/test-canon.c: Include sys/stat.h.
4748         * stdlib/tst-tls-atexit.c: Include stdbool.h.
4749         * string/test-memchr.c: Include stdint.h.
4750         * string/tst-cmp.c: Include stdint.h.
4751         * sysdeps/pthread/tst-timer.c: Include stdint.h.
4752         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
4753         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
4754         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
4755         Don't include init-arch.h.
4756         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
4757         Don't include init-arch.h.
4758         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
4759         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
4760         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
4761         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
4762         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
4763         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
4764         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
4765         * time/clocktest.c: Include stdint.h.
4766         * time/tst-posixtz.c: Include stdint.h.
4767         * timezone/tst-timezone.c: Include stdint.h.
4769 2017-02-16  Zack Weinberg  <zackw@panix.com>
4771         * string/string.h [__USE_MISC]: Include strings.h.
4772         (__bzero, bcmp, bcopy, bzero, index, rindex)
4773         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
4774         (ffs, ffsl, ffsll): Don't declare.
4775         * string/strings.h: Do not suppress the file if string.h has
4776         already been included.
4777         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
4778         annotations.
4779         (index, rindex): Define inline forwarders even if
4780         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
4781         (ffs): Use __attribute_const__.
4782         (ffsl, ffsll): Declare here.
4783         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
4784         have now been standardized.
4785         * include/string.h (__bzero): Declare here.
4787         * bits/types.h: Move to posix/bits.
4788         * include/bits/types.h: New wrapper.
4790 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
4792         * string/bits/string2.h (strcmp): Remove define.
4793         (__strcmp_cg): Likewise.
4794         (strncmp): Likewise.
4796 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
4798         * include/string.h: Add __cplusplus check.
4800 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4802         [BZ #21134]
4803         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
4804         "divide by zero" exception when the input is zero.
4805         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
4806         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
4807         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
4808         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
4809         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4811 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
4813         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
4814         and include ...
4815         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
4816         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
4817         to, and include ...
4818         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
4819         file.
4820         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
4821         and include ...
4822         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
4823         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
4824         and include ...
4825         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
4826         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
4827         and include ...
4828         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
4829         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
4830         and include ...
4831         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
4832         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
4833         to, and include ...
4834         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
4835         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
4836         and include ...
4837         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
4839 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
4841         * math/libm-test-support.h: Do not include <math-tests-arch.h>
4842         here.
4843         * math/libm-test-support.c (libm_test_init): Do not call
4844         INIT_ARCH_EXT here.
4845         * math/libm-test-driver.c: Include <math-tests-arch.h>.
4846         (main): Call INIT_ARCH_EXT.
4848 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4850         [BZ #21130]
4851         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
4852         with the "invalid" exception raised when x is -Inf.
4853         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4855 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
4857         * string/bits/string2.h (strchr): Remove define.
4859 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
4861         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
4862         tst-avx512.
4863         (test-extras): Add tst-avx-aux and tst-avx512-aux.
4864         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
4865         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
4866         ($(objpfx)tst-sse): New rule.
4867         ($(objpfx)tst-avx): Likewise.
4868         ($(objpfx)tst-avx512): Likewise.
4869         (CFLAGS-tst-avx-aux.c): New.
4870         (CFLAGS-tst-avxmod.c): Likewise.
4871         (CFLAGS-tst-avx512-aux.c): Likewise.
4872         (CFLAGS-tst-avx512mod.c): Likewise.
4873         * sysdeps/x86_64/tst-avx-aux.c: New file.
4874         * sysdeps/x86_64/tst-avx.c: Likewise.
4875         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
4876         * sysdeps/x86_64/tst-avx512.c: Likewise.
4877         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
4878         * sysdeps/x86_64/tst-avxmod.c: Likewise.
4879         * sysdeps/x86_64/tst-sse.c: Likewise.
4880         * sysdeps/x86_64/tst-ssemod.c: Likewise.
4882 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
4884         * math/auto-libm-test-in: Add more tests of csin and csinh.
4885         * math/auto-libm-test-out-csin: Regenerated.
4886         * math/auto-libm-test-out-csinh: Likewise.
4887         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
4888         auto-libm-test-in.
4889         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
4891 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4893         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
4894         libm-compat-calls-auto.
4895         (libm-compat-calls): Likewise.
4896         (libm-compat-calls-auto): Rename to libm-compat-calls and add
4897         w_lgamma_compatF and k_standardF (merged from the items above).
4898         (libm-routines): Use libm-compat-calls, instead of
4899         libm-compat-calls-auto, with type-foreach.
4901 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
4903         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
4904         macro.
4905         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
4906         (CFLAGS-test-ifloat.c): ... this.  Remove
4907         -U__LIBC_INTERNAL_MATH_INLINES.
4908         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
4909         (CFLAGS-test-idouble.c): ... this.  Remove
4910         -U__LIBC_INTERNAL_MATH_INLINES.
4911         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
4912         (CFLAGS-test-ildouble.c): ... this.  Remove
4913         -U__LIBC_INTERNAL_MATH_INLINES.
4915 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
4917         * math/libm-test-support.c: New file.  Content from
4918         math/libm-test-driver.c.
4919         * math/libm-test-support.h: Likewise.
4920         * math/libm-test-support-double.c: New file.
4921         * math/libm-test-support-float.c: Likewise.
4922         * math/libm-test-support-ldouble.c: Likewise.
4923         * math/libm-test-driver.c: Remove main comment and header
4924         includes.  Include libm-test-support.h.
4925         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
4926         (flag_test_errno): Remove static.
4927         (flag_test_exceptions): Likewise.
4928         (flag_test_finite): Likewise.
4929         (flag_test_inline): Likewise.
4930         (flag_test_mathvec): Likewise.
4931         (test_msg): Likewise.
4932         (NO_EXCEPTION): Remove.
4933         (INVALID_EXCEPTION): Likewise.
4934         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
4935         (OVERFLOW_EXCEPTION): Likewise.
4936         (UNDERFLOW_EXCEPTION): Likewise.
4937         (INEXACT_EXCEPTION): Likewise.
4938         (INVALID_EXCEPTION_OK): Likewise.
4939         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4940         (OVERFLOW_EXCEPTION_OK): Likewise.
4941         (UNDERFLOW_EXCEPTION_OK): Likewise.
4942         (NO_INEXACT_EXCEPTION): Likewise.
4943         (EXCEPTIONS_OK): Likewise.
4944         (IGNORE_ZERO_INF_SIGN): Likewise.
4945         (TEST_NAN_SIGN): Likewise.
4946         (TEST_NAN_PAYLOAD): Likewise.
4947         (NO_TEST_INLINE): Likewise.
4948         (XFAIL_TEST): Likewise.
4949         (ERRNO_UNCHANGED): Likewise.
4950         (ERRNO_EDOM): Likewise.
4951         (ERRNO_ERANGE): Likewise.
4952         (IGNORE_RESULT): Likewise.
4953         (NON_FINITE): Likewise.
4954         (TEST_SNAN): Likewise.
4955         (NO_TEST_MATHVEC): Likewise.
4956         (__CONCATX): Likewise.
4957         (TYPE_MIN): Likewise.
4958         (TYPE_TRUE_MIN): Likewise.
4959         (TYPE_MAX): Likewise.
4960         (MIN_EXP): Likewise.
4961         (MAX_EXP): Likewise.
4962         (MANT_DIG): Likewise.
4963         (FSTR_MAX): Likewise.
4964         (ulp_idx): Likewise.
4965         (qtype_str): Remove static.
4966         (TEST_COND_binary32): Remove.
4967         (TEST_COND_binary64): Likewise.
4968         (TEST_COND_binary128): Likewise.
4969         (TEST_COND_ibm128): Likewise.
4970         (TEST_COND_intel96): Likewise.
4971         (TEST_COND_m68k96): Likewise.
4972         (TEST_COND_ibm128_libgcc): Likewise.
4973         (XFAIL_IBM128_LIBGCC): Likewise.
4974         (PAYLOAD_DIG): Likewise.
4975         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4976         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4977         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4978         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
4979         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4980         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
4981         (TEST_COND_long32): Likewise.
4982         (TEST_COND_long64): Likewise.
4983         (TEST_COND_before_rounding): Likewise.
4984         (TEST_COND_after_rounding): Likewise.
4985         (ulps_file_name): Likewise.
4986         (ulps_file): Likewise.
4987         (output_ulps): Likewise.
4988         (output_dir): Likewise.
4989         (noErrors): Likewise.
4990         (noTests): Likewise.
4991         (noExcTests): Likewise.
4992         (noErrnoTests): Likewise.
4993         (verbose): Likewise.
4994         (output_max_error): Likewise.
4995         (output_points): Likewise.
4996         (ignore_max_ulp): Likewise.
4997         (max_error): Likewise.
4998         (real_max_error): Likewise.
4999         (imag_max_error): Likewise.
5000         (prev_max_error): Likewise.
5001         (prev_real_max_error): Likewise.
5002         (prev_imag_max_error): Likewise.
5003         (max_valid_error): Likewise.
5004         (TYPE_DECIMAL_DIG): Likewise.
5005         (TYPE_HEX_DIG): Likewise.
5006         (fmt_ftostr): Likewise.
5007         (compare_ulp_data): Likewise.
5008         (find_ulps): Likewise.
5009         (init_max_error): Likewise.
5010         (set_max_error): Likewise.
5011         (print_float): Likewise.
5012         (print_screen): Likewise.
5013         (print_screen_max_error): Likewise.
5014         (update_stats): Likewise.
5015         (print_function_ulps): Likewise.
5016         (print_complex_function_ulps): Likewise.
5017         (fpstack_test): Likewise.
5018         (print_max_error): Likewise.
5019         (print_complex_max_error): Likewise.
5020         (test_single_exception): Likewise.
5021         (test_exceptions): Likewise.
5022         (test_single_errno): Likewise.
5023         (test_errno): Likewise.
5024         (ULPDIFF): Likewise.
5025         (ulp): Likewise.
5026         (check_float_internal): Likewise.
5027         (check_float): Likewise.
5028         (check_complex): Likewise.
5029         (check_int): Likewise.
5030         (check_long): Likewise.
5031         (check_bool): Likewise.
5032         (check_longlong): Likewise.
5033         (check_intmax_t): Likewise.
5034         (check_uintmax_t): Likewise.
5035         (enable_test): Likewise.
5036         (matherr): Likewise.
5037         (initialize): Likewise.
5038         (options): Likewise.
5039         (doc): Remove static.
5040         (argp): Likewise.
5041         (parse_opt): Remove.
5042         (check_ulp): Likewise.
5043         (libm_test_init): Likewise.
5044         (libm_test_finish): Likewise.
5045         * math/Makefile (libm-test-support): New variable.
5046         (test-extras): Add libm-test-support files.
5047         (extra-test-objs): Likewise.
5048         (CFLAGS-libm-test-support-float.c): New variable.
5049         (CFLAGS-libm-test-support-double.c): Likewise.
5050         (CFLAGS-libm-test-support-ldouble.c): Likewise.
5051         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
5052         libm-test-support objects.
5054 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5056         * math/Makefile (libm-calls): Move w_exp...
5057         (libm-compat-calls-auto): Here.
5059         * math/w_expl.c: Add suffix "_compat" to filename.
5060         * sysdeps/ia64/fpu/w_expl.c: Likewise.
5061         * sysdeps/ia64/fpu/w_expf.c: Likewise.
5062         * sysdeps/ia64/fpu/w_exp.c: Likewise.
5063         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5064         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5065         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5066         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
5067         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5069         * math/w_expl_compat.c: New file, copied from above.
5070         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
5071         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
5072         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
5073         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
5074         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
5075         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
5076         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
5077         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
5079         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
5080         to filename.
5081         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
5083         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
5084         copied from above and adjusted for the new filenames.
5085         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
5087 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5089         * math/Makefile (libm-calls): Move w_lgammaF...
5090         (libm-compat-calls-auto): Here.
5092         * math/w_lgamma.c: Add suffix "_compat2" to filename.
5093         * math/w_lgammaf.c: Likewise.
5094         * math/w_lgammal.c: Likewise.
5096         * math/w_lgamma_compat2.c: New file, copied from above.
5097         * math/w_lgammaf_compat2.c: Likewise.
5098         * math/w_lgammal_compat2.c: Likewise.
5100 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5102         * math/Makefile (libm-calls): Move w_lgammaF_r...
5103         (libm-compat-calls-auto): Here.
5105         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
5106         * math/w_lgammaf_r.c: Likewise.
5107         * math/w_lgammal_r.c: Likewise.
5108         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
5109         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
5110         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
5112         * math/w_lgamma_r_compat.c: New file, copied from above.
5113         * math/w_lgammaf_r_compat.c: Likewise.
5114         * math/w_lgammal_r_compat.c: Likewise.
5115         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
5116         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
5117         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
5119         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
5120         to filename.
5121         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
5123         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
5124         copied from above and adjusted for the new filenames.
5125         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
5127 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
5129         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
5130         calculation in SYSCALL_ERROR_HANDLER().
5132 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
5134         * manual/contrib.texi: Fix typo.
5136 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5138         [BZ #21109]
5139         * elf/dl-tunable-types.h (tunable_callback_t): Accept
5140         tunable_val_t as argument.
5141         * elf/dl-tunables.c (__tunable_set_val): Add comment.
5142         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
5143         argument.
5144         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
5146 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
5148         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
5149         Add PTRACE_EVENT_STOP.
5150         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
5151         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5152         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5153         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5154         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
5155         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
5157 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
5159         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
5160         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
5161         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
5162         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
5163         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
5164         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
5165         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
5166         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
5167         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
5168         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
5170         [BZ #21112]
5171         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
5172         12 bits zero.
5173         (cp_l): Update for new value of cp_h.
5174         * math/auto-libm-test-in: Add another test of pow.
5175         * math/auto-libm-test-out-pow: Regenerated.
5177 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5179         * manual/contrib.texi: Fix typo.
5181 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5183         [BZ #15998]
5184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5185         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
5186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5188 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5190         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
5191         STRCHR as __strchr_power8.
5192         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
5193         strlen as __strlen_power8.
5195 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5197         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
5198         unaligned load for shorter strings.
5199         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
5201 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
5203         * math/libm-test-driver.c (flag_test_errno): New variable.
5204         (flag_test_exceptions): Likewise.
5205         (flag_test_finite): Likewise.
5206         (flag_test_inline): Likewise.
5207         (flag_test_mathvec): Likewise.
5208         (test_msg): Likewise.
5209         (ulp_idx): Likewise.
5210         (qtype_str): Likewise.
5211         (ULP_IDX): Remove macro.
5212         (QTYPE_STR): Likewise.
5213         (find_ulps): Use ulp_idx not ULP_IDX.
5214         (print_function_ulps): Use qtype_str, printed with %s, not
5215         QTYPE_STR, printed with concatentation to format string.
5216         (print_complex_function_ulps): Likewise.
5217         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
5218         (test_errno): Use flag_test_errno not TEST_ERRNO.
5219         (enable_test): Use flag_test_inline, flag_test_finite and
5220         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
5221         TEST_MATHVEC.
5222         (libm_test_init): New function.  Factored out of main.
5223         (libm_test_finish): Likewise.
5224         (main): Call libm_test_init and libm_test_finish and move most
5225         code to those functions.
5227         * math/libm-test-driver.c (STRX): New macro.
5228         (STR): Likewise.
5229         (STR_FLOAT): Likewise.
5230         (STR_VEC_LEN): Likewise.
5231         (TEST_MSG): Likewise.  Define here instead of expecting to be
5232         defined by including file.
5233         * math/test-double-finite.c (TEST_MSG): Remove macro.
5234         * math/test-double-vlen2.h (TEST_MSG): Likewise.
5235         * math/test-double-vlen4.h (TEST_MSG): Likewise.
5236         * math/test-double-vlen8.h (TEST_MSG): Likewise.
5237         * math/test-double.c (TEST_MSG): Likewise.
5238         * math/test-float-finite.c (TEST_MSG): Likewise.
5239         * math/test-float-vlen16.h (TEST_MSG): Likewise.
5240         * math/test-float-vlen4.h (TEST_MSG): Likewise.
5241         * math/test-float-vlen8.h (TEST_MSG): Likewise.
5242         * math/test-float.c (TEST_MSG): Likewise.
5243         * math/test-idouble.c (TEST_MSG): Likewise.
5244         * math/test-ifloat.c (TEST_MSG): Likewise.
5245         * math/test-ildouble.c (TEST_MSG): Likewise.
5246         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
5247         * math/test-ldouble.c (TEST_MSG): Likewise.
5249         * math/libm-test.inc: Move all tests of individual functions to
5250         libm-test-*.inc and #include libm-test-*.c files.
5251         (acos_test_data): Remove.
5252         (acos_test): Likewise.
5253         (acosh_test_data): Likewise.
5254         (acosh_test): Likewise.
5255         (asin_test_data): Likewise.
5256         (asin_test): Likewise.
5257         (asinh_test_data): Likewise.
5258         (asinh_test): Likewise.
5259         (atan_test_data): Likewise.
5260         (atan_test): Likewise.
5261         (atanh_test_data): Likewise.
5262         (atanh_test): Likewise.
5263         (atan2_test_data): Likewise.
5264         (atan2_test): Likewise.
5265         (cabs_test_data): Likewise.
5266         (cabs_test): Likewise.
5267         (cacos_test_data): Likewise.
5268         (cacos_test): Likewise.
5269         (cacosh_test_data): Likewise.
5270         (cacosh_test): Likewise.
5271         (canonicalize_test_data): Likewise.
5272         (canonicalize_test): Likewise.
5273         (carg_test_data): Likewise.
5274         (carg_test): Likewise.
5275         (casin_test_data): Likewise.
5276         (casin_test): Likewise.
5277         (casinh_test_data): Likewise.
5278         (casinh_test): Likewise.
5279         (catan_test_data): Likewise.
5280         (catan_test): Likewise.
5281         (catanh_test_data): Likewise.
5282         (catanh_test): Likewise.
5283         (cbrt_test_data): Likewise.
5284         (cbrt_test): Likewise.
5285         (ccos_test_data): Likewise.
5286         (ccos_test): Likewise.
5287         (ccosh_test_data): Likewise.
5288         (ccosh_test): Likewise.
5289         (ceil_test_data): Likewise.
5290         (ceil_test): Likewise.
5291         (cexp_test_data): Likewise.
5292         (cexp_test): Likewise.
5293         (cimag_test_data): Likewise.
5294         (cimag_test): Likewise.
5295         (clog_test_data): Likewise.
5296         (clog_test): Likewise.
5297         (clog10_test_data): Likewise.
5298         (clog10_test): Likewise.
5299         (conj_test_data): Likewise.
5300         (conj_test): Likewise.
5301         (copysign_test_data): Likewise.
5302         (copysign_test): Likewise.
5303         (cos_test_data): Likewise.
5304         (cos_test): Likewise.
5305         (cosh_test_data): Likewise.
5306         (cosh_test): Likewise.
5307         (cpow_test_data): Likewise.
5308         (cpow_test): Likewise.
5309         (cproj_test_data): Likewise.
5310         (cproj_test): Likewise.
5311         (creal_test_data): Likewise.
5312         (creal_test): Likewise.
5313         (csin_test_data): Likewise.
5314         (csin_test): Likewise.
5315         (csinh_test_data): Likewise.
5316         (csinh_test): Likewise.
5317         (csqrt_test_data): Likewise.
5318         (csqrt_test): Likewise.
5319         (ctan_test_data): Likewise.
5320         (ctan_test): Likewise.
5321         (ctanh_test_data): Likewise.
5322         (ctanh_test): Likewise.
5323         (erf_test_data): Likewise.
5324         (erf_test): Likewise.
5325         (erfc_test_data): Likewise.
5326         (erfc_test): Likewise.
5327         (exp_test_data): Likewise.
5328         (exp_test): Likewise.
5329         (exp10_test_data): Likewise.
5330         (exp10_test): Likewise.
5331         (pow10_test): Likewise.
5332         (exp2_test_data): Likewise.
5333         (exp2_test): Likewise.
5334         (expm1_test_data): Likewise.
5335         (expm1_test): Likewise.
5336         (fabs_test_data): Likewise.
5337         (fabs_test): Likewise.
5338         (fdim_test_data): Likewise.
5339         (fdim_test): Likewise.
5340         (floor_test_data): Likewise.
5341         (floor_test): Likewise.
5342         (fma_test_data): Likewise.
5343         (fma_test): Likewise.
5344         (fmax_test_data): Likewise.
5345         (fmax_test): Likewise.
5346         (fmaxmag_test_data): Likewise.
5347         (fmaxmag_test): Likewise.
5348         (fmin_test_data): Likewise.
5349         (fmin_test): Likewise.
5350         (fminmag_test_data): Likewise.
5351         (fminmag_test): Likewise.
5352         (fmod_test_data): Likewise.
5353         (fmod_test): Likewise.
5354         (fpclassify_test_data): Likewise.
5355         (fpclassify_test): Likewise.
5356         (frexp_test_data): Likewise.
5357         (frexp_test): Likewise.
5358         (fromfp_test_data): Likewise.
5359         (fromfp_test): Likewise.
5360         (fromfpx_test_data): Likewise.
5361         (fromfpx_test): Likewise.
5362         (getpayload_test_data): Likewise.
5363         (getpayload_test): Likewise.
5364         (hypot_test_data): Likewise.
5365         (hypot_test): Likewise.
5366         (ilogb_test_data): Likewise.
5367         (ilogb_test): Likewise.
5368         (iscanonical_test_data): Likewise.
5369         (iscanonical_test): Likewise.
5370         (iseqsig_test_data): Likewise.
5371         (iseqsig_test): Likewise.
5372         (isfinite_test_data): Likewise.
5373         (isfinite_test): Likewise.
5374         (finite_test): Likewise.
5375         (isgreater_test_data): Likewise.
5376         (isgreater_test): Likewise.
5377         (isgreaterequal_test_data): Likewise.
5378         (isgreaterequal_test): Likewise.
5379         (isinf_test_data): Likewise.
5380         (isinf_test): Likewise.
5381         (isless_test_data): Likewise.
5382         (isless_test): Likewise.
5383         (islessequal_test_data): Likewise.
5384         (islessequal_test): Likewise.
5385         (islessgreater_test_data): Likewise.
5386         (islessgreater_test): Likewise.
5387         (isnan_test_data): Likewise.
5388         (isnan_test): Likewise.
5389         (isnormal_test_data): Likewise.
5390         (isnormal_test): Likewise.
5391         (issignaling_test_data): Likewise.
5392         (issignaling_test): Likewise.
5393         (issubnormal_test_data): Likewise.
5394         (issubnormal_test): Likewise.
5395         (isunordered_test_data): Likewise.
5396         (isunordered_test): Likewise.
5397         (iszero_test_data): Likewise.
5398         (iszero_test): Likewise.
5399         (j0_test_data): Likewise.
5400         (j0_test): Likewise.
5401         (j1_test_data): Likewise.
5402         (j1_test): Likewise.
5403         (jn_test_data): Likewise.
5404         (jn_test): Likewise.
5405         (lgamma_test_data): Likewise.
5406         (lgamma_test): Likewise.
5407         (gamma_test): Likewise.
5408         (llogb_test_data): Likewise.
5409         (llogb_test): Likewise.
5410         (lrint_test_data): Likewise.
5411         (lrint_test): Likewise.
5412         (llrint_test_data): Likewise.
5413         (llrint_test): Likewise.
5414         (log_test_data): Likewise.
5415         (log_test): Likewise.
5416         (log10_test_data): Likewise.
5417         (log10_test): Likewise.
5418         (log1p_test_data): Likewise.
5419         (log1p_test): Likewise.
5420         (log2_test_data): Likewise.
5421         (log2_test): Likewise.
5422         (logb_test_data): Likewise.
5423         (logb_test): Likewise.
5424         (lround_test_data): Likewise.
5425         (lround_test): Likewise.
5426         (llround_test_data): Likewise.
5427         (llround_test): Likewise.
5428         (modf_test_data): Likewise.
5429         (modf_test): Likewise.
5430         (nearbyint_test_data): Likewise.
5431         (nearbyint_test): Likewise.
5432         (nextafter_test_data): Likewise.
5433         (nextafter_test): Likewise.
5434         (nextup_test_data): Likewise.
5435         (nextup_test): Likewise.
5436         (nextdown_test_data): Likewise.
5437         (nextdown_test): Likewise.
5438         (nexttoward_test_data): Likewise.
5439         (nexttoward_test): Likewise.
5440         (pow_test_data): Likewise.
5441         (pow_test): Likewise.
5442         (remainder_test_data): Likewise.
5443         (remainder_test): Likewise.
5444         (drem_test): Likewise.
5445         (remquo_test_data): Likewise.
5446         (remquo_test): Likewise.
5447         (rint_test_data): Likewise.
5448         (rint_test): Likewise.
5449         (round_test_data): Likewise.
5450         (round_test): Likewise.
5451         (roundeven_test_data): Likewise.
5452         (roundeven_test): Likewise.
5453         (scalb_test_data): Likewise.
5454         (scalb_test): Likewise.
5455         (scalbn_test_data): Likewise.
5456         (scalbn_test): Likewise.
5457         (ldexp_test): Likewise.
5458         (scalbln_test_data): Likewise.
5459         (scalbln_test): Likewise.
5460         (setpayload_test_data): Likewise.
5461         (setpayload_test): Likewise.
5462         (setpayloadsig_test_data): Likewise.
5463         (setpayloadsig_test): Likewise.
5464         (signbit_test_data): Likewise.
5465         (signbit_test): Likewise.
5466         (sin_test_data): Likewise.
5467         (sin_test): Likewise.
5468         (sincos_test_data): Likewise.
5469         (sincos_test): Likewise.
5470         (sinh_test_data): Likewise.
5471         (sinh_test): Likewise.
5472         (sqrt_test_data): Likewise.
5473         (sqrt_test): Likewise.
5474         (tan_test_data): Likewise.
5475         (tan_test): Likewise.
5476         (tanh_test_data): Likewise.
5477         (tanh_test): Likewise.
5478         (tgamma_test_data): Likewise.
5479         (tgamma_test): Likewise.
5480         (totalorder_test_data): Likewise.
5481         (totalorder_test): Likewise.
5482         (totalordermag_test_data): Likewise.
5483         (totalordermag_test): Likewise.
5484         (trunc_test_data): Likewise.
5485         (trunc_test): Likewise.
5486         (ufromfp_test_data): Likewise.
5487         (ufromfp_test): Likewise.
5488         (ufromfpx_test_data): Likewise.
5489         (ufromfpx_test): Likewise.
5490         (y0_test_data): Likewise.
5491         (y0_test): Likewise.
5492         (y1_test_data): Likewise.
5493         (y1_test): Likewise.
5494         (yn_test_data): Likewise.
5495         (yn_test): Likewise.
5496         (significand_test_data): Likewise.
5497         (significand_test): Likewise.
5498         * math/Makefile (auto-libm-test-out-files): Remove variable.
5499         (libm-test-funcs-noauto): New variable.
5500         (libm-test-funcs-all): Likewise.
5501         (libm-test-c-auto): Likewise.
5502         (libm-test-c-noauto): Likewise.
5503         (libm-tests-generated): Add $(libm-test-c-auto) and
5504         $(libm-test-c-noauto).
5505         (generated): Do not add auto-libm-test-out.
5506         (libm-test-c-auto-obj): New variable.
5507         (libm-test-c-noauto-obj): Likewise.
5508         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
5509         ($(libm-test-c-noauto-obj)): New static pattern rule.
5510         ($(libm-test-c-auto-obj)): Likewise.
5511         (libm-test-incs): New variable.
5512         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
5513         and pass it to gen-libm-have-vector-test.sh.
5514         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
5515         be passed on command line.
5516         * math/libm-test-acos.inc: New file.  Content from
5517         math/libm-test.inc.
5518         * math/libm-test-acosh.inc: Likewise.
5519         * math/libm-test-asin.inc: Likewise.
5520         * math/libm-test-asinh.inc: Likewise.
5521         * math/libm-test-atan.inc: Likewise.
5522         * math/libm-test-atan2.inc: Likewise.
5523         * math/libm-test-atanh.inc: Likewise.
5524         * math/libm-test-cabs.inc: Likewise.
5525         * math/libm-test-cacos.inc: Likewise.
5526         * math/libm-test-cacosh.inc: Likewise.
5527         * math/libm-test-canonicalize.inc: Likewise.
5528         * math/libm-test-carg.inc: Likewise.
5529         * math/libm-test-casin.inc: Likewise.
5530         * math/libm-test-casinh.inc: Likewise.
5531         * math/libm-test-catan.inc: Likewise.
5532         * math/libm-test-catanh.inc: Likewise.
5533         * math/libm-test-cbrt.inc: Likewise.
5534         * math/libm-test-ccos.inc: Likewise.
5535         * math/libm-test-ccosh.inc: Likewise.
5536         * math/libm-test-ceil.inc: Likewise.
5537         * math/libm-test-cexp.inc: Likewise.
5538         * math/libm-test-cimag.inc: Likewise.
5539         * math/libm-test-clog.inc: Likewise.
5540         * math/libm-test-clog10.inc: Likewise.
5541         * math/libm-test-conj.inc: Likewise.
5542         * math/libm-test-copysign.inc: Likewise.
5543         * math/libm-test-cos.inc: Likewise.
5544         * math/libm-test-cosh.inc: Likewise.
5545         * math/libm-test-cpow.inc: Likewise.
5546         * math/libm-test-cproj.inc: Likewise.
5547         * math/libm-test-creal.inc: Likewise.
5548         * math/libm-test-csin.inc: Likewise.
5549         * math/libm-test-csinh.inc: Likewise.
5550         * math/libm-test-csqrt.inc: Likewise.
5551         * math/libm-test-ctan.inc: Likewise.
5552         * math/libm-test-ctanh.inc: Likewise.
5553         * math/libm-test-erf.inc: Likewise.
5554         * math/libm-test-erfc.inc: Likewise.
5555         * math/libm-test-exp.inc: Likewise.
5556         * math/libm-test-exp10.inc: Likewise.
5557         * math/libm-test-exp2.inc: Likewise.
5558         * math/libm-test-expm1.inc: Likewise.
5559         * math/libm-test-fabs.inc: Likewise.
5560         * math/libm-test-fdim.inc: Likewise.
5561         * math/libm-test-floor.inc: Likewise.
5562         * math/libm-test-fma.inc: Likewise.
5563         * math/libm-test-fmax.inc: Likewise.
5564         * math/libm-test-fmaxmag.inc: Likewise.
5565         * math/libm-test-fmin.inc: Likewise.
5566         * math/libm-test-fminmag.inc: Likewise.
5567         * math/libm-test-fmod.inc: Likewise.
5568         * math/libm-test-fpclassify.inc: Likewise.
5569         * math/libm-test-frexp.inc: Likewise.
5570         * math/libm-test-fromfp.inc: Likewise.
5571         * math/libm-test-fromfpx.inc: Likewise.
5572         * math/libm-test-getpayload.inc: Likewise.
5573         * math/libm-test-hypot.inc: Likewise.
5574         * math/libm-test-ilogb.inc: Likewise.
5575         * math/libm-test-iscanonical.inc: Likewise.
5576         * math/libm-test-iseqsig.inc: Likewise.
5577         * math/libm-test-isfinite.inc: Likewise.
5578         * math/libm-test-isgreater.inc: Likewise.
5579         * math/libm-test-isgreaterequal.inc: Likewise.
5580         * math/libm-test-isinf.inc: Likewise.
5581         * math/libm-test-isless.inc: Likewise.
5582         * math/libm-test-islessequal.inc: Likewise.
5583         * math/libm-test-islessgreater.inc: Likewise.
5584         * math/libm-test-isnan.inc: Likewise.
5585         * math/libm-test-isnormal.inc: Likewise.
5586         * math/libm-test-issignaling.inc: Likewise.
5587         * math/libm-test-issubnormal.inc: Likewise.
5588         * math/libm-test-isunordered.inc: Likewise.
5589         * math/libm-test-iszero.inc: Likewise.
5590         * math/libm-test-j0.inc: Likewise.
5591         * math/libm-test-j1.inc: Likewise.
5592         * math/libm-test-jn.inc: Likewise.
5593         * math/libm-test-lgamma.inc: Likewise.
5594         * math/libm-test-llogb.inc: Likewise.
5595         * math/libm-test-llrint.inc: Likewise.
5596         * math/libm-test-llround.inc: Likewise.
5597         * math/libm-test-log.inc: Likewise.
5598         * math/libm-test-log10.inc: Likewise.
5599         * math/libm-test-log1p.inc: Likewise.
5600         * math/libm-test-log2.inc: Likewise.
5601         * math/libm-test-logb.inc: Likewise.
5602         * math/libm-test-lrint.inc: Likewise.
5603         * math/libm-test-lround.inc: Likewise.
5604         * math/libm-test-modf.inc: Likewise.
5605         * math/libm-test-nearbyint.inc: Likewise.
5606         * math/libm-test-nextafter.inc: Likewise.
5607         * math/libm-test-nextdown.inc: Likewise.
5608         * math/libm-test-nexttoward.inc: Likewise.
5609         * math/libm-test-nextup.inc: Likewise.
5610         * math/libm-test-pow.inc: Likewise.
5611         * math/libm-test-remainder.inc: Likewise.
5612         * math/libm-test-remquo.inc: Likewise.
5613         * math/libm-test-rint.inc: Likewise.
5614         * math/libm-test-round.inc: Likewise.
5615         * math/libm-test-roundeven.inc: Likewise.
5616         * math/libm-test-scalb.inc: Likewise.
5617         * math/libm-test-scalbln.inc: Likewise.
5618         * math/libm-test-scalbn.inc: Likewise.
5619         * math/libm-test-setpayload.inc: Likewise.
5620         * math/libm-test-setpayloadsig.inc: Likewise.
5621         * math/libm-test-signbit.inc: Likewise.
5622         * math/libm-test-significand.inc: Likewise.
5623         * math/libm-test-sin.inc: Likewise.
5624         * math/libm-test-sincos.inc: Likewise.
5625         * math/libm-test-sinh.inc: Likewise.
5626         * math/libm-test-sqrt.inc: Likewise.
5627         * math/libm-test-tan.inc: Likewise.
5628         * math/libm-test-tanh.inc: Likewise.
5629         * math/libm-test-tgamma.inc: Likewise.
5630         * math/libm-test-totalorder.inc: Likewise.
5631         * math/libm-test-totalordermag.inc: Likewise.
5632         * math/libm-test-trunc.inc: Likewise.
5633         * math/libm-test-ufromfp.inc: Likewise.
5634         * math/libm-test-ufromfpx.inc: Likewise.
5635         * math/libm-test-y0.inc: Likewise.
5636         * math/libm-test-y1.inc: Likewise.
5637         * math/libm-test-yn.inc: Likewise.
5638         * math/README.libm-test: Update.
5640         * math/gen-auto-libm-tests.c: Update comment about use of program.
5641         (generate_output): Add argument FUNCTION.
5642         (main): Require extra argument.  Pass function name to
5643         generate_output.
5644         * math/Makefile (generated): Add auto-libm-test-out.
5645         (libm-test-funcs-auto): New variable.
5646         (auto-libm-test-out-files): New variable.
5647         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
5648         Concatenate those files to form $(objpfx)auto-libm-test-out and
5649         use it as input to gen-libm-test.pl.
5650         * math/README.libm-test: Update.
5651         * math/auto-libm-test-out: Remove.
5652         * math/auto-libm-test-out-acos: New generated file.
5653         * math/auto-libm-test-out-acosh: Likewise.
5654         * math/auto-libm-test-out-asin: Likewise.
5655         * math/auto-libm-test-out-asinh: Likewise.
5656         * math/auto-libm-test-out-atan: Likewise.
5657         * math/auto-libm-test-out-atan2: Likewise.
5658         * math/auto-libm-test-out-atanh: Likewise.
5659         * math/auto-libm-test-out-cabs: Likewise.
5660         * math/auto-libm-test-out-carg: Likewise.
5661         * math/auto-libm-test-out-cbrt: Likewise.
5662         * math/auto-libm-test-out-ccos: Likewise.
5663         * math/auto-libm-test-out-ccosh: Likewise.
5664         * math/auto-libm-test-out-cexp: Likewise.
5665         * math/auto-libm-test-out-clog: Likewise.
5666         * math/auto-libm-test-out-clog10: Likewise.
5667         * math/auto-libm-test-out-cos: Likewise.
5668         * math/auto-libm-test-out-cosh: Likewise.
5669         * math/auto-libm-test-out-cpow: Likewise.
5670         * math/auto-libm-test-out-csin: Likewise.
5671         * math/auto-libm-test-out-csinh: Likewise.
5672         * math/auto-libm-test-out-csqrt: Likewise.
5673         * math/auto-libm-test-out-ctan: Likewise.
5674         * math/auto-libm-test-out-ctanh: Likewise.
5675         * math/auto-libm-test-out-erf: Likewise.
5676         * math/auto-libm-test-out-erfc: Likewise.
5677         * math/auto-libm-test-out-exp: Likewise.
5678         * math/auto-libm-test-out-exp10: Likewise.
5679         * math/auto-libm-test-out-exp2: Likewise.
5680         * math/auto-libm-test-out-expm1: Likewise.
5681         * math/auto-libm-test-out-fma: Likewise.
5682         * math/auto-libm-test-out-hypot: Likewise.
5683         * math/auto-libm-test-out-j0: Likewise.
5684         * math/auto-libm-test-out-j1: Likewise.
5685         * math/auto-libm-test-out-jn: Likewise.
5686         * math/auto-libm-test-out-lgamma: Likewise.
5687         * math/auto-libm-test-out-log: Likewise.
5688         * math/auto-libm-test-out-log10: Likewise.
5689         * math/auto-libm-test-out-log1p: Likewise.
5690         * math/auto-libm-test-out-log2: Likewise.
5691         * math/auto-libm-test-out-pow: Likewise.
5692         * math/auto-libm-test-out-sin: Likewise.
5693         * math/auto-libm-test-out-sincos: Likewise.
5694         * math/auto-libm-test-out-sinh: Likewise.
5695         * math/auto-libm-test-out-sqrt: Likewise.
5696         * math/auto-libm-test-out-tan: Likewise.
5697         * math/auto-libm-test-out-tanh: Likewise.
5698         * math/auto-libm-test-out-tgamma: Likewise.
5699         * math/auto-libm-test-out-y0: Likewise.
5700         * math/auto-libm-test-out-y1: Likewise.
5701         * math/auto-libm-test-out-yn: Likewise.
5703         * math/Makefile (generated): Do not include libm-test.stmp.
5704         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
5705         on $(objpfx)libm-test.stmp.
5706         ($(objpfx)libm-test.stmp): Remove rule.
5707         ($(objpfx)libm-test-ulps.h): New rule.
5708         ($(objpfx)libm-test.c): Likewise.
5709         ($(objpfx)libm-have-vector-test.h): Likewise.
5710         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
5711         individual generated files, not libm-test.stmp.
5713         * math/gen-libm-test.pl ($output_dir): Remove variable.
5714         ($srcdir): Likewise.
5715         ($opt_a): New variable.
5716         ($opt_c): Likewise.
5717         ($opt_C): Likewise.
5718         ($opt_H): Likewise.
5719         (-n): Make option take argument and use it as NewUlps output.
5720         (-a): New option.  Use its argument for auto-libm-test-out input.
5721         (-c): New option.  Use its argument for libm-test.inc input.
5722         (-C): New option.  Use its argument for libm-test.c output.
5723         (-H): New option.  Use its argument for libm-test-ulps.h output.
5724         (top level): Only process inputs needed to generate outputs
5725         specified by command-line options.  Only generate outputs
5726         specified by command-line options.
5727         * math/README.libm-test: Update example gen-libm-test.pl command.
5728         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
5729         commands.
5730         (regen-ulps): Likewise.
5732 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
5734         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
5735         * include/string.h (index): Remove define.
5736         (rindex): Likewise.
5737         * misc/getttyent.c (__getttyent): Rename index to strchr.
5738         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
5739         * sunrpc/rpc_main.c (mkfile_output): Likewise.
5741 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
5743         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
5744         * math/libm-test.inc: Move all contents, other than tests of
5745         individual functions, to libm-test-driver.c.
5746         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
5747         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
5748         [!FE_UPWARD] (FE_UPWARD): Likewise.
5749         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
5750         (NO_EXCEPTION): Likewise.
5751         (INVALID_EXCEPTION): Likewise.
5752         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
5753         (OVERFLOW_EXCEPTION): Likewise.
5754         (UNDERFLOW_EXCEPTION): Likewise.
5755         (INEXACT_EXCEPTION): Likewise.
5756         (INVALID_EXCEPTION_OK): Likewise.
5757         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5758         (OVERFLOW_EXCEPTION_OK): Likewise.
5759         (UNDERFLOW_EXCEPTION_OK): Likewise.
5760         (NO_INEXACT_EXCEPTION): Likewise.
5761         (EXCEPTIONS_OK): Likewise.
5762         (IGNORE_ZERO_INF_SIGN): Likewise.
5763         (TEST_NAN_SIGN): Likewise.
5764         (TEST_NAN_PAYLOAD): Likewise.
5765         (NO_TEST_INLINE): Likewise.
5766         (XFAIL_TEST): Likewise.
5767         (ERRNO_UNCHANGED): Likewise.
5768         (ERRNO_EDOM): Likewise.
5769         (ERRNO_ERANGE): Likewise.
5770         (IGNORE_RESULT): Likewise.
5771         (NON_FINITE): Likewise.
5772         (TEST_SNAN): Likewise.
5773         (NO_TEST_MATHVEC): Likewise.
5774         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
5775         (__CONCATX): Likewise.
5776         (TYPE_MIN): Likewise.
5777         (TYPE_TRUE_MIN): Likewise.
5778         (TYPE_MAX): Likewise.
5779         (MIN_EXP): Likewise.
5780         (MAX_EXP): Likewise.
5781         (MANT_DIG): Likewise.
5782         (FSTR_MAX): Likewise.
5783         (ULP_IDX): Likewise.
5784         (QTYPE_STR): Likewise.
5785         (TEST_COND_binary32): Likewise.
5786         (TEST_COND_binary64): Likewise.
5787         (TEST_COND_binary128): Likewise.
5788         (TEST_COND_ibm128): Likewise.
5789         (TEST_COND_intel96): Likewise.
5790         (TEST_COND_m68k96): Likewise.
5791         (TEST_COND_ibm128_libgcc): Likewise.
5792         (XFAIL_IBM128_LIBGCC): Likewise.
5793         (PAYLOAD_DIG): Likewise.
5794         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5795         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5796         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5797         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
5798         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5799         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
5800         (TEST_COND_long32): Likewise.
5801         (TEST_COND_long64): Likewise.
5802         (TEST_COND_before_rounding): Likewise.
5803         (TEST_COND_after_rounding): Likewise.
5804         (lit_pi_3_m_4_d): Likewise.
5805         (lit_pi_3_m_4_ln10_m_d): Likewise.
5806         (lit_pi_2_ln10_m_d): Likewise.
5807         (lit_pi_4_ln10_m_d): Likewise.
5808         (lit_pi_ln10_d): Likewise.
5809         (lit_pi_2_d): Likewise.
5810         (lit_pi_4_d): Likewise.
5811         (lit_pi): Likewise.
5812         (lit_e): Likewise.
5813         (ulps_file_name): Likewise.
5814         (ulps_file): Likewise.
5815         (output_ulps): Likewise.
5816         (output_dir): Likewise.
5817         (noErrors): Likewise.
5818         (noTests): Likewise.
5819         (noExcTests): Likewise.
5820         (noErrnoTests): Likewise.
5821         (verbose): Likewise.
5822         (output_max_error): Likewise.
5823         (output_points): Likewise.
5824         (ignore_max_ulp): Likewise.
5825         (plus_zero): Likewise.
5826         (minus_zero): Likewise.
5827         (plus_infty): Likewise.
5828         (minus_infty): Likewise.
5829         (qnan_value_pl): Likewise.
5830         (qnan_value): Likewise.
5831         (snan_value_pl): Likewise.
5832         (snan_value): Likewise.
5833         (max_value): Likewise.
5834         (min_value): Likewise.
5835         (min_subnorm_value): Likewise.
5836         (snan_value_ld): Likewise.
5837         (max_error): Likewise.
5838         (real_max_error): Likewise.
5839         (imag_max_error): Likewise.
5840         (prev_max_error): Likewise.
5841         (prev_real_max_error): Likewise.
5842         (prev_imag_max_error): Likewise.
5843         (max_valid_error): Likewise.
5844         (TYPE_DECIMAL_DIG): Likewise.
5845         (TYPE_HEX_DIG): Likewise.
5846         (fmt_ftostr): Likewise.
5847         (compare_ulp_data): Likewise.
5848         (find_ulps): Likewise.
5849         (init_max_error): Likewise.
5850         (set_max_error): Likewise.
5851         (print_float): Likewise.
5852         (print_screen): Likewise.
5853         (print_screen_max_error): Likewise.
5854         (update_stats): Likewise.
5855         (print_function_ulps): Likewise.
5856         (print_complex_function_ulps): Likewise.
5857         (fpstack_test): Likewise.
5858         (print_max_error): Likewise.
5859         (print_complex_max_error): Likewise.
5860         (test_single_exception): Likewise.
5861         (test_exceptions): Likewise.
5862         (test_single_errno): Likewise.
5863         (test_errno): Likewise.
5864         (ULPDIFF): Likewise.
5865         (ulp): Likewise.
5866         (check_float_internal): Likewise.
5867         (check_float): Likewise.
5868         (check_complex): Likewise.
5869         (check_int): Likewise.
5870         (check_long): Likewise.
5871         (check_bool): Likewise.
5872         (check_longlong): Likewise.
5873         (check_intmax_t): Likewise.
5874         (check_uintmax_t): Likewise.
5875         (enable_test): Likewise.
5876         (struct test_f_f_data): Likewise.
5877         (struct test_ff_f_data): Likewise.
5878         (struct test_fj_f_data): Likewise.
5879         (struct test_fi_f_data): Likewise.
5880         (struct test_fl_f_data): Likewise.
5881         (struct test_if_f_data): Likewise.
5882         (struct test_fff_f_data): Likewise.
5883         (struct test_fiu_M_data): Likewise.
5884         (struct test_fiu_U_data): Likewise.
5885         (struct test_c_f_data): Likewise.
5886         (struct test_f_f1_data): Likewise.
5887         (struct test_fF_f1_data): Likewise.
5888         (struct test_ffI_f1_data): Likewise.
5889         (struct test_c_c_data): Likewise.
5890         (struct test_cc_c_data): Likewise.
5891         (struct test_f_i_data): Likewise.
5892         (struct test_ff_i_data): Likewise.
5893         (struct test_f_l_data): Likewise.
5894         (struct test_f_L_data): Likewise.
5895         (struct test_fFF_11_data): Likewise.
5896         (struct test_Ff_b1_data): Likewise.
5897         (IF_ROUND_INIT_): Likewise.
5898         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
5899         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5900         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5901         (IF_ROUND_INIT_FE_UPWARD): Likewise.
5902         (ROUND_RESTORE_): Likewise.
5903         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
5904         (ROUND_RESTORE_FE_TONEAREST): Likewise.
5905         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
5906         (ROUND_RESTORE_FE_UPWARD): Likewise.
5907         (RM_): Likewise.
5908         (RM_FE_DOWNWARD): Likewise.
5909         (RM_FE_TONEAREST): Likewise.
5910         (RM_FE_TOWARDZERO): Likewise.
5911         (RM_FE_UPWARD): Likewise.
5912         (COMMON_TEST_SETUP): Likewise.
5913         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
5914         (COMMON_TEST_CLEANUP): Likewise.
5915         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
5916         (RUN_TEST_f_f): Likewise.
5917         (RUN_TEST_LOOP_f_f): Likewise.
5918         (RUN_TEST_fp_f): Likewise.
5919         (RUN_TEST_LOOP_fp_f): Likewise.
5920         (RUN_TEST_2_f): Likewise.
5921         (RUN_TEST_LOOP_2_f): Likewise.
5922         (RUN_TEST_ff_f): Likewise.
5923         (RUN_TEST_LOOP_ff_f): Likewise.
5924         (RUN_TEST_LOOP_fj_f): Likewise.
5925         (RUN_TEST_fi_f): Likewise.
5926         (RUN_TEST_LOOP_fi_f): Likewise.
5927         (RUN_TEST_fl_f): Likewise.
5928         (RUN_TEST_LOOP_fl_f): Likewise.
5929         (RUN_TEST_if_f): Likewise.
5930         (RUN_TEST_LOOP_if_f): Likewise.
5931         (RUN_TEST_fff_f): Likewise.
5932         (RUN_TEST_LOOP_fff_f): Likewise.
5933         (RUN_TEST_fiu_M): Likewise.
5934         (RUN_TEST_LOOP_fiu_M): Likewise.
5935         (RUN_TEST_fiu_U): Likewise.
5936         (RUN_TEST_LOOP_fiu_U): Likewise.
5937         (RUN_TEST_c_f): Likewise.
5938         (RUN_TEST_LOOP_c_f): Likewise.
5939         (RUN_TEST_f_f1): Likewise.
5940         (RUN_TEST_LOOP_f_f1): Likewise.
5941         (RUN_TEST_fF_f1): Likewise.
5942         (RUN_TEST_LOOP_fF_f1): Likewise.
5943         (RUN_TEST_fI_f1): Likewise.
5944         (RUN_TEST_LOOP_fI_f1): Likewise.
5945         (RUN_TEST_ffI_f1_mod8): Likewise.
5946         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
5947         (RUN_TEST_Ff_b1): Likewise.
5948         (RUN_TEST_LOOP_Ff_b1): Likewise.
5949         (RUN_TEST_Ffp_b1): Likewise.
5950         (RUN_TEST_LOOP_Ffp_b1): Likewise.
5951         (RUN_TEST_c_c): Likewise.
5952         (RUN_TEST_LOOP_c_c): Likewise.
5953         (RUN_TEST_cc_c): Likewise.
5954         (RUN_TEST_LOOP_cc_c): Likewise.
5955         (RUN_TEST_f_i): Likewise.
5956         (RUN_TEST_LOOP_f_i): Likewise.
5957         (RUN_TEST_f_i_tg): Likewise.
5958         (RUN_TEST_LOOP_f_i_tg): Likewise.
5959         (RUN_TEST_ff_b): Likewise.
5960         (RUN_TEST_LOOP_ff_b): Likewise.
5961         (RUN_TEST_ff_i_tg): Likewise.
5962         (RUN_TEST_LOOP_ff_i_tg): Likewise.
5963         (RUN_TEST_f_b): Likewise.
5964         (RUN_TEST_LOOP_f_b): Likewise.
5965         (RUN_TEST_f_b_tg): Likewise.
5966         (RUN_TEST_LOOP_f_b_tg): Likewise.
5967         (RUN_TEST_f_l): Likewise.
5968         (RUN_TEST_LOOP_f_l): Likewise.
5969         (RUN_TEST_f_L): Likewise.
5970         (RUN_TEST_LOOP_f_L): Likewise.
5971         (RUN_TEST_fFF_11): Likewise.
5972         (RUN_TEST_LOOP_fFF_11): Likewise.
5973         (VEC_SUFF): Likewise.
5974         (STR_CONCAT): Likewise.
5975         (STR_CON3): Likewise.
5976         (HAVE_VECTOR): Likewise.
5977         (START): Likewise.
5978         (END): Likewise.
5979         (END_COMPLEX): Likewise.
5980         (ALL_RM_TEST): Likewise.
5981         (matherr): Likewise.
5982         (initialize): Likewise.
5983         (options): Likewise.
5984         (doc): Likewise.
5985         (parse_opt): Likewise.
5986         (argp): Likewise.
5987         (check_ulp): Likewise.
5988         (main): Likewise.
5989         (do_test): New function.  Call tests of individual functions
5990         previously called from main.
5992         * math/libm-test.inc: Remove comment listing functions tested and
5993         not tested.
5995 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5997         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
5998         (allocate_stack): Remove COLORING_INCREMENT usage.
5999         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
6000         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
6002 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
6004         * manual/libm-err-tab.pl (@all_functions): Change to
6005         %all_functions.  Initialize as empty.
6006         (parse_ulps): Add to %all_functions based on functions found in
6007         ulps files.  Ignore results for non-default rounding modes and
6008         vector functions.
6009         (print_platforms): Use %all_platforms.
6010         * manual/math.texi (Errors in Math Functions): Document omissions
6011         from the table.
6013         * math/Makefile (before-compile): Remove.
6015 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
6017         [BZ #21075]
6018         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
6019         unused assignment.
6020         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
6022 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
6024         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
6025         Add __glibc_unlikely hint.
6027 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6029         [BZ #16640]
6030         * sysdeps/i386/i686/strtok.S: Remove file.
6031         * sysdeps/i386/i686/strtok_r.S: Likewise.
6032         * sysdeps/i386/strtok.S: Likewise.
6033         * sysdeps/i386/strtok_r.S: Likewise.
6034         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
6035         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
6036         * sysdeps/x86_64/strtok.S: Likewise.
6037         * sysdeps/x86_64/strtok_r.S: Likewise.
6039         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
6040         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
6041         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6042         (__ASSUME_FADVISE64_AS_64_64): Define.
6043         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
6044         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
6045         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
6046         __ALIGNMENT_ARG usage.
6047         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
6048         __NR_fadvise64_64 if it is not defined.
6050 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6052         * version.h (RELEASE): Set to "development"
6053         (VERSION): Set to 2.25.90.
6054         * NEWS: Add 2.26 section.
6056         * version.h (RELEASE): Set to "stable"
6057         (VERSION): Set to 2.25.
6058         * include/features.h (__GLIBC_MINOR__): Set to 25.
6060         * manual/contrib.texi: Add more contributors from this release
6061         and past releases.
6063         * NEWS (2.25): Add list of bugs fixed.
6065         * NEWS: Add missing news items.
6067 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6069         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
6070         parent if child exited in that manner.  Print WEXITSTATUS
6071         instead of the raw status.
6072         (do_test_prep): Rename to do_test.
6073         (do_test): Return the result of run_executable_sgid.
6074         (TEST_FUNCTION_ARGV): Adjust.
6076 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
6077             Florian Weimer  <fweimer@redhat.com>
6078             Carlos O'Donell  <carlos@redhat.com>
6080         [BZ #20915]
6081         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
6082         Do not initialize DTV.
6083         * nptl/allocatestack.c (init_one_static_tls): Likewise.
6085 2017-02-03  David S. Miller  <davem@davemloft.net>
6087         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
6088         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6089         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
6090         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6091         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
6092         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6093         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
6094         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6095         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
6096         (libm-sysdep_routines): Update.
6097         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
6098         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
6099         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6100         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
6101         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6102         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
6103         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
6104         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
6105         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
6106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
6107         Likewise.
6108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
6110         Likewise.
6111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
6113         Likewise.
6114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
6116         Likewise.
6117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
6118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
6119         (libm-sysdep_routines): Update.
6121 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
6123         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
6124         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
6125         against unrelocated shared library.
6126         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6128 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6130         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
6131         * elf/tst-env-setuid-tunables.c
6132         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
6133         GLIBC_TUNABLES is removed in a setgid process.
6135         [BZ #21073]
6136         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
6137         * elf/dl-tunables.c (tunables_strdup): Remove.
6138         (get_next_env): Also return the previous envp.
6139         (parse_tunables): Erase tunables of category
6140         TUNABLES_SECLEVEL_SXID_ERASE.
6141         (maybe_enable_malloc_check): Make MALLOC_CHECK_
6142         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
6143         (__tunables_init)[TUNABLES_FRONTEND ==
6144         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
6145         after parsing.
6146         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
6147         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
6148         * elf/dl-tunables.h (struct _tunable): Change member is_secure
6149         to security_level.
6150         * elf/dl-tunables.list: Add security_level annotations for all
6151         tunables.
6152         * scripts/gen-tunables.awk: Recognize and generate enum values
6153         for security_level.
6154         * elf/tst-env-setuid.c: New test case.
6155         * elf/tst-env-setuid-tunables: new test case.
6156         * elf/Makefile (tests-static): Add them.
6158 2017-02-01  Richard Henderson  <rth@twiddle.net>
6160         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
6161         adjusting the byte count.
6163 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
6165         * conform/Makefile (linknamespace-libs): Define.
6167         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
6168         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
6169         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
6170         operands.
6172 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
6174         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
6176 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
6178         [BZ #21081]
6179         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
6180         (L(stosb)): Add VZEROUPPER before ret.
6182 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
6183             Alexey Makhalov <amakhalov@vmware.com>
6184             Florian Weimer <fweimer@redhat.com>
6186         [BZ #20116]
6187         * nptl/pthread_create.c: Document concurrency notes.
6188         Enhance thread creation notes.
6189         (create_thread): Use bool *stopped_start.
6190         (START_THREAD_DEFN): Comment ownership of PD.
6191         (__pthread_create_2_1): Add local bool stopped_start and use
6192         that instead of pd->stopped_start where appropriate.
6193         * nptl/createthread.c (create_thread): Use bool *stopped_start.
6194         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
6195         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
6196         * nptl/tst-create-detached.c: New file.
6197         * nptl/Makefile (tests): Add tst-create-detached.
6198         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
6199         Reference the enhanced thread creation notes.
6200         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
6201         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
6202         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
6203         (__pthread_current_priority): Likewise.
6204         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
6205         xpthread_attr_init, xpthread_attr_setdetachstate, and
6206         xpthread_attr_setstacksize.
6207         * support/xpthread_attr_destroy.c: New file.
6208         * support/xpthread_attr_init.c: New file.
6209         * support/xpthread_attr_setdetachstate.c: New file.
6210         * support/xpthread_attr_setstacksize.c: New file.
6211         * support/xthread.h: Define prototypes for xpthread_attr_destroy
6212         xpthread_attr_init, xpthread_attr_setdetachstate, and
6213         xpthread_attr_setstacksize.
6215 2017-01-27  Florian Weimer  <fweimer@redhat.com>
6217         * nptl/Makefile (tests): Add tst-robust-fork.
6218         * nptl/tst-robust-fork.c: New file.
6219         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
6220         xpthread_mutex_consistent, xpthread_mutex_destroy,
6221         xpthread_mutex_init, xpthread_mutexattr_destroy,
6222         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
6223         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
6224         xpthread_mutexattr_settype.
6225         * support/xmmap.c: New file.
6226         * support/xmunmap.c: Likewise.
6227         * support/xpthread_mutex_consistent.c: Likewise.
6228         * support/xpthread_mutex_destroy.c: Likewise.
6229         * support/xpthread_mutex_init.c: Likewise.
6230         * support/xpthread_mutexattr_destroy.c: Likewise.
6231         * support/xpthread_mutexattr_init.c: Likewise.
6232         * support/xpthread_mutexattr_setprotocol.c: Likewise.
6233         * support/xpthread_mutexattr_setpshared.c: Likewise.
6234         * support/xpthread_mutexattr_setrobust.c: Likewise.
6235         * support/xpthread_mutexattr_settype.c: Likewise.
6236         * support/xthread.h (xpthread_mutexattr_destroy)
6237         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
6238         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
6239         (xpthread_mutexattr_settype, xpthread_mutex_init)
6240         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
6241         * support/xunistd.h (xmmap, xmunmap): Likewise.
6243 2017-01-25  Florian Weimer  <fweimer@redhat.com>
6245         * string/Makefile (xtests): Add comment.
6246         (LOCALES): Add en_GB.UTF-8.
6247         (tst-strcoll-overflow.out): Depend on generated locales.
6248         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
6249         (SIZE, TIMEOUT): Update comments.
6250         (do_test): Define as static.  Fail test if setlocale fails.
6251         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
6252         messages.
6253         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
6254         TIMEOUT at 300 seconds should be enough to run this test
6255         successfully.
6257 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
6259         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
6260         /* FALLTHRU */ comments.
6262 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
6264         [BZ #21053]
6265         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
6266         constants instead of the old R* ones.
6267         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
6268         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
6269         (NGREG): ... to this, to fit in with other architectures.
6270         (gpregset_t): Use new NGREG macro.
6271         [__USE_GNU]: Remove condition; all architectures other than tile
6272         are unconditional.
6273         (R*): Rename to REG_R*.
6275 2017-01-20  DJ Delorie  <dj@redhat.com>
6277         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
6278         (tunable_set_val_if_valid_range_signed) ... this, and ...
6279         (tunable_set_val_if_valid_range_unsigned) ... this.
6280         (tunable_initialize): Call the correct one of the above based on type.
6282 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
6284         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
6285         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6286         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6287         * sysdeps/microblaze/libm-test-ulps: Likewise.
6288         * sysdeps/sh/libm-test-ulps: Likewise.
6290         * math/README.libm-test: Update list of characters for input and
6291         output types.
6293 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6295         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
6296         (__lll_unlock_elision): Fix adapt_count decrement.
6298 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
6300         * README.pretty-printers (Known issues): Warn about printers not
6301         always covering everything.
6302         * nptl/nptl-printers.py (MutexPrinter): Change output.
6303         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
6305 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6307         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
6308         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6309         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
6310         (__lll_lock_elision): Do not test futex before starting a
6311         transaction.  Use __glibc_likely instead of __builtin_expect.
6312         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
6313         (__lll_trylock_elision): Do not test futex before starting a
6314         transaction.  Use __glibc_likely instead of __builtin_expect.
6316 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6318         * po/Makefile (update-translations): New target.
6320 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
6322         [BZ #21061]
6323         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
6325 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6327         * elf/dl-tunables (get_next_env): Always advance envp.
6328         * stdlib/tst-empty-env.c: New test case.
6329         * stdlib/Makefile (tests): Use it.
6331 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
6333         [BZ #21047]
6334         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
6335         name for instruction.
6336         [!__SOFTFP__] (_FPU_SETCW): Likewise.
6338 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
6340         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
6341         for make install.
6343 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6345         * po/bg.po: Merge from Translation Project.
6346         * po/fr.po: Likewise.
6347         * po/ko.po: Likewise.
6348         * po/nl.po: Likewise.
6349         * po/sv.po: Likewise.
6351 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
6353         * manual/install.texi (Tools for Compilation): Update GCC version
6354         known to work to build glibc.
6355         * INSTALL: Regenerated.
6357 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6359         [BZ #21006]
6360         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
6362 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
6364         [BZ #21045]
6365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
6366         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
6367         to __sigprocmask.
6369 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
6371         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
6372         wrap-around.
6373         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
6375         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
6377 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6379         * NEWS: Fix typo.
6381 2016-01-13  Torvald Riegel  <triegel@redhat.com>
6383         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
6384         barriers and comments.
6385         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
6386         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6387         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6389 2016-01-13  Torvald Riegel  <triegel@redhat.com>
6391         [BZ #19402]
6392         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
6393         mutexes.
6395 2016-01-13  Torvald Riegel  <triegel@redhat.com>
6397         [BZ #20985]
6398         * nptl/Makefile: Adapt.
6399         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
6400         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
6401         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
6402         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
6403         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
6404         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
6405         lll_robust* functions and adapt.
6406         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6407         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
6408         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
6409         __lll_robust_timedlock, __lll_robust_unlock): Remove.
6410         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
6411         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
6412         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
6413         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
6414         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
6415         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
6416         __lll_robust_timedlock, __lll_robust_unlock): Remove.
6417         * nptl/lowlevelrobustlock.c: Remove file.
6418         * nptl/lowlevelrobustlock.sym: Likewise.
6419         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
6420         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
6422 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6424         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6426 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6428         * po/cs.po: Merge translations from the Translation Project.
6429         * po/de.po: Likewise.
6430         * po/pl.po: Likewise.
6431         * po/ru.po: Likewise.
6432         * po/tr.po: Likewise.
6433         * po/uk.po: Likewise.
6434         * po/vi.po: Likewise.
6435         * po/zh_CN.po: Likewise.
6437 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
6439         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
6441         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
6442         object.
6444 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
6446         [BZ #16458]
6447         * bits/uintn-identity.h: New file.
6448         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
6449         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
6450         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
6451         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
6452         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
6453         * string/endian.h: Include <bits/uintn-identity.h>.
6454         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
6455         __uint16_identity.
6456         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
6457         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
6458         __uint32_identity.
6459         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
6460         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
6461         __uint64_identity.
6462         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
6463         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
6464         __uint16_identity.
6465         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
6466         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
6467         __uint32_identity.
6468         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
6469         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
6470         __uint64_identity.
6471         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
6472         * string/Makefile (headers): Add bits/uintn-identity.h.
6473         (tests): Add test-endian-types.
6474         * string/test-endian-types.c: New file.
6475         * inet/Makefile (tests): Add test-hnto-types.
6476         * inet/test-hnto-types.c: New file.
6478 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6480         * po/be.po: Update from Translation Project.
6481         * po/bg.po: Likewise.
6482         * po/ca.po: Likewise.
6483         * po/cs.po: Likewise.
6484         * po/da.po: Likewise.
6485         * po/de.po: Likewise.
6486         * po/el.po: Likewise.
6487         * po/eo.po: Likewise.
6488         * po/es.po: Likewise.
6489         * po/fi.po: Likewise.
6490         * po/fr.po: Likewise.
6491         * po/gl.po: Likewise.
6492         * po/hr.po: Likewise.
6493         * po/hu.po: Likewise.
6494         * po/ia.po: Likewise.
6495         * po/id.po: Likewise.
6496         * po/it.po: Likewise.
6497         * po/ja.po: Likewise.
6498         * po/ko.po: Likewise.
6499         * po/lt.po: Likewise.
6500         * po/nb.po: Likewise.
6501         * po/nl.po: Likewise.
6502         * po/pl.po: Likewise.
6503         * po/pt_BR.po: Likewise.
6504         * po/ru.po: Likewise.
6505         * po/rw.po: Likewise.
6506         * po/sk.po: Likewise.
6507         * po/sl.po: Likewise.
6508         * po/sv.po: Likewise.
6509         * po/tr.po: Likewise.
6510         * po/uk.po: Likewise.
6511         * po/vi.po: Likewise.
6512         * po/zh_CN.po: Likewise.
6513         * po/zh_TW.po: Likewise.
6515 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
6517         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
6518         -Wformat-truncation instead of -Wformat-length.
6519         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
6520         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
6521         GCC 7.
6522         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
6523         (do_test): Ignore -Wformat-truncation for GCC 7.
6525         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
6526         buffer used to print long int value.
6528         * elf/sotruss-lib.c (init): Increase space allocated for pid by
6529         one byte.  Print it with %ld, cast to long int.
6531 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6533         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
6534         (re.fullmatch, subprocess.run): Likewise.
6536 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6538         * po/libc.pot: Regenerate.
6540 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6542         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
6543         (min_strlen): Likewise.
6544         (disable_tunable): Likewise.
6545         (maybe_disable_malloc_check): Rename to
6546         maybe_enable_malloc_check.
6547         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
6548         if /etc/suid-debug file exists.
6549         (__tunables_init): Update caller.
6550         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
6551         secure.
6553 2016-01-10  Torvald Riegel  <triegel@redhat.com>
6555         * nptl/DESIGN-rwlock.txt: Remove.
6556         * nptl/lowlevelrwlock.sym: Remove.
6557         * nptl/Makefile: Add new tests.
6558         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
6559         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
6560         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
6561         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
6562         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
6563         PTHREAD_RWLOCK_FUTEX_USED): New.
6564         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
6565         implementation.
6566         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
6567         (__pthread_rwlock_rdlock): Adapt.
6568         * nptl/pthread_rwlock_timedrdlock.c
6569         (pthread_rwlock_timedrdlock): Adapt.
6570         * nptl/pthread_rwlock_timedwrlock.c
6571         (pthread_rwlock_timedwrlock): Adapt.
6572         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
6573         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
6574         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
6575         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
6576         (__pthread_rwlock_wrlock): Adapt.
6577         * nptl/tst-rwlock10.c: Adapt.
6578         * nptl/tst-rwlock11.c: Adapt.
6579         * nptl/tst-rwlock17.c: New file.
6580         * nptl/tst-rwlock18.c: New file.
6581         * nptl/tst-rwlock19.c: New file.
6582         * nptl/tst-rwlock2b.c: New file.
6583         * nptl/tst-rwlock8.c: Adapt.
6584         * nptl/tst-rwlock9.c: Adapt.
6585         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6586         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6587         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6588         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6589         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6590         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6591         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6592         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6593         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6594         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6595         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6596         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6597         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
6598         (pthread_rwlock_t): Adapt.
6599         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6600         (pthread_rwlock_t): Adapt.
6601         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6602         * nptl/nptl-printers.py (): Adapt.
6603         * nptl/nptl_lock_constants.pysym: Adapt.
6604         * nptl/test-rwlock-printers.py: Adapt.
6605         * nptl/test-rwlockattr-printers.c: Adapt.
6606         * nptl/test-rwlockattr-printers.py: Adapt.
6608 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
6610         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
6611         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
6612         (fma_test_data): Likewise.
6613         (hypot_test_data): Likewise.
6614         (log1p_test_data): Likewise.
6615         (modf_test_data): Likewise.
6616         (pow_test_data): Likewise.
6617         (remainder_test_data): Likewise.
6618         (remquo_test_data): Likewise.
6619         (scalb_test_data): Likewise.
6620         (scalbn_test_data): Likewise.
6621         (scalbln_test_data): Likewise.
6622         * math/gen-libm-test.pl (parse_args): Transform
6623         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
6624         on the rounding mode.
6626 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
6628         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
6629         xfail-rounding:ibm128-libgcc automatically to tests overflowing
6630         and those that can underflow to zero.
6631         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
6632         add others.
6633         * math/auto-libm-test-out: Regenerated.
6635         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
6636         supported.
6637         (feholdexcept_tests): Skip tests requiring exceptions or rounding
6638         modes support if not supported.
6640         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
6641         Add libc.so PLT entry.
6642         (__tls_get_addr): Make ld.so PLT entry optional.
6644 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6646         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
6647         * string/bits/string3.h: ... here.
6649 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
6651         [BZ #21028]
6652         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
6653         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
6654         if EXCEPTION_TESTS returns false.
6656 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6658         [BZ #20558]
6659         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
6660         strings_fortified.h.
6661         [__USE_MISC] (bzero): Likewise.
6662         [__USE_MISC] (explicit_bzero): Likewise.
6663         * string/strings.h: Include strings_fortified.h.
6664         * string/Makefile (headers): Add strings_fortified.h.
6665         * string/bits/strings_fortified.h: New file.
6666         * include/bits/strings_fortified.h: Likewise.
6668 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
6670         * elf/tst-tls13.c (TIMEOUT): Remove.
6671         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
6672         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
6673         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
6674         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
6675         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
6677         [BZ #21026]
6678         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
6679         (readahead): New syscall entry.
6681 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
6683         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
6684         around tests of strncat with large sizes.
6686         * malloc/tst-malloc.c: Include <libc-internal.h>.
6687         (do_test): Disable -Walloc-size-larger-than= around tests of
6688         malloc with negative sizes.
6689         * malloc/tst-mcheck.c: Include <libc-internal.h>.
6690         (do_test): Disable -Walloc-size-larger-than= around tests of
6691         malloc and realloc with negative sizes.
6692         * malloc/tst-realloc.c: Include <libc-internal.h>.
6693         (do_test): Disable -Walloc-size-larger-than= around tests of
6694         realloc with negative sizes.
6696         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
6697         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
6698         allowed to 16 ulps.
6699         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
6700         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
6701         * math/auto-libm-test-out: Regenerated.
6703 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6705         * math/Makefile (libm-calls): Move wrappers...
6706         (libm-compat-call-auto): Here.
6707         (libm-routines): Add items in libm-compat-calls-auto.
6708         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
6709         the filenames of the wrappers that have been renamed.
6710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
6711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6713         * math/w_acos.c: Add _compat suffix to filename.
6714         * math/w_acosf.c: Likewise.
6715         * math/w_acosh.c: Likewise.
6716         * math/w_acoshf.c: Likewise.
6717         * math/w_acoshl.c: Likewise.
6718         * math/w_acosl.c: Likewise.
6719         * math/w_asin.c: Likewise.
6720         * math/w_asinf.c: Likewise.
6721         * math/w_asinl.c: Likewise.
6722         * math/w_atan2.c: Likewise.
6723         * math/w_atan2f.c: Likewise.
6724         * math/w_atan2l.c: Likewise.
6725         * math/w_atanh.c: Likewise.
6726         * math/w_atanhf.c: Likewise.
6727         * math/w_atanhl.c: Likewise.
6728         * math/w_cosh.c: Likewise.
6729         * math/w_coshf.c: Likewise.
6730         * math/w_coshl.c: Likewise.
6731         * math/w_exp10.c: Likewise.
6732         * math/w_exp10f.c: Likewise.
6733         * math/w_exp10l.c: Likewise.
6734         * math/w_exp2.c: Likewise.
6735         * math/w_exp2f.c: Likewise.
6736         * math/w_exp2l.c: Likewise.
6737         * math/w_fmod.c: Likewise.
6738         * math/w_fmodf.c: Likewise.
6739         * math/w_fmodl.c: Likewise.
6740         * math/w_hypot.c: Likewise.
6741         * math/w_hypotf.c: Likewise.
6742         * math/w_hypotl.c: Likewise.
6743         * math/w_j0.c: Likewise.
6744         * math/w_j0f.c: Likewise.
6745         * math/w_j0l.c: Likewise.
6746         * math/w_j1.c: Likewise.
6747         * math/w_j1f.c: Likewise.
6748         * math/w_j1l.c: Likewise.
6749         * math/w_jn.c: Likewise.
6750         * math/w_jnf.c: Likewise.
6751         * math/w_jnl.c: Likewise.
6752         * math/w_log10.c: Likewise.
6753         * math/w_log10f.c: Likewise.
6754         * math/w_log10l.c: Likewise.
6755         * math/w_log2.c: Likewise.
6756         * math/w_log2f.c: Likewise.
6757         * math/w_log2l.c: Likewise.
6758         * math/w_log.c: Likewise.
6759         * math/w_logf.c: Likewise.
6760         * math/w_logl.c: Likewise.
6761         * math/w_pow.c: Likewise.
6762         * math/w_powf.c: Likewise.
6763         * math/w_powl.c: Likewise.
6764         * math/w_remainder.c: Likewise.
6765         * math/w_remainderf.c: Likewise.
6766         * math/w_remainderl.c: Likewise.
6767         * math/w_scalb.c: Likewise.
6768         * math/w_scalbf.c: Likewise.
6769         * math/w_scalbl.c: Likewise.
6770         * math/w_sinh.c: Likewise.
6771         * math/w_sinhf.c: Likewise.
6772         * math/w_sinhl.c: Likewise.
6773         * math/w_sqrt.c: Likewise.
6774         * math/w_sqrtf.c: Likewise.
6775         * math/w_sqrtl.c: Likewise.
6776         * math/w_tgamma.c: Likewise.
6777         * math/w_tgammaf.c: Likewise.
6778         * math/w_tgammal.c: Likewise.
6780         * math/w_acos_compat.c: New file copied from above and
6781         adjusted for new #includes path
6782         * math/w_acosf_compat.c: Likewise.
6783         * math/w_acosh_compat.c: Likewise.
6784         * math/w_acoshf_compat.c: Likewise.
6785         * math/w_acoshl_compat.c: Likewise.
6786         * math/w_acosl_compat.c: Likewise.
6787         * math/w_asin_compat.c: Likewise.
6788         * math/w_asinf_compat.c: Likewise.
6789         * math/w_asinl_compat.c: Likewise.
6790         * math/w_atan2_compat.c: Likewise.
6791         * math/w_atan2f_compat.c: Likewise.
6792         * math/w_atan2l_compat.c: Likewise.
6793         * math/w_atanh_compat.c: Likewise.
6794         * math/w_atanhf_compat.c: Likewise.
6795         * math/w_atanhl_compat.c: Likewise.
6796         * math/w_cosh_compat.c: Likewise.
6797         * math/w_coshf_compat.c: Likewise.
6798         * math/w_coshl_compat.c: Likewise.
6799         * math/w_exp10_compat.c: Likewise.
6800         * math/w_exp10f_compat.c: Likewise.
6801         * math/w_exp10l_compat.c: Likewise.
6802         * math/w_exp2_compat.c: Likewise.
6803         * math/w_exp2f_compat.c: Likewise.
6804         * math/w_exp2l_compat.c: Likewise.
6805         * math/w_fmod_compat.c: Likewise.
6806         * math/w_fmodf_compat.c: Likewise.
6807         * math/w_fmodl_compat.c: Likewise.
6808         * math/w_hypot_compat.c: Likewise.
6809         * math/w_hypotf_compat.c: Likewise.
6810         * math/w_hypotl_compat.c: Likewise.
6811         * math/w_j0_compat.c: Likewise.
6812         * math/w_j0f_compat.c: Likewise.
6813         * math/w_j0l_compat.c: Likewise.
6814         * math/w_j1_compat.c: Likewise.
6815         * math/w_j1f_compat.c: Likewise.
6816         * math/w_j1l_compat.c: Likewise.
6817         * math/w_jn_compat.c: Likewise.
6818         * math/w_jnf_compat.c: Likewise.
6819         * math/w_jnl_compat.c: Likewise.
6820         * math/w_log10_compat.c: Likewise.
6821         * math/w_log10f_compat.c: Likewise.
6822         * math/w_log10l_compat.c: Likewise.
6823         * math/w_log2_compat.c: Likewise.
6824         * math/w_log2f_compat.c: Likewise.
6825         * math/w_log2l_compat.c: Likewise.
6826         * math/w_log_compat.c: Likewise.
6827         * math/w_logf_compat.c: Likewise.
6828         * math/w_logl_compat.c: Likewise.
6829         * math/w_pow_compat.c: Likewise.
6830         * math/w_powf_compat.c: Likewise.
6831         * math/w_powl_compat.c: Likewise.
6832         * math/w_remainder_compat.c: Likewise.
6833         * math/w_remainderf_compat.c: Likewise.
6834         * math/w_remainderl_compat.c: Likewise.
6835         * math/w_scalb_compat.c: Likewise.
6836         * math/w_scalbf_compat.c: Likewise.
6837         * math/w_scalbl_compat.c: Likewise.
6838         * math/w_sinh_compat.c: Likewise.
6839         * math/w_sinhf_compat.c: Likewise.
6840         * math/w_sinhl_compat.c: Likewise.
6841         * math/w_sqrt_compat.c: Likewise.
6842         * math/w_sqrtf_compat.c: Likewise.
6843         * math/w_sqrtl_compat.c: Likewise.
6844         * math/w_tgamma_compat.c: Likewise.
6845         * math/w_tgammaf_compat.c: Likewise.
6846         * math/w_tgammal_compat.c: Likewise.
6848         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
6849         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
6850         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
6851         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
6852         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
6853         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
6854         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
6855         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
6856         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
6857         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
6858         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
6859         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
6860         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
6861         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
6862         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
6863         * sysdeps/ia64/fpu/w_powl.c: Likewise.
6864         * sysdeps/ia64/fpu/w_powf.c: Likewise.
6865         * sysdeps/ia64/fpu/w_pow.c: Likewise.
6866         * sysdeps/ia64/fpu/w_logl.c: Likewise.
6867         * sysdeps/ia64/fpu/w_logf.c: Likewise.
6868         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
6869         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
6870         * sysdeps/ia64/fpu/w_log2.c: Likewise.
6871         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
6872         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
6873         * sysdeps/ia64/fpu/w_log10.c: Likewise.
6874         * sysdeps/ia64/fpu/w_log.c: Likewise.
6875         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
6876         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
6877         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
6878         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
6879         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
6880         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
6881         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
6882         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
6883         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
6884         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
6885         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
6886         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
6887         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
6888         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
6889         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
6890         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
6891         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
6892         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
6893         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
6894         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
6895         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
6896         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
6897         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
6898         * sysdeps/ia64/fpu/w_asin.c: Likewise.
6899         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
6900         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
6901         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
6902         * sysdeps/ia64/fpu/w_acos.c: Likewise.
6903         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
6904         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
6905         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
6906         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
6907         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
6908         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
6909         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
6910         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
6911         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
6912         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
6913         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
6914         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
6915         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
6916         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
6917         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
6918         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
6919         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
6920         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
6921         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
6922         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
6923         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
6924         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
6925         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
6926         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
6927         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
6928         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
6929         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
6930         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
6931         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
6932         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
6933         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
6934         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
6935         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
6936         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
6937         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
6938         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
6939         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
6940         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
6941         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
6942         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
6943         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
6944         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
6945         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
6946         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
6947         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
6948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
6949         Likewise.
6950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
6951         Likewise.
6952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
6953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
6954         Likewise.
6955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
6956         Likewise.
6957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
6958         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6959         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6960         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6961         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6962         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
6963         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
6964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
6965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
6967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6968         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
6969         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
6970         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
6971         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
6973         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
6974         and adjusted for new #includes path
6975         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
6976         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
6977         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
6978         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
6979         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
6980         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
6981         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
6982         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
6983         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
6984         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
6985         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
6986         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
6987         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
6988         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
6989         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
6990         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
6991         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
6992         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
6993         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
6994         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
6995         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
6996         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
6997         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
6998         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
6999         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
7000         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
7001         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
7002         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
7003         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
7004         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
7005         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
7006         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
7007         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
7008         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
7009         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
7010         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
7011         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
7012         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
7013         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
7014         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
7015         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
7016         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
7017         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
7018         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
7019         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
7020         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
7021         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
7022         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
7023         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
7024         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
7025         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
7026         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
7027         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
7028         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
7029         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
7030         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
7031         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
7032         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
7033         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
7034         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
7035         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
7036         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
7037         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
7038         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
7039         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
7040         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
7041         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
7042         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
7043         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
7044         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
7045         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
7046         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
7047         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
7048         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
7049         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
7050         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
7051         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
7052         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
7053         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
7054         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
7055         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
7056         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
7057         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
7058         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
7059         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
7060         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
7061         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
7062         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
7063         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
7064         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
7065         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
7066         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
7067         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
7068         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
7069         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
7070         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
7071         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
7072         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
7073         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
7074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
7075         Likewise.
7076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
7077         Likewise.
7078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
7079         Likewise.
7080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
7081         Likewise.
7082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
7083         Likewise.
7084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
7085         Likewise.
7086         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
7087         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
7088         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
7089         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
7090         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
7091         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
7092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
7093         Likewise.
7094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
7095         Likewise.
7096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
7097         Likewise.
7098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
7099         Likewise.
7100         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
7101         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
7102         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
7103         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
7105 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
7107         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
7108         __jmp_buf_internal_tag.
7110         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
7111         preserve NaN payload if [__mips_nan2008].
7112         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
7114         [BZ #21022]
7115         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
7117 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
7119         * sysdeps/i386/fpu/libm-test-ulps: Update.
7121 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7123         * sysdeps/ia64/strcat.c: Remove file.
7124         * sysdeps/powerpc/strcat.c: Likewise.
7125         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
7126         C implementation.
7127         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
7128         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
7130 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7131             Steven Munroe  <sjmunroe@us.ibm.com>
7132             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7134         [BZ #20822]
7135         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7136         (__lll_lock_elision): Access adapt_count via C11 atomics.
7137         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
7138         (__lll_trylock_elision): Likewise.
7139         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
7140         (__lll_unlock_elision):  Update adapt_count variable inside the
7141         critical section using C11 atomics.
7143 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
7145         * math/test-fenvinline.c (do_test): Disable tests of raised
7146         exceptions if !EXCEPTION_TESTS (FLOAT).
7148 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7150         [BZ #19390]
7151         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
7152         maximum string size.
7153         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
7154         in pointer addition.
7155         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
7156         Likewise.
7158 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
7160         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
7161         passed to tst-ldconfig-X.sh.
7163 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
7165         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
7167 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
7169         [BZ #21019]
7170         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
7171         New syscall entry.
7172         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
7173         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
7174         lseek.
7176         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
7177         power4 glibc for powerpc-linux-gnu.
7179 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7181         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
7182         semctl.
7184 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
7186         * math/test-nearbyint-except.c: Include <stdbool.h>.
7187         (any_supported): New variable.
7188         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
7189         set any_supported.
7190         (do_test): Return 77 if no floating-point type supported
7191         exceptions.
7193         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
7194         condition on [__mips_hard_float].
7196 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7198         [BZ #21014]
7199         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
7200         in pointer addition.
7201         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
7203 2017-01-02  Torvald Riegel  <triegel@redhat.com>
7205         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
7206         new condvar.
7208 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
7210         * scripts/build-many-glibcs.py (Context.checkout): Default
7211         binutils version to 2.28 branch.
7213 2017-01-01  Florian Weimer  <fweimer@redhat.com>
7215         * support/support_format_netent.c (support_format_netent): Work
7216         around alpha struct netent definition difference.
7218 2017-01-01  Florian Weimer  <fweimer@redhat.com>
7220         * support/xwrite.c (xwrite): Use %td for pointer difference.
7222 2017-01-01  Florian Weimer  <fweimer@redhat.com>
7224         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
7225         have-tunables only.
7226         (tests-static): Add tst-malloc-usable-static-tunables for
7227         have-tunables only.
7229 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
7231         * scripts/config.guess: Update to version 2017-01-01.
7232         * scripts/config.sub: Update to version 2017-01-01.
7234         * NEWS: Update copyright dates.
7235         * catgets/gencat.c (print_version): Likewise.
7236         * csu/version.c (banner): Likewise.
7237         * debug/catchsegv.sh: Likewise.
7238         * debug/pcprofiledump.c (print_version): Likewise.
7239         * debug/xtrace.sh (do_version): Likewise.
7240         * elf/ldconfig.c (print_version): Likewise.
7241         * elf/ldd.bash.in: Likewise.
7242         * elf/pldd.c (print_version): Likewise.
7243         * elf/sotruss.sh: Likewise.
7244         * elf/sprof.c (print_version): Likewise.
7245         * iconv/iconv_prog.c (print_version): Likewise.
7246         * iconv/iconvconfig.c (print_version): Likewise.
7247         * locale/programs/locale.c (print_version): Likewise.
7248         * locale/programs/localedef.c (print_version): Likewise.
7249         * login/programs/pt_chown.c (print_version): Likewise.
7250         * malloc/memusage.sh (do_version): Likewise.
7251         * malloc/memusagestat.c (print_version): Likewise.
7252         * malloc/mtrace.pl: Likewise.
7253         * manual/libc.texinfo: Likewise.
7254         * nptl/version.c (banner): Likewise.
7255         * nscd/nscd.c (print_version): Likewise.
7256         * nss/getent.c (print_version): Likewise.
7257         * nss/makedb.c (print_version): Likewise.
7258         * posix/getconf.c (main): Likewise.
7259         * scripts/test-installation.pl: Likewise.
7260         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7262         * All files with FSF copyright notices: Update copyright dates
7263         using scripts/update-copyrights.
7264         * intl/plural.c: Regenerated.
7265         * locale/programs/charmap-kw.h: Likewise.
7266         * locale/programs/locfile-kw.h: Likewise.
7268 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7270         [BZ #20593]
7271         Update DNS RR type definitions.
7272         * scripts/gen-rrtypes.py: New file.
7273         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
7274         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
7275         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
7276         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
7277         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
7278         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
7279         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
7280         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
7281         ns_t_ta, ns_t_dlv.
7282         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
7283         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
7284         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
7285         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
7286         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
7287         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
7288         Define.
7289         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
7290         entry for ns_t_zxfr.
7292 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7294         [BZ #18784]
7295         CVE-2015-5180
7296         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
7297         T_UNSPEC.  Adjust value.
7298         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
7299         * resolv/res_query.c (__libc_res_nquery): Likewise.
7300         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
7301         QTYPEs.
7302         * resolv/tst-resolv-qtypes.c: New file.
7303         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
7304         (tst-resolv-qtypes): Link against libresolv and libpthread.
7306 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7308         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
7310 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7312         * manual/tunables.texi: New chapter.
7313         * manual/Makefile (chapters): Add it.
7314         * manual/probes.texi (@node): Point to the Tunables chapter.
7316         * Makeconfig (have-tunables): Check for non-negative instead
7317         of positive.
7318         * configure.ac: Add 'valstring' as a valid value for
7319         --enable-tunables.
7320         * configure: Regenerate.
7321         * elf/Makefile (have-tunables): Check for non-negative instead
7322         of positive.
7323         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
7324         dl-tunables.c.
7325         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
7326         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
7327         (tunables_strdup): Likewise.
7328         (disable_tunables): Likewise.
7329         (parse_tunables): Likewise.
7330         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
7331         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
7332         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
7333         (TUNABLES_FRONTEND_yes): New macro, define as
7334         TUNABLES_FRONTEND_valstring by default.
7335         * manual/install.texi: Document new acceptable values for
7336         --enable-tunables.
7337         * INSTALL: Regenerate.
7339         * config.make.in (have-loop-to-function): Define.
7340         * elf/Makefile (CFLAGS-dl-tunables.c): Add
7341         -fno-tree-loop-distribute-patterns.
7342         * elf/dl-tunables.c: Include libc-internals.h.
7343         (GLIBC_TUNABLES): New macro.
7344         (tunables_strdup): New function.
7345         (parse_tunables): New function.
7346         (min_strlen): New function.
7347         (__tunables_init): Use the new functions and macro.
7348         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
7349         * malloc/tst-malloc-usable-tunables.c: New test case.
7350         * malloc/tst-malloc-usable-static-tunables.c: New test case.
7351         * malloc/Makefile (tests, tests-static): Add tests.
7353         * manual/install.texi: Add --enable-tunables option.
7354         * INSTALL: Regenerate.
7355         * README.tunables: New file.
7356         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
7357         (before-compile): Generate dl-tunable-list.h early.
7358         * config.h.in: Add HAVE_TUNABLES.
7359         * config.make.in: Add have-tunables.
7360         * configure.ac: Add --enable-tunables option.
7361         * configure: Regenerate.
7362         * csu/init-first.c (__libc_init_first): Move
7363         __libc_init_secure earlier...
7364         * csu/init-first.c (LIBC_START_MAIN):... to here.
7365         Include dl-tunables.h, libc-internal.h.
7366         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
7367         binaries.
7368         * elf/Makefile (dl-routines): Add dl-tunables.
7369         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
7370         namespace.
7371         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
7372         only when !HAVE_TUNABLES.
7373         * elf/rtld.c (process_envvars): Likewise.
7374         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
7375         (_dl_sysdep_start): Call __tunables_init.
7376         * elf/dl-tunable-types.h: New file.
7377         * elf/dl-tunables.c: New file.
7378         * elf/dl-tunables.h: New file.
7379         * elf/dl-tunables.list: New file.
7380         * malloc/tst-malloc-usable-static.c: New test case.
7381         * malloc/Makefile (tests-static): Add it.
7382         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
7383         Define TUNABLE_NAMESPACE.
7384         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
7385         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
7386         callback functions.
7387         (ptmalloc_init): Set tunable values.
7388         * scripts/gen-tunables.awk: New file.
7389         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
7390         (_dl_sysdep_start): Call __tunables_init.
7392 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7394         * resolv/resolv.h (RES_BLAST): Deprecate.
7395         * resolv/res_debug.c (p_option): Remove RES_BLAST.
7396         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
7397         to RES_BLAST.
7399 2016-12-27  Florian Weimer  <fweimer@redhat.com>
7401         [BZ #19582]
7402         Deprecate RES_USE_INET6.
7403         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
7404         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
7405         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
7406         RES_USE_INET6.
7407         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
7408         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
7409         (_nss_nisplus_gethostbyaddr_r): Likewise.
7410         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
7411         of res_use_inet6.
7412         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
7413         instead of RES_USE_INET6.
7414         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
7415         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
7416         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
7417         Likewise.
7418         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
7419         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
7420         Likewise.
7421         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
7422         (_nss_dns_gethostbyname_r): Likewise.
7423         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
7424         alternate RES_USE_INET6 handling.
7425         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
7426         instead of RES_USE_INET6.
7427         * resolv/res_init.c (res_setoptions): Likewise.
7428         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
7429         * resolv/resolv-internal.h: New file.
7430         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
7431         make the deprecation warning non-fatal.
7432         * resolv/README (Using the resolver in multi-threaded code): Drop
7433         reference to RES_USE_INET6.
7434         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
7435         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
7437 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7439         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
7440         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
7441         tst-resolv-search.
7442         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
7443         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
7444         with libresolv and libpthread.
7445         * resolv/tst-bug18665.c: New file.
7446         * resolv/tst-bug18665-tcp: Likewise.
7447         * resolv/tst-res_use_inet6: Likewise.
7448         * resolv/tst-resolv-basic: Likewise.
7449         * resolv/tst-resolv-network: Likewise.
7450         * resolv/tst-resolv-search: Likewise.
7451         * support/Makefile (libsupport-routines): Add check_addrinfo,
7452         check_dns_packet, check_hostent, check_netent, resolv_test,
7453         support_format_address_family, support_format_addrinfo,
7454         support_format_dns_packet, support_format_herrno,
7455         support_format_hostent, support_format_netent, support_run_diff,
7456         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
7457         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
7458         xstrdup, xwrite.
7459         * support/check_addrinfo.c: New file.
7460         * support/check_dns_packet.c: Likewise.
7461         * support/check_hostent.c: Likewise.
7462         * support/check_netent.c: Likewise.
7463         * support/check_nss.h: Likewise.
7464         * support/format_nss.h: Likewise.
7465         * support/resolv_test.c: Likewise.
7466         * support/resolv_test.h: Likewise.
7467         * support/run_diff.h: Likewise.
7468         * support/support_format_address_family.c: Likewise.
7469         * support/support_format_addrinfo.c: Likewise.
7470         * support/support_format_dns_packet.c: Likewise.
7471         * support/support_format_herrno.c: Likewise.
7472         * support/support_format_hostent.c: Likewise.
7473         * support/support_format_netent.c: Likewise.
7474         * support/support_run_diff.c: Likewise.
7475         * support/xaccept.c: Likewise.
7476         * support/xbind.c: Likewise.
7477         * support/xconnect.c: Likewise.
7478         * support/xfclose.c: Likewise.
7479         * support/xfopen.c: Likewise.
7480         * support/xgetsockname.c: Likewise.
7481         * support/xlisten.c: Likewise.
7482         * support/xmemstream.c: Likewise.
7483         * support/xmemstream.h: Likewise.
7484         * support/xpoll.c: Likewise.
7485         * support/xpthread_once.c: Likewise.
7486         * support/xrecvfrom.c: Likewise.
7487         * support/xsendto.c: Likewise.
7488         * support/xsetsockopt.c: Likewise.
7489         * support/xstdio.h: Likewise.
7490         * support/xstrdup.c: Likewise.
7491         * support/support.h (xstrdup): Declare.
7492         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
7493         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
7494         * support/xthread.h (xpthread_once): Likwise.
7495         * support/xunistd.h (xwrite): Declare.
7497 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7499         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
7500         (test_verbose): Declare.
7501         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
7502         * support/support_test_main.c (default_options): Likewise.
7503         (usage, support_test_main): Handle 'v'.
7504         (test_verbose): Define.
7505         * support/tst-support_record_failure.c (do_test): Use
7506         test_verbose.
7507         * support/tst-support_record_failure-2.sh (different_status): Add
7508         --verbose test.
7510 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7512         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
7513         test failures are recorded.
7514         * support/check.c (support_print_failure_impl): Call
7515         support_record_failure.
7516         (support_exit_failure_impl): Call support_record_failure if status
7517         indicates failure.
7518         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
7519         * support/xasprintf.c (xasprintf): Likewise.
7520         * support/xfork.c (xfork): Likewise.
7521         * support/xpthread_check_return.c (xpthread_check_return):
7522         Likewise.
7523         * support/xsocket.c (xsocket): Likeweise.
7524         * support/xwaitpid.c (xwaitpid): Likewise.
7525         * support/support_record_failure.c (struct test_failures): Adjust
7526         to coding style.
7527         * support/support_test_verify_impl.c (support_test_verify_impl):
7528         Adjust error messages.
7529         * support/tst-support_record_failure-2.sh (different_status):
7530         Adjust error messages.
7532 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7534         * support/namespace.h: New file.
7535         * support/support_become_root.c: Likewise.
7536         * support/support_enter_network_namespace.c: Likewise.
7537         * support/tst-support-namespace.c: Likewise.
7538         * support/xsocket.c: Likewise.
7539         * support/xsocket.h: Likewise.
7540         * support/Makefile (libsupport-routines): Add support_become_root,
7541         support_enter_network_namespace, xsocket.
7542         (tests): Add tst-support-namespace.
7544 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7546         [BZ #17252]
7547         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
7548         __USE_GNU.
7550 2016-12-31  Torvald Riegel  <triegel@redhat.com>
7552         [BZ #13165]
7553         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
7554         use new algorithm.
7555         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
7556         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
7557         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
7558         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
7559         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
7560         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
7561         __condvar_cleanup_waiting, __condvar_dec_grefs,
7562         __pthread_cond_wait_common): New.
7563         (__condvar_cleanup): Remove.
7564         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
7565         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
7566         Likewise.
7567         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
7568         Likewise.
7569         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
7570         * nptl/tst-cond1.c: Add comment.
7571         * nptl/tst-cond20.c (do_test): Adapt.
7572         * nptl/tst-cond22.c (do_test): Likewise.
7573         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
7574         structure.
7575         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7576         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7577         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7578         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
7579         Likewise.
7580         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7581         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7582         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7583         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7584         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7585         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
7586         Likewise.
7587         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
7588         Likewise.
7589         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7590         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
7591         (COND_CLOCK_BITS): Adapt.
7592         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
7593         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
7594         __PTHREAD_COND_SHARED_MASK): New.
7595         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
7596         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
7597         * nptl/nptl_lock_constants.pysym: Adapt.
7598         * nptl/test-cond-printers.py: Adapt.
7599         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
7600         cond_compat_check_and_clear): Adapt.
7601         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
7602         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
7603         (__pthread_cond_timedwait): ... and move here.
7604         * nptl/DESIGN-condvar.txt: Remove file.
7605         * nptl/lowlevelcond.sym: Likewise.
7606         * nptl/pthread_cond_timedwait.c: Likewise.
7607         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
7608         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
7609         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
7610         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
7611         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
7612         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
7613         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
7614         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
7615         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
7616         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
7617         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
7618         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
7619         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
7620         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
7621         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
7622         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
7624 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
7626         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7627         (fromfp): New declaration.
7628         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
7629         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
7630         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
7631         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
7632         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
7633         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
7634         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
7635         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
7636         * math/math.h: Include <bits/types.h>.
7637         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
7638         constant and macro.
7639         (FP_INT_DOWNWARD): Likewise.
7640         (FP_INT_TOWARDZERO): Likewise.
7641         (FP_INT_TONEARESTFROMZERO): Likewise.
7642         (FP_INT_TONEAREST): Likewise.
7643         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
7644         (fromfpf): Likewise.
7645         (fromfpl): Likewise.
7646         (ufromfp): Likewise.
7647         (ufromfpf): Likewise.
7648         (ufromfpl): Likewise.
7649         (fromfpx): Likewise.
7650         (fromfpxf): Likewise.
7651         (fromfpxl): Likewise.
7652         (ufromfpx): Likewise.
7653         (ufromfpxf): Likewise.
7654         (ufromfpxl): Likewise.
7655         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
7656         s_fromfpxF and s_ufromfpxF.
7657         * math/gen-fromfp-tests.py: New file.
7658         * math/gen-fromfp-tests-inputs: Likewise.
7659         * math/libm-test.inc: Include <stdint.h>
7660         (check_intmax_t): New function.
7661         (check_uintmax_t): Likewise.
7662         (struct test_fiu_M_data): New type.
7663         (struct test_fiu_U_data): Likewise.
7664         (RUN_TEST_fiu_M): New macro.
7665         (RUN_TEST_LOOP_fiu_M): Likewise.
7666         (RUN_TEST_fiu_U): Likewise.
7667         (RUN_TEST_LOOP_fiu_U): Likewise.
7668         (fromfp_test_data): New array.
7669         (fromfp_test): New function.
7670         (fromfpx_test_data): New array.
7671         (fromfpx_test): New function.
7672         (ufromfp_test_data): New array.
7673         (ufromfp_test): New function.
7674         (ufromfpx_test_data): New array.
7675         (ufromfpx_test): New function.
7676         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
7677         ufromfpx_test.
7678         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
7679         characters.
7680         * math/test-tgmath-ret.c: Include <stdint.h>.
7681         (rm): New variable.
7682         (width): Likewise.
7683         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
7684         called function.
7685         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
7686         CHECK_RET_CONST_TYPE.
7687         (CHECK_RET_CONST_DOUBLE): Likewise.
7688         (CHECK_RET_CONST_LDOUBLE): Likewise.
7689         (CHECK_RET_CONST): Take extra arguments and pass them to calls
7690         macros.
7691         (fromfp): New CHECK_RET_CONST call.
7692         (ufromfp): Likewise.
7693         (fromfpx): Likewise.
7694         (ufromfpx): Likewise.
7695         (do_test): Call check_return_fromfp, check_return_ufromfp,
7696         check_return_fromfpx and check_return_ufromfpx.
7697         * math/test-tgmath.c: Include <stdint.h>
7698         (NCALLS): Increase to 138.
7699         (F(compile_test)): Initialize i.  Call fromfp functions.
7700         (F(fromfp)): New function.
7701         (F(fromfpx)): Likewise.
7702         (F(ufromfp)): Likewise.
7703         (F(ufromfpx)): Likewise.
7704         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
7705         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
7706         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
7707         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
7708         ufromfpxl.
7709         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
7710         ufromfp and ufromfpx.
7711         * math/fromfp.h: New file.
7712         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
7713         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
7714         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
7715         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
7716         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
7717         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
7718         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
7719         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
7720         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
7721         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
7722         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
7723         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
7724         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
7725         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
7726         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
7727         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
7728         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
7729         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
7730         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
7731         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
7732         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
7733         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
7734         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
7735         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
7736         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
7737         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
7738         ufromfp, fromfpx and ufromfpx.
7739         (CFLAGS-nldbl-fromfp.c): New variable.
7740         (CFLAGS-nldbl-fromfpx.c): Likewise.
7741         (CFLAGS-nldbl-ufromfp.c): Likewise.
7742         (CFLAGS-nldbl-ufromfpx.c): Likewise.
7743         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
7744         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
7745         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
7746         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
7747         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
7748         * sysdeps/nacl/libm.abilist: Update.
7749         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7750         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7751         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7752         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7753         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7754         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7755         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7756         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7757         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7758         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7759         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7760         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7762         Likewise.
7763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7764         Likewise.
7765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7766         Likewise.
7767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7768         Likewise.
7769         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7770         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7771         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7772         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7773         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7775         Likewise.
7776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7777         Likewise.
7778         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7779         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7780         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7782 2016-12-30  Florian Weimer  <fweimer@redhat.com>
7784         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
7785         compat-gethnamaddr.
7786         (CPPFLAGS): Remove.
7787         * resolv/gethnamaddr.c: Rename ...
7788         * resolv/compat-gethnamaddr.c: ... to this file.
7789         (_endhtent): Make static.
7790         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
7791         symbol.
7792         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
7793         compat symbol.
7794         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
7795         symbol.
7796         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
7797         Turn into compat symbol.
7798         * include/resolv.h (_endhtent): Remove declaration.
7800 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
7802         * bits/types.h (__intmax_t): New typedef.
7803         (__uintmax_t): Likewise.
7804         * sysdeps/generic/stdint.h: Include <bits/types.h>.
7805         (intmax_t): Define using __intmax_t.
7806         (uintmax_t): Define using __uintmax_t.
7808         * support/Makefile (tests-special): Make definition conditional on
7809         [$(run-built-tests) = yes].
7810         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
7811         on [$(run-built-tests) = yes].
7813 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7815         * Rules (tests): Add tests-printers-programs to tests to be
7816         built.
7818 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7820         * sysvipc/Makefile (tests): Add test-sysvshm.
7821         * sysvipc/test-sysvshm.c: New file.
7823         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
7824         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
7825         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
7826         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
7827         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
7828         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
7829         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
7830         Likewise.
7831         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
7832         Likewise.
7833         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
7834         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
7835         is defined.
7837         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
7838         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
7839         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
7840         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
7841         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
7842         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
7843         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
7844         Likewise.
7845         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
7846         Likewise.
7847         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
7848         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
7849         defined.
7851         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
7852         oldshmctl.
7853         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
7854         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
7855         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
7856         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
7857         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
7858         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
7859         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
7860         Likewise.
7861         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
7862         Likewise.
7863         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
7864         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
7865         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
7866         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
7867         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
7868         implementation.
7869         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
7870         if it is defined.
7872         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
7873         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
7874         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
7875         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
7876         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
7877         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
7878         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
7879         Likewise.
7880         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
7881         Likewise.
7882         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
7883         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
7884         Define to __NR_osf_shmat.
7885         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
7886         defined.
7888         * sysvipc/Makefile (tests): Add test-sysvsem.
7889         * sysvipc/test-sysvsem.c: New file.
7891         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
7892         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
7893         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
7894         Likewise.
7895         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
7896         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
7897         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
7898         Likewise.
7899         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
7900         Likewise.
7901         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
7902         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
7903         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
7904         add a comment about s390 syscall difference from default one.
7905         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
7906         syscall if it is defined.
7908         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
7909         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
7910         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
7911         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
7912         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
7913         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
7914         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
7915         Likewise.
7916         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
7917         Likewise.
7918         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
7919         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
7920         defined.
7922         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
7923         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
7924         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
7925         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
7926         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
7927         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
7928         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
7929         Likewise.
7930         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
7931         Likewise.
7932         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
7933         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
7934         if it is defined.
7936         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
7937         oldsemctl.
7938         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
7939         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
7940         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
7941         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
7942         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
7943         implementation.
7944         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
7945         syscall if it is defined.
7946         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
7947         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
7948         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
7949         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
7950         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
7951         Likewise.
7952         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
7954         * sysvipc/Makefile (tests): Add test-sysvmsg.
7955         * sysvipc/test-sysvmsg.c: New file.
7956         * support/check.h (FAIL_UNSUPPORTED): New define.
7958         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
7959         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
7960         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
7961         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
7962         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
7963         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
7964         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
7965         Likewise.
7966         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
7967         Likewise.
7968         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
7969         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
7970         define.
7972         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
7973         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
7974         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
7975         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
7976         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
7977         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
7978         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
7979         Likewise.
7980         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
7981         Likewise.
7982         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
7983         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
7984         if defined.
7986         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
7987         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
7988         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
7989         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
7990         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
7991         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
7992         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
7993         Likewise.
7994         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
7995         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
7996         Likewise.
7997         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
7998         if defined.
7999         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
8001         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
8002         oldmsgctl.
8003         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
8004         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
8005         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
8006         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
8007         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
8008         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
8009         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
8010         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
8011         Likewise.
8012         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
8013         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
8014         implementation.
8015         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
8016         if defined.
8018         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
8019         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
8020         definition and define its own.
8021         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
8022         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
8023         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
8024         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
8025         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
8026         definitions to common header.
8027         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
8028         operation from ipc_ops.h.
8030         * sysdeps/unix/sysv/linux/kernel-features.h
8031         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
8032         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8033         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
8034         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8035         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8036         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8037         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8038         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8039         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8040         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8041         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8042         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8043         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8044         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8045         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8047 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8049         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
8050         overflow in pointer addition.
8052 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8054         * sysdeps/powerpc/powerpc64/multiarch/Makefile
8055         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
8056         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8057         (strchr): Add __strchr_power8 to list of strchr functions.
8058         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
8059         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
8060         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
8061         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
8062         (strchr): Add __strchr_power8 to ifunc list.
8063         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
8064         (__strchrnul): Add __strchrnul_power8 to ifunc list.
8065         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
8066         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
8068 2016-12-28  Florian Weimer  <fweimer@redhat.com>
8070         * support/Makefile (libsupport-routines): Add
8071         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
8072         (tests): Add tst-support_record_failure.
8073         (tests-special): tst-support_record_failure-2.
8074         (tst-support_record_failure-2.out): Depend on
8075         tst-support_record_failure-2.sh and tst-support_record_failure.
8076         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
8077         (support_test_verify_impl, support_record_failure)
8078         (support_report_failure, support_report_failure_reset): Declare.
8079         * support/support_test_main.c (adjust_exit_status): New function.
8080         (support_test_main): Call it to incorporate record test failures.
8081         * support/support_test_verify_impl.c: New file.
8082         * support/support_record_failure.c: Likewise.
8083         * support/tst-support_record_failure.c: Likewise.
8084         * support/tst-support_record_failure-2.sh: Likewise.
8085         * support/xunistd.h: Likewise.
8086         * support/xfork.c: Likewise.
8087         * support/xwaitpid.c: Likewise.
8089 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
8091         * scripts/check-c++-types.sh: Add comments.
8093 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
8095         [BZ #19514]
8096         * resolv/res_send.c: Fix typo in comment.
8097         * sysdeps/i386/i386-mcount.S: Likewise.
8098         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8099         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8100         * sysdeps/sparc/sparc-mcount.S: Likewise.
8102 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8104         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
8105         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
8106         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
8107         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
8108         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
8109         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
8110         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
8111         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
8113 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8115         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
8117 2016-12-27  Florian Weimer  <fweimer@redhat.com>
8119         [BZ #17252]
8120         * posix/unistd.h (getentropy): Declare.
8122 2016-12-27  Florian Weimer  <fweimer@redhat.com>
8124         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
8125         Remove.
8126         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
8127         (cmd): Remove spoof, nospoof, spoofalert.
8128         (parse_line): Ignore spoof-related lines.
8129         (do_init): Do not process RESOLV_SPOOF_CHECK.
8131 2016-12-27  Florian Weimer  <fweimer@redhat.com>
8133         [BZ #20964]
8134         sunrpc: Always obtain AF_INET addresses from NSS.
8135         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
8136         * sunrpc/rpc_gethostbyname.c: New file.
8137         * sunrpc/Makefile (routines): Add it.
8138         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
8139         * sunrpc/clnt_simp.c (callrpc): Likewise.
8140         * sunrpc/getrpcport.c (getrpcport): Likewise.
8142 2016-12-27  Florian Weimer  <fweimer@redhat.com>
8144         * sunrpc/rpcinfo.c: Remove.
8145         * sunrpc/Makefile: Remove comments referring to rpcinfo.
8147 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8149         [BZ #19387]
8150         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
8151         addition.
8152         * string/test-memchr.c (do_test): Remove alignment limitation.
8153         (test_main): Add test that trigger BZ #19387.
8155 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8157         [BZ #7065]
8158         Enable stack protectore if requested by ./configure.
8159         * Makeconfig (+stack-protector): New variable.
8160         (+cflags): Use it.
8162 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8164         [BZ #7065]
8165         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
8166         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
8167         (__rt_sigreturn_stub): Use inhibit_stack_protector.
8168         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8169         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
8171 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8173         [BZ #7065]
8174         * login/Makefile (pt_chown-cflags): Remove.
8175         * nscd/Makefile (CFLAGS-nscd): Likewise.
8176         * resolv/Makefile (CFLAGS-libresolv): Likewise.
8178 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8180         [BZ #7065]
8181         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
8182         non-libc-linking testcase.
8184 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8185             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8186             Florian Weimer  <fweimer@redhat.com>
8188         [BZ #7065]
8189         PLT avoidance for __stack_chk_fail*.
8190         * debug/Makefile (CFLAGS-stack_chk_fail.c)
8191         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
8192         * debug/stack_chk_fail.c (__stack_chk_fail): Add
8193         __stack_chk_fail_local alias.
8194         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
8195         (__stack_chk_fail): Turn into hidden reference to
8196         __stack_chk_fail_local.
8198 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8200         [BZ #7065]
8201         * configure.ac: Add check for unsupported stack-protection level.
8202         (libc_cv_predef_stack_protector): Remove.
8203         (no_ssp): New variable.
8204         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
8205         (stack_protector): Set to -fno-stack-protector similarly.
8206         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
8207         (libc_cv_asm_set_directive): Likewise.
8208         (libc_cv_protected_data): Likewise.
8209         (libc_cv_z_combreloc): Likewise.
8210         (libc_cv_hashstyle): Likewise.
8211         (libc_cv_has_glob_dat): Likewise.
8212         (libc_cv_output_format): Likewise.
8213         (libc_cv_output_format): Likewise.
8214         (libc_cv_ehdr_start): Likewise.
8215         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
8216         (LIBC_LINKER_FEATURE): Likewise.
8217         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
8219 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8221         [BZ #7065]
8222         * elf/Makefile (dummy-stack-chk-fail): New.
8223         (librtld.map): Use it.
8225 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8227         [BZ #7065]
8228         Compile the dynamic linker without stack protection.
8229         * elf/Makefile (elide-stack-protector): New.
8230         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
8231         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
8232         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
8233         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
8235 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8237         [BZ #7065]
8238         * config.make.in (have-ssp, no-stack-protector): New.
8239         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
8240         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
8241         (CFLAGS-sbrk.op): Likewise.
8242         (CFLAGS-brk.o): Likewise.
8243         (CFLAGS-brk.op): Likewise.
8244         * string/Makefile (CFLAGS-memcpy.c): Likewise.
8245         (CFLAGS-wordcopy.c): Likewise.
8247 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8249         [BZ #7065]
8250         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
8251         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
8252         * include/libc-symbols.h (inhibit_stack_protector): New macro.
8253         (__ifunc_resolver): Use it.
8254         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
8255         inhibit_stack_protector.
8256         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
8257         * elf/ifuncmain7.c (foo_ifunc): Likewise.
8258         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
8259         (foo_protected_ifunc): Likewise.
8260         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
8261         (foo_protected_ifunc): Likewise.
8262         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
8263         * sysdeps/nacl/nacl_interface_query.c
8264         (nacl_interface_query_ifunc): Likewise.
8265         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
8266         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
8267         Likewise.
8268         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
8269         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
8270         the generated vDSO syscall resolver.
8272 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8273             Florian Weimer  <fweimer@redhat.com>
8275         [BZ #7065]
8276         Initialize the stack guard earlier when linking statically.
8277         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
8278         (__pthread_initialize_minimal): Declare.
8279         * csu/libc-start.c (__pthread_initialize_minimal): Remove
8280         declaration.
8281         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
8282         stack canary and apply_irel initialization up.  Call
8283         __pthread_initialize_minimal only if linked in.
8284         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
8285         constant values.
8286         (__pthread_initialize_minimal): Remove.
8287         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
8288         (__pthread_initialize_minimal_internal): Do not call
8289         __libc_setup_tls.
8291 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8293         [BZ #7065]
8294         * configure.ac (libc_cv_ssp): Move up.
8295         (libc_cv_ssp_strong): Likewise.
8296         (libc_cv_ssp_all): New.
8297         (stack_protector): Augment, adding -fstack-protector-all.
8298         (no_stack_protector): New.
8299         (STACK_PROTECTOR_LEVEL): New.
8300         (AC_ARG_ENABLE(stack-protector)): New configure flag.
8301         * manual/install.texi (--enable-stack-protector): Document it.
8302         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
8304 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
8306         * README.pretty-printers: Must specify CPPFLAGS-* also.
8307         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
8308         (CPPFLAGS-test-mutex-printers.c): Define.
8309         (CPPFLAGS-test-condattr-printers.c): Define.
8310         (CPPFLAGS-test-cond-printers.c): Define.
8311         (CPPFLAGS-test-rwlockattr-printers.c): Define.
8312         (CPPFLAGS-test-rwlock-printers.c): Define.
8314         * nss/Makefile [ifeq (yes,$(have-thread-library))]
8315         (tests): Add tst-cancel-getpwuid_r.
8316         * nss/tst-cancel-getpwuid_r.c: New file.
8318         [BZ #11941]
8319         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
8320         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
8321         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
8322         tst-nodelete-dlclose.
8323         (modules-names): Add tst-nodelete-dlclose-dso and
8324         tst-nodelete-dlclose-plugin.
8325         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
8326         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
8327         ($(objpfx)tst-nodelete-dlclose): Define.
8328         ($(objpfx)tst-nodelete-dlclose.out): Define.
8330 2016-12-23  Florian Weimer  <fweimer@redhat.com>
8332         * scripts/test_printers_common.py: Log GDB output in case of
8333         Python detection failure.
8335 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8337         * configure.ac: Check for python3 or python.
8338         * configure: Regenerated.
8339         * config.make.in (PYTHON): New variable.
8340         * benchtests/Makefile: Don't define PYTHON.
8341         (bench): Define target only if PYTHON was defined.
8342         * Rules: Don't define PYTHON.
8343         Define pretty printer targets only if PYTHON was defined.
8344         (tests-printers): Add to tests-unsupported if PYTHON is not
8345         found.
8346         (python-flags, python-invoke): Remove.
8347         (tests-printers-out): Use PYTHON instead of python-invoke.
8349 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
8351         [BZ #20978]
8352         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8353         Compare name == NULL, not name != NULL.
8355         * manual/texinfo.tex: Update to version 2016-09-18.18 with
8356         trailing whitespace removed.
8357         * scripts/config.guess: Update to version 2016-10-02.
8358         * scripts/config.sub: Update to version 2016-11-19.
8359         * scripts/install-sh: Update to version 2016-01-11.22.
8360         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
8361         * scripts/move-if-change: Update to version 2016-01-11 22:04.
8363 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
8365         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
8366         (do_one_test) Restore original string so iteration works.
8367         * string/string-inlines.c (do_test): Create better input strings.
8368         (test_main) Reduce number of testruns.
8369         * string/string-inlines.c (__old_strsep_1c): New function.
8370         (__old_strsep_2c): Likewise.
8371         (__old_strsep_3c): Likewise.
8372         * string/strsep.c (__strsep): Remove case of small delim string.
8373         Call strcspn directly rather than strpbrk.
8374         * string/bits/string2.h (__strsep): Remove define.
8375         (__strsep_1c): Remove.
8376         (__strsep_2c): Remove.
8377         (__strsep_3c): Remove.
8378         (strsep): Remove.
8379         * sysdeps/unix/sysv/linux/internal_statvfs.c
8380         (__statvfs_getflags): Rename to __strsep.
8382 2016-12-21  Florian Weimer  <fweimer@redhat.com>
8384         * csu/libc-tls.c (_dl_tls_setup): Remove.
8385         * elf/dl-tls.c (_dl_tls_setup): Likewise.
8386         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
8387         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
8389 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
8391         [BZ #7065]
8392         * sysdeps/x86_64/Makefile [$(subdir) = elf]
8393         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
8395 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
8396             Florian Weimer  <fweimer@redhat.com>
8398         [BZ #7065]
8399         * csu/Makefile (tests): Empty assignment and document it.
8400         (tests-static): Remove.
8401         * csu/tst-empty.c: Move to...
8402         * misc/tst-empty.c: ... here.  Switch to new test driver.
8403         * csu/tst-atomic.c: Move to...
8404         * misc/tst-atomic.c: ... here.  Switch to new test driver.
8405         * csu/tst-atomic-long.c: Move to...
8406         * misc/tst-atomic-long.c: ... here.
8407         * misc/Makefile (tests): Add tst-empty, tst-atomic,
8408         tst-atomic-long.
8409         (tests-static): Add tst-empty.
8411 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
8413         * manual/nss.texi: Change incorrect @vtable to @table.
8414         * manual/arith.texi: Convert @tables of variables to @vtables
8415         and remove unnecessary indexing.
8416         * manual/filesys.texi: Likewise.
8417         * manual/llio.texi: Likewise.
8418         * manual/memory.texi: Likewise.
8419         * manual/process.texi: Likewise.
8420         * manual/resource.texi: Likewise.
8421         * manual/search.texi: Likewise.
8422         * manual/signal.texi: Likewise.
8423         * manual/socket.texi: Likewise.
8424         * manual/stdio.texi: Likewise.
8425         * manual/sysinfo.texi: Likewise.
8426         * manual/syslog.texi: Likewise.
8427         * manual/terminal.texi: Likewise.
8428         * manual/time.texi: Likewise.
8429         * manual/users.texi: Likewise.
8431 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
8433         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8434         (roundeven): New declaration.
8435         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
8436         macro.
8437         * math/Versions (roundeven): New libm symbol at version
8438         GLIBC_2.25.
8439         (roundevenf): Likewise.
8440         (roundevenl): Likewise.
8441         * math/Makefile (libm-calls): Add s_roundevenF.
8442         * math/libm-test.inc (roundeven_test_data): New array.
8443         (roundeven_test): New function.
8444         (main): Call roundeven_test.
8445         * math/test-tgmath.c (NCALLS): Increase to 134.
8446         (F(compile_test)): Call roundeven.
8447         (F(roundeven)): New function.
8448         * manual/arith.texi (Rounding Functions): Document roundeven,
8449         roundevenf and roundevenl.
8450         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
8451         * include/math.h (roundeven): Use libm_hidden_proto.
8452         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
8453         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
8454         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
8455         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
8456         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
8457         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
8458         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8459         roundeven.
8460         (CFLAGS-nldbl-roundeven.c): New variable.
8461         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
8462         * sysdeps/nacl/libm.abilist: Update.
8463         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8464         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8465         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8466         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8467         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8468         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8469         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8470         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8471         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8472         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8473         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8474         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8476         Likewise.
8477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8478         Likewise.
8479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8480         Likewise.
8481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8482         Likewise.
8483         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8484         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8485         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8486         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8487         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8489         Likewise.
8490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8491         Likewise.
8492         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8493         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8494         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8496 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
8498         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
8499         preprocessor indentation inside #if.
8501 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8503         * math/libm-test.inc (fmt_ftostr): New function.
8504         (print_float, check_float_internal): Replace some uses of
8505         FTOSTR with uses of fmt_ftostr.
8506         (print_max_error, print_complex_max_error, print_function_ulps)
8507         (print_complex_function_ulps): Remove uses of the macros
8508         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
8509         * math/test-double.h (FTOSTR): Define to strfromd.
8510         (PRINTF_EXPR): Delete.
8511         (PRINTF_XEXPR): Likewise.
8512         (PRINTF_NEXPR): Likewise.
8513         * math/test-float.h (FTOSTR): Define to strfromf.
8514         (PRINTF_EXPR): Delete.
8515         (PRINTF_XEXPR): Likewise.
8516         (PRINTF_NEXPR): Likewise.
8517         * math/test-ldouble.h (FTOSTR): Define to strfroml.
8518         (PRINTF_EXPR): Delete.
8519         (PRINTF_XEXPR): Likewise.
8520         (PRINTF_NEXPR): Likewise.
8522 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8524         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
8525         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
8526         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
8527         (__lll_lock_elision): Decrement adapt_count while unlocking
8528         instead of before locking.
8529         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
8530         (__lll_trylock_elision): Likewise.
8531         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
8532         (__lll_unlock_elision): Likewise.
8534 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8536         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
8537         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
8538         Use __libc_tbegin_retry macro.
8540 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8542         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
8543         Add -msoft-float.
8544         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
8545         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
8546         Use __libc_t* transaction macros instead of __builtin_t*.
8547         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8548         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8550 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8552         * sysdeps/unix/sysv/linux/s390/elision-lock.c
8553         (__lll_lock_elision): Use atomics to load / store adapt_count.
8554         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
8555         (__lll_trylock_elision): Likewise.
8557 2016-12-20  Florian Weimer  <fweimer@redhat.com>
8559         Do not require memset elimination in explicit_bzero test.
8560         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
8561         (enum test_expectation): Add NO_EXPECTATIONS.
8562         (subtests): NO_EXPECTATIONS for ordinary clear.
8563         (check_test_buffer): Handle NO_EXPECTATIONS.
8564         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
8566 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
8568         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8569         (fmaxmag): New declaration.
8570         (fminmag): Likewise.
8571         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
8572         macro.
8573         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
8574         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
8575         (fmaxmagf): Likewise.
8576         (fmaxmagl): Likewise.
8577         (fminmag): Likewise.
8578         (fminmagf): Likewise.
8579         (fminmagl): Likewise.
8580         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
8581         * math/s_fmaxmag_template.c: New file.
8582         * math/s_fminmag_template.c: Likewise.
8583         * math/libm-test.inc (fmaxmag_test_data): New array.
8584         (fmaxmag_test): New function.
8585         (fminmag_test_data): New array.
8586         (fminmag_test): New function.
8587         (main): Call fmaxmag_test and fminmag_test.
8588         * math/test-tgmath.c (NCALLS): Increase to 132.
8589         (F(compile_test)): Call fmaxmag and fminmag.
8590         (F(fminmag)): New function.
8591         (F(fmaxmag)): Likewise.
8592         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
8593         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
8594         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
8595         fminmag.
8596         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
8597         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
8598         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
8599         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
8600         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
8601         and fminmag.
8602         (CFLAGS-nldbl-fmaxmag.c): New variable.
8603         (CFLAGS-nldbl-fminmag.c): Likewise.
8604         * sysdeps/nacl/libm.abilist: Update.
8605         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8606         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8607         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8608         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8609         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8610         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8611         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8612         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8613         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8614         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8615         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8616         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8618         Likewise.
8619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8620         Likewise.
8621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8622         Likewise.
8623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8624         Likewise.
8625         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8626         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8627         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8628         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8629         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8630         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8631         Likewise.
8632         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8633         Likewise.
8634         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8635         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8636         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8638 2016-12-19  Torvald Riegel  <triegel@redhat.com>
8640         [BZ #20973]
8641         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
8642         wake-up in robust mutexes.
8643         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
8645 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8647         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
8648         (CFLAGS-bench-fmaxf.c): New rule.
8649         (CFLAGS-bench-fminf.c): Likewise.
8650         * benchtests/fmaxf-inputs: New file.
8651         * benchtests/fminf-inputs: Likewise.
8653         * benchtests/Makefile (bench-math): Add fmin and fmax.
8654         (CFLAGS-bench-fmax.c): New rule.
8655         (CFLAGS-bench-fmin.c): Likewise.
8656         * benchtests/fmax-inputs: New file.
8657         * benchtests/fmin-inputs: Likewise.
8659         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
8660         parenthesis.
8661         (CMDLINE_PROCESS): Define using function instead of macro.
8662         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
8663         of test-skeleton.
8664         * benchtests/bench-memchr.c: Likewise.
8665         * benchtests/bench-memcmp.c: Likewise.
8666         * benchtests/bench-memcpy-large.c: Likewise.
8667         * benchtests/bench-memcpy.c: Likewise.
8668         * benchtests/bench-memmem.c: Likewise.
8669         * benchtests/bench-memmove-large.c: Likewise.
8670         * benchtests/bench-memmove.c: Likewise.
8671         * benchtests/bench-memset-large.c: Likewise.
8672         * benchtests/bench-memset.c: Likewise.
8673         * benchtests/bench-rawmemchr.c: Likewise.
8674         * benchtests/bench-strcasecmp.c: Likewise.
8675         * benchtests/bench-strcasestr.c: Likewise.
8676         * benchtests/bench-strcat.c: Likewise.
8677         * benchtests/bench-strchr.c: Likewise.
8678         * benchtests/bench-strcmp.c: Likewise.
8679         * benchtests/bench-strcpy.c: Likewise.
8680         * benchtests/bench-strcpy_chk.c: Likewise.
8681         * benchtests/bench-strlen.c: Likewise.
8682         * benchtests/bench-strncasecmp.c: Likewise.
8683         * benchtests/bench-strncmp.c: Likewise.
8684         * benchtests/bench-strncpy.c: Likewise.
8685         * benchtests/bench-strnlen.c: Likewise.
8686         * benchtests/bench-strpbrk.c: Likewise.
8687         * benchtests/bench-strrchr.c: Likewise.
8688         * benchtests/bench-strsep.c: Likewise.
8689         * benchtests/bench-strspn.c: Likewise.
8690         * benchtests/bench-strstr.c: Likewise.
8691         * benchtests/bench-strtok.c: Likewise.
8693 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8695         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
8696         stepping identification.
8697         (init_cpu_features): Add handle of Haswell.
8699 2016-11-25  Jim Meyering  <meyering@fb.com>
8701         [BZ #20386]
8702         Let gcc detect assert(a = 1) errors.
8703         * assert/assert.h (assert): Rewrite, retaining the old definintion
8704         when required, but otherwise putting the expression as-is in an "if"
8705         expression (hence, with no added parentheses) within a statement
8706         expression.
8708 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8710         * benchtests/Makefile (binaries-benchset): Depend on libsupport
8711         DSO.
8713 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
8715         * Rules (python-flags, python-invoke): New.
8716         ($(test-printers-out)): Use $(python-flags).
8718 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
8720         * manual/arith.texi (Math Error Reporting): Document that sNaN
8721         arguments are not considered domain errors.
8723 2016-12-16  Zack Weinberg <zackw@panix.com>
8724             Florian Weimer <fweimer@redhat.com>
8725             Nick Mathewson <nickm@torproject.org>
8727         * string/explicit_bzero.c: New routine.
8728         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
8729         * string/Makefile (routines, strop-tests, tests): Add them.
8730         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
8731         * string/string.h [__USE_MISC]: Declare explicit_bzero.
8733         * debug/explicit_bzero_chk.c: New routine.
8734         * debug/Makefile (routines): Add it.
8735         * debug/tst-chk1.c: Test fortification of explicit_bzero.
8736         * string/bits/string3.h: Fortify explicit_bzero.
8738         * manual/string.texi: Document explicit_bzero.
8739         * NEWS: Mention addition of explicit_bzero.
8741         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
8742         data before returning, using explicit_bzero.
8743         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
8744         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8745         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8747         * include/string.h: Redirect internal uses of explicit_bzero
8748         to __explicit_bzero_chk[_internal].
8749         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
8750         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
8751         * sysdeps/arm/nacl/libc.abilist
8752         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
8753         * sysdeps/unix/sysv/linux/alpha/libc.abilist
8754         * sysdeps/unix/sysv/linux/arm/libc.abilist
8755         * sysdeps/unix/sysv/linux/hppa/libc.abilist
8756         * sysdeps/unix/sysv/linux/i386/libc.abilist
8757         * sysdeps/unix/sysv/linux/ia64/libc.abilist
8758         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
8759         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
8760         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
8761         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8762         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8763         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8764         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8765         * sysdeps/unix/sysv/linux/nios2/libc.abilist
8766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8770         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
8771         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
8772         * sysdeps/unix/sysv/linux/sh/libc.abilist
8773         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
8774         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
8775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
8776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
8777         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
8778         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
8779         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
8780         Add entries for explicit_bzero and __explicit_bzero_chk.
8782 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
8784         * math/fenv.h
8785         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
8786         (FE_SNANS_ALWAYS_SIGNAL): New macro.
8787         * math/test-fe-snans-always-signal.c: New file.
8788         * math/Makefile (tests): Add test-fe-snans-always-signal.
8789         (CFLAGS-test-fe-snans-always-signal.c): New variable.
8790         * manual/arith.texi (Infinity and NaN): Document
8791         FE_SNANS_ALWAYS_SIGNAL.
8793 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8795         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
8796         bracket.
8798 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
8800         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
8801         before calling execv.
8803 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8805         [BZ #20971]
8806         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
8807         overflow in pointer addition.
8808         * string/test-memchr.c (do_test): Add an argument to pass as
8809         the size on memchr.
8810         (test_main): Add check for SIZE_MAX.
8812 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8814         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
8815         (libm-calls): Add w_scalblnF.
8816         * math/w_scalbln.c: Remove.
8817         * math/w_scalblnf.c: Likewise.
8818         * math/w_scalblnl.c: Likewise.
8819         * math/w_scalbln_template.c: New file with type-generic
8820         implementation based on math/w_scalbln.c.
8821         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
8822         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
8824 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
8826         [BZ #20947]
8827         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
8828         either is a signaling NaN.
8829         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
8830         follow fmaxl more closely.
8831         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
8832         when either is a signaling NaN.
8833         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
8834         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
8835         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
8836         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
8837         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
8838         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
8839         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
8840         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
8841         (fmin_test_data): Likewise.
8843 2016-12-15  Andreas Schwab  <schwab@suse.de>
8845         * support/support_test_main.c (support_test_main): Don't shadow
8846         file-local variable test_pid.
8848 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
8850         [BZ #20947]
8851         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
8852         either is a signaling NaN.
8853         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
8855 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
8857         [BZ #20947]
8858         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
8859         when either is a signaling NaN.
8860         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
8862         * bits/long-double.h: New file.
8863         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
8864         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
8865         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
8866         * sysdeps/mips/bits/long-double.h: Likewise.
8867         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
8868         * math/Makefile (headers): Add bits/long-double.h.
8869         * misc/sys/cdefs.h: Include <bits/long-double.h>.
8870         * stdlib/strtold.c: Include <bits/long-double.h> instead of
8871         <bits/wordsize.h>.
8872         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
8873         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
8874         * math/math.h: Do not include <bits/mathdef.h>.
8875         * sysdeps/aarch64/bits/mathdef.h: Remove file.
8876         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
8877         inclusion.
8878         * sysdeps/ia64/bits/mathdef.h: Remove file.
8879         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
8880         * sysdeps/mips/bits/mathdef.h: Likewise.
8881         * sysdeps/powerpc/bits/mathdef.h: Likewise.
8882         * sysdeps/s390/bits/mathdef.h: Likewise.
8883         * sysdeps/sparc/bits/mathdef.h: Likewise.
8884         * sysdeps/x86/bits/mathdef.h: Likewise.
8885         * sysdeps/s390/s390-32/bits/wordsize.h
8886         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
8887         conditional code.
8888         * sysdeps/s390/s390-64/bits/wordsize.h
8889         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
8890         Likewise.
8891         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
8892         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
8893         Likewise.
8894         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
8895         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
8896         Likewise.
8897         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
8898         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
8899         Likewise.
8901         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
8902         <linux/falloc.h>.
8903         (FALLOC_FL_KEEP_SIZE): Remove.
8904         (FALLOC_FL_PUNCH_HOLE): Likewise.
8905         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
8906         (FALLOC_FL_ZERO_RANGE): Likewise.
8908 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8910         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
8912 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8914         * sysdeps/unix/sysv/linux/renameat.c: New file.
8915         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
8917         * sysdeps/unix/sysv/linux/rename.c: New file.
8918         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
8920 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
8922         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
8923         * string/strtok.c (strtok): Change to tailcall __strtok_r.
8924         * string/strtok_r.c (__strtok_r): Optimize for performance.
8925         * string/string-inlines.c (__old_strtok_r_1c): New function.
8926         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
8928 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8930         * math/Makefile (gen-libm-calls): Add w_log1pF.
8931         (libm-calls): Remove w_log1pF.
8932         * math/w_log1p.c: Remove.
8933         * math/w_log1pf.c: Likewise.
8934         * math/w_log1pl.c: Likewise.
8935         * math/w_log1p_template.c: New file with type-generic
8936         implementation based on math/w_log1p.c.
8937         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
8938         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
8940 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
8942         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
8944 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
8946         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8947         kernel version to 4.9.
8949 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
8951         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
8952         ($(inst_libdir)/libm.a): Fix rule to create the target only.
8954 2016-12-13  Andreas Schwab  <schwab@suse.de>
8956         * sysdeps/powerpc/dl-procinfo.c: Don't define
8957         _dl_powerpc_platforms.
8958         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
8959         constants instead of referencing _dl_powerpc_platforms.
8960         (_dl_platform_string): Remove.
8962 2016-12-13  Florian Weimer  <fweimer@redhat.com>
8964         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
8966 2016-12-13  Florian Weimer  <fweimer@redhat.com>
8968         * Rules (binaries-shared-tests, binaries-pie-tests)
8969         (binaries-static-tests): Link with $(link-extra-libs-tests).
8970         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
8971         Remove $(link-extra-libs-tests).
8973 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8975         * sysdeps/powerpc/powerpc64/multiarch/Makefile
8976         (sysdep_routines): Add strncmp_power9.
8977         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8978         (strncmp): Add __strncmp_power9 to list of strncmp functions.
8979         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
8980         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
8981         (strncmp): Add __strncmp_power9 to ifunc list.
8982         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
8984 2016-12-12  Florian Weimer  <fweimer@redhat.com>
8986         [BZ #17252]
8987         Add getentropy, getrandom.
8988         * stdlib/sys/random.h: New file.
8989         (headers): Add it.
8990         * stdlib/Makefile (routines): Add getentropy, getrandom.
8991         (tests): Add tst-getrandom.
8992         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
8993         * stdlib/getentropy.c: New file.
8994         * stdlib/getrandom.c: Likewise.
8995         * stdlib/tst-getrandom.c: Likewise.
8996         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
8997         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
8998         * manual/crypt.texi (Unpredictable Bytes): New section.
8999         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
9000         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
9001         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
9002         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9003         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9004         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9005         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9006         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9007         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9008         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9009         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9010         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9011         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9012         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9013         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9014         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9016         Likewise.
9017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9018         Likewise.
9019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9021         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9022         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9023         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9024         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9025         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9026         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9028         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9029         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9030         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9032 2016-12-10  Florian Weimer  <fweimer@redhat.com>
9034         [BZ #20956]
9035         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
9036         as additional compiler barriers.
9037         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
9038         (fn2, do_test): Declare with external linkage.
9039         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
9040         (do_test): Declare with external linkage.
9041         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
9042         (do_test): Declare with external linkage.
9043         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
9044         (do_test): Declare with external linkage.
9046 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
9048         * support/support_test_main.c (support_test_main): Use correct
9049         timeout.
9051 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
9052             Florian Weimer  <fweimer@redhat.com>
9054         [BZ #16421]
9055         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
9056         and __u6_addr32 members.
9057         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
9058         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
9059         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
9060         Use __u6_addr32.
9061         * inet/tst-checks.c: Use <support/test-driver.c>
9062         * inet/tst-checks-posix.c: New file.
9063         * inet/Makefile (tests): Add it.
9064         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
9066 2016-12-09  Florian Weimer  <fweimer@redhat.com>
9068         New subdirectory support for build and test infrastructure.
9069         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
9070         setting install-lib.
9071         * Makeconfig (link-extra-libs-tests): Define.
9072         (+link-pie-tests, +link-static-tests, +link-tests): Use
9073         link-extra-libs-tests.
9074         (rpath-dirs, all-subdirs): Add support.
9075         (built-modules): Add libsupport.
9076         (libsupport): Define.
9077         * support: New directory.
9078         * support/Makefile: New file.
9079         * support/check.c: Likewise.
9080         * support/check.h: Likewise.
9081         * support/delayed_exit.c: Likewise.
9082         * support/ignore_stderr.c: Likewise.
9083         * support/oom_error.c: Likewise.
9084         * support/set_fortify_handler.c: Likewise.
9085         * support/support.h: Likewise.
9086         * support/temp_file-internal.h: Likewise.
9087         * support/temp_file.c: Likewise.
9088         * support/test-driver.c: Likewise.
9089         * support/test-driver.h: Likewise.
9090         * support/test_main.c: Likewise.
9091         * support/write_message.c: Likewise.
9092         * support/xasprintf.c: Likewise.
9093         * support/xcalloc.c: Likewise.
9094         * support/xmalloc.c: Likewise.
9095         * support/xpthread_barrier_destroy.c: Likewise.
9096         * support/xpthread_barrier_init.c: Likewise.
9097         * support/xpthread_barrier_wait.c: Likewise.
9098         * support/xpthread_cancel.c: Likewise.
9099         * support/xpthread_check_return.c: Likewise.
9100         * support/xpthread_cond_wait.c: Likewise.
9101         * support/xpthread_create.c: Likewise.
9102         * support/xpthread_detach.c: Likewise.
9103         * support/xpthread_join.c: Likewise.
9104         * support/xpthread_mutex_lock.c: Likewise.
9105         * support/xpthread_mutex_unlock.c: Likewise.
9106         * support/xpthread_sigmask.c: Likewise.
9107         * support/xpthread_spin_lock.c: Likewise.
9108         * support/xpthread_spin_unlock.c: Likewise.
9109         * support/xrealloc.c: Likewise.
9110         * support/xsignal.h: Likewise.
9111         * support/xthread.h: Likewise.
9112         * support_tempfile.h: Likewise.
9113         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
9114         (TEST_DATA_LIMIT): Remove unused macro.
9115         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
9116         <support/check.h>.
9117         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
9118         (ignore_stderr, set_fortify_handler): Remove.  Now in
9119         <support/support.h>.
9120         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
9121         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
9122         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
9123         (xpthread_join): Remove.  Now in <support/xthread.h>.
9124         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
9125         Introduce legacy wrappers.
9126         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
9127         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
9128         (write_message): Remove.
9129         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
9130         test-skeleton.c.
9131         * io/test-open-tmpfile: Likewise.
9132         * io/tst-posix_fallocate-common.c: Likewise.
9133         * libio/tst-fseek.c: Likewise.
9134         * malloc/tst-malloc-backtrace.c: Likewise.
9135         * malloc/tst-malloc-fork-deadlock.c: Likewise.
9136         * malloc/tst-malloc-thread-exit.c: Likewise.
9137         * nptl/tst-cancel7.c: Likewise.
9138         * nptl/tst-cleanup0.c: Likewise.
9139         * posix/tst-posix_fadvise-common.c: Likewise.
9140         * rt/tst-shm.c: Likewise.
9141         * time/bug-getdate1.c: Likewise.
9142         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
9143         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
9144         * elf/Makefile (tst-piemod1.so): Link against libsupport.
9146 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
9148         * Rules [$(run-built-tests) != no] (tests-expected): Add
9149         $(tests-printers).
9150         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
9152 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
9154         [BZ #20539]
9155         * math/Makefile (install-lib-ldscripts): Add libm.a.
9156         (install_subdir): Remove.
9157         (install-others): Add.
9158         ($(inst_libdir)/libm.a): Add rule for installation as
9159         linker script.
9160         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
9162 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
9164         * INSTALL: Regenerated.
9165         * Makeconfig: Add comments and whitespace to make the control flow
9166         clearer.
9167         (+link-printers-tests, +link-pie-printers-tests,
9168         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
9169         built-rtld-LDFLAGS, link-libc-rpath,
9170         link-libc-tests-after-rpath-link,
9171         link-libc-printers-tests): New.
9172         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
9173         link-libc-tests): Use the new variables as required.
9174         * Makerules ($(py-const)): New rule.
9175         generated: Add $(py-const).
9176         * README.pretty-printers: New file.
9177         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
9178         (others): Depend on $(py-const).
9179         (tests): Depend on $(tests-printers-programs) or
9180         $(tests-printers-out),
9181         as required.  Pass $(tests-printers) to merge-test-results.sh.
9182         * manual/install.texi: Add requirements for testing the pretty
9183         printers.
9184         * nptl/Makefile (gen-py-const-headers, pretty-printers,
9185         tests-printers, CFLAGS-test-mutexattr-printers.c
9186         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
9187         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
9188         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
9189         * nptl/nptl-printers.py: New file.
9190         * nptl/nptl_lock_constants.pysym: Likewise.
9191         * nptl/test-cond-printers.c: Likewise.
9192         * nptl/test-cond-printers.py: Likewise.
9193         * nptl/test-condattr-printers.c: Likewise.
9194         * nptl/test-condattr-printers.py: Likewise.
9195         * nptl/test-mutex-printers.c: Likewise.
9196         * nptl/test-mutex-printers.py: Likewise.
9197         * nptl/test-mutexattr-printers.c: Likewise.
9198         * nptl/test-mutexattr-printers.py: Likewise.
9199         * nptl/test-rwlock-printers.c: Likewise.
9200         * nptl/test-rwlock-printers.py: Likewise.
9201         * nptl/test-rwlockattr-printers.c: Likewise.
9202         * nptl/test-rwlockattr-printers.py: Likewise.
9203         * scripts/gen-py-const.awk: Likewise.
9204         * scripts/test_printers_common.py: Likewise.
9205         * scripts/test_printers_exceptions.py: Likewise.
9207 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
9209         * scripts/build-many-glibcs.py (Context.__init__): Take strip
9210         argument.
9211         (Glibc.build_glibc): Strip installed shared libraries if
9212         requested.
9213         (get_parser): Add --strip option.
9214         (main): Update Context call.
9216 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9217             Dominik Vogt  <vogt@linux.vnet.ibm.com>
9219         [BZ #20847]
9220         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
9221         array bounds for else branch.
9222         (__execvpe): Style fixes.
9223         * posix/tst-vfork3.c (run_script): New function.
9224         (create_script): Likewise.
9225         (do_test): Use run_script internal function.
9226         (do_prepare): Use create_script internal function.
9228 2016-12-07  Andreas Schwab  <schwab@suse.de>
9230         * sysdeps/unix/sysv/linux/x86/elision-conf.h
9231         (__elision_available): Don't declare.
9232         * sysdeps/unix/sysv/linux/x86/elision-conf.c
9233         (__elision_available): Don't define.
9234         (elision_init): Don't set __elision_available.
9236 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
9238         [BZ #20940]
9239         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
9240         return Inf for arguments Inf and sNaN.
9241         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
9242         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9243         Likewise.
9244         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9245         Likewise.
9246         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
9247         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
9248         for arguments Inf and sNaN.  When returning a NaN, compute it by
9249         arithmetic on the arguments.
9250         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
9251         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
9252         arguments.
9254 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
9256         [BZ #20916]
9257         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
9258         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
9259         to compute result.
9260         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9261         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
9263 2016-12-05  Torvald Riegel  <triegel@redhat.com>
9265         * include/atomic.h (__atomic_check_size_ls): New.
9266         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
9267         atomic_store_release): Use it.
9268         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
9269         (elision_adapt, ELIDE_LOCK): Use atomics.
9270         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
9271         atomics and improve code comments.
9272         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
9273         (__lll_trylock_elision): Likewise.
9275 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9277         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
9278         programs.
9280 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
9282         [BZ #20916]
9283         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
9284         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
9285         arguments to compute result.
9286         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
9287         1 for arguments (sNaN, 0) or (1, sNaN).
9288         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9289         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9291         [BZ #20919]
9292         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
9293         NaN first argument when raised to power 0.
9294         * math/w_pow.c (__pow): Do not check for NaN or zero results from
9295         raising to power zero.
9296         * math/w_powf.c (__powf): Likewise.
9297         * math/w_powl.c (__powl): Likewise.
9298         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
9299         pow (0, 0) or pow (NaN, 0).
9301 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
9303         [BZ #20918]
9304         * configure.ac: Test for static NSS cryptographic libraries and set
9305         libc_cv_static_nss_crypt.
9306         * configure: Regenerate.
9307         * config.make.in (static-nss-crypt): Define.
9308         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
9309         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
9310         (CFLAGS-tst-linkall-static.c): Define.
9311         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
9312         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
9313         ($(objpfx)tst-linkall-static): Define.
9314         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
9315         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
9317 2016-12-02  Florian Weimer  <fweimer@redhat.com>
9319         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
9320         (one-hundred, tst-tls-many-dynamic-modules): Define.
9321         (modules-names): Add $(tst-tls-many-dynamic-modules).
9322         (tst-tls-manydynamic%mod.os): Build with special preprocessor
9323         macros.
9324         (tst-tls-manydynamic): Link against libdl, libpthread.
9325         (tst-tls-manydynamic.out): The test needs the test modules at run
9326         time.
9327         * elf/tst-tls-manydynamic.c: New file.
9328         * elf/tst-tls-manydynamic.h: Likewise.
9329         * elf/tst-tls-manydynamicmod.c: Likewise.
9331 2016-12-02  Florian Weimer  <fweimer@redhat.com>
9333         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
9334         (TLS_DTV_UNALLOCATED): Add.
9335         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
9336         offsets.
9338 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
9340         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9342 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
9344         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
9345         Add -fno-optimize-sibling-calls.
9347 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
9349         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
9350         New declaration.
9351         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
9352         macro.
9353         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
9354         New macro.
9355         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
9356         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
9357         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
9358         (llogbf): Likewise.
9359         (llogbl): Likewise.
9360         * math/Makefile (gen-libm-calls): Add w_llogbF.
9361         (tests): Add test-fp-llogb-constants.
9362         * math/w_llogb_template.c: New file.  Based on
9363         math/w_ilogb_template.c.
9364         * math/libm-test.inc (llogb_test_data): New array.
9365         (llogb_test): New function.
9366         (main): Call llogb_test.
9367         * math/test-fp-llogb-constants.c: New file.  Based on
9368         math/test-fp-ilogb-constants.c.
9369         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
9370         (do_test): Call check_return_llogb.
9371         * math/test-tgmath.c (NCALLS): Increase to 126.
9372         (F(compile_test)): Call llogb.
9373         (F(llogb)): New function.
9374         * manual/math.texi (Exponents and Logarithms): Document llogb,
9375         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
9376         * manual/libm-err-tab.pl (@all_functions): Add llogb.
9377         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
9378         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
9379         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
9380         (CFLAGS-nldbl-llogb.c): New variable.
9381         * sysdeps/nacl/libm.abilist: Update.
9382         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9383         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9384         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9385         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9386         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9387         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9388         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9389         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9390         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9391         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9392         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9393         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9395         Likewise.
9396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9397         Likewise.
9398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9399         Likewise.
9400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9401         Likewise.
9402         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9403         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9404         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9405         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9406         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9407         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9408         Likewise.
9409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9410         Likewise.
9411         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9412         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9413         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9415 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
9417         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
9418         _Float128 instead of long double.
9419         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
9421         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
9422         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
9423         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
9424         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
9425         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
9426         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
9427         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
9428         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
9429         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
9430         Likewise.
9432 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9434         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
9435         Remove redirection to __strrchr_ppc.
9437 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9439         * sysdeps/powerpc/powerpc64/multiarch/Makefile
9440         (sysdep_routines): Add strcmp_power9.
9441         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9442         (strcmp): Add __strcmp_power9 to list of strcmp functions.
9443         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
9444         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
9445         (strcmp): Add __strcmp_power9 to ifunc list.
9446         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
9448 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
9450         * bits/fp-logb.h: New file.
9451         * sysdeps/ia64/bits/fp-logb.h: Likewise.
9452         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
9453         * sysdeps/x86/bits/fp-logb.h: Likewise.
9454         * math/Makefile (headers): Add bits/fp-logb.h.
9455         * math/math.h: Include <bits/fp-logb.h>.
9456         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
9457         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
9458         * bits/mathdef.h (FP_ILOGB0): Remove.
9459         (FP_ILOGBNAN): Likewise.
9460         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
9461         (FP_ILOGBNAN): Likewise.
9462         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
9463         (FP_ILOGBNAN): Likewise.
9464         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
9465         (FP_ILOGBNAN): Likewise.
9466         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
9467         (FP_ILOGBNAN): Likewise.
9468         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
9469         (FP_ILOGBNAN): Likewise.
9470         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
9471         (FP_ILOGBNAN): Likewise.
9472         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
9473         (FP_ILOGBNAN): Likewise.
9474         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
9475         (FP_ILOGBNAN): Likewise.
9476         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
9477         (FP_ILOGBNAN): Likewise.
9479         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
9480         time module.
9481         (Context.__init__): Initialize self.logsdir_old.
9482         (Context.run_builds): Handle bot action.
9483         (Context.bot_cycle): Copy logs directory before running builds.
9484         (Context.bot_run_self): Take argument for whether to check
9485         subprocess result.  Flush stdout before running subprocess.
9486         (Context.bot): New function.
9487         (get_parser): Allow bot action.
9489 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
9491         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
9492         Import email.mime.text, email.utils and smtplib modules.
9493         (Context.__init__): Initialize self.bot_config_json.
9494         (Context.run_builds): Handle bot-cycle action.
9495         (Context.load_bot_config_json): New function.
9496         (Context.part_build_old): Likewise.
9497         (Context.bot_cycle): Likewise.
9498         (Context.bot_build_mail): Likewise.
9499         (Context.bot_run_self): Likewise.
9500         (get_parser): Allow bot-cycle action.
9502 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9504         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
9505         Remove redirection to __stpcpy_ppc.
9507 2016-11-30  Florian Weimer  <fweimer@redhat.com>
9509         Remove __libc_memalign from ld.so because it is unused.
9510         * elf/dl-minimal.c: Update comment on the malloc implementation.
9511         (malloc): Renamed from __libc_memalign, replacing the original
9512         malloc implementation.  Replace the align parameter with
9513         MALLOC_ALIGNMENT.
9514         * elf/Versions (ld): Update comment and remove __libc_memalign.
9515         * sysdeps/nacl/ld.abilist: Likewise.
9516         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
9517         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
9518         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
9519         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
9520         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
9521         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
9522         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
9523         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
9524         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
9525         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
9526         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
9527         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
9528         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
9529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
9530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
9531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
9532         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
9533         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
9534         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
9535         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
9536         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
9537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
9538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
9539         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
9540         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
9541         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
9542         * sysdeps/generic/localplt.data (ld.so): Likewise.
9543         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
9544         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
9545         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
9546         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
9547         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
9548         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
9549         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
9550         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
9551         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
9552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
9553         (ld.so): Likewise.
9554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
9555         (ld.so): Likewise.
9556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
9557         Likewise.
9558         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
9559         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
9560         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
9561         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
9562         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
9564 2016-11-30  Florian Weimer  <fweimer@redhat.com>
9566         [BZ #16628]
9567         Implement _dl_catch_error, _dl_signal_error in libc.so.
9568         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
9569         (catch_hook): Define as thread-local or regular variable,
9570         depending on DL_ERROR_BOOTSTRAP.
9571         (CATCH_HOOK): Remove.
9572         (dl_signal_error, _dl_catch_error): Use
9573         catch_hook.  Add hidden definition for libc.
9574         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
9575         for DL_ERROR_BOOTSTRAP only.
9576         * elf/dl-error.c: New file.
9577         * elf/dl-error-minimal.c: Likewise.
9578         * elf/tst-latepthread.c: Likewise.
9579         * elf/tst-latepthreadmod.c: Likewise.
9580         * elf/Makefile (routines): Add dl-error.
9581         (dl-routines): Remove dl-error.
9582         (rtld-routines): Add dl-error-minimal.
9583         [build-shared] (tests): Add tst-latepthread.
9584         (module-names): Add tst-latepthreadmod.
9585         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
9586         symbol.
9587         (tst-latepthreadmod.so): Link against libpthread.
9588         (tst-latepthread): Link against libdbl.
9589         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
9590         _dl_catch_error.
9591         [ld] (GLIBC_PRIVATE): Likewise.
9592         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
9593         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
9594         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
9595         directly.
9596         * elf/dl-tsd.c: Remove file.
9597         * elf/rtld.c (_rtld_global_ro): Remove initializers for
9598         _dl_catch_error, _dl_signal_error.
9599         (_dl_initial_error_catch_tsd): Remove definition.
9600         (do_preload): Remove initialization of dl_error_catch_tsd.
9601         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
9602         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
9603         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9604         * dlfcn/dlopen.c (dlopen_doit): Likewise.
9605         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
9606         set dl_error_catch_tsd.
9607         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
9608         _dl_error_catch_tsd member.
9609         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
9610         members.
9611         (_dl_initial_error_catch_tsd): Remove declaration.
9612         (_dl_dprintf): Provide definition for use outside of ld.so.
9613         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
9614         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
9615         prototype for libc.
9616         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
9617         _dl_catch_error.
9618         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
9619         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
9620         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
9621         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
9622         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
9623         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
9624         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
9625         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
9626         Likewise.
9627         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
9628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
9629         (ld.so): Likewise.
9630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
9631         (ld.so): Likewise.
9632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
9633         Likewise.
9634         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
9635         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
9636         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
9637         Likewise.
9638         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
9639         Likewise.
9640         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
9642 2016-11-30  Florian Weimer  <fweimer@redhat.com>
9644         [BZ #4099]
9645         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
9646         _IO_BUFSIZ (8192).
9648 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
9650         * PROJECTS: Remove file.
9652 2016-11-29  Florian Weimer  <fweimer@redhat.com>
9654         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
9656 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
9657             Steve Ellcey  <sellcey@caviumnetworks.com>
9659         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
9660         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
9661         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
9662         fxstatat.
9663         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
9664         lxstat.
9665         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
9666         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
9667         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
9668         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
9669         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
9670         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
9671         __xstat.
9673 2016-11-29  Florian Weimer  <fweimer@redhat.com>
9675         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
9676         Define.
9677         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
9678         definition.
9680 2016-11-29  Florian Weimer  <fweimer@redhat.com>
9682         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
9683         version and turn into strong alias.  Remove compat symbol.
9685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9686         (__longjmp): Remove.
9688 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
9690         * bits/fp-fast.h: New file.
9691         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
9692         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
9693         * math/Makefile (headers): Add bits/fp-fast.h.
9694         * math/math.h: Include <bits/fp-fast.h>.
9695         * bits/mathdef.h (FP_FAST_FMA): Remove.
9696         (FP_FAST_FMAF): Likewise.
9697         (FP_FAST_FMAL): Likewise.
9698         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
9699         (FP_FAST_FMAF): Likewise.
9700         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
9701         (FP_FAST_FMAF): Likewise.
9702         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
9703         (FP_FAST_FMAF): Likewise.
9704         (FP_FAST_FMAL): Likewise.
9705         * sysdeps/arm/bits/mathdef.h: Remove file.
9706         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
9707         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9708         * sysdeps/tile/bits/mathdef.h: Likewise.
9710 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
9712         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
9713         * math/w_ilogb.c: Remove.
9714         * math/w_ilogbf.c: Likewise.
9715         * math/w_ilogbl.c: Likewise.
9716         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
9717         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
9718         * math/Makefile (gen-libm-calls): Add w_ilogbF.
9719         (libm-calls): Remove w_ilogbF.
9720         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
9721         (LDOUBLE_ilogbl_libm_version): New macro.
9723         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
9725         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
9726         [!__STRICT_ANSI__ && !__cplusplus].
9728 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
9730         [BZ #20750]
9731         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
9732         of PIC.
9734 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
9735             Yury Norov  <ynorov@caviumnetworks.com>
9736             Steve Ellcey  <sellcey@caviumnetworks.com>
9738         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
9739         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
9740         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
9741         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
9742         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
9743         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
9744         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
9745         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
9746         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
9747         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
9748         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
9749         to get correct reg name for ILP32.
9750         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
9751         (RELA_SIZE): New Macro.
9752         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
9753         to support ILP32.
9754         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
9755         cast for ILP32 mode.
9756         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
9757         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
9758         * sysdeps/aarch64/memset.S (__memset): Ditto.
9759         * sysdeps/aarch64/strchr.S (strchr): Ditto.
9760         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
9761         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
9762         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
9763         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
9764         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
9765         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
9766         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
9767         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
9768         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
9769         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
9770         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
9771         change PTR_MANGLE call to use register numbers instead of names.
9772         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
9773         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
9774         ILP32 mode, change PTR_MANGLE calls to use register numbers.
9775         * sysdeps/aarch64/start.S (_start): Ditto.
9776         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
9777         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
9778         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
9779         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
9780         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
9781         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
9782         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
9783         Make defined values dependent on __ILP32__.
9784         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
9785         (sem_t): Change __align type.
9786         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
9787         PTR_SIZE): New Macros.
9788         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
9789         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
9790         Set when in ILP32 mode.
9791         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
9792         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
9793         Set elf flags for ILP32.
9794         (add_system_dir): Set ILP32 library directories.
9795         * sysdeps/unix/sysv/linux/aarch64/init-first.c
9796         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
9797         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
9798         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
9799         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
9800         New Macros.
9801         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
9803 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
9805         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
9806         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
9807         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
9809 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
9811         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
9812         <asm/cachectl.h>.
9814 2016-11-27  Zack Weinberg  <zackw@panix.com>
9816         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
9817         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
9819 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9821         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
9822         error_t to fix usage in C++ programs.
9824 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
9826         * scripts/build-many-glibcs.py: Import datetime module.
9827         (Context.__init__): Load JSON build state.  Initialize list of
9828         status logs.
9829         (Context.run_builds): Update saved build state.
9830         (Context.add_makefile_cmdlist): Update list of status logs.
9831         (Context.load_build_state_json): New function.
9832         (Context.store_build_state_json): Likewise.
9833         (Context.clear_last_build_state): Likewise.
9834         (Context.update_build_state): Likewise.
9835         (CommandList.status_logs): Likewise.
9837 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
9839         * scripts/build-many-glibcs.py (Context.__init__): Save text of
9840         script being executed.
9841         (Context.get_script_text): New function.
9842         (Context.exec_self): Likewise.
9843         (Context.checkout): Re-exec script if changed by checkout process.
9845 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
9847         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9848         (setpayloadsig): New declaration.
9849         * math/Versions (setpayloadsig): New libm symbol at version
9850         GLIBC_2.25.
9851         (setpayloadsigf): Likewise.
9852         (setpayloadsigl): Likewise.
9853         * math/Makefile (libm-calls): Add s_setpayloadsigF.
9854         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
9855         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
9856         (setpayloadsig_test_data): New array.
9857         (setpayloadsig_test): New function.
9858         (main): Call setpayloadsig_test.
9859         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
9860         setpayloadsigf and setpayloadsigl.
9861         * manual/libm-err-tab.pl: Update comment on interfaces without
9862         ulps tabulated.
9863         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
9864         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
9865         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
9866         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
9867         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
9868         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
9869         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9870         setpayloadsig.
9871         (CFLAGS-nldbl-setpayloadsig.c): New variable.
9872         * sysdeps/nacl/libm.abilist: Update.
9873         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9874         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9875         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9876         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9877         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9878         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9879         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9880         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9881         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9882         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9883         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9884         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9886         Likewise.
9887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9888         Likewise.
9889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9890         Likewise.
9891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9892         Likewise.
9893         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9894         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9895         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9896         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9897         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9899         Likewise.
9900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9901         Likewise.
9902         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9903         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9904         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9906         * scripts/build-many-glibcs.py: Import json module.
9907         (Context.__init__): Take replace_sources argument.  Load
9908         versions.json.
9909         (Context.load_versions_json): New function.
9910         (Context.store_json): Likewise.
9911         (Context.store_versions_json): Likewise.
9912         (Context.set_component_version): Likewise.
9913         (Context.checkout): Update versions.json.  Check for and handle
9914         changes of version.  Prefer previously explicitly specified
9915         version to default version.
9916         (Context.checkout_vcs): Return a revision identifier.
9917         (Context.git_checkout): Likewise.
9918         (Context.gcc_checkout): Likewise.
9919         (get_parser): Add --replace-sources option.
9920         (main): Pass replace_sources argument to Context call.
9922 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9924         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
9925         * nptl/allocatestack.c (allocate_stack): Likewise.
9926         (__reclaim_stacks): Likewise.
9927         (setxid_signal_thread): Obtain pid through syscall.
9928         * nptl/nptl-init.c (sigcancel_handler): Likewise.
9929         (sighandle_setxid): Likewise.
9930         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
9931         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
9932         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
9933         Likewise.
9934         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
9935         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
9936         comment.
9937         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
9938         * nptl/descr.h (struct pthread): Change comment about pid value.
9939         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
9940         pid assert.
9941         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
9942         Do not set pid value.
9943         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
9944         pid cache check.
9945         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
9946         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
9947         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
9948         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
9949         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
9950         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
9951         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
9952         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
9953         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
9954         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
9955         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
9956         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
9957         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
9958         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
9959         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
9960         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
9961         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
9962         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
9963         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
9964         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
9965         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
9966         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9967         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
9968         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
9969         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
9970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
9972         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
9973         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
9974         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
9975         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
9976         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
9977         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
9978         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
9979         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
9980         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
9981         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
9982         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9983         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
9984         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
9985         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9986         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
9987         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
9988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9990         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9991         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9992         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9993         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
9994         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
9995         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
9996         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
9997         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
9998         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
9999         struct access.
10000         (clone_test): Remove function.
10001         (do_test): Rewrite to take in consideration pid is not cached anymore.
10003 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
10005         * bits/flt-eval-method.h: New file.
10006         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
10007         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
10008         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
10009         * math/Makefile (headers): Add bits/flt-eval-method.h.
10010         * math/math.h: Include <bits/flt-eval-method.h>.
10011         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
10012         [__USE_ISOC99] (double_t): Likewise.
10013         * bits/mathdef.h (float_t): Remove.
10014         (double_t): Likewise.
10015         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
10016         (double_t): Likewise.
10017         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
10018         (double_t): Likewise.
10019         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
10020         (double_t): Likewise.
10021         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
10022         (double_t): Likewise.
10023         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
10024         (double_t): Likewise.
10025         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
10026         (double_t): Likewise.
10027         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
10028         (double_t): Likewise.
10029         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
10030         (double_t): Likewise.
10031         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
10032         (double_t): Likewise.
10033         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
10034         (double_t): Likewise.
10035         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
10036         (double_t): Likewise.
10037         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
10038         (double_t): Likewise.
10039         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
10040         (double_t): Likewise.
10042 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
10044         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
10045         instead of PIC.
10047 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
10049         [BZ #20859]
10050         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
10051         (-0x7fffffff) instead of 0x80000001.
10052         * math/test-fp-ilogb-constants.c: New file.
10053         * math/Makefile (tests): Add test-fp-ilogb-constants.
10055 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
10057         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
10058         (_init): Use it in place of hardcoded R_MIPS_JALR.
10059         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
10060         (_init): Use it in place of hardcoded R_MIPS_JALR.
10061         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
10062         (_init): Use it in place of hardcoded R_MIPS_JALR.
10064 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
10066         [BZ #20787]
10067         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
10068         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
10069         (double_t): Do not define to double if [__x86_64__] when
10070         __FLT_EVAL_METHOD__ is nonzero.
10071         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
10072         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
10073         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10074         test-flt-eval-method-387 and test-flt-eval-method-sse.
10075         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
10076         variable.
10077         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
10079 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
10081         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
10082         use of -fno-isolate-erroneous-paths options for tilepro.
10084 2016-11-23  Florian Weimer  <fweimer@redhat.com>
10086         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
10087         structure initialization is no longer needed.
10089 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
10091         [BZ #20855]
10092         * bits/mathdef.h (float_t): Define to float.
10093         * math/test-flt-eval-method.c: New file.
10094         * math/Makefile (tests): Add test-flt-eval-method.
10095         (CFLAGS-test-flt-eval-method.c): New variable.
10097 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
10099         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
10100         and __fstatfs.  Make them aliases of __fstatfs64 if
10101         STATFS_IS_STATFS64 is set to non-zero.
10102         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
10103         and __statfs64.
10104         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
10105         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
10106         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
10107         for __statfs and statfs.
10108         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
10109         to 0.
10110         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
10111         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
10112         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
10113         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
10114         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
10115         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
10116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
10117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
10118         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
10119         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
10120         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
10121         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
10123 2016-11-22  Andreas Schwab  <schwab@suse.de>
10125         * misc/mkstemp.c: Include <fcntl.h>.
10126         * misc/mkstemps.c: Likewise.
10127         * misc/mkostemp.c: Likewise.
10128         * misc/mkostemps.c: Likewise.
10130 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
10132         [BZ #20847]
10133         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
10134         array bounds.
10135         (__execvpe): Likewise.
10137 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
10139         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
10140         -fno-isolate-erroneous-paths options for tilepro.
10142 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
10144         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
10145         to 0 when in 32 bit mode.
10146         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
10147         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
10148         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
10149         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
10150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
10151         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
10152         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
10153         XSTAT_IS_XSTAT64 test.
10154         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
10155         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
10156         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
10157         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
10158         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
10159         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
10160         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
10161         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
10162         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
10163         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
10164         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
10166 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
10168         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10169         (setpayload): New declaration.
10170         * math/Versions (setpayload): New libm symbol at version
10171         GLIBC_2.25.
10172         (setpayloadf): Likewise.
10173         (setpayloadl): Likewise.
10174         * math/Makefile (libm-calls): Add s_setpayloadF.
10175         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
10176         test_Ff_b1_data.
10177         (RUN_TEST_Ff_b1): New macro.
10178         (RUN_TEST_LOOP_Ff_b1): Likewise.
10179         (canonicalize_test_data): Update type.
10180         (setpayload_test_data): New array.
10181         (setpayload_test): New function.
10182         (main): Call setpayload_test.
10183         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
10184         setpayloadf and setpayloadl.
10185         * manual/libm-err-tab.pl: Update comment on interfaces without
10186         ulps tabulated.
10187         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
10188         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
10189         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
10190         Likewise.
10191         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
10192         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
10193         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
10194         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
10195         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
10196         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
10197         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
10198         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
10199         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
10200         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10201         setpayload.
10202         (CFLAGS-nldbl-setpayload.c): New variable.
10203         * sysdeps/nacl/libm.abilist: Update.
10204         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10205         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10206         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10207         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10208         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10209         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10210         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10211         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10212         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10213         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10214         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10215         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10217         Likewise.
10218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10219         Likewise.
10220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10221         Likewise.
10222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10223         Likewise.
10224         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10225         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10226         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10227         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10228         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10229         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10230         Likewise.
10231         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10232         Likewise.
10233         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10234         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10235         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10237 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10239         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
10240         * include/unistd.h: Extend comment about __access_noerrno return
10241         semantics.
10242         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
10243         (access_common): Correct typo for EACCES.
10245 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
10247         * sysdeps/tile/math-tests.h: New file.
10249         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
10250         (__old_set_dataplane): Rename from set_dataplane and make a
10251         compatibility symbol.
10252         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
10253         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
10254         sys/dataplane.h.
10256 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
10258         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
10259         script quote words in command output to log suitably for input to
10260         the shell.
10262 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
10263             Maciej W. Rozycki  <macro@imgtec.com>
10265         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
10266         `.Lno_weak_fn' label.
10267         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
10268         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
10270 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10271             Yury Norov  <ynorov@caviumnetworks.com>
10273         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
10274         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
10275         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
10276         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
10277         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
10278         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
10279         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
10280         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10281         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
10282         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
10283         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
10284         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
10285         (sysdep_routines): Remove oldgetrlimit64.
10286         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
10287         (sysdep_routines): Likewise.
10288         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
10289         (sysdep_routines): Likewise.
10290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
10291         [$(subdir) = resource] (sysdep_routines): Likewise.
10292         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
10293         [$(subdir) = resource] (sysdep_routines): Likewise.
10294         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
10295         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
10296         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
10297         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
10298         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
10299         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10300         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
10301         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
10302         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
10303         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
10304         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
10305         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
10306         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
10307         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
10308         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
10309         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
10310         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
10311         setrlimit and getrlimit.
10312         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
10313         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10314         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
10315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
10317         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10318         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
10319         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10320         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10321         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
10322         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
10323         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
10324         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
10325         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
10326         (__old_getrlimit64): Add compatibility symbol.
10327         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
10329 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
10331         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
10332         newly built gmp, mpfr and mpc.
10334         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
10336 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
10338         * conform/Makefile (linknamespace-libs): Rename to
10339         linknamespace-libs-thr.
10340         (linknamespace-libs-posix): New variable.
10341         (linknamespace-libs-xsi): Likewise.
10342         (linknamespace-libs-XPG3): Include libcrypt.a.
10343         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
10344         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
10345         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
10346         (linknamespace-libs-XOPEN2K): Likewise.
10347         (linknamespace-libs-XOPEN2K8): Likewise.
10348         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
10350         [BZ #20829]
10351         * stdio-common/Versions (__snprintf): Add to version
10352         GLIBC_PRIVATE.
10353         * include/stdio.h (__snprintf): Use libc_hidden_proto.
10354         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
10355         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
10356         of snprintf.
10357         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
10359 2016-11-16  Zack Weinberg  <zackw@panix.com>
10361         * string/string.h: Remove obsolete comment stating that
10362         strcoll_l and strxfrm_l have not yet been standardized.
10364 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10366         * hurd/hurd.h (__hurd_fail_noerrno): New function.
10367         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
10368         __access_noerrno.
10369         * io/access.c (__access_noerrno): New function.
10370         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
10371         (hurd_fail_seterrno): Likewise.
10372         (access_common): Likewise.
10373         (__access_noerrno): Likewise.
10374         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
10375         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
10376         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
10377         macro.
10379 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
10381         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
10382         Only declare fpregs if [__SH_FPU_ANY__].
10384 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
10386         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
10387         Make code unconditional.
10388         [!(__SH4__ || __SH4A__)]: Remove conditional code.
10390 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
10392         * manual/sysinfo.texi (S_APPEND): Delete.
10393         (S_IMMUTABLE): Likewise.
10395 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
10396             Magnus Granberg  <zorry@gentoo.org>
10397             Mike Frysinger  <vapier@gentoo.org>
10399         [BZ #20662]
10400         * configure.ac (libc_cv_predef_stack_protector): Also check for
10401         __stack_chk_fail_local symbols.
10402         * configure: Regenerated.
10404 2016-11-15  Florian Weimer  <fweimer@redhat.com>
10406         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
10407         (libc_hidden_def): Remove redefinition.
10408         (__sigsetjmp): Add hidden definition.
10409         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
10410         (libc_hidden_def): Remove redefinition.
10411         (__sigsetjmp): Add hidden definition.
10413 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
10415         * scripts/build-many-glibcs.py (os.path): Do not import.
10416         (Context): Inherit explicitly from object.  Remove blank line
10417         between class and docstring.
10418         (Config): Likewise.
10419         (Glibc): Likewise.
10420         (Command): Likewise.
10421         (CommandList): Likewise.
10422         (Context.write_files): Store chmod mode in a variable.
10424         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
10425         LIBC_SLIBDIR_RTLDDIR for tilegx32.
10426         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
10428 2016-11-14  Zack Weinberg  <zackw@panix.com>
10430         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
10431         creating or re-creating it.
10433         * string/bits/string2.h: Fix typo in comment.
10435 2016-11-14  Zack Weinberg  <zackw@panix.com>
10437         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
10438         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
10439         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
10440         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
10441         of redirected function names.
10443         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
10444         as well.  Document that MESSAGE must be a single string literal.
10446 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
10448         * scripts/build-many-glibcs.py: New file.
10450         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
10451         (do_test): Disable -Wmaybe-uninitialized around uses of
10452         except_mask.
10454         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
10456 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
10458         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
10459         (atomic_store_release): Provide tilepro-specific implementations.
10461 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
10463         * math/math.h (__MATH_TG): New macro.
10464         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
10465         [__USE_ISOC99] (signbit): Likewise.
10466         [__USE_ISOC99] (isfinite): Likewise.
10467         [__USE_ISOC99] (isnan): Likewise.
10468         [__USE_ISOC99] (isinf): Likewise.
10469         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
10470         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
10471         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
10472         __MATH_TG and __MATH_EVAL_FMT2.
10473         * sysdeps/generic/math_private.h (fabs_tg): Define using
10474         __MATH_TG.
10475         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
10476         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
10477         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
10478         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
10479         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
10480         macro.
10481         (__iscanonical): Likewise.
10482         (iscanonical): Define using __MATH_TG.
10484 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10486         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
10487         guards.
10489         * sysdeps/unix/sysv/linux/access.c: New file.
10490         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
10492 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
10494         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
10495         and __WORDSIZE32_PTRDIFF_LONG.
10497 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10499         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10501 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10503         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
10504         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
10505         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
10506         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
10507         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
10508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
10509         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
10510         * sysdeps/unix/sysv/linux/truncate.c: New file.
10511         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
10512         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
10513         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
10514         Remove.
10515         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
10516         Likewise.
10518         * posix/tst-truncate-common.c: New file.
10519         * posix/tst-truncate.c: Use tst-truncate-common.c.
10520         * posix/tst-truncate64.c: Likewise and add LFS tests.
10521         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
10522         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
10523         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
10524         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
10525         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
10526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
10527         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
10528         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
10529         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
10530         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
10531         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
10532         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
10533         Remove.
10534         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
10535         Likewise.
10537 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
10539         [BZ #20790]
10540         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
10541         to MAXLINESIZE.
10542         * sunrpc/bug20790.x: New file.
10543         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
10544         variable.
10545         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
10546         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
10548         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
10550         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
10552         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
10553         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
10554         calloc, realloc, free, memalign and __libc_memalign rather than
10555         making them optional.
10557         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
10558         for libc.so.
10560 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10562         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
10563         ptw-lseek64.
10564         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
10565         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
10566         Likewise.
10567         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
10568         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
10569         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
10570         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
10571         * sysdeps/unix/sysv/linux/lseek.c: New file.
10572         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
10573         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
10574         __libc_lseek64 from auto-generation.
10575         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10576         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
10578 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10580         * nptl/tst-basic1.c (tf, do_test): Use write_message.
10581         * nptl/tst-cleanup1.c (do_test): Likewise.
10582         * nptl/tst-cleanup3.c (do_test): Likewise.
10583         * nptl/tst-key1.c (do_test): Likewise.
10584         * nptl/tst-key2.c (tf, do_test): Likewise.
10585         * nptl/tst-key3.c (tf, do_test): Likewise.
10586         * nptl/tst-stdio1.c (do_test): Likewise.
10587         * nptl/tst-stdio2.c (do_test): Likewise.
10589         * nptl/tst-kill3.c (handler): Use write_message in place of write.
10590         * nptl/tst-kill6.c (handler): Likewise.
10591         * nptl/tst-tls2.c (CB): Likewise.
10592         * nptl/tst-tls3.c (CB): Likewise.
10594 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
10596         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
10598 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
10599             Steve Ellcey  <sellcey@caviumnetworks.com>
10601         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
10602           __ASSUME_ST_INO_64_BIT as 0
10603         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
10604         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
10605           over the code where __ASSUME_ST_INO_64_BIT is used.
10606         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
10607         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
10608         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
10610 2016-11-07  Florian Weimer  <fweimer@redhat.com>
10612         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10613         Document ABI exposure of the __kind offset.
10614         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10615         Mention reason for the __kind offset exposure in the ABI.
10616         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10617         Likewise.
10618         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10619         Likewise.
10620         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10621         Likewise.
10622         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
10623         (struct __pthread_mutex_s): Likewise.
10624         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10625         Likewise.
10626         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10627         Likewise.
10628         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10629         Likewise.
10630         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10631         Likewise.
10632         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10633         Likewise.
10634         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10635         Likewise.
10636         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
10637         (struct __pthread_mutex_s): Likewise.
10638         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10639         (struct __pthread_mutex_s): Likewise.
10640         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
10641         Likewise.
10643 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
10645         * test-skeleton.c: Document do_test usage.
10647 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
10649         * iconv/gconv.h (__gconv_info): Define __data element using a
10650         zero-length array.
10652 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
10654         * math/test-tgmath2.c: Split up test function.
10656 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
10658         * Rules (tests-expected): New variable, depending on
10659         $(run-built-tests).
10660         (tests): Pass $(tests-expected) to merge-test-results.sh, not
10661         $(tests).
10663         * Rules [$(run-built-tests) = no] (tests): Do not depend on
10664         $(tests-unsupported).
10666 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10668         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
10669         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
10671 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
10673         [BZ #20768]
10674         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
10675         __fegetenv instead of fegetenv.
10677         [BZ #14139]
10678         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
10679         (find_files): Obtain platform name from libm-test-ulps-name and
10680         store in %pplatforms.
10681         (canonicalize_platform): Remove.
10682         (print_platforms): Use $pplatforms directly.
10683         (by_platforms): Do not allow for platforms missing from
10684         %pplatforms.
10685         * sysdeps/aarch64/libm-test-ulps-name: New file.
10686         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
10687         * sysdeps/arm/libm-test-ulps-name: Likewise.
10688         * sysdeps/generic/libm-test-ulps-name: Likewise.
10689         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
10690         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
10691         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
10692         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
10693         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
10694         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
10695         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
10696         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
10697         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
10698         * sysdeps/nios2/libm-test-ulps-name: Likewise.
10699         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
10700         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
10701         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
10702         * sysdeps/sh/libm-test-ulps-name: Likewise.
10703         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
10704         * sysdeps/tile/libm-test-ulps-name: Likewise.
10705         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
10707         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
10709         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
10710         (test-xfail-check-execstack): New variable.
10712         * sysdeps/mips/localplt.data: New file.
10714 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
10715             Steve Ellcey  <sellcey@caviumnetworks.com>
10717         * bits/wordsize.h: Add documentation.
10718         * sysdeps/aarch64/bits/wordsize.h : New file
10719         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
10720         definitions.
10721         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
10722         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
10723         with #if instead of #ifdef.
10724         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
10725         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
10726         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
10727         Add or change defines.
10728         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
10729         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
10730         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
10731         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
10732         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
10733         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
10734         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
10735         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
10736         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
10737         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
10738         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
10739         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
10740         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
10741         * sysdeps/x86/bits/wordsize.h: Likewise.
10743 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
10744             Kevin Petit  <kevin.petit@arm.com>
10746         * sysdeps/aarch64/memchr.S (__memchr): New file.
10748 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
10750         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
10752 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
10754         [BZ #19398]
10755         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
10756         $(linknamespace-symlists-tests).
10758 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
10760         * time/tst-strptime2.c: Ignore -Wformat-length warning.
10762 2016-11-02  Florian Weimer  <fweimer@redhat.com>
10763             Carlos O'Donell  <carlos@redhat.com>
10765         [Bug #20729]
10766         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
10767         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
10768         for -Os related change.
10770 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
10772         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
10774 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
10776         [BZ #19673]
10777         * manual/math.texi (Exponents and Logarithms): Correct description
10778         of clog10.
10780 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
10782         [Bz #20729]
10783         * locale/weight.h: Include libc-internal.h.
10784         * locale/weightwc.h: Likewise.
10785         * nptl/nptl_dbP.h: Likewise.
10787 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
10789         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
10790         when it is MACH_PORT_NULL.
10792 2016-10-31  Andreas Schwab  <schwab@suse.de>
10794         [BZ #20707]
10795         * posix/glob.c (glob): Initialize pglob before checking for
10796         GLOB_BRACE.  Don't call glob recursively if pattern contains no
10797         valid brace expression despite GLOB_BRACE.
10798         * posix/globtest.sh: Test it.
10800 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
10802         [BZ #20729]
10803         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
10804         Define.
10805         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
10806         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
10807         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
10808         for seq2.back_us and seq1.back_us only for -Os compiles.
10809         * locale/weightwc.h (findix): Likewise.
10810         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
10811         DB_GET_FIELD_ADDRESS only for -Os compiles.
10812         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
10813         for slen only for -Os compiles.
10814         * string/strcoll_l.c (get_next_seq): Ignore
10815         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
10816         for -Os compiles.
10818         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
10819         * include/crypt.h: New file.
10821 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10823         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
10824         from test-skeleton.c.
10825         (statclass): Replace calls to write with calls to write_message.
10827 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
10829         * math/math.h
10830         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
10831         New macro.
10832         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
10833         Likewise.
10834         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
10835         Likewise.
10836         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
10837         SNANL.
10838         * math/test-double.h (snan_value_MACRO): New macro.
10839         * math/test-float.h (snan_value_MACRO): Likewise.
10840         * math/test-ldouble.h (snan_value_MACRO): Likewise.
10841         * math/libm-test.inc (issignaling_test_data): Add tests of
10842         snan_value_MACRO.
10844 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10846         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
10847         behavior when eliding a lock not held by the current thread.
10848         * sysdeps/powerpc/nptl/elide.h: Likewise.
10850 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10852         [BZ #20728]
10853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
10854         branch to _exit() by a function call.
10856 2016-10-28  Florian Weimer  <fweimer@redhat.com>
10858         * malloc/malloc.c: Update chunk layout comments.
10859         (chunk_main_arena): Update comment.
10861 2016-10-28  Florian Weimer  <fweimer@redhat.com>
10863         * crypt/sha256.c, crypt/sha256-block.c,
10864         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
10865         sha256_process_block to __sha256_process_block.
10866         * crypt/sha512.c, crypt/sha512-block.c,
10867         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
10868         sha512_process_block to __sha512_process_block.
10870 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
10872         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
10874         * math/test-nan-overflow.c: Include stdlib.h for malloc.
10876 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
10878         [BZ #20019]
10879         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
10880         definition in unrelocated shared library.
10881         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10883 2016-10-28  Florian Weimer  <fweimer@redhat.com>
10885         [BZ #20729]
10886         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
10887         * sysdeps/unix/sysv/linux/i386/Makefile
10888         (uses-6-syscall-arguments): Define.
10889         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
10890         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
10891         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
10892         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
10893         Likewise.
10894         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
10895         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
10896         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
10897         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
10898         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
10899         (CFLAGS-fallocate64.os): Likewise.
10900         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
10901         (CFLAGS-pthread_rwlock_timedrdlock.os)
10902         (CFLAGS-pthread_rwlock_timedwrlock.o)
10903         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
10904         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
10905         (CFLAGS-sem_timedwait.os): Likewise.
10907 2016-10-28  Florian Weimer  <fweimer@redhat.com>
10909         * elf/tst-linkall-static.c: New file.
10910         * elf/Makefile (tests-static): Add tst-linkall-static.
10911         (tst-linkall-static): Link against static libraries.
10913 2016-10-27  Florian Weimer  <fweimer@redhat.com>
10915         * malloc/malloc.c (sysmalloc): Initialize previous size field of
10916         mmaped chunks.
10918 2016-10-28  Florian Weimer  <fweimer@redhat.com>
10920         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
10921         members to mchunk_prev_size, mchunk_size.
10922         (chunk_main_arena): Reverse sense and rename from
10923         chunk_non_main_arena.
10924         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
10925         mchunk_size instead of size.
10926         (set_non_main_arena): Define.
10927         (chunksize): Use chunksize_nomask instead of direct member access.
10928         (chunksize_nomask): Define.
10929         (next_chunk): Use chunksize instead of direct member access.
10930         (prev_size, set_prev_size): Define.
10931         (prev_chunk): Use prev_size instead of direct member access.
10932         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
10933         (inuse_bit_at_offset, set_inuse_bit_at_offset)
10934         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
10935         (mchunk_prev_size, mchunk_size): Poison tokens.
10936         (unlink): Use chunksize_nomask, prev_size accessors.
10937         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
10938         (do_check_free_chunk): Use prev_size accessor.
10939         (sysmalloc): Use set_prev_size, set_head accessors.
10940         (munmap_chunk, mremap_chunk): Use prev_size accessor.
10941         (__libc_free): Use chunksize_nomask accessor.
10942         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
10943         chunk_main_arena accessors.
10944         (_int_free): Use chunksize_nomask, prev_size accessors.
10945         (malloc_consolidate): Use chunksize, prev_size accessors.
10946         (_int_realloc): Use chunksize_nomask accessor.
10947         (_int_memalign): Use set_prev_size accessor.
10948         (__malloc_info): Use chunksize_nomask accessor.
10949         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
10950         accessors.
10951         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
10952         (heap_trim): Use chunksize_nomask, prev_size accessors.
10954 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
10956         [BZ #19380]
10957         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
10958         for inexact results.
10959         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
10960         of inexact result where mpfr_subnormalize is the only inexact
10961         step.
10962         * stdlib/tst-strtod-round-data.h: Regenerated.
10963         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
10964         Define to 0.
10965         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
10967 2016-10-27  David S. Miller  <davem@davemloft.net>
10969         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
10971 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10973         * malloc/malloc.c (do_set_mallopt_check): New function.
10974         (do_set_mmap_threshold): Likewise.
10975         (do_set_mmaps_max): Likewise.
10976         (do_set_top_pad): Likewise.
10977         (do_set_perturb_byte): Likewise.
10978         (do_set_trim_threshold): Likewise.
10979         (do_set_arena_max): Likewise.
10980         (do_set_arena_test): Likewise.
10981         (__libc_mallopt): Use them.
10983 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
10985         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10986         (canonicalize): New declaration.
10987         * math/Versions (canonicalize): New libm symbol at version
10988         GLIBC_2.25.
10989         (canonicalizef): Likewise.
10990         (canonicalizel): Likewise.
10991         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
10992         * math/s_canonicalize_template.c: New file.
10993         * math/libm-test.inc: Update comment on functions tested and
10994         testing of NaN payloads.
10995         (TEST_NAN_PAYLOAD): New macro.
10996         (NO_TEST_INLINE): Update value.
10997         (XFAIL_TEST): Likewise.
10998         (ERRNO_UNCHANGED): Likewise.
10999         (ERRNO_EDOM): Likewise.
11000         (ERRNO_ERANGE): Likewise.
11001         (IGNORE_RESULT): Likewise.
11002         (NON_FINITE): Likewise.
11003         (TEST_SNAN): Likewise.
11004         (NO_TEST_MATHVEC): Likewise.
11005         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
11006         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
11007         (struct test_Ffp_b1_data): New type.
11008         (RUN_TEST_Ffp_b1): New macro.
11009         (RUN_TEST_LOOP_Ffp_b1): Likewise.
11010         (canonicalize_test_data): New array.
11011         (canonicalize_test): New function.
11012         (main): Call canonicalize_test.
11013         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
11014         canonicalizef and canonicalizel.
11015         * manual/libm-err-tab.pl: Update comment on interfaces without
11016         ulps tabulated.
11017         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
11018         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
11019         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11020         canonicalize.
11021         (CFLAGS-nldbl-canonicalize.c): New variable.
11022         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
11023         to ...
11024         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
11025         ... here.
11026         (do_test): Also test canonicalizel.
11027         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
11028         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
11029         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
11030         file.
11031         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
11032         Use libm_hidden_def.
11033         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
11034         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
11035         (do_test): Also test canonicalizel.
11036         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
11037         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
11038         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
11039         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
11040         libm_hidden_def.
11041         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
11042         macro.
11043         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
11044         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
11045         * sysdeps/nacl/libm.abilist: Update.
11046         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11047         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11048         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11049         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11050         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11051         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11052         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11053         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11054         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11055         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11056         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11057         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11059         Likewise.
11060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11061         Likewise.
11062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11063         Likewise.
11064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11065         Likewise.
11066         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11067         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11068         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11069         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11070         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11071         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11072         Likewise.
11073         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11074         Likewise.
11075         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11076         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11077         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11079         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
11080         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11081         getpayload.
11082         (CFLAGS-nldbl-getpayload.c): New variable.
11084 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11086         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
11087         integer from the format string.
11089 2016-10-26  Florian Weimer  <fweimer@redhat.com>
11091         [BZ #19473]
11092         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
11093         declarations.
11094         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
11095         weak aliases.
11096         * malloc/hooks.c (__malloc_get_state): Remove definition.
11097         (malloc_get_state): New stub implementation as
11098         compatibility symbol.
11099         (malloc_set_state): Rename from __malloc_set_state.  Turn into
11100         compat symbol.
11101         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
11102         malloc_set_state.
11103         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
11105 2016-10-26  Florian Weimer  <fweimer@redhat.com>
11107         * iconvdata/iso646.c (enum variant): Drop illegal_var.
11108         (names): Turn into concatenation of strings.
11109         (gconv_init): Adapt iteration over names.
11111 2016-10-26  Florian Weimer  <fweimer@redhat.com>
11113         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
11114         make const.
11115         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
11116         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
11117         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
11118         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
11119         character in sbconv.
11120         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
11121         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
11122         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
11124 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11126         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
11128         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
11129         (M_TRIM_THRESHOLD): Likewise.
11131         * manual/memory.texi (M_ARENA_TEST): Add documentation.
11132         (M_ARENA_MAX): Likewise.
11133         * malloc/malloc.c: Remove obsolete comment.
11135         * manual/memory.texi: Add environment variable alternatives to
11136         setting mallopt parameters.
11138 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
11140         * include/atomic.h
11141         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
11142         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
11144 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11146         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
11147         * stdlib/tst-strfrom.h: New file.
11148         * stdlib/tst-strfrom.c: New file.
11149         * stdlib/tst-strfrom-locale.c: New file.
11151         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
11152         * stdlib/bug-strtod2.c: Likewise.
11153         * stdlib/tst-strtod-round-skeleton.c: Likewise.
11154         * stdlib/tst-strtod6.c: Likewise.
11155         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
11157 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11159         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
11160         * manual/arith.texi: Document strfromd, strfromf, strfroml.
11161         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
11162         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
11163         * stdlib/stdlib.h (strfromd): New declaration.
11164         (strfromf): Likewise.
11165         (strfroml): Likewise.
11166         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
11167         strfrom.
11168         * stdlib/strfromd.c: New file.
11169         * stdlib/strfromf.c: Likewise.
11170         * stdlib/strfroml.c: Likewise.
11171         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
11172         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
11173         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
11174         * sysdeps/arm/nacl/libc.abilist: Update.
11175         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
11176         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11177         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11178         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11179         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11180         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11181         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11182         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11183         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11184         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11185         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11186         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11187         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11188         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
11190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
11191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11193         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11194         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11195         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11196         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11197         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11198         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11199         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11200         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11201         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11202         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11204 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
11206         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
11207         instead of cmpli.
11208         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
11209         instead of cmpli.
11211 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
11213         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
11214         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
11215         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
11216         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
11217         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
11218         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
11220 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11222         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
11223         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
11224         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
11225         SYSCALL_LL64_PRW.
11226         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
11227         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
11228         __ASSUME_PRW_DUMMY_ARG.
11229         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
11230         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
11231         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
11232         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
11233         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
11234         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
11236 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
11238         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
11240 2016-10-22  Florian Weimer  <fweimer@redhat.com>
11242         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
11243         "C++", to override a potential extern "C" directive around the
11244         header file inclusion.
11246 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
11248         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
11250 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11252         * sysdeps/powerpc/fpu/fenv_private.h:
11253         (_FPU_MASK_ALL): Rename to...
11254         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
11255         XE FPSCR bits.
11257         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
11259         (_FPU_MASK_ROUNDING): Rename to...
11260         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
11261         NI bits.
11263         (_FPU_MASK_EXCEPT_ROUND): Rename to...
11264         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
11265         bits and rounding bits.
11267         (__libc_feholdbits_ppc): New inline function to mask, set,
11268         and pontentially clear FSPCR bits, and change MSR[FE] bits.
11269         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
11270         (libc_feholdexcept_setround_ppc): Likewise.
11272         (__libc_femergeenv_ppc): New function to dynamically mask both
11273         old and new FP environments and merge.
11274         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
11275         (libc_feresetround_ppc): Likewise.
11276         (libc_feupdateenv_test_ppc): Likewise.
11277         (libc_feupdateenv_ppc): Likewise.
11279         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
11280         of ISA RN bits, and update macro names.
11281         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
11282         effectively the same as the previously mentioned function.
11284         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
11285         usage with fe_resetround_ppc.
11287         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
11288         to be used.
11289         (libc_feholdexcept_setround_ctxf): Likewise.
11290         (libc_feholdexcept_setround_ctxl): Likewise.
11292 2016-10-21  Florian Weimer  <fweimer@redhat.com>
11294         [BZ #20715]
11295         * math/math.h [__cplusplus] (iszero): Define as function template.
11296         * math/Makefile [CXX] (tests): Add test-math-iszero.
11297         (CFLAGS-test-math-iszero.cc): Set.
11298         * math/test-math-iszero.cc: New file.
11300 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
11302         [BZ #20660]
11303         * sysdeps/arm/e_sqrt.c: New file.
11304         * sysdeps/arm/e_sqrtf.c: Likewise.
11306 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
11308         [BZ #20718]
11309         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
11310         not use floating-point comparisons to test sign.
11311         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
11312         Likewise.
11314         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11315         (getpayload): New declaration.
11316         * math/Versions (getpayload): New libm symbol at version
11317         GLIBC_2.25.
11318         (getpayloadf): Likewise.
11319         (getpayloadl): Likewise.
11320         * math/Makefile (libm-calls): Add s_getpayloadF.
11321         * math/libm-test.inc: Include <nan-high-order-bit.h>.
11322         (struct test_f_f_data): Add comment.
11323         (RUN_TEST_fp_f): New macro.
11324         (RUN_TEST_LOOP_fp_f): Likewise.
11325         (getpayload_test_data): New array.
11326         (getpayload_test): New function.
11327         (main): Call getpayload_test.
11328         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
11329         descriptor.
11330         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
11331         getpayloadf and getpayloadl.
11332         * manual/libm-err-tab.pl: Update comment on interfaces without
11333         ulps tabulated.
11334         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
11335         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
11336         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
11337         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
11338         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
11339         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
11340         * sysdeps/nacl/libm.abilist: Update.
11341         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11342         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11343         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11344         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11345         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11346         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11347         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11348         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11349         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11350         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11351         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11352         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11354         Likewise.
11355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11356         Likewise.
11357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11358         Likewise.
11359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11360         Likewise.
11361         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11362         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11363         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11364         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11365         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11366         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11367         Likewise.
11368         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11369         Likewise.
11370         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11371         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11372         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11374 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11376         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
11377         tst-fallocate{64}.
11378         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
11379         on syscall return.
11381 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
11383         [BZ #20689]
11384         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
11385         usable.
11387 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
11389         * sysdeps/generic/nan-high-order-bit.h: New file.
11390         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
11391         * sysdeps/mips/nan-high-order-bit.h: Likewise.
11392         * sysdeps/hppa/math_private.h: Remove file.
11393         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
11394         not define here.
11395         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
11396         <nan-high-order-bit.h>.
11397         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11398         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
11399         <nan-high-order-bit.h>.
11400         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11401         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
11402         <nan-high-order-bit.h>.
11403         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11404         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
11405         <nan-high-order-bit.h>.
11406         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11407         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
11408         <nan-high-order-bit.h>.
11409         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11410         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
11411         <nan-high-order-bit.h>.
11412         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11413         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
11414         <nan-high-order-bit.h>.
11415         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11416         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
11417         <nan-high-order-bit.h>.
11418         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11419         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
11420         <nan-high-order-bit.h>.
11421         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11422         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
11423         <nan-high-order-bit.h>.
11424         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11425         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
11426         <nan-high-order-bit.h>.
11427         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11428         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
11429         <nan-high-order-bit.h>.
11430         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11431         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
11432         <nan-high-order-bit.h>.
11433         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11434         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
11435         <nan-high-order-bit.h>.
11436         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11437         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
11438         <nan-high-order-bit.h>.
11439         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11440         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
11441         <nan-high-order-bit.h>.
11442         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11443         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
11444         <nan-high-order-bit.h>.
11445         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11446         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
11447         <nan-high-order-bit.h>.
11448         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11450 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
11452         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
11454 2016-09-22  John David Anglin  <dave.anglin@bell.net>
11456         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
11457         abort-instr.h.
11458         (EFAULT): Remove conditional define.
11459         (ENOSYS): Likewise.
11460         (atomic_compare_and_exchange_val_acq): Use instruction nullification
11461         instead of conditional branch instructions.
11463 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
11465         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11466         (totalordermag): New declaration.
11467         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
11468         New macro.
11469         * math/Versions (totalordermag): New libm symbol at version
11470         GLIBC_2.25.
11471         (totalordermagf): Likewise.
11472         (totalordermagl): Likewise.
11473         * math/Makefile (libm-calls): Add s_totalordermagF.
11474         * math/libm-test.inc (totalordermag_test_data): New array.
11475         (totalordermag_test): New function.
11476         (main): Call totalordermag_test.
11477         * math/test-tgmath.c (NCALLS): Increase to 125.
11478         (F(compile_test)): Call totalordermag.
11479         (F(totalordermag)): New function.
11480         * manual/arith.texi (FP Comparison Functions): Document
11481         totalordermag, totalordermagf and totalordermagl.
11482         * manual/libm-err-tab.pl: Update comment on interfaces without
11483         ulps tabulated.
11484         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
11485         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
11486         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
11487         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
11488         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
11489         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
11490         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
11491         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11492         totalordermag.
11493         (CFLAGS-nldbl-totalordermag.c): New variable.
11494         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
11495         (do_test): Also test totalordermagl.
11496         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
11497         Likewise.
11498         * sysdeps/nacl/libm.abilist: Update.
11499         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11500         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11501         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11502         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11503         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11504         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11505         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11506         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11507         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11508         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11509         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11510         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11512         Likewise.
11513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11514         Likewise.
11515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11516         Likewise.
11517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11518         Likewise.
11519         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11520         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11521         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11522         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11523         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11525         Likewise.
11526         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11527         Likewise.
11528         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11529         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11530         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11532 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
11534         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
11535         boolean.
11537 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
11539         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
11540         raising FE_INVALID with feraisexcept in case where part of
11541         argument is infinite, subtract that part of argument from itself.
11542         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
11543         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
11544         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
11546 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
11548         * math/libm-test.inc (totalorder_test_data): Add more tests.
11550 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
11552         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
11553         Undefine weak_alias and add a comment why mips64 require
11554         versioning.
11556 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
11558         [BZ #20647]
11559         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
11560         maximum CPUID level is less than 2.
11562 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
11564         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11565         (totalorder): New declaration.
11566         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
11567         New macro.
11568         * math/Versions (totalorder): New libm symbol at version
11569         GLIBC_2.25.
11570         (totalorderf): Likewise.
11571         (totalorderl): Likewise.
11572         * math/Makefile (libm-calls): Add s_totalorderF.
11573         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
11574         string.
11575         * math/libm-test.inc (PAYLOAD_DIG): New macro.
11576         (qnan_value_pl): Likewise.
11577         (snan_value_pl): Likewise.
11578         (qnan_value): Define using qnan_value_pl.
11579         (snan_value): Define using snan_value_pl.
11580         (struct test_ff_i_data): Add comment about which tests use this
11581         structure.
11582         (RUN_TEST_ff_b): New macro.
11583         (RUN_TEST_LOOP_ff_b): Likewise.
11584         (totalorder_test_data): New array.
11585         (totalorder_test): New function.
11586         (main): Call totalorder_test.
11587         * math/test-tgmath.c (NCALLS): Increase to 122.
11588         (F(compile_test)): Call totalorder.
11589         (F(totalorder)): New function.
11590         * manual/arith.texi (FP Comparison Functions): Document
11591         totalorder, totalorderf and totalorderl.
11592         * manual/libm-err-tab.pl: Update comment on interfaces without
11593         ulps tabulated.
11594         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
11595         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
11596         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
11597         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
11598         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
11599         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
11600         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
11601         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11602         totalorder.
11603         (CFLAGS-nldbl-totalorder.c): New variable.
11604         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
11605         file.
11606         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
11607         Add test-totalorderl-ldbl-128ibm.
11608         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
11609         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
11610         test-totalorderl-ldbl-96.
11611         * sysdeps/nacl/libm.abilist: Update.
11612         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11613         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11614         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11615         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11616         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11617         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11618         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11619         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11620         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11621         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11622         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11623         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11625         Likewise.
11626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11627         Likewise.
11628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11629         Likewise.
11630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11631         Likewise.
11632         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11633         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11634         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11635         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11636         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11637         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11638         Likewise.
11639         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11640         Likewise.
11641         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11642         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11643         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11645 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11647         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
11648         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
11649         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
11650         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
11651         remove ENOSYS implementation.
11652         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
11653         Consolidate all Linux implementations.
11655 2016-10-11  Florian Weimer  <fweimer@redhat.com>
11657         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
11658         * resolv/herror.c (herror): Cast away const-ness.
11659         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
11660         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
11662 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
11664         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
11665         instead of M_NAN + M_NAN.
11666         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
11668 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11670         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
11671         unused variable 'p'.
11673 2016-10-09  Alan Modra  <amodra@gmail.com>
11674             Andreas Schwab  <schwab@linux-m68k.org>
11676         [BZ #20554]
11677         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
11678         [PIC && !SHARED]: Set up PIC register for PLT call.
11680 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
11682         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
11683         conditional on value of [__FLT_EVAL_METHOD__].
11684         * math/test-iseqsig-excess-precision.c: New file.
11685         * math/Makefile (tests): Add test-iseqsig-excess-precision.
11687 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11689         * math/s_iseqsig_template.c: Include math-private.h.
11691         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
11692         * posix/tst-posix_fadvise.c: New file.
11693         * posix/tst-posix_fadvise64.c: Likewise.
11694         * posix/tst-posix_fadvise-common.c: Likewise.
11695         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11696         (__ASSUME_FADVISE64_64_6ARG): Define.
11697         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11698         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
11699         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11700         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
11701         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
11702         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
11703         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
11704         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
11705         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
11706         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
11707         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
11708         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
11709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
11710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
11711         Likewise.
11712         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
11713         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
11714         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
11715         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
11716         Alias to __posix_fadvise64_l32.
11717         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
11718         Add compat definition to posix_fadvise64.
11719         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
11720         Add versioned definition to posix_fadvise64.
11721         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
11722         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
11723         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
11724         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
11725         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
11727         * io/Makefile (tests): Add tst-posix_fallocate and
11728         tst-posix_fallocate64.
11729         * io/tst-posix_fallocate-common.c: New file.
11730         * io/tst-posix_fallocate.c: Likewise.
11731         * io/tst-posix_fallocate64.c: Likewise.
11732         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
11733         file.
11734         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
11735         Likewise.
11736         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
11737         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
11738         Likewise.
11739         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
11740         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
11741         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
11742         SYSCALL_LL to pass both offset and len arguments.
11743         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
11744         Likewise.
11745         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
11746         __libc_pwrite64 alias used by posix_fallocate64.
11748         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
11749         tst-fallocate64.
11750         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
11751         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
11752         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
11753         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
11754         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
11755         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
11756         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
11757         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11758         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
11759         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
11760         macro on offset argument.
11761         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
11762         SYSCALL_LL64 on offset argument.
11764         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
11765         tst-fallocate64.
11766         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
11767         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
11768         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
11769         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
11770         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
11771         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
11772         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
11773         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11774         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
11775         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
11776         macro on offset argument.
11777         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
11778         SYSCALL_LL64 on offset argument.
11779         * test-skeleton.c (FAIL_RET): Add macro.
11780         (FAIL_EXIT): Likewise.
11781         (FAIL_EXIT1): Likewise.
11782         (_FAIL): Likewise.
11784 2016-10-07  Florian Weimer  <fweimer@redhat.com>
11786         [BZ #20629]
11787         resolv: Remove RES_USEBSTRING and its implementation.
11788         * resolv/resolv.h (RES_USEBSTRING): Remove.
11789         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
11790         (digitvalue, encode_bitstring, decode_bitstring): Remove.
11791         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
11792         (labellen): Remove extended label types support.
11793         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
11794         * resolv/res_init.c (res_setoptions): Likewise.
11795         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
11797 2016-10-07  Florian Weimer  <fweimer@redhat.com>
11799         resolv: Remove RES_NOIP6DOTINT and its implementation.
11800         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
11801         (RES_NOIP6DOTINT): Remove.
11802         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
11803         handling.
11804         * resolv/res_debug.c (p_option): Likewise.
11805         * resolv/res_init.c (res_setoptions): Likewise.
11806         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
11808 2016-10-07  Florian Weimer  <fweimer@redhat.com>
11810         resolv: Deprecate unimplemented flags.
11811         * misc/sys/cdefs.h (__glibc_macro_warning1)
11812         (__glibc_macro_warning): Define.
11813         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
11814         (RES_KEEPTSIG): Mark as deprecated.
11815         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
11816         RES_NOCHECKNAME, RES_KEEPTSIG.
11817         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
11819 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11821         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
11822         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
11823         Use strong_alias to create symbols for glibc verison 2.19.
11825 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11827         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
11829 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11831         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
11833 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11835         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
11837 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11839         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11840         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
11841         in header for using it as type for ifunc function because __GI_* symbols
11842         for ppc32 do not target the ifunc symbols.
11843         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11845 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11847         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
11848         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
11849         libc_ifunc_hidden_def.
11850         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
11851         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
11852         Redirect ifunced function in header for using it as type of ifunc'ed
11853         function. Redefine libc_hidden_def to use fallback non ifunc'ed
11854         function for __GI_* symbol.
11855         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
11856         * include/libc-symbols.h
11857         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
11859 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11861         [BZ #20478]
11862         * sysdeps/s390/multiarch/ifunc-resolve.h
11863         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
11864         to create ifunc symbols.
11865         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
11866         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
11867         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
11868         for using it as type for ifunc function.
11869         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
11870         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
11871         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
11872         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
11873         * sysdeps/s390/multiarch/strcat.c: Likewise.
11874         * sysdeps/s390/multiarch/strchr.c: Likewise.
11875         * sysdeps/s390/multiarch/strcmp.c: Likewise.
11876         * sysdeps/s390/multiarch/strcpy.c: Likewise.
11877         * sysdeps/s390/multiarch/strcspn.c: Likewise.
11878         * sysdeps/s390/multiarch/strlen.c: Likewise.
11879         * sysdeps/s390/multiarch/strncmp.c: Likewise.
11880         * sysdeps/s390/multiarch/strncpy.c: Likewise.
11881         * sysdeps/s390/multiarch/strnlen.c: Likewise.
11882         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
11883         * sysdeps/s390/multiarch/strrchr.c: Likewise.
11884         * sysdeps/s390/multiarch/strspn.c: Likewise.
11885         * sysdeps/s390/multiarch/wcschr.c: Likewise.
11886         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
11887         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
11888         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
11889         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
11890         * sysdeps/s390/multiarch/wmemset.c: Likewise.
11891         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
11892         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
11893         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
11894         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
11895         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
11896         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
11898 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11900         * include/libc-symbols.h (__ifunc_resolver):
11901         New macro is used by __ifunc* macros.
11902         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
11903         depending on HAVE_GCC_IFUNC.
11904         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
11905         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
11906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
11907         Redirect ifunced function in header for using as type for ifunc function.
11908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
11909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
11910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
11911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
11912         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
11913         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
11914         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
11915         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
11916         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
11917         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
11918         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
11919         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
11920         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
11921         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
11922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
11923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
11924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
11925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
11926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
11927         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
11928         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
11929         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
11930         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
11931         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
11932         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
11933         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
11934         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
11935         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
11936         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
11937         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
11938         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
11939         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
11940         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
11941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
11942         Add libc_hidden_def() and use libc_ifunc_hidden() macro
11943         instead of libc_ifunc() macro.
11944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
11945         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
11947 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11949         * config.h.in (HAVE_GCC_IFUNC): New undef.
11950         * configure.ac: Add check if gcc supports attribute ifunc feature.
11951         * configure: Regenerated.
11952         * manual/install.texi: Add recommendation for gcc with
11953         indirect-function support.
11954         * INSTALL: Regenerated.
11956 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
11958         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
11959         macro.
11960         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11961         (__iseqsig): New declaration.
11962         * math/s_iseqsig_template.c: New file.
11963         * math/Versions (__iseqsigf): New libm symbol at version
11964         GLIBC_2.25.
11965         (__iseqsig): Likewise.
11966         (__iseqsigl): Likewise.
11967         * math/libm-test.inc (iseqsig_test_data): New array.
11968         (iseqsig_test): New function.
11969         (main): Call iseqsig_test.
11970         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
11971         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
11972         * manual/libm-err-tab.pl: Update comment on interfaces without
11973         ulps tabulated.
11974         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
11975         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
11976         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
11977         * sysdeps/nacl/libm.abilist: Update.
11978         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11979         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11980         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11981         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11982         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11983         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11984         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11985         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11986         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11987         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11988         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11989         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11991         Likewise.
11992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11993         Likewise.
11994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11995         Likewise.
11996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11997         Likewise.
11998         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11999         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12000         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12001         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12002         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12003         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12004         Likewise.
12005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12006         Likewise.
12007         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12008         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12009         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12011 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12013         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
12014         do_sincos_2, sloww, sloww1): Update comments.
12016         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
12017         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
12019         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
12020         K boolean and rename it.
12021         (__sin): Adjust.
12022         (__cos): Adjust.
12024 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
12025             Siddhesh Poyarekar  <siddhesh@sourceware.org>
12027         * manual/nss.texi: Fix typos in the manual.
12029 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
12031         * manual/contrib.texi: Fix typos in the manual.
12033         * manual/maint.texi: Fix typos in the manual.
12035         * manual/install.texi: Fix typos in the manual.
12036         * INSTALL: Regenerated.
12038         * manual/lang.texi: Fix typos in the manual.
12040         * manual/probes.texi: Fix typos in the manual.
12042         * manual/threads.texi: Fix typos in the manual.
12044         * manual/debug.texi: Fix typos in the manual.
12046         * manual/crypt.texi: Fix typos in the manual.
12048         * manual/conf.texi: Fix typos in the manual.
12050         * manual/sysinfo.texi: Fix typos in the manual.
12052         * manual/users.texi: Fix typos in the manual.
12054         * manual/job.texi: Fix typos in the manual.
12056         * manual/process.texi: Fix typos in the manual.
12058         * manual/argp.texi: Fix typos in the manual.
12059         * manual/getopt.texi: Likewise.
12060         * manual/startup.texi: Likewise.
12062         * manual/signal.texi: Fix typos in the manual.
12064         * manual/setjmp.texi: Fix typos in the manual.
12066         * manual/resource.texi: Fix typos in the manual.
12068         * manual/time.texi: Fix typos in the manual.
12070         * manual/arith.texi: Fix typos in the manual.
12072         * manual/math.texi: Fix typos in the manual.
12074         * manual/syslog.texi: Fix typos in the manual.
12076         * manual/terminal.texi: Fix typos in the manual.
12078         * manual/socket.texi: Fix typos in the manual.
12080         * manual/filesys.texi: Fix typos in the manual.
12082         * manual/llio.texi: Fix typos in the manual.
12084         * manual/stdio.text: Fix typos in the manual.
12086 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12088         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
12089         instead of K1.
12091         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
12092         SHIFT_QUADRANT and make it bool.
12093         (do_sincos_2): Likewise.
12094         (sloww): Likewise.
12095         (sloww1): Likewise.
12096         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
12097         (__cos): Likewise.
12099 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12101         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
12103 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
12105         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
12106         Define to __WORDSIZE, not conditional on [LONG_MAX ==
12107         0x7fffffffL].
12108         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
12110 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12112         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
12113         inline by __inline__.
12114         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
12115         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
12116         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
12117         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
12118         sigset_t from signal.h.
12119         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
12120         which is already required.
12122 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
12124         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12126 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
12128         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
12129         (struct tcp_repair_window): New type.
12131 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12133         * libio/tst-memstream3.c: Include string.h.
12135 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12137         [BZ #18241]
12138         [BZ #20181]
12139         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
12140         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
12141         write position is at the end the buffer.
12142         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
12143         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
12144         (_IO_str_seekoff): Set correct offset from negative displacement and
12145         set EINVAL for invalid ones.
12146         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
12147         buffer length.
12148         (_IO_wstr_switch_to_get_mode): New function.
12149         (_IO_wstr_seekoff): Set correct offset from negative displacement and
12150         set EINVAL for invalid ones.
12151         * libio/tst-memstream3.c: New file.
12152         * libio/tst-wmemstream3.c: Likewise.
12153         * manual/examples/memstrm.c: Remove warning when priting size_t.
12155 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
12157         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
12158         macro to use __builtin_fma.
12159         * sysdeps/x86_64/fpu/dla.h: Remove file.
12161         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
12162         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
12163         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
12165 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
12167         [BZ #20292]
12168         * elf/Makefile (routines): Add dl-addr-obj.
12169         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
12170         tst-_dl_addr_inside_object.
12171         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
12172         [ifeq (yesyes,$(have-fpie)$(build-shared))]
12173         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
12174         [ifeq (yesyes,$(have-fpie)$(build-shared))]
12175         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
12176         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
12177         * elf/dl-open.c: Likewise.
12178         * elf/dl-addr-obj.c: New file.
12179         * elf/tst-_dl_addr_inside_object.c: New file.
12181 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
12183         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
12184         <bits/iscanonical.h>.
12185         * bits/iscanonical.h: New file.
12186         * math/s_iscanonicall.c: Likewise.
12187         * math/Versions (__iscanonicall): New libm symbol at version
12188         GLIBC_2.25.
12189         * math/libm-test.inc (iscanonical_test_data): New array.
12190         (iscanonical_test): New function.
12191         (main): Call iscanonical_test.
12192         * math/Makefile (headers): Add bits/iscanonical.h.
12193         (type-ldouble-routines): Add s_iscanonicall.
12194         * manual/arith.texi (Floating Point Classes): Document
12195         iscanonical.
12196         * manual/libm-err-tab.pl: Update comment on interfaces without
12197         ulps tabulated.
12198         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
12199         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
12200         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
12201         Likewise.
12202         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
12203         test-iscanonical-ldbl-128ibm.
12204         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
12205         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
12206         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
12207         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
12208         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
12209         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12210         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12212         Likewise.
12213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12214         Likewise.
12215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12216         Likewise.
12217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12218         Likewise.
12219         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12220         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12222 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12224         * string/bits/string3.h: Remove C++ style comments.
12226 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12228         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
12229         instead of ternary condition.
12230         (do_sincos_2): Likewise.
12231         (__sin): Likewise.
12232         (__cos): Likewise.
12233         (slow): Likewise.
12234         (sloww): Likewise.
12235         (sloww1): Likewise.
12236         (bsloww): Likewise.
12237         (bsloww1): Likewise.
12239         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
12240         instead of ternary condition.
12241         (do_sin_slow): Likewise.
12242         (do_sincos_1): Likewise.
12243         (do_sincos_2): Likewise.
12244         (__cos): Likewise.
12245         (sloww): Likewise.
12246         (sloww1): Likewise.
12247         (sloww2): Likewise.
12248         (bsloww): Likewise.
12249         (bsloww1): Likewise.
12250         (bsloww2): Likewise.
12252         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
12253         check from here...
12254         (slow2): ... and here...
12255         (__sin): ... to here.
12257 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
12259         * math/math.h
12260         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
12261         Cast argument to its own type.
12262         * math/test-iszero-excess-precision.c: New file.
12263         * math/Makefile (tests): Add test-iszero-excess-precision.
12264         (CFLAGS-test-iszero-excess-precision.c): New variable.
12266 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
12268         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
12269         field, add err field.
12270         (__spawni_child): Report error through err member instead of pipe.
12271         (__spawnix): Likewise.
12273 2016-09-28  Zack Weinberg  <zackw@panix.com>
12275         * scripts/check-installed-headers.sh: Generalize treatment of
12276         sys/elf.h to all target architectures.
12278         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
12279         deleted typedef ucontext_t.
12281 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12283         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
12284         (__INTERNAL_SYSCALL1): Likewise.
12285         (__INTERNAL_SYSCALL2): Likewise.
12286         (__INTERNAL_SYSCALL3): Likewise.
12287         (__INTERNAL_SYSCALL4): Likewise.
12288         (__INTERNAL_SYSCALL5): Likewise.
12289         (__INTERNAL_SYSCALL6): Likewise.
12290         (__INTERNAL_SYSCALL7): Likewise.
12291         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
12292         (__INTERNAL_SYSCALL_NARGS): Likewise.
12293         (__INTERNAL_SYSCALL_DISP): Likewise.
12294         (INTERNAL_SYSCALL_CALL): Likewise.
12295         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
12296         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
12297         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
12298         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
12299         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
12300         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
12301         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
12302         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
12303         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
12304         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
12305         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
12306         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
12307         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
12309 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
12311         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
12312         macro.
12313         * math/libm-test.inc (iszero_test_data): New array.
12314         (iszero_test): New function.
12315         (main): Call iszero_test.
12316         * manual/arith.texi (Floating Point Classes): Document iszero.
12317         * manual/libm-err-tab.pl: Update comment on interfaces without
12318         ulps tabulated.
12320 2016-09-23  Zack Weinberg  <zackw@panix.com>
12322         * scripts/check-installed-headers.sh: New script.
12323         * Rules: In each directory that defines header files to be installed,
12324         run check-installed-headers.sh on them as a special test.
12325         * Makefile: Likewise for the headers installed at top level.
12327         * include/aliases.h, include/alloca.h, include/argz.h
12328         * include/arpa/nameser.h, include/arpa/nameser_compat.h
12329         * include/elf.h, include/envz.h, include/err.h
12330         * include/execinfo.h, include/fpu_control.h, include/getopt.h
12331         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
12332         * include/link.h, include/malloc.h, include/mcheck.h
12333         * include/mntent.h, include/netinet/ether.h
12334         * include/nss.h, include/obstack.h, include/printf.h
12335         * include/pty.h, include/resolv.h, include/rpc/auth.h
12336         * include/rpc/auth_des.h, include/rpc/auth_unix.h
12337         * include/rpc/clnt.h, include/rpc/des_crypt.h
12338         * include/rpc/key_prot.h, include/rpc/netdb.h
12339         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
12340         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
12341         * include/rpc/rpc_msg.h, include/rpc/svc.h
12342         * include/rpc/svc_auth.h, include/rpc/xdr.h
12343         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
12344         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
12345         * include/rpcsvc/ypupd.h, include/shadow.h
12346         * include/stdio_ext.h, include/sys/epoll.h
12347         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
12348         * include/sys/prctl.h, include/sys/profil.h
12349         * include/sys/statfs.h, include/sys/sysctl.h
12350         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
12351         * sysdeps/arm/nacl/include/bits/setjmp.h
12352         * sysdeps/mips/include/sys/asm.h
12353         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
12354         * sysdeps/unix/sysv/linux/include/sys/timex.h
12355         * sysdeps/x86/fpu/include/bits/fenv.h:
12356         Add #ifndef _ISOMAC guard around internal declarations.
12357         Add multiple-inclusion guard if not already present.
12359 2016-09-23  Zack Weinberg  <zackw@panix.com>
12361         * sysdeps/generic/sys/ucontext.h
12362         * sysdeps/arm/sys/ucontext.h
12363         * sysdeps/i386/sys/ucontext.h
12364         * sysdeps/m68k/sys/ucontext.h
12365         * sysdeps/mips/sys/ucontext.h
12366         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
12367         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
12368         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
12369         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
12370         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
12371         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
12372         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
12373         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
12374         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
12375         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
12376         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
12377         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
12378         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
12379         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
12380         Include both bits/sigcontext.h and bits/sigstack.h.
12381         Fix grammar error in comment, if present.
12383         * bits/sigstack.h
12384         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
12385         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
12386         * sysdeps/unix/sysv/linux/bits/sigstack.h
12387         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
12388         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
12389         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
12390         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
12391         * bits/sigcontext.h
12392         * sysdeps/mach/hurd/i386/bits/sigcontext.h
12393         * sysdeps/unix/sysv/linux/bits/sigcontext.h
12394         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
12395         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
12396         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
12397         as well as signal.h, if this was not already allowed.  Request
12398         definition of size_t if necessary.  Minimize semantically-null
12399         differences across files.
12401 2016-09-23  Zack Weinberg  <zackw@panix.com>
12403         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
12404         Remove all logic conditional on __need macros.  Move all the
12405         conditionally defined types to their own headers...
12406         * time/bits/types/clock_t.h: Define clock_t here.
12407         * time/bits/types/clockid_t.h: Define clockid_t here.
12408         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
12409         * time/bits/types/struct_timespec.h: Define struct timespec here.
12410         * time/bits/types/struct_timeval.h: Define struct timeval here.
12411         * time/bits/types/struct_tm.h: Define struct tm here.
12412         * time/bits/types/time_t.h: Define time_t here.
12413         * time/bits/types/timer_t.h: Define timer_t here.
12414         * time/Makefile: Install the new headers.
12416         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
12417         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
12418         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
12419         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
12420         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
12421         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
12422         * sysdeps/unix/sysv/linux/bits/resource.h
12423         * sysdeps/unix/sysv/linux/bits/timex.h
12424         * sysdeps/unix/sysv/linux/mips/bits/resource.h
12425         * sysdeps/unix/sysv/linux/net/ppp_defs.h
12426         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
12427         * sysdeps/unix/sysv/linux/sys/acct.h
12428         * sysdeps/unix/sysv/linux/sys/timerfd.h
12429         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
12430         * time/sys/time.h, time/sys/timeb.h
12431         Use the new bits/types headers.
12433         * include/time.h: Remove __need logic.
12434         * include/bits/time.h
12435         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
12436         * include/bits/types/time_t.h, include/bits/types/timer_t.h
12437         * include/bits/types/struct_itimerspec.h
12438         * include/bits/types/struct_timespec.h
12439         * include/bits/types/struct_timeval.h
12440         * include/bits/types/struct_tm.h:
12441         New wrapper headers.
12443 2016-09-23  Zack Weinberg  <zackw@panix.com>
12445         * sysdeps/mach/hurd/net/if_ppp.h
12446         * sysdeps/unix/sysv/linux/net/if_ppp.h:
12447         Only define struct ifpppstatsreq and struct ifpppcstatsreq
12448         if __USE_MISC is defined, to ensure struct ifreq is declared.
12450         * inet/netinet/ether.h: Condition all function prototypes
12451         on __USE_MISC, to ensure struct ether_addr is declared.
12453         * socket/bits/types/struct_osockaddr.h: New header.
12454         * include/bits/types/struct_osockaddr.h: New wrapper.
12455         * socket/Makefile: Install the new header.
12456         * socket/sys/socket.h, inet/protocols/talkd.h:
12457         Refer to bits/types/struct_osockaddr.h for the definition of
12458         struct osockaddr.
12460 2016-09-23  Zack Weinberg  <zackw@panix.com>
12462         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
12463         * inet/protocols/routed.h, inet/protocols/talkd.h
12464         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
12465         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
12466         * sysdeps/generic/netinet/if_ether.h
12467         * sysdeps/generic/netinet/in_systm.h
12468         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
12469         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
12470         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
12471         * sysdeps/mach/hurd/net/if_arp.h
12472         * sysdeps/mach/hurd/net/if_ppp.h
12473         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
12474         * sysdeps/unix/sysv/linux/bits/in.h
12475         * sysdeps/unix/sysv/linux/net/ethernet.h
12476         * sysdeps/unix/sysv/linux/net/if_arp.h
12477         * sysdeps/unix/sysv/linux/net/if_ppp.h
12478         * sysdeps/unix/sysv/linux/net/if_shaper.h
12479         * sysdeps/unix/sysv/linux/net/route.h
12480         * sysdeps/unix/sysv/linux/netinet/if_ether.h
12481         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
12482         * sysdeps/unix/sysv/linux/netinet/if_tr.h
12483         * sysdeps/unix/sysv/linux/netipx/ipx.h
12484         * sysdeps/unix/sysv/linux/sys/acct.h
12485         * include/arpa/nameser.h, include/resolv.h:
12486         Change all uses of u_char to unsigned char,
12487         u_short and ushort to unsigned short, u_int and uint to unsigned int,
12488         u_long and ulong to unsigned long, u_int8_t to uint8_t,
12489         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
12490         and u_int64_t and u_quad_t to uint64_t.
12492         * mach/sys/reboot.h: Remove two casts of integer literals
12493         to the types they already have.
12495         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
12496         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
12497         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
12498         from referring to 'unsigned char' to 'uint8_t' for consistency with
12499         the macro definition below.
12501         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
12502         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
12503         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
12504         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
12505         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
12506         * sysdeps/unix/sysv/linux/sys/acct.h
12507         * include/arpa/nameser.h, include/resolv.h:
12508         Fix indentation disrupted by mechanical edits.
12510         * inet/protocols/talkd.h, resolv/arpa/nameser.h
12511         * sysdeps/generic/netinet/in_systm.h
12512         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
12513         * sysdeps/gnu/netinet/udp.h
12514         * sysdeps/unix/sysv/linux/net/ethernet.h
12515         * sysdeps/unix/sysv/linux/net/if_arp.h
12516         * sysdeps/unix/sysv/linux/net/if_ppp.h
12517         * sysdeps/unix/sysv/linux/net/if_shaper.h
12518         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
12519         * sysdeps/unix/sysv/linux/netinet/if_tr.h
12520         * sysdeps/unix/sysv/linux/netipx/ipx.h
12521         * sysdeps/unix/sysv/linux/sys/acct.h
12522         Include stdint.h for uintNN_t definitions.
12523         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
12525 2016-09-23  Zack Weinberg  <zackw@panix.com>
12527         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
12528         * sysdeps/unix/sysv/linux/netrose/rose.h:
12529         Include sys/socket.h and netax25/ax25.h.
12531         * inet/netinet/icmp6.h, inet/netinet/ip6.h
12532         * resolv/arpa/nameser_compat.h:
12533         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
12535         * sysdeps/unix/sysv/linux/sys/quota.h:
12536         Use __caddr_t instead of caddr_t.
12537         * sysdeps/unix/sysv/linux/sys/timerfd.h:
12538         Use __clockid_t instead of clockid_t.
12540         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
12542         * argp/argp.h: Check whether _LIBC is defined before expanding it.
12543         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
12544         expanding it.
12546         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
12547         Define __glibc_c99_flexarr_available to 1 when the compiler
12548         supports C99-compatible flexible array members, 0 otherwise.
12549         * sysdeps/unix/sysv/linux/bits/socket.h
12550         * sysdeps/mach/hurd/bits/socket.h
12551         * bits/socket.h: Use __glibc_c99_flexarr_available in
12552         definitions of struct cmsghdr and CMSG_DATA.
12554 2016-09-23  Florian Weimer  <fweimer@redhat.com>
12556         * manual/nss.texi (NSS Modules Interface): Adjust function return
12557         type to enum nss_status.  Document errnop argument.  Clarify
12558         h_errnop semantics.  Fix cross-reference formatting.
12559         (NSS Module Function Internals): Mention that *errnop needs to be
12560         set on failure, but not to zero.
12562 2016-09-23  Florian Weimer  <fweimer@redhat.com>
12564         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
12565         (get_random_name): New functions.
12566         (check_wrapper_flags_mode): Use linkat to give the new file a name
12567         determined by get_random_name.
12568         (do_test): Add calls to test open64 and openat64.
12570 2016-09-23  Florian Weimer  <fweimer@redhat.com>
12572         * test-skeleton.c: Remove #include <stdarg.h>.
12574 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
12576         [BZ #19826]
12577         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
12578         initialization of static TLS entries.
12579         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
12580         * nptl/allocatestack.c (init_one_static_tls): Likewise.
12582 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12584         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
12585         _hurd_malloc_fork_prepare.
12586         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
12587         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
12588         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
12589         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
12590         (_hurd_fork_child_hook): Drop malloc_fork_child.
12591         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
12592         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
12593         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
12594         after locking locks (notably hurd_dtable_lock). Call
12595         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
12596         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
12597         __malloc_fork_unlock_child.
12598         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
12600 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
12602         * soft-fp/extendhftf2.c: New.
12603         * soft-fp/fixhfti.c: Likewise.
12604         * soft-fp/fixunshfti.c: Likewise.
12605         * soft-fp/floattihf.c: Likewise.
12606         * soft-fp/floatuntihf.c: Likewise.
12607         * soft-fp/half.h: Likewise.
12608         * soft-fp/trunctfhf2.c: Likewise.
12610 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
12612         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
12613         macro.
12614         * math/libm-test.inc (issubnormal_test_data): New array.
12615         (issubnormal_test): New function.
12616         * manual/arith.texi (Floating Point Classes): Document
12617         issubnormal.
12618         * manual/libm-err-tab.pl: Update comment on interfaces without
12619         ulps tabulated.
12621         * sysdeps/generic/stdint.h: Define
12622         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12623         <bits/libc-header-start.h> instead of including <features.h>.
12624         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
12625         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
12626         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
12627         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
12628         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
12629         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
12630         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
12631         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
12632         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
12633         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
12634         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
12635         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
12636         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
12637         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
12638         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
12639         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
12640         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
12641         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
12642         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
12643         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
12644         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
12645         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
12646         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
12647         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
12648         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
12649         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
12650         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
12651         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
12652         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
12653         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
12654         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
12655         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
12656         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
12657         * manual/arith.texi (Integers): Document these macros for types
12658         specified by width properties.
12659         * manual/lang.texi (Width of Type): Document these macros for
12660         other standard typedefs.
12661         * stdlib/tst-width-stdint.c: New file.
12662         * stdlib/Makefile (tests): Add tst-width-stdint.
12664 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12666         [BZ #20016]
12667         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
12668         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
12669         Move ...
12670         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
12671         ... here, as compatibility symbols in a new file.
12672         * resolv/Makefile (libresolv-routines): Add compat-hooks.
12673         * resolv/res_init.c (__res_vinit): Adjust member names.
12674         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
12675         * resolv/resolv.h (res_sendhookact, res_send_qhook)
12676         (res_send_rhook): Remove.
12677         (struct __res_state): Rename qhook, rhook members.
12679 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12681         malloc: Use __libc_lock wrappers.
12682         * malloc/arena.c (list_lock, free_list_lock): Define using
12683         __libc_lock_define_initialized.
12684         (arena_lock): Adjust formatting.
12685         * malloc/malloc.c (struct malloc_state): Define mutex using
12686         __libc_lock_define.
12687         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
12688         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
12689         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
12690         (mutex_unlock, mutex_trylock): Remove.
12691         (__pthread_initialize): Remove unused macro.
12692         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
12693         (mutex_unlock, mutex_trylock): Remove.
12695 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12697         [BZ #20592]
12698         Remove RR type classification macros.
12699         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
12700         (ns_t_udp_p, ns_t_xfr_p): Remove.
12702 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12704         Remove misleading version information.
12705         * resolv/arpa/nameser.h (__NAMESER): Remove.
12706         * resolv/arpa/nameser_compat.h (__BIND): Remove.
12708 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12710         Remove the always-defined BIND_4_COMPAT macro.
12711         * resolv/arpa/nameser.h: Unconditionally include
12712         <arpa/nameser_compat.h>.
12713         (BIND_4_COMPAT): Remove.
12714         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
12716 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12718         [BZ #20591]
12719         Remove obsolete DNSSEC support.
12720         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
12721         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
12722         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
12723         (ns_verify_tcp, ns_verify_tcp_init): Remove.
12724         (ns_cert_types): Add comment.
12725         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
12726         separately.
12727         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
12728         (dst_s_dns_key_id): Remove.
12729         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
12730         variables.
12732 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12734         [BZ #20524]
12735         * manual/string.texi (String/Array Comparison): Clarify the
12736         strverscmp behavior.
12738 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12740         * test-skeleton.c (xasprintf): Add function.
12741         * io/tst-open-tmpfile.c: New test.
12742         * io/Makefile (tests): Add it.
12744 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12746         Avoid running $(CXX) during build to obtain header file paths.
12747         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
12748         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
12749         * Makerules (cstdlib, cmath): Remove variables.  Use
12750         $(c++-cstdlib-header), $(c++-cmath-header) instead.
12751         * configure: Regenerate.
12753 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12755         * Makeconfig (all-object-suffixes): Include .op only if
12756         $(build-profile).
12758 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12760         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
12761         conditionals.  Do not define PATH_MAX.
12763 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12765         * posix/Makefile (tests): Add tst-spawn3.
12766         * posix/tst-spawn3.c: New file.
12767         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
12768         if it is already opened for open action.
12770         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
12771         all signals when executing the clone vfork child.
12772         (SIGALL_SET): Remove macro.
12774         * nptl/Makefile (tests): Add tst-exec5.
12775         * nptl/tst-exec5.c: New file.
12776         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
12777         asynchronous cancellation.
12779 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12781         * hurd/exc2signal.c: #include <hurd/signal.h>
12782         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
12783         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
12784         accordingly.
12785         * mach/mach_error.c (mach_error): Fix old-style function definition.
12786         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
12788 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12790         * math/Makefile (libm-calls): Remove s_nanF.
12791         (gen-libm-calls): Add s_nanF.
12793         * math/s_nan.c: Refactor into ...
12794         * math/s_nan_template.c: New file.
12796         * math/s_nanf.c: Removed.
12797         * math/s_nanl.c: Removed.
12798         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
12799         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
12801         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
12802         (LDOUBLE_nanl_libm_version): New macro.
12804         * sysdeps/generic/math-type-macros-double.h:
12805         (M_STRTO_NAN): New macro.
12806         * sysdeps/generic/math-type-macros-float.h: Likewise.
12807         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
12809         * sysdeps/generic/math-type-macros.h: Document
12810         M_STRTO_NAN.
12812 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12814         * math/s_nanf.c: Remove __nanf undef.
12815         * math/s_nan.c: Remove __nan undef.
12816         * math/s_nanl.c: Remove __nanl undef.
12818         * sysdeps/generic/math_private.h (__nan): Remove macro
12819         override.
12820         (__nanf): Likewise.
12821         (__nanl): Likewise.
12823 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12825         * math/Makefile (gen-all-calls): New variable.
12826         (generated): Replace gen-libm-calls with gen-all-calls.
12827         (gen-libm-templates.stmp): Likewise.  Also, ensure
12828         the output directory exists or is created and add
12829         dependency on the Makefile.
12830         (calls): Move s_ldexpF into gen-calls.
12831         (gen-calls): New variable.
12833         * math/s_ldexpf.c: Removed.
12834         * math/s_ldexpl.c: Removed.
12835         * math/s_ldexp.c: Refactored into ...
12836         * math/s_ldexp_template.c: New file.
12838         * sysdeps/generic/math-type-macros-double.h: Remove
12839         redundant fall-through definition of declare_mgen_alias.
12840         (declare_mgen_alias_2): New macro.
12842         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
12843         New macro for function aliased to two exported symbols.
12845         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
12846         new template file.
12847         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
12849 2016-09-20  Florian Weimer  <fweimer@redhat.com>
12851         * Makeconfig (all-object-suffixes): Remove .og.
12852         * Makerules (elide-routines.og): Remove.
12853         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
12854         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
12855         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
12857 2016-09-20  Florian Weimer  <fweimer@redhat.com>
12859         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
12860         .os objects.
12862 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12864         [BZ #20615]
12865         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
12866         fpu directory by non-fpu.
12867         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
12868         on non-fpu directory from a fpu directory.
12870 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
12872         * include/limits.h: Define
12873         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12874         <bits/libc-header-start.h> instead of including <features.h>.
12875         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
12876         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
12877         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
12878         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
12879         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
12880         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
12881         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
12882         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
12883         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
12884         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
12885         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
12886         * manual/lang.texi (Width of Type): Document these macros.
12887         * stdlib/tst-width.c: New file.
12888         * stdlib/Makefile (tests): Add tst-width.
12890 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12892         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
12893         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
12895 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12897         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
12898         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
12899         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
12901 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12903         [BZ #18243]
12904         * rt/Makefile (test): Add tst-shm-cancel.
12905         * rt/tst-shm-cancel.c: New file.
12906         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
12908         [BZ #18243]
12909         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
12910         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
12911         definition.
12912         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
12913         uncontended case.
12914         * nptl/sem_wait.c (__new_sem_wait): Likewise.
12915         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
12916         (tf): Fix check for uncontended case.
12917         (do_test): Likewise.
12918         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
12919         (tf): Fix check for uncontended case.
12920         (do_test): Likewise.
12921         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
12922         (tf): Fix check for uncontended case.
12923         (do_test): Likewise.
12924         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
12925         (tf): Fix check for uncontended case.
12926         (do_test): Likewise.
12928         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
12929         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
12931         [BZ #15765]
12932         * nptl/Makefile (tests): Add tst-sem16.
12933         * nptl/tst-sem16.c: New file.
12934         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
12936         * nptl/sem_open.c (sem_open): Init pad value to 0.
12937         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
12938         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
12940 2016-09-15  Florian Weimer  <fweimer@redhat.com>
12942         [BZ #20611]
12943         * inet/Makefile (routines): Add inet6_scopeid_pton.
12944         (tests): Add tst-inet6_scopeid_pton.
12945         * inet/inet6_scopeid_pton.c: New file.
12946         * inet/net-internal.h: Likewise.
12947         * inet/tst-inet6_scopeid_pton.c: New test.
12948         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
12949         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
12950         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12952 2016-09-14  Florian Weimer  <fweimer@redhat.com>
12954         Remove support for compiling wrappers with PTW.
12955         * sysdeps/nptl/Makeconfig: Drop ptw- support.
12956         * nptl/Makefile (pthread-compat-wrappers): Define.
12957         (libpthread-routines): Use pthread-compat-wrappers.
12958         * sysdeps/unix/sysv/linux/alpha/Makefile
12959         (libpthread-routines, libpthread-shared-only-routines): Remove
12960         ptw- prefix.
12961         * sysdeps/s390/nptl/Makefile
12962         (libpthread-routines, libpthread-shared-only-routines): Likewise.
12963         * sysdeps/ia64/nptl/Makefile
12964         (libpthread-routines, libpthread-shared-only-routines): Likewise.
12965         * sysdeps/nacl/Makefile (libpthread-routines): Use
12966         pthread-compat-wrappers to filter the routines list instead of the
12967         ptw- prefix.
12969 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12971         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
12972         with L() and remove explicit suffix, convert real literals
12973         which can be equivalentally substituted with integers, and
12974         transform -L(x) to L(-x).
12976         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12977         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12978         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12979         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12980         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12981         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12982         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12983         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12984         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12985         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12986         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12987         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12988         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12989         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12990         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12991         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12992         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12993         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12994         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12995         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12996         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
12997         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12998         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12999         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13000         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13001         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13002         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13003         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13004         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13005         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13006         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13007         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13008         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13009         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13010         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13011         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13012         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13013         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13014         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13015         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13016         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13017         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13018         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13019         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13020         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13021         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13022         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13023         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
13024         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13025         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13027 2016-09-13  Florian Weimer  <fweimer@redhat.com>
13029         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
13031 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13033         * malloc/Makefile (tests): Remove individual static test names
13034         and just add all of tests-static.
13036         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
13038 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
13040         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
13041         file.
13043         * sysdeps/sparc/fpu/fegetmode.c: New file.
13044         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
13046         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
13047         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
13049         * sysdeps/s390/fpu/fegetmode.c: New file.
13050         * sysdeps/s390/fpu/fesetmode.c: Likewise.
13052         * sysdeps/powerpc/fpu/fegetmode.c: New file.
13053         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
13054         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
13055         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
13056         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
13057         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
13059         * sysdeps/mips/fpu/fegetmode.c: New file.
13060         * sysdeps/mips/fpu/fesetmode.c: Likewise.
13062         * sysdeps/m68k/fpu/fegetmode.c: New file.
13063         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
13065         * sysdeps/ia64/fpu/fegetmode.c: New file.
13066         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
13068         * sysdeps/hppa/fpu/fegetmode.c: New file.
13069         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
13071         * sysdeps/arm/fegetmode.c: New file.
13072         * sysdeps/arm/fesetmode.c: Likewise.
13074         * sysdeps/alpha/fpu/fegetmode.c: New file.
13075         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
13077         * sysdeps/aarch64/fpu/fegetmode.c: New file.
13078         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
13080         * math/fegetmode.c: New file.
13081         * math/fesetmode.c: Likewise.
13082         * sysdeps/i386/fpu/fegetmode.c: Likewise.
13083         * sysdeps/i386/fpu/fesetmode.c: Likewise.
13084         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
13085         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
13086         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
13087         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
13088         declaration.
13089         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
13090         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
13091         typedef.
13092         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13093         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13094         (femode_t): New typedef.
13095         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13096         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13097         (femode_t): New typedef.
13098         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13099         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13100         (femode_t): New typedef.
13101         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13102         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13103         (femode_t): New typedef.
13104         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13105         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13106         (femode_t): New typedef.
13107         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13108         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13109         (femode_t): New typedef.
13110         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13111         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13112         (femode_t): New typedef.
13113         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13114         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13115         (femode_t): New typedef.
13116         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13117         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13118         (femode_t): New typedef.
13119         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13120         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13121         (femode_t): New typedef.
13122         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
13123         declaration.
13124         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13125         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13126         (femode_t): New typedef.
13127         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13128         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13129         (femode_t): New typedef.
13130         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13131         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13132         (femode_t): New typedef.
13133         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13134         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13135         (femode_t): New typedef.
13136         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13137         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13138         (femode_t): New typedef.
13139         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13140         * manual/arith.texi (FE_DFL_MODE): Document macro.
13141         (fegetmode): Document function.
13142         (fesetmode): Likewise.
13143         * math/Versions (fegetmode): New libm symbol at version
13144         GLIBC_2.25.
13145         (fesetmode): Likewise.
13146         * math/Makefile (libm-support): Add fegetmode and fesetmode.
13147         (tests): Add test-femode and test-femode-traps.
13148         * math/test-femode-traps.c: New file.
13149         * math/test-femode.c: Likewise.
13150         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
13151         alias for __fe_dfl_env.
13152         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
13153         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
13154         (__fe_dfl_mode): Likewise.
13155         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
13156         version GLIBC_2.25.
13157         * sysdeps/nacl/libm.abilist: Update.
13158         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13159         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13160         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13161         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13162         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13163         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13164         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13165         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13166         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13167         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13168         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13169         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13171         Likewise.
13172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13173         Likewise.
13174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13175         Likewise.
13176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13177         Likewise.
13178         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13179         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13180         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13181         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13182         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13183         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13184         Likewise.
13185         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13186         Likewise.
13187         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13188         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13189         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13191 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
13193         [BZ #20495]
13194         [BZ #20508]
13195         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
13196         processors, set Use_dl_runtime_resolve_slow and set
13197         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
13198         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
13199         New.
13200         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
13201         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
13202         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
13203         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
13204         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
13205         if Use_dl_runtime_resolve_opt is set.  Use
13206         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
13207         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
13208         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
13209         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
13210         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
13211         New.
13212         (_dl_runtime_resolve_opt): Likewise.
13213         (_dl_runtime_profile): Define only if _dl_runtime_profile is
13214         defined.
13216 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
13218         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
13219         __libc_memalign with "+ RELA R_390_GLOB_DAT".
13221 2016-09-06  Florian Weimer  <fweimer@redhat.com>
13223         Convert malloc to __libc_lock.  Automated part, using this Perl
13224         s/// command:
13225           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
13226             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
13227         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
13228         conversion.
13230 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
13232         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
13233         (linknamespace-symlists-tests): Likewise.
13234         (linknamespace-header-tests): Likewise.
13236 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
13238         [BZ #19810]
13239         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
13240         * elf/tst-noload.c: New test case.
13241         * elf/Makefile (tests): Add tst-noload.
13243 2016-09-02  Roland McGrath  <roland@hack.frob.com>
13245         * sysdeps/nacl/dup.c: Add libc_hidden_def.
13247         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
13248         not any more.
13250         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
13252 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13254         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
13255         (do_cos_slow): Likewise.
13256         (do_sin): Likewise.
13257         (do_sin_slow): Likewise.
13258         (slow): Likewise.
13259         (slow1): Likewise.
13260         (slow2): Likewise.
13261         (sloww): Likewise.
13262         (sloww1): Likewise.
13263         (sloww2): Likewise.
13264         (bsloww): Likewise.
13265         (bsloww1): Likewise.
13266         (bsloww2): Likewise.
13267         (cslow2): Likewise.
13269         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
13271         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
13272         arguments.  Consolidate input partitioning from callers here.
13273         (do_cos_slow): Likewise.
13274         (do_sin): Likewise.
13275         (do_sin_slow): Likewise.
13276         (do_sincos_1): Remove the no longer necessary input partitioning.
13277         (do_sincos_2): Likewise.
13278         (__sin): Likewise.
13279         (__cos): Likewise.
13280         (slow1): Likewise.
13281         (slow2): Likewise.
13282         (sloww1): Likewise.
13283         (sloww2): Likewise.
13284         (bsloww1): Likewise.
13285         (bsloww2): Likewise.
13286         (cslow2): Likewise.
13288 2016-09-02  Florian Weimer  <fweimer@redhat.com>
13290         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
13291         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
13292         outside of allocated array.
13294 2016-09-02  Florian Weimer  <fweimer@redhat.com>
13296         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
13297         instead of MB_CUR_MAX to avoid variable-length array.
13299 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13301         * math/Makefile (libm-calls): Remove k_rem_pio2F.
13302         (type-double-routines): Add k_rem_pio2.
13303         (type-float-routines): Add k_rem_pio2f.
13305         * sysdeps/generic/math_private.h:
13306         (__kernel_rem_pio2l): Removed.
13308         * math/k_rem_pio2l.c: Removed.
13309         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
13310         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
13311         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
13312         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
13314 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13316         * math/Makefile (gen-libm-calls): Add s_fmin
13317         (libm-calls): Remove above.
13319         * math/s_fmin.c: Refactor into ...
13320         * math/s_fmin_template.c: New file.
13322         * math/s_fminf.c: Removed.
13323         * math/s_fminl.c: Removed.
13324         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
13325         (LDOUBLE_fmin_libm_version): New macro.
13327         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
13328         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
13330 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13332         * math/Makefile: (gen-libm-calls): Add s_fmax.
13333         (libm-calls): Remove above.
13335         * math/s_fmax.c: Refactor into ...
13336         * math/s_fmax_template.c: New file.
13337         * math/s_fmaxf.c: Removed.
13338         * math/s_fmaxl.c: Removed.
13340         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
13341         (LDOUBLE_fmaxl_libm_version): New macro.
13343         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
13344         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
13346         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
13347         s_fmin.c to pick the aarch64 version of the file.
13348         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
13349         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
13351 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13353         * math/Makefile: (gen-libm-calls): Add s_nextdown.
13354         (libm-calls): Remove above.
13356         * math/s_nextdown.c: Refactor into ...
13357         * math/s_nextdown_template.c: New file.
13358         * math/s_nextdownf.c: Removed.
13359         * math/s_nextdownl.c: Removed.
13361         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
13363 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13365         * math/Makefile (gen-libm-calls): Add s_fdim.
13366         (libm-calls): Move to above.
13368         * math/s_fdim.c: Renamed and refactored into to ...
13369         * math/s_fdim_template.c: New file.
13370         * math/s_fdiml.c: Removed.
13371         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
13372         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
13374         * sysdeps/generic/math-type-macros-double.h:
13375         (declare_mgen_alias): Don't declare if already declared.
13376         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
13377         Likewise.
13379         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
13380         (declare_mgen_alias): Don't declare if already declared.
13381         (M_LIBM_NEED_COMPAT): Likewise.
13382         (declare_mgen_libm_compat): Likewise.
13383         (LDOUBLE_fdiml_libm_version): New macro.
13385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
13386         Include math/s_fdim.c now that ldbl-opt version is not needed.
13387         (declare_mgen_alias): New macro to disable aliasing.
13389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
13390         (declare_mgen_alias): Likewise.
13391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
13392         (declare_mgen_alias): Likewise.
13393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
13394         (declare_mgen_alias): Likewise.
13395         (M_LIBM_NEED_COMPAT): Likewise.
13397 2016-09-01  Florian Weimer  <fweimer@redhat.com>
13399         [BZ #20525]
13400         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
13401         Include <linux/quota.h>.
13402         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
13403         and btodb.
13404         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
13405         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
13406         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
13407         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
13408         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
13409         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
13410         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
13411         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
13412         types.
13413         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
13414         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
13416 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13418         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
13419         (gammal_positive): Fix spacing.
13420         (__ieee754_gammal_r): Likewise.
13422 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13424         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
13425         (_Float128): Define as long double, always.
13426         (L): Apply long double type suffix, always.
13428         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
13429         _Float128, excepting comments.
13431         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13432         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13433         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13434         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13435         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13436         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13437         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13438         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13439         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13440         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
13441         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13442         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13443         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13444         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13445         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13446         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13447         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13448         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13449         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13450         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13451         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13452         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
13453         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13454         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13455         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13456         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13457         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13458         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
13459         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13460         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13461         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13462         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13463         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13464         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13465         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13466         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13467         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13468         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13469         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13470         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13471         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13472         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13473         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13474         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13475         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
13476         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13477         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13478         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13479         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13480         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13481         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13482         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13483         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13484         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13485         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
13486         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13487         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13488         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13489         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13490         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13491         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13492         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13493         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13494         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13495         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13496         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
13497         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13498         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13500         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
13501         _Float128, and include math_private.h.
13502         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13504         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
13505         long double semantics.
13506         (_Float128): Likewise.
13507         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
13508         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13509         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
13510         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
13512 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
13514         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
13515         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
13516         * sysdeps/s390/configure: Regenerated.
13517         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
13518         instruction for raising over-/underflow if z196 zarch is supported
13519         by default.
13520         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
13522 2016-08-30  Svante Signell  <svante.signell@gmail.com>
13524         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
13525         it point to a dumb buffer for RPC to fill it.
13527 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13529         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
13530         instead of if/else.
13531         (do_sin_slow): Likewise.
13532         (do_sincos_1): Use fabs instead of if/else.
13533         (do_sincos_2): Likewise.
13534         (__sin): Likewise.
13535         (__cos): Likewise.
13536         (slow2): Likewise.
13537         (sloww): Likewise.
13538         (sloww1): Likewise.  Drop argument M.
13539         (sloww2): Use fabs instead of if/else.
13540         (bsloww): Likewise.
13541         (bsloww1): Likewise.
13542         (bsloww2): Likewise.
13544         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
13545         fall through comment.
13546         (do_sincos_1): Likewise.
13548         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
13549         Consolidate switch cases 0 and 2.
13551 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13553         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
13554         (libm-calls): Remove the above.
13556         * math/s_cexp_template.c: Update using type-generic macros.
13557         * math/s_clog10_template.c: Likewise.
13558         * math/s_cpow_template.c: Likewise.
13559         * math/s_clog_template.c: Likewise.
13560         * math/s_cproj_template.c: Likewise.
13561         * math/s_csqrt_template.c: Likewise.
13563         * math/s_cexp.c: Removed.
13564         * math/s_cexpf.c: Removed.
13565         * math/s_cexpl.c: Removed.
13566         * math/s_clog10.c: Removed.
13567         * math/s_clog10f.c: Removed.
13568         * math/s_clog10l.c: Removed.
13569         * math/s_cpow.c: Removed.
13570         * math/s_cpowf.c: Removed.
13571         * math/s_cpowl.c: Removed.
13572         * math/s_clog.c: Removed.
13573         * math/s_clogf.c: Removed.
13574         * math/s_clogl.c: Removed.
13575         * math/s_cproj.c: Removed.
13576         * math/s_cprojf.c: Removed.
13577         * math/s_cprojl.c: Removed.
13578         * math/s_csqrt.c: Removed.
13579         * math/s_csqrtf.c: Removed.
13580         * math/s_csqrtl.c: Removed.
13582         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
13583         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
13584         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
13585         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
13586         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
13587         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
13589         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
13590         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
13591         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
13592         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
13593         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
13594         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
13595         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
13596         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
13597         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
13598         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
13599         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
13601         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
13602         version.
13604         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
13605         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
13606         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
13607         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
13609 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13611         * s_cexp_template.c: Copy of s_cexp.c.
13612         * s_clog_template.c: Copy of s_clog.c.
13613         * s_clog10_template.c: Copy of s_clog10.c.
13614         * s_cpow_template.c: Copy of s_cpow.c.
13615         * s_cproj_template.c: Copy of s_cproj.c.
13616         * s_csqrt_template.c: Copy of s_csqrt.c.
13618 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13620         [BZ #20517]
13621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
13622         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
13623         exported.
13625 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
13627         * math/fetestexceptflag.c: New file.
13628         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
13629         Stefan Liebler.
13630         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13631         (fetestexceptflag): New function declaration.
13632         * manual/arith.texi (fetestexceptflag): Document function.
13633         * math/Versions (fetestexceptflag): New libm symbol at version
13634         GLIBC_2.25.
13635         * math/Makefile (libm-support): Add fetestexceptflag.
13636         (tests): Add test-fetestexceptflag.
13637         * math/test-fetestexceptflag.c: New file.
13638         * sysdeps/nacl/libm.abilist: Update.
13639         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13640         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13641         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13642         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13643         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13644         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13645         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13646         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13647         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13648         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13649         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13650         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13652         Likewise.
13653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13654         Likewise.
13655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13656         Likewise.
13657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13658         Likewise.
13659         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13660         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13661         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13662         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13663         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13664         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13665         Likewise.
13666         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13667         Likewise.
13668         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13669         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13670         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13672 2016-08-26  Florian Weimer  <fweimer@redhat.com>
13674         [BZ #20432]
13675         Avoid strong references to malloc-internal symbols when linking
13676         statically, to support statically interposed mallocs.
13677         * include/libc-symbols.h (call_function_static_weak): New macro.
13678         * malloc/Makefile (tests): Add tst-interpose-nothread,
13679         tst-interpose-thread, tst-interpose-static-nothread,
13680         tst-interpose-static-thread.
13681         (tests-static): Add tst-interpose-static-nothread,
13682         tst-interpose-static-thread.
13683         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
13684         tst-interpose-aux-thread.o.
13685         (test-extras): Add tst-interpose-aux-nothread,
13686         tst-interpose-aux-thread.
13687         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
13688         tst-interpose-aux-nothread.o.
13689         (tst-interpose-thread, tst-interpose-static-thread): Link with
13690         tst-interpose-aux-thread.o and libthread.
13691         * malloc/tst-interpose-aux-nothread.c: New file.
13692         * malloc/tst-interpose-aux-thread.c: Likewise.
13693         * malloc/tst-interpose-aux.c: Likewise.
13694         * malloc/tst-interpose-aux.h: Likewise.
13695         * malloc/tst-interpose-nothread.c: Likewise.
13696         * malloc/tst-interpose-skeleton.c: Likewise.
13697         * malloc/tst-interpose-static-nothread.c: Likewise.
13698         * malloc/tst-interpose-static-thread.c: Likewise.
13699         * malloc/tst-interpose-thread.c: Likewise.
13700         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
13701         * sysdeps/mach/hurd/fork.c (__fork): Only call
13702         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
13703         __malloc_fork_unlock_child if defined.
13704         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
13706 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13708         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
13709         timespec C99 designated initialization.
13711 2016-08-26  Florian Weimer  <fweimer@redhat.com>
13713         [BZ #19946]
13714         Avoid expected SIGALRM signals.
13715         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
13716         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
13717         (xpthread_create, xpthread_detach, xpthread_join)
13718         (delayed_exit_thread, delayed_exit): New functions.
13719         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
13720         (tf): Use xpthread_cond_wait.
13721         (do_test): Likewise.  Replace alarm with delayed_exit.
13722         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
13723         (do_test): Call delayed_exit.  Report failure.
13724         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
13725         (do_test): Call delayed_exit.
13726         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
13727         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
13728         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
13729         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
13730         error.
13731         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
13732         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
13733         error.
13734         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
13735         (do_test): Call delayed_exit.
13736         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
13737         (do_test): Call delayed_exit.
13738         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
13739         (do_test): Call delayed_exit instead of alarm.  Use
13740         xpthread_mutex_lock.
13741         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
13742         (do_test): Call delayed_exit instead of alarm.  Use
13743         xpthread_mutex_lock.
13744         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
13745         (do_test): Call delayed_exit instead of alarm.
13746         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
13747         (do_test): Call delayed_exit instead of alarm.  Use
13748         xpthread_spin_lock.
13749         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
13750         (do_test): Call delayed_exit instead of alarm.  Use
13751         xpthread_join.
13753 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
13755         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
13756         adjust CFA when allocating register save area on re-aligned
13757         stack.
13759 2016-08-26  Florian Weimer  <fweimer@redhat.com>
13761         * string/tst-cmp.c: New test.
13762         * string/Makefile (tests): Add it.
13764 2016-08-25  Mark Wielaard  <mark@klomp.org>
13766         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
13767         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
13768         (check_tree_recurse): Use newly defined accessors.
13769         (check_tree): Likewise.
13770         (maybe_split_for_insert): Likewise.
13771         (__tfind): Likewise.
13772         (__tdelete): Likewise.
13773         (trecurse): Likewise.
13774         (tdestroy_recurse): Likewise.
13775         (__tsearch): Likewise. And add asserts for malloc alignment.
13776         (__twalk): Cast root to node in case CHECK_TREE is defined.
13778 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13780         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
13782 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13784         * math/Makefile (libm-gen-calls): Add
13785         catan, catanh, ctan, ctanh.
13786         (libm-calls): Remove the above.
13788         * math/s_catan_template.c: Update using type-generic macros.
13789         * math/s_catanh_template.c: Likewise.
13790         * math/s_ctan_template.c: Likewise.
13791         * math/s_ctanh_template.c: Likewise.
13793         * math/s_catanf.c: Removed.
13794         * math/s_catan.c: Removed.
13795         * math/s_catanl.c: Removed.
13796         * math/s_catanhf.c: Removed.
13797         * math/s_catanh.c: Removed.
13798         * math/s_catanhl.c: Removed.
13799         * math/s_ctanf.c: Removed.
13800         * math/s_ctan.c: Removed.
13801         * math/s_ctanl.c: Removed.
13802         * math/s_ctanhf.c: Removed.
13803         * math/s_ctanh.c: Removed.
13804         * math/s_ctanhl.c: Removed.
13806         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
13807         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
13808         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
13809         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
13810         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
13811         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
13813         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
13814         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
13815         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
13816         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
13818 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13820         * s_catan_template.c: Copy of s_catan.c.
13821         * s_catanh_template.c: Copy of s_catanh.c.
13822         * s_ctan_template.c: Copy of s_ctan.c.
13823         * s_ctanh_template.c: Copy of s_ctanh.c.
13825 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13827         * math/Makefile (gen-libm-calls): Move
13828         casin, casinh, csin, csinh here.
13829         (libm-calls): Remove the above.
13831         * math/s_casin_template.c: Update using type-generic macros.
13832         * math/s_casinh_template.c: Likewise.
13833         * math/s_csin_template.c: Likewise.
13834         * math/s_csinh_template.c: Likewise.
13835         * math/k_casinh_template.c: Likewise.
13837         * math/s_casinf.c: Removed.
13838         * math/s_casin.c: Removed.
13839         * math/s_casinl.c: Removed.
13840         * math/s_casinh.c: Removed.
13841         * math/s_casinhf.c: Removed.
13842         * math/s_casinhl.c: Removed.
13843         * math/s_csin.c: Removed.
13844         * math/s_csinf.c: Removed.
13845         * math/s_csinl.c: Removed.
13846         * math/s_csinh.c: Removed.
13847         * math/s_csinhf.c: Removed.
13848         * math/s_csinhl.c: Removed.
13849         * math/k_casinh.c: Removed.
13850         * math/k_casinhf.c: Removed.
13851         * math/k_casinhl.c: Removed.
13853         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
13854         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
13855         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
13856         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
13858         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
13859         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
13860         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
13861         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
13862         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
13863         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
13864         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
13865         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
13867         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
13868         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
13869         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
13870         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
13872         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
13873         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
13874         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
13875         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
13877 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13879         * s_casin_template.c: Copy of s_casin.c.
13880         * s_casinh_template.c: Copy of s_casinh.c.
13881         * s_csin_template.c: Copy of s_csin.c.
13882         * s_csinh_template.c: Copy of s_csinh.c.
13883         * k_casinh_template.c: Copy of k_casinh.c.
13885 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13887         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
13889 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13891         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
13892         (mul_split) Remove, rename as mul_splitl, remove
13893         redundant float.h include, and include via mul_splitl.h
13895         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
13896         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13897         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
13898         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
13899         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13901         * math/mul_splitl.h: New file.
13903         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
13904         Move into mul_split.h, and remove redundant float.h include.
13906         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
13907         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
13908         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13909         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
13911         * math/mul_split.h: New file.
13913 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13915         * math/Makefile (libm-gen-calls): Move
13916         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
13917         (libm-calls): Remove above.
13919         * math/s_cacos_template.c: Update using type-generic macros.
13920         * math/s_cacosh_template.c: Likewise.
13921         * math/s_ccos_template.c: Likewise.
13922         * math/s_ccosh_template.c: Likewise.
13924         * math/s_cacosf.c: Removed.
13925         * math/s_cacos.c: Removed.
13926         * math/s_cacosl.c: Removed.
13927         * math/s_cacoshf.c: Removed.
13928         * math/s_cacosh.c: Removed.
13929         * math/s_cacoshl.c: Removed.
13930         * math/s_ccosf.c: Removed.
13931         * math/s_ccos.c: Removed.
13932         * math/s_ccosl.c: Removed.
13933         * math/s_ccoshf.c: Removed.
13934         * math/s_ccosh.c: Removed.
13935         * math/s_ccoshl.c: Removed.
13937         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
13938         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
13939         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
13940         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
13941         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
13942         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
13944         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
13945         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
13946         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
13947         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
13949         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
13950         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
13951         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
13952         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
13954 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13956         * s_cacos_template.c: Copy of s_cacos.c.
13957         * s_cacosh_template.c: Copy of s_cacosh.c.
13958         * s_ccos_template.c: Copy of s_ccos.c.
13959         * s_ccosh_template.c: Copy of s_ccosh.c.
13961 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13963         * stdlib/tst-strtod-round-skeleton.c:
13964         Refactored from tst-strtod-round.c.
13966         (L_): New macro to apply literal modifier.
13967         (FNPFX): New macro to select str or wcs prefix.
13968         (CHAR): New macro to choose wchar_t or char.
13969         (STRM): New macro to choose printf for tested character type.
13971         (STRTO): New macro to choose appropriate string -> real function.
13972         (FNPFXS): Stringitized version of FNPFX.
13973         (STR): Support for above macro.
13974         (STRX): Likewise.
13976         (TEST): Update with above macros.
13977         (test): Likewise.
13978         (GEN_ONE_TEST): Likewise.
13979         (test_in_one_mode): Likewise.
13981         * stdlib/tst-strtod-round.c: New file.
13982         * wcsmbs/tst-wcstod-round.c: New file.
13984         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
13985         (tst-wcstod-round): Add libm depencency for fesetround.
13987 2016-08-19  Zack Weinberg  <zackw@panix.com>
13989         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
13991 2016-08-18  Torvald Riegel  <triegel@redhat.com>
13993         [BZ #20477]
13994         * resolv/res_hconf.c (do_init): Use atomic access.
13995         * resolv/res_hconf.h: Add comments.
13996         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
13997         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
13998         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14000 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
14002         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
14003         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
14004         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14005         Likewise.
14007 2016-08-18  Florian Weimer  <fweimer@redhat.com>
14009         [BZ #16907]
14010         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
14011         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
14012         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
14013         (__attribute__): Remove definition.
14015 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14017         * sysdeps/ieee754/ldbl-128/e_asinl.c:
14018         Remove unused sqrtl declaration.
14020 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14022         * math/Makefile: (gen-libm-templates.stmp): New rule.
14023         (libm-calls): Move carg conj cimag and cabs into ...
14024         (gen-libm-calls): New variable.
14025         (generated): Inform Make objects from gen-libm-calls
14026         may be generated.
14028         * sysdeps/generic/math-type-macros.h: New file.
14029         * sysdeps/generic/math-type-macros-float.h: Likewise.
14030         * sysdeps/generic/math-type-macros-double.h: Likewise.
14031         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
14032         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
14033         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
14035         * math/cabs.c: Refactor into
14036         * math/cabs_template.c: new file.
14037         * math/cabsf.c: Removed.
14038         * math/cabsl.c: Removed.
14039         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
14040         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
14042         * math/carg.c: Refactor into
14043         * math/carg_template.c: new file.
14044         * math/cargf.c: Removed.
14045         * math/cargl.c: Removed.
14046         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
14047         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
14049         * math/conj.c: Refactor into
14050         * math/conj_template.c: new file.
14051         * math/conjf.c: Removed.
14052         * math/conjl.c: Removed.
14053         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
14054         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
14056         * math/cimag.c: Refactor into
14057         * math/cimag_template.c: new file.
14058         * math/cimagf.c: Removed.
14059         * math/cimagl.c: Removed.
14060         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
14061         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
14063         * math/cimag.c: Refactor into
14064         * math/cimag_template.c: new file.
14065         * math/cimagf.c: Removed.
14066         * math/cimagl.c: Removed.
14067         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
14068         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
14070 2016-08-17  Florian Weimer  <fweimer@redhat.com>
14072         Reduce time to expected nptl/tst-once5 failure.
14073         * nptl/tst-once5.cc (TIMEOUT): Define.
14075 2016-08-17  Florian Weimer  <fweimer@redhat.com>
14077         [BZ #20452]
14078         Avoid additional copies of objects in libc.a in static libraries.
14079         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
14080         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
14081         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
14082         rt-sysdep.
14083         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
14084         Add nptl-sysdep.
14085         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
14086         Add ptw-sysdep.
14087         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
14088         rt-sysdep.
14089         * sysdeps/unix/sysv/linux/alpha/Makefile
14090         (libpthread-shared-only-routines): Add ptw-sysdep,
14091         ptw-sigprocmask, ptw-rt_sigaction.
14092         * sysdeps/unix/sysv/linux/ia64/Makefile
14093         (librt-shared-only-routines): Add rt-sysdep.
14094         * sysdeps/unix/sysv/linux/i386/Makefile
14095         (libpthread-shared-only-routines): Add libc-do-syscall.
14096         * sysdeps/unix/sysv/linux/microblaze/Makefile
14097         (libpthread-shared-only-routines): Add sysdep.
14098         * sysdeps/unix/sysv/linux/powerpc/Makefile
14099         (librt-shared-only-routines): Add rt-sysdep.
14100         (libpthread-shared-only-routines): Add sysdep.
14101         * sysdeps/unix/sysv/linux/s390/Makefile
14102         (librt-shared-only-routines): Add rt-sysdep.
14103         * sysdeps/unix/sysv/linux/sparc/Makefile
14104         (librt-shared-only-routines): Add rt-sysdep.
14105         (libpthread-shared-only-routines): Add sysdep.
14106         * sysdeps/unix/sysv/linux/tile/Makefile
14107         (libpthread-shared-only-routines): Likewise.
14109 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
14111         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
14112         Mask implicit bit out of unpacked value.
14113         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
14114         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
14115         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
14117         * sysdeps/sparc/fpu/fesetexcept.c: New file.
14119         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
14121         * sysdeps/s390/fpu/fesetexcept.c: New file.
14123         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
14124         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
14125         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
14127         * sysdeps/mips/fpu/fesetexcept.c: New file.
14129         * sysdeps/m68k/fpu/fesetexcept.c: New file.
14131         * sysdeps/ia64/fpu/fesetexcept.c: New file.
14133         * sysdeps/hppa/fpu/fesetexcept.c: New file.
14135         * sysdeps/arm/fesetexcept.c: New file.
14137         * sysdeps/alpha/fpu/fesetexcept.c: New file.
14139         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
14141         * math/fesetexcept.c: New file.
14142         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
14143         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
14144         * math/fenv.h: Define
14145         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14146         <bits/libc-header-start.h> instead of including <features.h>.
14147         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
14148         declaration.
14149         * manual/arith.texi (fesetexcept): Document function.
14150         * math/Versions (fesetexcept): New libm symbol at version
14151         GLIBC_2.25.
14152         * math/Makefile (libm-support): Add fesetexcept.
14153         (tests): Add test-fesetexcept and test-fesetexcept-traps.
14154         * math/test-fesetexcept.c: New file.
14155         * math/test-fesetexcept-traps.c: Likewise.
14156         * sysdeps/nacl/libm.abilist: Update.
14157         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14158         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14159         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14160         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14161         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14162         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14163         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14164         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14165         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14166         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14167         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14168         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14170         Likewise.
14171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14172         Likewise.
14173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14174         Likewise.
14175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14176         Likewise.
14177         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14178         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14179         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14180         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14181         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14182         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14183         Likewise.
14184         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14185         Likewise.
14186         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14187         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14188         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14190 2016-08-16  Florian Weimer  <fweimer@redhat.com>
14192         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
14193         New.
14194         (do_test): Apply default_stack_size_in_mb if not set.
14195         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
14197 2016-08-15  Andreas Schwab  <schwab@suse.de>
14199         [BZ #20435]
14200         CVE-2016-6323
14201         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
14202         as .cantunwind.
14204 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
14206         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
14207         comment from fraiseexcpt.c.
14209         * math/test-fexcept.c (feraiseexcept_exact): New function.
14210         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
14211         (test_except): Likewise.
14213 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
14215         [BZ #20455]
14216         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
14217         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
14218         to be restored.
14220         * math/test-fexcept-traps.c: New file.
14221         * math/test-fexcept.c: Likewise.
14222         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
14223         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
14224         macro.
14225         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
14226         (EXCEPTION_SET_FORCES_TRAP): Likewise.
14228 2016-08-09  Torvald Riegel  <triegel@redhat.com>
14230         * include/atomic.h (atomic_fetch_and_relaxed,
14231         atomic_fetch_and_release, atomic_fetch_or_release,
14232         atomic_fetch_xor_release): New.
14234 2016-08-06  Christian Seiler  <christian@iwakd.de>
14236         [BZ #20444]
14237         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
14238         MACH_PORT_NULL.
14240 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
14242         * math/s_fdim.c: Avoid alias renamed.
14243         * math/s_fdimf.c: Likewise.
14244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
14245         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
14246         Add s_fdimf-vis3, s_fdim-vis3.
14247         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
14248         (CFLAGS-s_fdim-vis3.c): Likewise.
14249         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
14250         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
14252 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
14254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
14255         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
14256         Remove s_fdimf-vis3, s_fdim-vis3.
14257         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
14258         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
14259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
14260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
14261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
14262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
14263         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
14264         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
14265         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
14266         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
14268 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
14270         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
14271         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
14272         -Wa,-Av9a -mvis.
14274 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14276         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
14277         LIT() to individual constants in simple expressions
14278         after splitting on spaces.
14279         (_apply_lit): Rename replaced version, and use it to
14280         apply to what appears to be a token.
14282         * math/libm-test.inc: Fix many, many issues with
14283         spacing.
14285 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
14287         * math/math.h: Move comment about <bits/mathdef.h> definitions
14288         above inclusion of <bits/mathdef.h>.  Do not mention
14289         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
14291 2016-08-05  Torvald Riegel  <triegel@redhat.com>
14293         * include/atomic.h (atomic_exchange_relaxed): New.
14295 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
14297         * math/e_scalb.c: Do not include <fenv.h>.
14298         (invalid_fn): Do calculation resulting in NaN instead of raising
14299         FE_INVALID and returning a NaN explicitly.
14300         * math/e_scalbf.c: Do not include <fenv.h>.
14301         (invalid_fn): Do calculation resulting in NaN instead of raising
14302         FE_INVALID and returning a NaN explicitly.
14303         * math/e_scalbl.c: Do not include <fenv.h>.
14304         (invalid_fn): Do calculation resulting in NaN instead of raising
14305         FE_INVALID and returning a NaN explicitly.
14307 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
14309         * po/de.po: Updated from Translation Project.
14310         * po/fi.po: Likewise.
14311         * po/sv.po: Likewise.
14313 2016-08-04  Florian Weimer  <fweimer@redhat.com>
14315         [BZ #20452]
14316         Use sysdep.o from libc.a in static libraries.
14317         * sysdeps/unix/sysv/linux/i386/Makefile
14318         (libpthread-shared-only-routines): Add sysdep.
14319         (librt-shared-only-routines): Likewise.
14321 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
14323         * math/tgmath.h (nextdown): Define if
14324         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
14325         (nextup): Likewise.
14327         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
14328         macro.
14329         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
14330         Document.
14331         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
14332         Document macro.
14333         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
14334         (exp10f): Likewise.
14335         (exp10l): Likewise.
14336         * math/bits/mathcalls.h (exp10): Declare if
14337         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
14339         * manual/arith.texi (nextup): Fix typo in last change.
14341 2016-08-03  Zack Weinberg  <zackw@panix.com>
14343         [BZ #19239]
14344         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
14345         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
14346         define major, minor, and makedev to issue deprecation warnings on use.
14347         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
14348         previously-activated deprecation warnings for these macros and prevent
14349         subsequent inclusions of this header from having any effect.
14350         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
14351         including <sys/sysmacros.h>, and undefine it again afterward.
14353 2016-08-03  Zack Weinberg  <zackw@panix.com>
14355         * sysdeps/generic/sys/sysmacros.h: Delete file.
14356         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
14357         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
14358         * bits/sysmacros.h: ... here; this encoding is now the generic
14359         encoding.  Now defines only the following macros:
14360         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
14361         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
14362         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
14364         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
14365         bits/sysmacros.h and the above new macros to generate the
14366         public implementations of major, minor, and makedev.
14367         * misc/tst-makedev.c: New test.
14368         * include/sys/sysmacros.h: New wrapper.
14370         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
14371         (routines): Add makedev.
14372         (tests): Add tst-makedev.
14373         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
14374         gnu_dev_makedev.
14375         * posix/Makefile (headers): Remove sys/sysmacros.h.
14376         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
14378         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
14379         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
14380         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
14381         * sysdeps/unix/sysv/linux/alpha/libc.abilist
14382         * sysdeps/unix/sysv/linux/arm/libc.abilist
14383         * sysdeps/unix/sysv/linux/hppa/libc.abilist
14384         * sysdeps/unix/sysv/linux/i386/libc.abilist
14385         * sysdeps/unix/sysv/linux/ia64/libc.abilist
14386         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
14387         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
14388         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
14389         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
14390         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
14391         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
14392         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
14393         * sysdeps/unix/sysv/linux/nios2/libc.abilist
14394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
14395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
14396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
14397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
14398         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
14399         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
14400         * sysdeps/unix/sysv/linux/sh/libc.abilist
14401         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
14402         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
14403         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
14404         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
14405         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
14406         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
14407         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
14408         Add GLIBC_2.25.
14410         * include/features.h (__glibc_clang_prereq): New macro.
14411         * misc/sys/cdefs.h (__glibc_clang_has_extension)
14412         (__attribute_deprecated_msg__): New macros.
14414 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
14416         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
14417         macro.
14418         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
14419         * manual/arith.texi (issignaling): Document as ISO from TS
14420         18661-1:2014.
14421         (nextup): Likewise.
14422         (nextupf): Likewise.
14423         (nextupl): Likewise.
14424         (nextdown): Likewise.
14425         (nextdownf): Likewise.
14426         (nextdownl): Likewise.
14427         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
14428         macro.
14429         * math/math.h: Define
14430         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14431         <bits/libc-header-start.h> instead of including <features.h>.
14432         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
14433         [__USE_GNU].
14434         * math/bits/mathcalls.h (nextdown): Declare if
14435         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
14436         (nextup): Likewise.
14437         (__issignaling): Likewise.
14439 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14441         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
14442         check, and remove __glibc_likely hint
14443         from FP_INFINITE check.
14444         * s_csinhf.c (__csinhf): Likewise.
14446         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
14447         hint from FP_INFINITE check.
14448         * s_csinhl.c (__csinhl): Likewise.
14450 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14452         * math/Makefile (libm-calls): Insert F placeholder into
14453         object names.  Move w_lgamma_compat* routines into
14454         (libm-compat-calls): New variable.
14455         (libm-compat-calls-ldouble-yes): New variable.
14456         (calls): Insert F placeholder.
14457         (generated): Redefine using new type-foreach macro call.
14458         (routines): Likewise.
14460         (types): New variable to hold a list of symbolic names
14461         for each type supported by the target machine.
14462         (libm-routines): Redefine using new types variable.
14463         (type-foreach): macro to replace fooF with the
14464         appropriately suffixed foo for each types.
14466         (type-ldouble-suffix): New variable.
14467         (type-ldouble-routines): Likewise.
14468         (type-ldouble-yes): Likewise.
14469         (type-double-suffix): Likewise.
14470         (type-double-routines): Likewise.
14471         (type-float-suffix): Likewise.
14472         (type-float-routines): Likewise.
14474         (dbl-only-routines): Remove.
14475         (long-c-yes): Likewise.
14476         (long-m-routines): Likewise.
14477         (long-m-support): Likewise.
14478         (long-m-yes): Likewise.
14479         (test-longdouble-yes): Likewise.
14481         (test-float.o): Simplify by increasing the scope of the
14482         recipe which adds libm-test.stmp to the vector types.
14483         (test-ifloat.o): Likewise.
14484         (test-float-finite.o): Likewise.
14485         (test-double.o): Likewise
14486         (test-idouble.o): Likewise.
14487         (test-double-finite.o): Likewise.
14488         (test-ldouble.o): Likewise
14489         (test-ildoubl.o): Likewise.
14490         (test-ldouble-finite.o): Likewise.
14492         (libm-tests): Redefine type tests using foreach and the
14493         list of types in types.
14495         (CPPFLAGS-test-ildoubl.c): Rename to
14496         (CPPFLAGS-test-ildouble.c): New variable
14498         * math/test-ildoubl.c: Rename to
14499         * math/test-ildouble.c: New file.
14501 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14503         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
14504         Use fabsl instead of fabs.
14505         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
14506         Likewise.
14507         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
14508         Add long double suffix to constant to ensure proper
14509         promotion to long double.
14511 2016-08-03  Tom Tromey  <tom@tromey.com>
14513         [BZ #20311]
14514         * nptl_db/Makefile (headers): Add proc_service.h.
14515         * nptl_db/proc_service.h: Add include guard.  Use
14516         __BEGIN/__END_DECLS.
14517         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
14518         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
14519         arguments.
14522 2016-08-03  Florian Weimer  <fweimer@redhat.com>
14524         [BZ #17730]
14525         Avoid using memalign for TCB allocations.
14526         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
14527         (_dl_allocate_tls_storage): Use malloc and manual alignment.
14528         Avoid alignment gap in the TLS_DTV_AT_TP case.
14529         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
14530         determine the pointer to free.
14531         * nptl/tst-tls3-malloc.c: New test.
14532         * nptl/Makefile (tests): Add it.
14533         (tst-tls3-malloc): Link with libdl, libpthread.
14534         (LDFLAGS-tst-tls3-malloc): Set.
14535         (tst-tls3-malloc.out): Depend on DSO used in test.
14537 2016-08-03  Florian Weimer  <fweimer@redhat.com>
14539         [BZ #17730]
14540         Avoid using memalign for TLS allocations.
14541         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
14542         is_static member with to_free member.
14543         (union dtv): Use struct dtv_pointer.
14544         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
14545         dtv_pointer instead of is_static.
14546         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
14547         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
14548         instead of val.
14549         (allocate_dtv_entry): New function.
14550         (allocate_and_init): Return struct dtv_pointer.  Call
14551         allocate_dtv_entry instead of __libc_memalign.
14552         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
14553         instead of val.
14554         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
14555         instead of is_static.  Adjust call to allocate_and_init.
14556         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
14557         struct dtv_pointer instead of val.
14559 2016-08-03  Florian Weimer  <fweimer@redhat.com>
14561         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
14562         (MALLOC_ALIGN_MASK): Move ...
14563         * malloc/malloc-internal.h: ... to here.
14564         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
14566 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
14568         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
14569         (UDP_ENCAP_GTP1U): Likewise.
14571         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
14572         (PF_MAX): Update value.
14573         (AF_QIPCRTR): New macro.
14575 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
14577         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
14578         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
14579         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
14580         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
14581         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
14582         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
14583         s_truncf-vis3, s_trunc-vis3.
14584         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
14585         (CFLAGS-s_ceil-vis3.c): Likewise.
14586         (CFLAGS-s_floorf-vis3.c): Likewise.
14587         (CFLAGS-s_floor-vis3.c): Likewise.
14588         (CFLAGS-s_truncf-vis3.c): Likewise.
14589         (CFLAGS-s_trunc-vis3.c): Likewise.
14590         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
14591         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
14592         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
14593         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
14594         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
14595         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
14596         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
14597         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
14598         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
14599         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
14600         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
14601         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
14603 2016-08-02  David S. Miller  <davem@davemloft.net>
14605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
14606         (__nearbyint_vis3): Don't check for sNaN before float register is
14607         loaded with the incoming argument.
14608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
14609         (__nearbyintf_vis3): Likewise.
14610         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
14611         Likewise.
14612         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
14613         Likewise.
14615         * string/test-strncmp.c (do_test_limit): Make sure the test data
14616         stream is aligned as required for the type "CHAR".
14617         (do_test): Likewise.
14619 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
14621         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
14622         by beq instructions jumping to the end of the function.
14623         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
14624         clobber list. Use "i" constraint instead of "X".
14625         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
14626         of "X".
14628 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
14630         * bits/libc-header-start.h: New file.
14631         * Makefile (headers): Add bits/libc-header-start.h.
14632         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
14633         (__GLIBC_USE): New macro.
14634         * libio/stdio.h: Define
14635         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14636         <bits/libc-header-start.h> instead of including <features.h>.
14637         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
14638         (open_memstream): Likewise.
14639         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
14640         (__asprintf): Likewise.
14641         (asprintf): Likewise.
14642         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
14643         (getdelim): Likewise.
14644         (getline): Likewise.
14645         * string/string.h: Define
14646         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14647         <bits/libc-header-start.h> instead of including <features.h>.
14648         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
14649         (strndup): Likewise.
14650         * wcsmbs/wchar.h: Define
14651         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14652         <bits/libc-header-start.h> instead of including <features.h>.
14653         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
14654         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
14656 2016-08-02  Florian Weimer  <fweimer@redhat.com>
14658         Support linking against compatibility symbols, for use in tests.
14659         * include/libc-symbols.h (symbol_version_reference): New macro.
14660         (symbol_version): Use it.
14661         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
14662         (compat_symbol): Use compat_symbol_reference.
14663         (compat_symbol_1, compat_symbol_2): Remove.
14664         (compat_symbol_reference, compat_symbol_reference_1)
14665         (compat_symbol_reference_2): New macro.  Use
14666         symbol_version_reference.
14668 2016-08-02  Florian Weimer  <fweimer@redhat.com>
14670         [BZ #19469]
14671         * malloc/Makefile (CPPFLAGS): Compile tests with
14672         -DTEST_NO_MALLOPT.
14673         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
14675 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
14677         [BZ #20033]
14678         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
14679         finite version.
14680         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
14681         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
14682         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
14683         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
14684         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
14685         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
14686         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
14687         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
14688         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
14689         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
14690         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
14691         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
14692         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
14693         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
14694         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
14695         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
14696         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
14697         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
14698         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
14699         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
14700         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
14701         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
14702         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
14703         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
14704         in zero power.
14706 2016-08-02  Florian Weimer  <fweimer@redhat.com>
14708         [BZ #20370]
14709         * malloc/arena.c (get_free_list): Update comment.  Assert that
14710         arenas on the free list have no attached threads.
14711         (remove_from_free_list): New function.
14712         (reused_arena): Call it.
14714 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
14716         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
14717         when it is a NaN.
14718         [_IEEE_FP_INEXACT] Remove.
14719         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
14720         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
14721         when it is a NaN.
14722         [_IEEE_FP_INEXACT] Remove.
14723         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
14724         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
14725         when it is a NaN.
14726         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
14727         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
14728         when its absolute value is greater than 0x1.0p52.
14729         [_IEEE_FP_INEXACT] Remove.
14730         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
14731         when its absolute value is greater than 0x1.0p23.
14732         [_IEEE_FP_INEXACT] Remove.
14734 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
14736         * version.h (RELEASE): Set to "development"
14737         (VERSION): Set to 2.24.90.
14738         * NEWS: Add 2.25 section.
14740         * version.h (RELEASE): Set to "stable"
14741         (VERSION): Set to 2.24.
14742         * include/features.h (__GLIBC_MINOR__): Set to 24.
14744         * NEWS: Add 2.24 fixed bugs.
14745         * po/libc.pot: Regenerate.
14747 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
14749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
14750         [$(subdir) = math] (libm-sysdep_routines): Remove.
14751         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
14752         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
14753         s_truncf-vis3, s_trunc-vis3.
14754         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
14756         file.
14757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
14758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
14759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
14760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
14763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
14764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
14766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
14767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
14768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
14769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
14770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
14771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
14772         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14773         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14774         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14775         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
14776         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
14777         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
14778         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
14779         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14780         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14781         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
14782         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14783         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14784         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
14785         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14786         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14787         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
14788         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14789         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14790         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
14791         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
14792         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
14793         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
14794         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14795         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14796         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
14797         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
14798         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
14799         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
14801 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
14803         [BZ #20384]
14804         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
14805         test-double-libmvec-sincos-avx-main.o,
14806         test-double-libmvec-sincos-avx2-main.o,
14807         test-double-libmvec-sincos-main.o,
14808         test-float-libmvec-sincosf-avx-main.o,
14809         test-float-libmvec-sincosf-avx2-main.o and
14810         test-float-libmvec-sincosf-main.o.
14811         test-float-libmvec-sincosf-avx512-main.o.
14812         ($(objpfx)test-double-libmvec-sincos): Also link with
14813         $(objpfx)test-double-libmvec-sincos-main.o.
14814         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
14815         $(objpfx)test-double-libmvec-sincos-avx-main.o.
14816         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
14817         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
14818         ($(objpfx)test-float-libmvec-sincosf): Also link with
14819         $(objpfx)test-float-libmvec-sincosf-main.o.
14820         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
14821         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
14822         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
14823         test-double-libmvec-sincos-avx512-main.o and
14824         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
14825         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
14826         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
14827         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
14828         (CFLAGS-test-double-libmvec-sincos.c): Removed.
14829         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
14830         (CFLAGS-test-double-libmvec-sincos-main.c): New.
14831         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
14832         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
14833         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
14834         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
14835         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
14836         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
14837         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
14838         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
14839         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
14840         -DREQUIRE_AVX2.
14841         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
14842         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
14843         -DREQUIRE_AVX512F.
14844         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
14845         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
14846         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
14847         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
14848         file.
14849         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
14850         Likewise.
14851         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
14852         Likewise.
14853         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
14854         Likewise.
14855         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
14856         Likewise.
14857         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
14858         Likewise.
14859         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
14860         Likewise.
14861         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
14862         Likewise.
14864 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
14866         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
14868 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
14870         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
14871         and typo in a comment about AT_HWCAP entry.
14873 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14875         * sysdeps/aarch64/libm-test-ulps: Updated.
14877 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
14879         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
14880         of r13 as it is not restored in mvcle case.
14882 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
14884         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
14885         Rename "ret" to "__ret".
14886         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
14887         inline_syscall5, inline_syscall6): Likewise.
14889 2016-07-19   Will Newton  <will.newton@gmail.com>
14891         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
14892         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
14893         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
14894         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
14895         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
14897 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
14899         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
14900         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
14901         -mfpmath=387 with $(rtld-CFLAGS).
14902         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
14903         $(rtld-CFLAGS).
14905 2016-07-18   Ross Burton  <ross.burton@intel.com>
14906              Khem Raj  <raj.khem@gmail.com>
14908         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
14909         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
14910         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
14911         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
14912         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
14913         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
14914         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
14915         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
14916         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
14917         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
14918         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
14919         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
14920         R_METAG_TLS_DTPOFF): New.
14922 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14923             Matt Clay  <mclay@lycos.com>
14925         [BZ #20357]
14926         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
14927         to call __mpsin/__mpcos and to negate values.
14928         * math/auto-libm-test-in: Add test.
14929         * math/auto-libm-test-out: Regenerate.
14931 2016-07-18  Zack Weinberg  <zackw@panix.com>
14933         * grp/Makefile: Don't install the internal header grp-merge.h.
14935 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14937         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14939 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14941         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
14943 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14945         [BZ #15368]
14946         * sysdeps/unix/sysv/linux/nptl-signals.h
14947         (__nptl_clear_internal_signals): New function.
14948         (__libc_signal_block_all): Likewise.
14949         (__libc_signal_block_app): Likewise.
14950         (__libc_signal_restore_set): Likewise.
14951         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
14952         implementation.
14953         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
14954         the cached pid/tid value in pthread structure.
14956 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
14958         [BZ #20347]
14959         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
14961 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
14963         [BZ #20348]
14964         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
14965         preadv64, pwrite64 and pwritev64.
14967 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
14969         [BZ #20350]
14970         * posix/tst-preadwrite.c: Renamed to ...
14971         * posix/tst-preadwrite-common.c: This.
14972         (PREAD): Removed.
14973         (PWRITE): Likewise.
14974         (STRINGIFY): Likewise.
14975         (STRINGIFY2): Likewise.
14976         (do_prepare): Make it static and remove function arguments.
14977         (do_test): Likewise.
14978         (PREPARE): Updated.
14979         (TEST_FUNCTION): New.
14980         (name): Make it static.
14981         (fd): Likewise.
14982         (do_prepare): Use create_temp_file.
14983         (do_test): Renamed to ...
14984         (do_test_with_offset): This.  Make it static and accept offset.
14985         Properly check return value of PWRITE and PREAD.  Return bytes
14986         read.  Don't close fd nor unlink name.
14987         * posix/tst-preadwrite.c: Rewrite.
14988         * posix/tst-preadwrite64.c: Likewise.
14990 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
14992         [BZ #20309]
14993         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
14994         -mtls-dialect=gnu2 works.
14995         * configure: Regenerated.
14996         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
14997         (tests): Add tst-gnu2-tls1.
14998         (modules-names): Add tst-gnu2-tls1mod.
14999         ($(objpfx)tst-gnu2-tls1): New.
15000         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
15001         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
15002         * elf/tst-gnu2-tls1.c: New file.
15003         * elf/tst-gnu2-tls1mod.c: Likewise.
15004         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
15005         bytes for push in the PLT entry to align the stack.
15007 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
15009         [BZ #20349]
15010         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
15012 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15014         [BZ #18707]
15015         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
15016         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
15018 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15020         * sysdeps/unix/sysv/linux/sysdep.h
15021         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
15022         guards.
15023         * misc/tst-preadvwritev-common.c: New file.
15024         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
15025         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
15026         a check for files larger than 2GB.
15028         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15029         (__ASSUME_OFF_DIFF_OFF64): Remove define.
15030         * sysdeps/unix/sysv/linux/pread.c
15031         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
15032         __OFF_T_MATCHES_OFF64_T.
15033         * sysdeps/unix/sysv/linux/pread64.c
15034         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
15035         * sysdeps/unix/sysv/linux/preadv.c
15036         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
15037         * sysdeps/unix/sysv/linux/preadv64.c
15038         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
15039         * sysdeps/unix/sysv/linux/pwrite.c
15040         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
15041         * sysdeps/unix/sysv/linux/pwrite64.c
15042         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
15043         * sysdeps/unix/sysv/linux/pwritev.c
15044         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
15045         * sysdeps/unix/sysv/linux/pwritev64.c
15046         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
15048 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
15050         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15051         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
15053 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
15055         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
15057 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
15059         [BZ #20240]
15060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
15061         (CFLAGS-s_modf-ppc32.c): New variable.
15062         (CFLAGS-s_modff-ppc32.c): Likewise.
15063         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
15064         (CFLAGS-s_modf-ppc64.c): Likewise.
15065         (CFLAGS-s_modff-ppc64.c): Likewise.
15067 2016-07-07  Andreas Schwab  <schwab@suse.de>
15069         [BZ #20263]
15070         * nptl/tst-robust10.c: New test.
15071         * nptl/Makefile (tests): Add tst-robust10.
15073 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
15075         [BZ #20263]
15076         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
15078 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
15080         * sysdeps/s390/linkmap.h (struct link_map_machine):
15081         Remove member gotplt and add member jmprel.
15082         * sysdeps/s390/s390-32/dl-machine.h
15083         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
15084         instead of gotplt with &got[3].
15085         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
15086         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15088 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
15090         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
15092 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15094         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
15095         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
15096         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
15097         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
15098         * libio/vtables.c (_IO_vtable_check)
15099         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
15100         * libio/libioP.h (IO_set_accept_foreign_vtables)
15101         [!PTR_MANGLE]: Do not call PTR_MANGLE.
15103 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
15105         [BZ #20314]
15106         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
15107         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
15108         $(common-objpfx)cmath.
15109         ($(common-objpfx)cstdlib): New target.
15110         ($(common-objpfx)cmath): Likewise.
15112 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
15114         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
15116 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15118         [BZ #20327]
15119         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
15120         are not part of the string.
15122 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15124         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
15125         * nptl/tst-cancel4-common.h (fifoname): New variable.
15126         (fifofd): Likewise.
15127         (cl_fifo): New function.
15128         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
15129         SIGINT.
15130         (tf_open): Add early cancel test.
15132 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
15134         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
15136 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
15138         * sysdeps/generic/ldsodefs.h
15139         (dl_symbol_visibility_binds_local_p): New inline function.
15140         * elf/dl-addr.c (determine_info): Treat hidden and internal
15141         symbols as local.
15142         * elf/dl-lookup.c (do_lookup_x): Likewise.
15143         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
15145 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
15147         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
15148         invalid exception for a sNaN input.
15149         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
15150         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
15151         (__nearbyint_vis3): Likewise
15152         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
15153         (__nearbyintf_vis3): Likewise
15154         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
15155         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
15156         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
15157         Likewise.
15158         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
15159         Likewise.
15161 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
15163         [BZ #20139]
15164         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
15165         (HAVE_AVX512DQ_ASM_SUPPORT): This.
15166         * sysdeps/x86_64/configure.ac: Require assembler from binutils
15167         2.24 or above.
15168         (HAVE_AVX512_ASM_SUPPORT): Removed.
15169         (HAVE_AVX512DQ_ASM_SUPPORT): New.
15170         * sysdeps/x86_64/configure: Regenerated.
15171         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
15172         check unconditional.
15173         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
15174         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15175         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15176         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
15177         Likewise.
15178         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
15179         Likewise.
15180         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
15181         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
15182         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15183         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15184         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
15185         Likewise.
15186         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
15187         Likewise.
15188         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15189         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15190         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
15191         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
15192         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
15193         Likewise.
15194         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
15195         Likewise.
15196         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
15197         Likewise.
15198         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
15199         Likewise.
15200         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
15201         Likewise.
15202         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
15203         Likewise.
15204         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
15205         Likewise.
15206         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
15207         Likewise.
15208         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
15209         Likewise.
15210         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
15211         Likewise.
15212         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
15213         Likewise.
15215 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
15217         [BZ #20024]
15218         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
15219         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
15220         of this implementation of vector function.
15221         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
15222         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
15223         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
15224         Likewise.
15225         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
15226         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
15227         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
15228         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
15229         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
15230         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
15231         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
15232         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
15233         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
15234         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
15235         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
15236         for testing vector sincos with fixed ABI.
15237         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15238         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15239         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15240         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
15241         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15242         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15243         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15244         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
15245         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
15246         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
15247         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
15248         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
15249         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
15250         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
15251         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
15252         * sysdeps/x86_64/fpu/Makefile: Added new tests.
15254 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
15256         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
15258 2016-06-30  Anton Blanchard  <anton@samba.org>
15260         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
15261         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
15262         s_sinf-ppc64.
15263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
15264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
15265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
15266         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
15268 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15270         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15271         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
15272         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
15273         e_expf-ppc64.
15274         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
15275         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
15276         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
15277         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
15279 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
15281         [BZ #20277]
15282         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
15283         when SHARED is defined.
15285 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
15287         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
15288         (index_arch_Prefer_ERMS): Likewise.
15289         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
15290         __memcpy_erms for Prefer_ERMS.
15291         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15292         (__memmove_erms): Enabled for libc.a.
15293         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
15294         __memmove_erms or Prefer_ERMS.
15295         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
15296         __mempcpy_erms for Prefer_ERMS.
15297         * sysdeps/x86_64/multiarch/memset.S (memset): Return
15298         __memset_erms for Prefer_ERMS.
15300 2016-06-30  Andreas Schwab  <schwab@suse.de>
15302         [BZ #20262]
15303         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
15304         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
15305         of memory.
15307 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
15309         [BZ #18645]
15310         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
15311         (test-extras): Add tst-cleanupx4aux.
15312         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
15313         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
15314         tst-cleanupx4aux.o.
15315         * nptl/tst-cleanupx4aux.c: New file.
15317 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
15319         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
15321 2016-06-29  Andreas Schwab  <schwab@suse.de>
15323         [BZ #20260]
15324         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
15325         address before the beginning of the string as an integer to avoid
15326         array-bounds warning.
15328 2016-06-28  Richard Henderson  <rth@redhat.com>
15330         * elf/elf.h (EM_BPF): New.
15331         (EM_NUM): Update.
15332         (R_BPF_NONE, R_BPF_MAP_FD): New.
15334         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
15335         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
15336         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
15337         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
15338         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
15339         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
15340         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
15341         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
15342         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
15343         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
15344         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
15345         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
15346         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
15347         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
15348         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
15349         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
15350         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
15351         (EM_NUM): Update.
15353 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
15355         [BZ #18960]
15356         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
15357         Set _nl_current_LC_CATEGORY_used to two instead of one.
15359 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
15361         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
15362         (do_test): ... this.
15363         (TEST_FUNCTION): New macro.
15364          Include test-skeleton.c.
15365         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
15366         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
15368 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
15370         [BZ #15479]
15371         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
15372         floating-point environment rather than just control word.
15373         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
15374         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
15375         floating-point environment, with "invalid" exceptions merged in,
15376         rather than just control word.
15377         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
15378         * math/libm-test.inc (trunc_test_data): Do not allow spurious
15379         "inexact" exceptions.
15381         [BZ #15479]
15382         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
15383         floating-point environment rather than just control word.
15384         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
15385         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
15386         floating-point environment, with "invalid" exceptions merged in,
15387         rather than just control word.
15388         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
15389         * math/libm-test.inc (floor_test_data): Do not allow spurious
15390         "inexact" exceptions.
15392         [BZ #15479]
15393         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
15394         floating-point environment rather than just control word.
15395         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
15396         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
15397         floating-point environment, with "invalid" exceptions merged in,
15398         rather than just control word.
15399         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
15400         * math/libm-test.inc (ceil_test_data): Do not allow spurious
15401         "inexact" exceptions.
15403 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
15405         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
15406         __libc_vfork.
15407         (__vfork) [IS_IN (libc)]: Remove alias.
15408         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
15409         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
15410         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
15412 2016-06-24  Torvald Riegel  <triegel@redhat.com>
15414         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
15415         of atomic_compare_and_exchange_bool_rel.
15416         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
15417         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
15418         catomic_compare_and_exchange_bool_rel): Remove.
15419         * sysdeps/aarch64/atomic-machine.h
15420         (atomic_compare_and_exchange_bool_rel): Likewise.
15421         * sysdeps/alpha/atomic-machine.h
15422         (atomic_compare_and_exchange_bool_rel): Likewise.
15423         * sysdeps/arm/atomic-machine.h
15424         (atomic_compare_and_exchange_bool_rel): Likewise.
15425         * sysdeps/mips/atomic-machine.h
15426         (atomic_compare_and_exchange_bool_rel): Likewise.
15427         * sysdeps/microblaze/atomic-machine.h
15428         ( __arch_compare_and_exchange_bool_8_rel,
15429         __arch_compare_and_exchange_bool_16_rel): Likewise.
15430         * sysdeps/powerpc/atomic-machine.h
15431         ( __arch_compare_and_exchange_bool_8_rel,
15432         __arch_compare_and_exchange_bool_16_rel): Likewise.
15433         * sysdeps/powerpc/powerpc32/atomic-machine.h
15434         ( __arch_compare_and_exchange_bool_32_rel,
15435         __arch_compare_and_exchange_bool_64_rel): Likewise.
15436         * sysdeps/powerpc/powerpc64/atomic-machine.h
15437         ( __arch_compare_and_exchange_bool_32_rel,
15438         __arch_compare_and_exchange_bool_64_rel): Likewise.
15439         * sysdeps/tile/atomic-machine.h
15440         (atomic_compare_and_exchange_bool_rel): Likewise.
15442 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
15444         [BZ #20296]
15445         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
15446         when either argument is a NaN.
15447         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
15448         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
15450         * math/libm-test.inc (snan_value_ld): New macro.
15451         (isgreater_test_data): Add sNaN tests.
15452         (isgreaterequal_test_data): Likewise.
15453         (isless_test_data): Likewise.
15454         (islessequal_test_data): Likewise.
15455         (islessgreater_test_data): Likewise.
15456         (isunordered_test_data): Likewise.
15457         (nextafter_test_data): Likewise.
15458         (nexttoward_test_data): Likewise.
15459         (remainder_test_data): Likewise.
15460         (remquo_test_data): Likewise.
15461         (significand_test_data): Likewise.
15462         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
15464 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15466         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
15467         environment macros are defined.
15468         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
15470 2016-06-23  Florian Weimer  <fweimer@redhat.com>
15472         [BZ #20191]
15473         Implement vtable verification in libio.
15474         * Makerules (shlib.lds): Place __libc_IO_vtables section.
15475         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
15476         * debug/vdprintf_chk.c (__vdprintf_chk): Call
15477         _IO_new_file_init_internal instead of _IO_file_init.
15478         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
15479         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
15480         * libio/Makefile (routines): Add vtables.
15481         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
15482         (_IO_init): Remove, not for internal use.
15483         (_IO_init_internal): Declare, internal replacement for _IO_init.
15484         (_IO_file_init): Remove, not for internal use.
15485         (_IO_new_file_init): Remove, not for internal use.
15486         (_IO_new_file_init_internal): Declare, internal replacement for
15487         _IO_new_file_init.
15488         (_IO_old_file_init): Remove, not for internal use.
15489         (_IO_old_file_init_internal): Declare, internal replacement for
15490         _IO_old_file_init.
15491         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
15492         internal use.
15493         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
15494         Declare.
15495         (libio_vtable): New macro.
15496         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
15497         functions.
15498         * libio/fileops.c (_IO_new_file_init_internal): Rename from
15499         _IO_new_file_init.
15500         (_IO_new_file_init): New externally visible wrapper which disables
15501         vtable verification.
15502         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
15503         Define as vtables.
15504         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
15505         (_IO_init): New externally visible wrapper which disables
15506         vtable verification.
15507         * libio/iofdopen.c (_IO_new_fdopen): Call
15508         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
15509         comment.
15510         * libio/iofopen.c (__fopen_internal): Call
15511         _IO_new_file_init_internal instead of _IO_file_init.
15512         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
15513         Define as vtables.
15514         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
15515         _IO_new_file_init_internal instead of _IO_file_init.
15516         * libio/iopopen.c (_IO_new_popen): Likewise.
15517         (_IO_proc_jumps): Define as vtable.
15518         * libio/iovdprintf.c (_IO_vdprintf): Call
15519         _IO_new_file_init_internal instead of _IO_file_init.
15520         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
15521         (__open_memstream): Call _IO_init_internal instead of _IO_init.
15522         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
15523         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
15524         _IO_old_file_init.
15525         (_IO_old_file_init): New externally visible wrapper which disables
15526         vtable verification.
15527         (_IO_old_file_jumps): Define as vtable.
15528         * libio/oldiofdopen.c (_IO_old_fdopen): Call
15529         _IO_old_file_init_internal instead of _IO_old_file_init.
15530         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
15531         * libio/oldiopopen.c (_IO_old_popen): Likewise.
15532         (_IO_old_proc_jumps): Define as vtable.
15533         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
15534         Define as vtables.
15535         * libio/vtables.c: New file.
15536         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
15537         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
15538         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
15539         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
15540         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
15541         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
15542         instead of _IO_init.
15544 2016-06-23  Florian Weimer  <fweimer@redhat.com>
15546         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
15548 2016-06-23  Florian Weimer  <fweimer@redhat.com>
15550         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
15551         potentially unused.
15553 2016-06-22  Florian Weimer  <fweimer@redhat.com>
15555         * test-skeleton.c (write_message): New function.
15556         * malloc/tst-mallocfork2.c (write_message): Remove.
15557         * debug/tst-longjmp_chk2.c (write_indented): New function.
15558         (write_message): Remove.
15559         (stackoverflow_handler): Call write_indented.
15561 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
15563         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
15564         "inexact" exceptions after fnstenv.
15565         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
15566         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
15567         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
15569 2015-06-22  Zack Weinberg  <zackw@panix.com>
15571         * sysdeps/generic/bits/hwcap.h: Moved to ...
15572         * bits/hwcap.h: Here.
15574 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
15576         * sysdeps/aarch64/memcpy.S (memcpy):
15577         Further tuning for performance.
15579 2016-06-21  Florian Weimer  <fweimer@redhat.com>
15581         [BZ #20284]
15582         * malloc/arena.c (reused_arena): Do not return NULL if we start
15583         out with a non-corrupted arena.
15585 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15587         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
15588         * misc/tst-preadvwritev.c: New file.
15589         * misc/tst-preadvwritev64.c: Likewise.
15590         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
15591         usage.
15592         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
15593         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
15594         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
15595         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
15597 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
15599         [BZ #19654]
15600         * sysdeps/x86_64/fpu/Makefile: Added new tests.
15601         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
15602         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
15603         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
15604         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
15605         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
15606         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
15607         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
15608         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
15609         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
15610         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
15611         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
15612         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
15613         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
15614         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
15615         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
15616         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
15617         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
15618         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
15619         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
15620         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
15621         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
15622         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
15623         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
15624         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
15625         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
15627 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
15629         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
15630         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
15632 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
15634         * sysdeps/aarch64/memcpy.S (memcpy):
15635         Rewrite of optimized memcpy and memmove.
15636         * sysdeps/aarch64/memmove.S (memmove): Remove
15637         memmove code (merged into memcpy.S).
15639 2016-06-20  Florian Weimer  <fweimer@redhat.com>
15641         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
15642         * sysdeps/generic/dl-dtv.h: New file.
15643         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15644         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
15645         (dtv_t): Remove.
15646         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15647         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
15648         (dtv_t): Remove.
15649         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15650         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
15651         (dtv_t): Remove.
15652         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15653         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
15654         (dtv_t): Remove.
15655         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15656         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
15657         (dtv_t): Remove.
15658         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15659         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
15660         (dtv_t): Remove.
15661         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15662         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
15663         (dtv_t): Remove.
15664         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
15665         (dtv_t): Remove.
15666         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15667         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
15668         (dtv_t): Remove.
15669         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15670         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
15671         (dtv_t): Remove.
15672         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15673         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
15674         (dtv_t): Remove.
15675         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15676         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
15677         (dtv_t): Remove.
15678         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15679         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
15680         (dtv_t): Remove.
15681         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15682         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
15683         (dtv_t): Remove.
15684         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15685         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
15686         (dtv_t): Remove.
15687         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15688         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
15689         (dtv_t): Remove.
15691 2016-06-20  Florian Weimer  <fweimer@redhat.com>
15693         Revert symbol poisoning of  __malloc_initialize_hook.
15694         * include/stdc-predef.h (__malloc_initialize_hook): Remove
15695         poisoning.
15696         * malloc/Makefile: Remove un-poisoning.
15697         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
15698         instead of old__malloc_initialize_hook.
15699         * malloc/malloc-hooks.h: Likewise.
15700         * malloc/malloc.c: Likewise.
15701         * malloc/mcheck-init.c: Likewise.
15703 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
15705         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
15707 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
15709         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
15710         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
15711         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
15712         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
15714 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15716         * NEWS: Mention addition of nextup and nextdown.
15717         * manual/arith.texi: Document nextup and nextdown.
15718         * manual/libm-err-tab.pl: Add nextup and nextdown.
15719         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
15720         * math/Versions (libm): Add GLIBC_2.24.
15721         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
15722         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
15723         Add new test.
15724         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
15725         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
15726         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
15727         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
15728         (nextup_test_data): Likewise.
15729         (nextdown_test_data): Likewise.
15730         * math/s_nextdown.c: New file.
15731         * math/s_nextdownf.c: Likewise.
15732         * math/s_nextdownl.c: Likewise.
15733         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
15734         F(nextup): New function.
15735         F(nextdown): Likewise.
15736         * math/tgmath.h: Add nextup and nextdown.
15737         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
15738         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
15739         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
15740         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
15741         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
15742         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
15743         Add nextup and nextdown.
15744         (CFLAGS-nldbl-nextup.c): New variable.
15745         (CFLAGS-nldbl-nextdown.c): Likewise.
15746         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
15747         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
15748         * sysdeps/nacl/libm.abilist: Update.
15749         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15750         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15751         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15752         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15753         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15754         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15755         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15756         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15757         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15758         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15759         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15760         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15763         Likewise.
15764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15766         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15767         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15768         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15769         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15770         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
15772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
15773         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15774         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15775         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
15776         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15778 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15780         * manual/pattern.texi: Fix typos & grammar errors.
15782 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15784         * manual/search.texi: Fix typos & grammar errors.
15786 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15788         * manual/message.texi: Fix typos & grammar errors.
15790 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
15792         * manual/contrib.texi: Fix spelling typos.
15793         * manual/crypt.texi: Likewise.
15794         * manual/filesys.texi: Likewise.
15795         * manual/locale.texi: Likewise.
15796         * manual/message.texi: Likewise.
15797         * manual/nss.texi: Likewise.
15798         * manual/string.texi: Likewise.
15800 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15802         * manual/locale.texi: Fix typos & grammar errors.
15804 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15806         * manual/charset.texi: Fix typos & grammar errors.
15808 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15810         * manual/string.texi: Fix typos.
15812 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15814         * manual/ctype.texi: Fix typos.
15816 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15818         * manual/memory.texi: Fix various typos & grammar errors.
15820 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
15822         [BZ #20255]
15823         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
15824         * math/libm-test.inc (fdim_test_data): Add another test.
15826         [BZ #6796]
15827         [BZ #20255]
15828         [BZ #20256]
15829         * math/s_fdim.c: Include <math_private.h>.
15830         (__fdim): Use math_narrow_eval on result.
15831         * math/s_fdimf.c: Include <math_private.h>.
15832         (__fdimf): Use math_narrow_eval on result.
15833         * sysdeps/i386/fpu/s_fdim.S: Remove file.
15834         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
15835         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
15836         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
15837         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
15838         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
15839         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
15840         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
15841         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
15842         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
15843         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
15844         * math/libm-test.inc (fdim_test_data): Expect errno setting on
15845         overflow.  Add sNaN tests.
15847         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
15848         fpclassify.
15849         * math/s_fdimf.c (__fdimf): Likewise.
15850         * math/s_fdiml.c (__fdiml): Likewise.
15852 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15854         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15855         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
15856         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15857         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
15858         ifunc'ed strcasecmp/strncasecmp.
15859         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
15860         [EALIGN]: Removed.
15861         [END]: Likewise.
15862         [__strcasecmp]: Define instead of the above to control symbol name.
15863         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
15864         for __strcasecmp_power8.
15865         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
15866         for __strncasecmp_power8.
15867         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
15868         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
15869         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
15870         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
15871         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
15872         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
15874 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
15876         [BZ #20252]
15877         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
15878         arguments when second argument is a NaN.
15879         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
15880         qNaN tests.
15882         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
15883         (conj_test_data): Likewise.
15884         (copysign_test_data): Likewise.
15885         (creal_test_data): Likewise.
15886         (fma_test_data): Likewise.
15887         (fmod_test_data): Likewise.
15889         [BZ #20250]
15890         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
15891         itself.
15892         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
15893         zero input to itself.
15894         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
15895         Likewise.
15896         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
15897         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
15898         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15899         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
15900         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
15902 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15904         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
15905         * nptl/tst-cancel4-common.c: New file.
15906         * nptl/tst-cancel4-common.h: Likewise.
15907         * nptl/tst-cancel4.c: Move common definitions to
15908         tst-cancel4-common.{c,h} file.
15909         * nptl/tst-cancel4_1.c: New test.
15910         * nptl/tst-cancel4_2.c: New test.
15912 2016-06-13  Florian Weimer  <fweimer@redhat.com>
15914         [BZ #20248]
15915         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
15916         (write_message): New function.
15917         (stackoverflow_handler): Call it instead of printf, to avoid
15918         excessive stack usage by printf.
15919         (do_test): Restore SIGSEGV, SIGBUS default handlers.
15921 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15923         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
15924         (prio_inherit_missing): Remove define.
15925         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15926         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15927         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
15928         Likewise.
15929         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15930         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15931         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15932         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15933         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15934         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15936 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
15938         [BZ #19670]
15939         [BZ #19672]
15941         * io/test-lfs.c (do_prepare): Use xmalloc.
15942         * io/tst-fcntl.c (do_prepare): Likewise.
15943         * libio/tst-fopenloc.c (do_bz17916): Likewise.
15944         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
15945         * login/tst-utmp.c (do_prepare): Likewise.
15946         * posix/tst-exec.c (do_prepare): Likewise.
15947         * posix/tst-pathconf.c (prepare): Likewise.
15948         * posix/tst-spawn.c (do_prepare): Likewise.
15949         * posix/tst-truncate.c (do_prepare): Likewise.
15950         * rt/tst-aio.c (do_prepare): Likewise.
15951         * rt/tst-aio64.c (do_prepare): Likewise.
15953 2016-06-11  Florian Weimer  <fweimer@redhat.com>
15955         [BZ #20237]
15956         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
15957         (get*ent): Set entidx to NULL during initialization.  If entidx is
15958         NULL, start iteration from the beginning.
15960 2016-06-11  Florian Weimer  <fweimer@redhat.com>
15962         * malloc/malloc.c (musable): Return correct size for dumped fake
15963         mmapped chunk.
15965 2016-06-11  Florian Weimer  <fweimer@redhat.com>
15967         [BZ #20222]
15968         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
15969         (_IO_cookie_write): Likewise.
15970         (_IO_cookie_seek): Likewise.
15971         (_IO_cookie_close): Likewise.
15972         (_IO_old_cookie_seek): Likewise.
15973         (set_callbacks): New function.
15974         (_IO_cookie_init): Call set_callbacks to copy callbacks.
15976 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
15978         * locale/programs/localedef.c (oldstyle_tables): Remove.
15979         * locale/programs/localedef.h (oldstyle_tables): Likewise.
15981 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
15983         [BZ #20240]
15984         * math/Makefile (CFLAGS-s_modf.c): New variable.
15985         (CFLAGS-s_modff.c): Likewise.
15986         (CFLAGS-s_modfl.c): Likewise.
15987         * math/libm-test.inc (modf_test_data): Add sNaN tests.
15989 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
15991         [BZ #20215]
15992         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
15993         [!__GNUC_PREREQ (3,2)]: Likewise.
15995 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
15997         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
15998         (msghdr.msg_controllen): Likewise.
15999         (cmsghdr.cmsg_len): Likewise.
16000         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
16001         ptw-oldsendmsg.
16002         (CFLAGS-oldrecvmsg.c): Remove rule.
16003         (CFLAGS-oldsendmsg.c): Likewise.
16004         (CFLAGS-recvmsg.c): Add rule.
16005         (CFLAGS-sendmsg.c): Likewise.
16006         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
16007         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
16008         (CFLAGS-recvmsg.c): Remove rule.
16009         (CFLAGS-sendmsg.c): Likewise.
16010         (CFLAGS-oldrecvmsg.c): Likewise.
16011         (CFLAGS-oldsendmsg.c): Likewise.
16012         (CFLAGS-recvmmsg.c): Likewise.
16013         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
16014         to kernel defined interfaces.
16015         (msghdr.msg_controllen): Likewise.
16016         (cmsghdr.cmsg_len): Likewise.
16017         (msghdr.__glibc_reserved1): Remove member.
16018         (msghdr.__glibc_reserved2): Likewise.
16019         (cmsghdr.__glibc_reserved1): Likewise.
16020         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
16021         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
16022         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
16023         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
16024         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
16025         version.
16026         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
16027         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
16028         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
16029         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
16030         Remove recvmsg and sendmsg.
16031         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
16032         Likewise.
16033         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
16034         Likewise.
16035         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
16036         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
16037         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
16038         Likewise.
16039         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
16040         Likewise.
16041         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
16042         [libc] (GLIBC_2.24): Likewise.
16043         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
16044         Likewise.
16045         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
16046         Likewise.
16047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
16048         [libc] (GLIBC_2.24): Likewise.
16049         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
16050         Likewise.
16051         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
16052         Likewise.
16053         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
16054         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
16055         Likewise.
16056         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
16057         Likewise.
16058         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
16059         Likewise.
16060         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
16061         Likewise.
16062         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
16063         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
16064         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
16065         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
16066         version for {recv,send,recm,sendm}msg.
16067         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16068         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
16069         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16070         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
16071         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16072         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16073         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16074         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16075         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16076         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
16077         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16078         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
16080         Likewise.
16081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16082         Likewise.
16083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16085         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16086         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16087         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16088         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16089         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16090         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16091         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
16092         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
16093         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16094         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16095         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16097 2016-06-10  Florian Weimer  <fweimer@redhat.com>
16099         [BZ #19564]
16100         Remove __malloc_initialize_hook from the API.
16101         * malloc/malloc.h (__malloc_initialize_hook): Remove.
16102         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
16103         #pragma GCC poison.
16104         * malloc/malloc-hooks.h: New file.
16105         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
16106         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
16107         (old__malloc_initialize_hook): Rename from
16108         __malloc_initialize_hook to evade poisoning.  Turn into compat
16109         symbol.
16110         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
16111         __malloc_initialize_hook.
16112         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
16113         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
16114         * manual/memory.texi (Hooks for Malloc): Remove
16115         __malloc_initialize_hook.  Adjust hook example.
16117 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
16119         [BZ #20235]
16120         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
16121         itself.
16122         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
16123         * math/libm-test.inc (log2_test_data): Add sNaN tests.
16125         [BZ #20234]
16126         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
16127         infinity or NaN input to itself.
16129         [BZ #20233]
16130         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
16131         to itself.
16133         [BZ #20232]
16134         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
16135         itself.
16137 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
16139         * sysdeps/x86_64/start.S (_start): Always indirect branch to
16140         __libc_start_main via GOT.
16142 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
16144         * sysdeps/x86_64/memcopy.h: New file.
16145         * sysdeps/x86_64/wordcopy.c: Likewise.
16147 2016-06-09  Florian Weimer  <fweimer@redhat.com>
16149         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
16150         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
16151         <cstdlib>.
16152         (optimization_barrier): New.
16153         (do_test): Use it.  Call quick_exit in the global namespace.
16154         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
16155         instead of <cstdlib>, <thread>.
16156         (optimization_barrier): New.
16157         (non_main_thread): Adjust declaration.  Call optimization_barrier.
16158         Call quick_exit in the global namespace.
16159         (do_test): Call optimization_barrier.  Use pthread_create,
16160         pthread_join instead of std::thread.
16162 2016-06-09  Andreas Schwab  <schwab@suse.de>
16164         [BZ #19755]
16165         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
16166         new entries in auto-propagate mode.
16167         * nscd/grpcache.c (cache_addgr): Likewise.
16169 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
16171         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
16172         New functions.
16173         (add_temp_file): Use them.
16175 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
16177         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
16179 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
16181         [BZ #20229]
16182         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
16183         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
16184         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
16186         [BZ #20228]
16187         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
16188         itself.
16189         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
16190         * math/libm-test.inc (log10_test_data): Add sNaN tests.
16192         [BZ #20227]
16193         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
16194         itself.
16195         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16196         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
16197         * math/libm-test.inc (log_test_data): Add sNaN tests.
16199         [BZ #20226]
16200         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
16201         itself.
16202         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
16203         * math/libm-test.inc (exp_test_data): Add sNaN tests.
16204         (exp10_test_data): Likewise.
16205         (expm1_test_data): Likewise.
16207         [BZ #20225]
16208         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
16209         itself.
16210         * math/s_ldexpf.c (__ldexpf): Likewise.
16211         * math/s_ldexpl.c (__ldexpl): Likewise.
16212         * math/w_scalbln.c (__w_scalbln): Likewise.
16213         * math/w_scalblnf.c (__w_scalblnf): Likewise.
16214         * math/w_scalblnl.c (__w_scalblnl): Likewise.
16215         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
16216         (scalbln_test_data): Likewise.
16218         [BZ #20224]
16219         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
16220         argument to itself.
16221         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
16223 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
16225         [BZ #19776]
16226         * sysdeps/x86_64/memcpy.S: Make it dummy.
16227         * sysdeps/x86_64/mempcpy.S: Likewise.
16228         * sysdeps/x86_64/memmove.S: New file.
16229         * sysdeps/x86_64/memmove_chk.S: Likewise.
16230         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
16231         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
16232         * sysdeps/x86_64/memmove.c: Removed.
16233         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
16234         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16235         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
16236         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
16237         Likewise.
16238         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16239         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16240         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16241         memcpy-sse2-unaligned, memmove-avx-unaligned,
16242         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
16243         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16244         (__libc_ifunc_impl_list): Replace
16245         __memmove_chk_avx512_unaligned_2 with
16246         __memmove_chk_avx512_unaligned.  Remove
16247         __memmove_chk_avx_unaligned_2.  Replace
16248         __memmove_chk_sse2_unaligned_2 with
16249         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
16250         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
16251         with __memmove_avx512_unaligned.  Replace
16252         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
16253         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
16254         with __memcpy_chk_avx512_unaligned.  Remove
16255         __memcpy_chk_avx_unaligned_2.  Replace
16256         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
16257         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
16258         Replace __memcpy_avx512_unaligned_2 with
16259         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
16260         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
16261         with __mempcpy_chk_avx512_unaligned.  Remove
16262         __mempcpy_chk_avx_unaligned_2.  Replace
16263         __mempcpy_chk_sse2_unaligned_2 with
16264         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
16265         Replace __mempcpy_avx512_unaligned_2 with
16266         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
16267         Replace __mempcpy_sse2_unaligned_2 with
16268         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
16269         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
16270         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
16271         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
16272         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
16273         (ENTRY): Removed.
16274         (END): Likewise.
16275         (ENTRY_CHK): Likewise.
16276         (libc_hidden_builtin_def): Likewise.
16277         Don't include ../memcpy.S.
16278         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
16279         __memcpy_chk_avx512_unaligned_erms and
16280         __memcpy_chk_avx512_unaligned.  Use
16281         __memcpy_chk_avx_unaligned_erms and
16282         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
16283         Default to __memcpy_chk_sse2_unaligned.
16284         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16285         Change function suffix from unaligned_2 to unaligned.
16286         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
16287         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
16288         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
16289         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
16290         (ENTRY): Removed.
16291         (END): Likewise.
16292         (ENTRY_CHK): Likewise.
16293         (libc_hidden_builtin_def): Likewise.
16294         Don't include ../mempcpy.S.
16295         (mempcpy): New.  Add a weak alias.
16296         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
16297         __mempcpy_chk_avx512_unaligned_erms and
16298         __mempcpy_chk_avx512_unaligned.  Use
16299         __mempcpy_chk_avx_unaligned_erms and
16300         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
16301         Default to __mempcpy_chk_sse2_unaligned.
16303 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
16305         [BZ #19881]
16306         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
16307         into ...
16308         * sysdeps/x86_64/memset.S: This.
16309         (__bzero): Removed.
16310         (__memset_tail): Likewise.
16311         (__memset_chk): Likewise.
16312         (memset): Likewise.
16313         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
16314         defined.
16315         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
16316         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
16317         (__memset_zero_constant_len_parameter): Check SHARED instead of
16318         PIC.
16319         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16320         memset-avx2 and memset-sse2-unaligned-erms.
16321         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16322         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
16323         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
16324         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
16325         (__bzero): Enabled.
16326         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
16327         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
16328         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
16329         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
16330         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
16331         (memset): Removed.
16332         (__memset_chk): Likewise.
16333         (MEMSET_SYMBOL): New.
16334         (libc_hidden_builtin_def): Replace __memset_sse2 with
16335         __memset_sse2_unaligned.
16336         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
16337         __memset_chk_sse2 and __memset_chk_avx2 with
16338         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
16339         Use __memset_chk_sse2_unaligned_erms or
16340         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
16341         __memset_chk_avx512_unaligned_erms and
16342         __memset_chk_avx512_unaligned.
16344 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16346         * math/gen-auto-libm-test.c (fp_format_desc): remove
16347         suffix member.
16348         (output_generic_value): Remove usage of suffix member,
16349         and the resulting unuse of the fp_format argument.
16350         (output_for_one_input_case): Remove unused fp_format
16351         parameter.
16353         * math/auto-libm-test-out: Regenerate.
16355         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
16356         usage with TEST_COND_ibm128.
16357         (TEST_COND_flt_32): Remove.
16358         (TEST_COND_dbl_64): Remove.
16359         (TEST_COND_ldbl_96_intel): Remove.
16360         (TEST_COND_ldbl_96_m68k): Remove.
16361         (TEST_COND_ldbl_128): Remove.
16363 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16365         * auto-libm-test-in:
16366         Replace flt-32 usage with binary32.
16367         Replace dbl-64 usage with binary64.
16368         Replace ldbl-intel-96 usage with intel96.
16369         Replace ldbl-m68k-96 usage with m68k96.
16370         Replace ldbl-128ibm usage with ibm128.
16371         Replace ldbl-128 usage with binary128.
16373         * auto-libm-test-out: Regenerate.
16375 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16377         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
16378         (parse_ulps): Dynamically generate type name matching
16379         string from all_floats.
16380         (get_ulps): Generate the ulps as an array instead.
16381         (output_ulps): Dynamically compose the type based
16382         on the number of supported formats, and print
16383         the indices as type specific helper macros.
16385         * math/libm-test.inc: Remove comment about CHOOSE.
16386         (ulp_data): Generate the type in libm-test-ulps.h.
16387         (ULP_IDX): New macro.
16388         (find_ulps): Update usage of max_ulp.
16390         * math/test-double-vlen2.h (CHOOSE): Remove.
16391         * math/test-double-vlen4.h (CHOOSE): Likewise.
16392         * math/test-double-vlen8.h (CHOOSE): Likewise.
16393         * math/test-float.c (CHOOSE): Likewise.
16394         * math/test-float-finite.c (CHOOSE): Likewise.
16395         * math/test-double.c (CHOOSE): Likewise.
16396         * math/test-double-finite.c (CHOOSE): Likewise.
16397         * math/test-idouble.c (CHOOSE): Likewise.
16398         * math/test-ifloat.c (CHOOSE): Likewise.
16399         * math/test-ildoubl.c (CHOOSE): Likewise.
16400         * math/test-ldouble-finite.c (CHOOSE): Likewise.
16401         * math/test-ldouble.c (CHOOSE): Likewise.
16403         * math/test-float.h (TEST_FLOAT): Remove.
16404         * math/test-double.h (TEST_DOUBLE): Likewise.
16405         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
16407 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16409         * math/gen-libm-test.pl: (apply_lit): New subroutine.
16410         (parse_args): Strip C suffix from floating point literals
16411         typed with 'f' and wrap them with LIT().
16413         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
16414         (test_ff_f_data_nexttoward): Rename to
16415         (test_fj_f_data): New struct.
16416         (nexttoward_test_data): Relabel tests as
16417         TEST_fj_f instead of TEST_ff_f.
16419 2016-06-08  Florian Weimer  <fweimer@redhat.com>
16421         Emacs bug 23726.
16422         * malloc/malloc.c (dumped_main_arena_start): Update comment.
16423         (__libc_realloc): Correct size computation for dumped fake mmapped
16424         chunks.
16426 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
16428         [BZ #20219]
16429         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
16430         to itself.
16431         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
16433         [BZ #20218]
16434         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
16435         to itself.
16436         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
16438 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
16440         [BZ #20195]
16441         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
16442         check to ...
16443         (init_cpu_features): Here.
16445 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
16447         [BZ #20214]
16448         * sysdeps/unix/sysv/linux/bits/in.h
16449         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
16450          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
16451         Define to 1.
16452         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
16453          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
16454         Define to 0.
16455         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
16456         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
16458 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
16460         [BZ #20198]
16461         * stdlib/Makefile (tests): Add tst-quick_exit, and
16462         tst-thread-quick_exit.
16463         [ifeq ($(have-cxx-thread_local),yes)]
16464         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
16465         (CFLAGS-tst-thread-quick_exit.o): Likewise.
16466         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
16467         (LDLIBS-tst-thread-quick_exit): Likewise.
16468         [ifneq ($(have-cxx-thread_local),yes)]
16469         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
16470         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
16471         If run_dtors is true call __call_tls_dtors.
16472         (exit): Call __run_exit_handlers with run_dtors set to true.
16473         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
16474         definition.
16475         * stdlib/quick_exit.c (quick_exit): Remove function.
16476         (__new_quick_exit): New function.
16477         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
16478         function.
16479         * stdlib/tst-quick_exit.cc: New file.
16480         * stdlib/tst-thread-quick_exit.cc: New file.
16481         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
16482         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
16483         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
16484         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
16485         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
16486         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
16487         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
16488         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
16489         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
16490         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
16491         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
16492         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
16493         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
16494         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
16495         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
16496         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
16497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
16498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
16499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
16500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
16501         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
16502         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
16503         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
16504         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
16505         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
16506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
16507         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
16508         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
16509         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
16510         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
16512 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
16514         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
16515         a typo in comments.
16517 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
16519         [BZ #20213]
16520         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
16521         argument to itself.
16522         * math/libm-test.inc (asin_test_data): Add sNaN tests.
16524 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16526         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
16527         required flags.
16528         (CFLAGS-pwritev64.c): Likewise.
16529         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
16530         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
16531         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
16532         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
16533         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
16534         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
16535         syscall from auto-generation.
16536         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
16537         [WORDSIZE == 64] (pwritev64): Remove macro.
16538         [!PWRITEV] (PWRITEV): Likewise.
16539         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
16540         [!PWRITEV] (PWRITE): Likewise.
16541         [!PWRITEV] (OFF_T): Likewise.
16542         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
16543         (LO_HI_LONG): Remove macro.
16544         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
16545         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
16546         (PWRITEV): Remove macro.
16547         (PWRITEV_REPLACEMENTE): Likewise.
16548         (PWRITE): Likewise.
16549         (OFF_T): Likewise.
16550         (pwritev64): New function.
16551         * nptl/tst-cancel4.c (tf_writev): Add test.
16553         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
16554         required flags.
16555         (CFLAGS-preadv64.c): Likewise.
16556         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
16557         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
16558         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
16559         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
16560         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
16561         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
16562         syscall from auto-generation.
16563         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
16564         [WORDSIZE == 64] (preadv64): Remove macro.
16565         [!PREADV] (PREADV): Likewise.
16566         [!PREADV] (PREADV_REPLACEMENT): Likewise.
16567         [!PREADV] (PREAD): Likewise.
16568         [!PREADV] (OFF_T): Likewise.
16569         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
16570         (LO_HI_LONG): Remove macro.
16571         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
16572         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
16573         (PREADV): Remove macro.
16574         (PREADV_REPLACEMENTE): Likewise.
16575         (PREAD): Likewise.
16576         (OFF_T): Likewise.
16577         (preadv64): New function.
16578         * nptl/tst-cancel4.c (tf_preadv): Add test.
16580 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
16582         [BZ #20212]
16583         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
16584         argument to itself.
16585         * math/libm-test.inc (acos_test_data): Add sNaN tests.
16587 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16589         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
16590         New symbol defined as libc_hidden_def.
16591         (strcasestr): Became a weak alias to __strcasestr.
16592         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
16593         according to multi-arch support.  Move __stpncpy hidden
16594         definition from here to...
16595         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
16596         symbol stpncpy.
16597         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
16598         libc_hidden_builtin_def.
16599         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
16600         memset symbol to use when multi-arch support is available.
16602 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
16604         * dlfcn/tst-rec-dlopen.c: Include string.h.
16606 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16608         * manual/install.texi: Remove mention of --without-tls
16609         * INSTALL: Regenerate.
16611 2016-06-05  Florian Weimer  <fweimer@redhat.com>
16613         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
16614         Remove.
16615         (call_function, interposed_malloc_called): New variables.
16616         (malloc): New function.
16617         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
16618         and clear call_function as needed.
16620 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
16622         * include/wchar.h (__wmemset): Use __typeof.
16624 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
16626         * include/wchar.h (__wmemset): Declare function without typeof.
16628 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
16630         [BZ #20205]
16631         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
16632         exponent when incrementing negative subnormal with low mantissa
16633         word zero.
16634         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
16635         Add another test.
16637 2016-06-03  Florian Weimer  <fweimer@redhat.com>
16639         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
16640         __wmemset instead of wmemset.
16642 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
16644         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
16645         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
16646         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
16647         __USE_KERNEL_IPV6_DEFS to 0.
16648         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
16649         Update comment.
16651 2016-06-01  Florian Weimer  <fweimer@redhat.com>
16653         [BZ #19861]
16654         Do not use IFUNC resolver with potentially unrelocated symbol.
16655         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
16656         (DEFINE_FORK): Remove macro and inline definition.
16657         (fork_alias): Renamed from fork_ifunc.
16658         (__fork_alias): Renamed from __fork_ifunc.
16660 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
16662         [BZ 19653]
16663         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
16664         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
16666 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16668         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
16669         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
16670         i386-linux-gnu).
16671         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
16672         Set to no.
16673         * sysdeps/mach/hurd/configure: Refresh.
16675 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16677         [BZ #20178]
16678         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
16679         on failure instead of exit.
16681 2016-05-30  Roland McGrath  <roland@hack.frob.com>
16683         [BZ #3629]
16684         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
16685         of POSIX.1-2008.
16687 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16689         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
16690           Use PLT entry for calling _hurd_self_sigstate.
16692 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
16694         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
16695         available logical processors with SMT level type sharing L2
16696         cache for Intel processors.
16698 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
16700         [BZ #20160]
16701         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
16702         argument to itself before returning the result.
16703         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
16704         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
16705         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
16706         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
16707         Likewise.
16708         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
16709         Likewise.
16710         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
16711         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
16712         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
16713         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
16714         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
16715         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
16717         [BZ #20160]
16718         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
16719         argument to itself before returning the result.
16720         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
16721         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
16722         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
16723         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
16724         Likewise.
16725         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
16726         Likewise.
16727         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
16728         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
16729         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
16730         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
16731         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
16732         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
16734 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16736         * libm-test.inc: Replace usage of M_El with
16737         (lit_e): New macro.
16739 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16741         * libm-test.inc: Replace usage of M_PI_4l with
16742         (lit_pi_4_d): New macro.
16744 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16746         * libm-test.inc: Replace usage of M_PIl with
16747         (lit_pi): New macro.
16749 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16751         * libm-test.inc: Replace usage of M_PI2l with
16752         (lit_pi_2_d): New macro.
16754         * math/test-double.h (LITM): New macro.
16755         * math/test-float.h (LITM): Likewise.
16756         * math/test-ldouble.h (LITM): Likewise.
16758 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16760         * libm-test.inc (M_PI_34l): Rename to
16761         (lit_pi_3_m_4_d): New Macro.
16762         (M_PI_34_LOG10El): Rename to
16763         (lit_pi_3_m_4_ln10_m_d): New Macro.
16764         (M_PI2_LOG10El): Rename to
16765         (lit_pi_2_ln10_m_d):  New Macro.
16766         (M_PI4_LOG10El): Rename to
16767         (lit_pi_4_ln10_m_d):  New Macro.
16768         (M_PI_LOG10El): Rename to
16769         (lit_pi_ln10_d):  New Macro.
16771 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
16773         [BZ #20157]
16774         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
16775         determine whether to negate low half if [_ARCH_PPCGR], and integer
16776         comparison otherwise.
16777         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
16778         determine whether to negate low half.
16780         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
16781         (NO_TEST_INLINE_DOUBLE): Likewise.
16782         (TEST_COND_x86_64): Likewise.
16783         (TEST_COND_x86): Likewise.
16784         (M_PI_6l): Likewise.
16786 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16788         * math/libm-test.inc:
16789         (TEST_FLOAT): Change usage to TEST_COND_binary32.
16790         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
16791         (TEST_LDOUBLE): Update usage to evaluate as true if
16792         the guarded tests match the property being tested.
16793         (LDBL_MAX_EXP): Change to MAX_EXP.
16794         (LDBL_MIN_EXP): Change to MIN_EXP.
16795         (LDBL_MANT_DIG): Change to MANT_DIG, except for
16796         nexttoward tests.
16798 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16800         * math/libm-test.inc:
16801         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
16802         (TYPE_MIN): Likewise.
16803         (TYPE_TRUE_MIN): Likewise.
16804         (TYPE_MAX): Likewise.
16805         (MIN_EXP): Likewise.
16806         (MAX_EXP): Likewise.
16807         (MANT_DIG): Likewise.
16809         (FSTR_MAX): New macro.
16810         (__CONCATX): Likewise.
16811         (QTYPE_STR): Likewise.
16812         (TEST_COND_binary32): Likewise.
16813         (TEST_COND_binary64): Likewise.
16814         (TEST_COND_binary128): Likewise.
16815         (TEST_COND_ibm128): Likewise.
16816         (TEST_COND_intel96): Likewise.
16817         (TEST_COND_m68k96): Likewise.
16819         (TEST_COND_flt_32): Redefine as equivalent format test macro.
16820         (TEST_COND_dbl_64): Likewise.
16821         (TEST_COND_ldbl_96_intel): Likewise.
16822         (TEST_COND_ldbl_96_m68k): Likewise.
16823         (TEST_COND_ldbl_128): Likewise.
16824         (TEST_COND_ldbl_128ibm): Likewise.
16826         (plus_zero): Redefine using LIT macro.
16827         (minus_zero): Likewise.
16828         (plus_infty): Redefine as (INF).
16829         (minux_infty): Redefine as (-INF).
16830         (max_value): Redefine as TYPE_MAX.
16831         (min_value): Redefine as TYPE_MIN.
16832         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
16834         (print_float): Refactor to use snprintf to convert FLOAT values
16835         to string. This brings it closer to dropin replacement of strtof
16836         for the TS 18661 defined types.
16837         (update_stats): Likewise.
16838         (print_complex_function_ulps): Likewise.
16839         (print_max_error): Likewise.
16840         (print_complex_max_error): Likewise.
16841         (check_float_internal): Likewise.
16843         * math/test-float.h (PREFIX): New macro.
16844         (LIT): Likewise.
16845         (TYPE_STR): Likewise.
16846         (FTOSTR): Likewise.
16848         * math/test-double.h (PREFIX): New macro.
16849         (LIT): Likewise.
16850         (TYPE_STR): Likewise.
16851         (FTOSTR): Likewise.
16853         * math/test-ldouble.h (PREFIX): New macro.
16854         (LIT): Likewise.
16855         (TYPE_STR): Likewise.
16856         (FTOSTR): Likewise.
16858 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
16860         [BZ #20156]
16861         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
16862         to itself when zero or not finite.
16863         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
16864         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
16865         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
16866         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
16868 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
16870         [BZ #20153]
16871         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
16872         x * x + x for infinities and NaNs.
16874         [BZ #20151]
16875         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
16876         argument to itself before returning result.
16877         (__ieee754_y0l): Likewise.
16878         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16879         (__ieee754_y1l).
16881         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
16882         (atan_test_data): Likewise.
16883         (ceil_test_data): Likewise.
16884         (cos_test_data): Likewise.
16885         (cosh_test_data): Likewise.
16886         (erf_test_data): Likewise.
16887         (exp2_test_data): Likewise.
16888         (fabs_test_data): Likewise.
16889         (floor_test_data): Likewise.
16890         (ilogb_test_data): Likewise.
16891         (j0_test_data): Likewise.
16892         (j1_test_data): Likewise.
16893         (jn_test_data): Likewise.
16894         (lgamma_test_data): Likewise.
16895         (lrint_test_data): Likewise.
16896         (llrint_test_data): Likewise.
16897         (logb_test_data): Likewise.
16898         (lround_test_data): Likewise.
16899         (llround_test_data): Likewise.
16900         (nearbyint_test_data): Likewise.
16901         (rint_test_data): Likewise.
16902         (round_test_data): Likewise.
16903         (sin_test_data): Likewise.
16904         (sincos_test_data): Likewise.
16905         (sinh_test_data): Likewise.
16906         (sqrt_test_data): Likewise.
16907         (tan_test_data): Likewise.
16908         (tanh_test_data): Likewise.
16909         (tgamma_test_data): Likewise.
16910         (trunc_test_data): Likewise.
16911         (y0_test_data): Likewise.
16912         (y1_test_data): Likewise.
16913         (yn_test_data): Likewise.
16915         * math/libm-test.inc: Update comment about NaN testing.
16916         (TEST_SNAN): New macro.
16917         (snan_value): Likewise.
16918         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
16919         (fpclassify_test_data): Add sNaN tests.
16920         (isfinite_test_data): Likewise.
16921         (isinf_test_data): Likewise.
16922         (isnan_test_data): Likewise.
16923         (isnormal_test_data): Likewise.
16924         (issignaling_test_data): Likewise.
16925         (signbit_test_data): Likewise.
16926         * math/gen-libm-test.pl (%beautify): Add snan_value.
16927         (show_exceptions): Add argument $test_snan.
16928         (parse_args): Handle snan_value as non-finite.  Update call to
16929         show_exceptions.
16930         * math/Makefile (libm-test-no-inline-cflags): Add
16931         -fsignaling-nans.
16933 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16935         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
16936         (CFLAGS-oldsendmsg.c): Add rule.
16937         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
16938         Correct recvmsg symbol name.
16939         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
16940         Likewise.
16942 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16944         * sysdeps/unix/sysv/linux/Makefile
16945         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
16946         oldsendmmsg.
16947         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
16948         sendmmsg.
16949         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16950         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16951         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16952         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16954         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16955         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16956         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
16957         Likewise.
16958         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16959         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
16960         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
16961         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
16962         iovlen and controllen fields to adjust to POSIX specification.
16963         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
16965         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
16966         and change to correct expected type.
16967         (msghdr.msg_controllen): Likewise.
16968         (cmsghdr.cmsg_len): Likewise.
16969         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
16970         expected POSIX assumption about the size.
16971         (msghdr.msg_controllen): Likewise.
16972         (msghdr.__glibc_reserved1): Likewise.
16973         (msghdr.__glibc_reserved2): Likewise.
16974         (cmsghdr.cmsg_len): Likewise.
16975         (cmsghdr.__glibc_reserved1): Likewise.
16976         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
16977         Add ptw-oldrecvmsg and ptw-oldsendmsg.
16978         (CFLAGS-sendmsg.c): Remove rule.
16979         (CFLAGS-recvmsg.c): Likewise.
16980         (CFLAGS-oldsendmsg.c): Add rule.
16981         (CFLAGS-oldrecvmsg.c): Likewise.
16982         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
16983         recvmsg and sendmsg.
16984         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
16985         Likewise.
16986         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
16987         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
16988         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
16989         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
16990         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
16991         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
16992         Likewise.
16993         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
16994         Likewise.
16995         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
16996         Likewise.
16997         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
16998         Likewise.
16999         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
17000         Likewise.
17001         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
17002         Likewise.
17003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
17004         (GLIBC_2.24): Likewise.
17005         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
17006         Likewise.
17007         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
17008         Likewise.
17009         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
17010         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
17011         Likewise.
17012         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
17013         Likewise.
17014         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
17015         Likewise.
17016         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
17017         (GLIBC_2.24): Likewise.
17018         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
17019         Likewise.
17020         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
17021         Likewise.
17022         * sysdeps/unix/sysv/linux/Makefile
17023         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
17024         (CFLAGS-sendmsg.c): Add rule.
17025         (CFLAGS-recvmsg.c): Likewise.
17026         (CFLAGS-oldsendmsg.c): Likewise.
17027         (CFLAGS-oldrecvmsg.c): Likewise.
17028         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
17029         initialization.
17030         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
17031         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
17032         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
17033         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
17034         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
17035         iovlen and controllen fields to adjust to POSIX specification.
17036         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
17037         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
17038         added recvmsg and sendmsg.
17039         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17040         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17041         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17042         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17043         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17044         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17045         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17046         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17047         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
17048         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17049         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17050         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
17051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
17052         Likewise.
17053         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
17054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
17055         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
17056         Likewise.
17057         Likewise.
17058         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17059         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17060         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17061         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17062         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17063         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
17065         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
17067         Likewise.
17068         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17069         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17071         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
17072         from auto-generation.
17073         (sendmsg): Likewise.
17074         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
17075         (sendmsg): Likewise.
17076         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
17077         (sendmsg): Likewise.
17078         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
17079         (sendmsg): Likewise.
17080         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
17081         (sendmsg): Likewise.
17082         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
17083         (sendmsg): Likewise.
17084         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
17085         Likewise.
17086         (sendmsg): Likewise.
17087         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
17088         (sendmsg): Likewise.
17089         * sysdeps/unix/sysv/linux/i386/kernel-features.h
17090         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17091         Remove.
17092         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17093         Likewise.
17094         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17095         Undefine.
17096         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17097         Likewise.
17098         * sysdeps/unix/sysv/linux/kernel-features.h
17099         (__ASSUME_SENDMSG_SYSCALL): Define.
17100         (__ASSUME_RECVMSG_SYSCALL): Likewise.
17101         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17102         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17103         Remove.
17104         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17105         Likewise.
17106         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17107         Undefine.
17108         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17109         Likewise.
17110         * sysdeps/unix/sysv/linux/s390/kernel-features.h
17111         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17112         Remove.
17113         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17114         Likewise.
17115         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17116         Undefine.
17117         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17118         Likewise.
17119         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17120         (__ASSUME_SENDMSG_SYSCALL): Undefine.
17121         (__ASSUME_RECVMSG_SYSCALL): Likewise.
17122         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17123         (__ASSUME_SENDMSG_SYSCALL): Likewise.
17124         (__ASSUME_RECVMSG_SYSCALL): Likewise.
17125         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17126         (__ASSUME_SENDMSG_SYSCALL): Likewise.
17127         (__ASSUME_RECVMSG_SYSCALL): Likewise.
17129 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17131         * stdlib/gen-tst-strtod-round.c: Add backslash to
17132         compile command in comment.
17133         (printfp): Remove the literal suffix, and define an infinite
17134         value as INF to avoid expansion clash with INFINITY.
17135         (round_str): Remove the literal suffix.
17136         (round_for_all): Likewise, remove the now duplicate ldbl-64
17137         entry, and remove some magic constants.
17139         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
17140         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
17141         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
17142         (_CONCAT): New macro.
17143         (CONCAT): Likewise.
17144         (CHOOSE_ld): Likewise.
17145         (CHOOSE_f): Likewise.
17146         (CHOOSE_d): Likewise.
17147         (FTYPE_MEMBER): Likewise.
17148         (BOOL_MEMBER): Likewise.
17149         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
17150         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
17151         (_XNTRY): Likewise.
17152         (XNTRY): Likewise.
17153         (_ENTRY): Likewise.
17154         (ENTRY): Likewise.
17155         (test_exactness): Generate members via macro.
17156         (test_results): Likewise.
17157         (test): Update members.
17158         (TEST): Redefine using new macros.
17159         (INF): New macro.
17160         (fetestmodes): New structure.
17161         (do_test): Refactor to be type generic.
17162         (test_in_one_mode): Refactor duplicate code into
17163         (GEN_ONE_TEST): New macro.
17165         * stdlib/tst-strtod-round-data.h: Regenerate.
17167         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
17168         Extend to pass additional arbitrary parameters to
17169         generators.
17171 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
17173         [BZ #15479]
17174         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
17175         floating-point state after first floating-point operation on
17176         input.  Restore full floating-point state instead of just rounding
17177         mode.
17178         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
17179         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
17180         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
17181         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
17182         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
17184         [BZ #15479]
17185         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
17186         floating-point state after first floating-point operation on
17187         input.  Restore full floating-point state instead of just rounding
17188         mode.
17189         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
17190         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
17191         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
17192         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
17193         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
17195 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17197         [BZ #19727]
17198         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
17199         valid high surrogate.
17200         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
17201         of an utf16 surrogate.
17202         * iconv/gconv_simple.c (BODY): Likewise.
17203         * iconvdata/bug-iconv12.c: New file.
17204         * iconvdata/Makefile (tests): Add bug-iconv12.
17206 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17208         [BZ #19726]
17209         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
17210         outptrp in case of an illegal input.
17211         * iconv/tst-iconv6.c: New file.
17212         * iconv/Makefile (tests): Add tst-iconv6.
17214 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17216         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
17217         an error in case of a value in range of an utf16 low surrogate.
17219 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17221         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
17222         an error in case of a value in range of an utf16 low surrogate.
17224 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17226         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
17227         Move to ...
17228         * sysdeps/s390/Makefile: ... here.
17229         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
17230         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
17231         (BRANCH_ON_COUNT): New define.
17232         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
17233         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
17234         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
17235         run on s390-32, too.
17236         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
17237         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
17238         run on s390-32, too.
17239         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
17240         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
17241         run on s390-32, too.
17243 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17245         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
17246         etf3eh or new vector loop-variant.
17248 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17250         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
17251         etf3eh or new vector loop-variant.
17253 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17255         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
17256         or new vector loop-variant.
17258 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17260         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
17261         Rename to TR_LOOP and usage of tr instead of troo instruction.
17263 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17265         * sysdeps/s390/multiarch/gconv_simple.c: New File.
17266         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
17268 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17270         * sysdeps/s390/multiarch/8bit-generic.c: New File.
17271         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
17272         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
17273         New override define.
17274         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
17276 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17278         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
17279         * sysdeps/s390/configure.ac: Add test for S390 vector register
17280         support in gcc.
17281         * sysdeps/s390/configure: Regenerated.
17283 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17285         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
17286         Install file from $(objpfx)gconv-modules.
17287         ($(objpfx)gconv-modules): Concatenate architecture specific file
17288         in variable sysdeps-gconv-modules and gconv-modules in src dir.
17289         * sysdeps/s390/gconv-modules: New file.
17290         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
17291         Deleted.
17292         ($(objpfx)gconv-modules-s390): Deleted.
17293         (sysdeps-gconv-modules): New variable.
17295 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
17297         [BZ #15479]
17298         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
17299         of immediate operand to rounding instruction.
17300         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
17301         Likewise.
17302         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
17303         Likewise.
17304         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
17305         Likewise.
17307 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17309         * math/libm-test.inc (MIN_EXP): Directly define as
17310         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
17312 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17314         * math/libm-test.inc (MANT_DIG): Directly define as
17315         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
17317 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17319         * stdlib/gen-tst-strtod-round.c (main):
17320           Change usage to more closely match the generated
17321           output.  Add usage and compilation instructions.
17322           (string_to_fp): Add and use FILE* parameter as
17323           output target.
17324           (print_fp): Likewise.
17325           (round_str): Likewise.
17326           (round_for_all): Likewise.
17327         * stdlib/tst-strtod-round.c (tests): Move into
17328         * stdlib/tst-strtod-round-data.h: New file.
17330 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
17332         [BZ #15479]
17333         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
17334         (__round): Do not force "inexact" exception.
17335         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
17336         variable.
17337         (__round): Do not force "inexact" exception.
17338         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
17339         (__roundf): Do not force "inexact" exception.
17340         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
17341         (__roundl): Do not force "inexact" exception.
17342         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
17343         (__roundl): Do not force "inexact" exception.
17344         * math/libm-test.inc (round_test_data): Do not allow spurious
17345         "inexact" exceptions.
17347         [BZ #15479]
17348         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
17349         exception in comment.
17350         (huge): Remove variable.
17351         (__floor): Do not force "inexact" exception.
17352         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
17353         "inexact" exception in comment.
17354         (huge): Remove variable.
17355         (__floor): Do not force "inexact" exception.
17356         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
17357         exception in comment.
17358         (huge): Remove variable.
17359         (__floorf): Do not force "inexact" exception.
17360         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
17361         exception in comment.
17362         (huge): Remove variable.
17363         (__floorl): Do not force "inexact" exception.
17365         [BZ #15479]
17366         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
17367         exception in comment.
17368         (huge): Remove variable.
17369         (__ceil): Do not force "inexact" exception.
17370         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
17371         "inexact" exception in comment.
17372         (huge): Remove variable.
17373         (__ceil): Do not force "inexact" exception.
17374         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
17375         (__ceilf): Do not force "inexact" exception.
17376         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
17377         exception in comment.
17378         (huge): Remove variable.
17379         (__ceill): Do not force "inexact" exception.
17381 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
17383         * config.h.in (BIND_NOW): New.
17384         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
17385         * configure: Regenerated.
17386         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
17387         indirect branch via the GOT slot.
17389 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17391         [BZ #19765]
17392         * sysdeps/s390/mempcpy.S: New File.
17393         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
17394         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
17395         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17396         Add mempcpy variants.
17397         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
17398         (memcpy): Adjust to be usable from mempcpy entry point.
17399         (__memcpy_mvcle): Likewise.
17400         * sysdeps/s390/s390-64/memcpy.S: Likewise.
17401         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
17402         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
17403         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
17404         (__memcpy_z10): Likewise.
17405         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
17407 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17409         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
17410         Remove __GI_ symbol.
17411         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
17412         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
17413         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
17414         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
17415         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
17416         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
17418 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17420         * sysdeps/s390/s390-64/memcpy.S (memcpy):
17421         Use cghi instead of chi to compare 64bit value.
17423 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17425         * sysdeps/s390/s390-32/memcpy.S (memcpy):
17426         Jump to 1MB check before executing mvc-loop.
17428 2016-05-24  Florian Weimer  <fweimer@redhat.com>
17430         [BZ #6527]
17431         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
17432         unconditionally.
17433         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
17435 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17437         * stdlib/tst-strtod6.c (do_test): Use new type generic
17438         invocation of the test function.
17439         (test): Refactor into ...
17440         (TEST_STRTOD): New macro base function.
17442 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17444         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
17445         (TEST_STRTOD): New macro.
17446         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
17448 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17450         * stdlib/tst-strtod6.c (do_test): Use new type generic
17451         invocation of the test function.
17452         (test): Refactor into ...
17453         (TEST_STRTOD): New macro base function.
17455 2016-05-23  Florian Weimer  <fweimer@redhat.com>
17457         CVE-2016-4429
17458         [BZ #20112]
17459         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
17460         payload.
17462 2016-05-23  Florian Weimer  <fweimer@redhat.com>
17464         [BZ #20111]
17465         * bits/sockaddr.h (_SS_SIZE): Define.
17466         * bits/socket.h (_SS_SIZE): Remove.
17467         (_SS_PADSIZE): Adjust to account for all padding.
17468         (struct sockaddr_storage): Update comment.  Avoid implicit
17469         padding.
17470         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
17471         (_SS_PADSIZE): Adjust to account for all padding.
17472         (struct sockaddr_storage): Update comment.  Avoid implicit
17473         padding.
17474         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
17475         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
17476         (_SS_PADSIZE): Adjust to account for all padding.
17477         (struct sockaddr_storage): Update comment.  Avoid implicit
17478         padding.
17479         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
17480         __SS_SIZE is 126 in this version.
17481         * inet/tst-sockaddr.c: New file.
17482         * inet/Makefile (tests): Add tst-sockaddr.c
17483         (tst-sockaddr.c): Compile with non-strict aliasing.
17485 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
17487         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
17488         [XPG3 || XPG4].
17489         (NL_ARGMAX): Also expect for [XPG3].
17490         (NL_LANGMAX): Likewise.
17491         (NL_MSGMAX): Likewise.
17492         (NL_NMAX): Likewise.
17493         (NL_SETMAX): Likewise.
17494         (NL_TEXTMAX): Likewise.
17495         (NZERO): Likewise.
17496         (TMP_MAX): Likewise.
17497         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
17498         variable.
17500         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
17501         (PF_MAX): Update value.
17502         (AF_KCM): New macro.
17503         (SOL_NETBEUI): Likewise.
17504         (SOL_LLC): Likewise.
17505         (SOL_DCCP): Likewise.
17506         (SOL_NETLINK): Likewise.
17507         (SOL_TIPC): Likewise.
17508         (SOL_RXRPC): Likewise.
17509         (SOL_PPPOL2TP): Likewise.
17510         (SOL_BLUETOOTH): Likewise.
17511         (SOL_PNPIPE): Likewise.
17512         (SOL_RDS): Likewise.
17513         (SOL_IUCV): Likewise.
17514         (SOL_CAIF): Likewise.
17515         (SOL_ALG): Likewise.
17516         (SOL_NFC): Likewise.
17517         (SOL_KCM): Likewise.
17518         (MSG_BATCH): New enum value and macro.
17520 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
17522         [BZ #18185]
17523         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
17524         sharing L2 cache to 2 for Knights Landing.
17526 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
17528         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
17529         (FTW_DP): Do not expect for [XPG3 || XPG4].
17530         (FTW_SL): Do not expect for [XPG3].
17531         (FTW_SLN): Likewise.
17532         (FTW_PHYS): Likewise.
17533         (FTW_MOUNT): Likewise.
17534         (FTW_DEPTH): Likewise.
17535         (FTW_CHDIR): Likewise.
17536         (nftw): Likewise.
17537         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
17538         variable.
17540 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
17542         * manual/errno.texi: Fix various typos & grammar errors.
17544 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
17546         * manual/intro.texi: Fix duplicated typo.
17548 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
17550         [BZ #13304]
17551         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
17552         <float.h>, <math_private.h> and <stdlib.h>.
17553         (add_split): New function.
17554         (mul_split): Likewise.
17555         (ext_val): New typedef.
17556         (store_ext_val): New function.
17557         (mul_ext_val): New function.
17558         (compare): New function.
17559         (add_split_ext): New function.
17560         (__fmal): After checking for Inf, NaN and zero, compute result as
17561         an exact sum of scaled double values in round-to-nearest before
17562         adding those up and adjusting for other rounding modes.
17563         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
17564         tests of fma.
17565         * math/auto-libm-test-out: Regenerated.
17567 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
17569         [BZ #20119]
17570         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
17571         processor level type mask for CPUID with EAX == 11.
17573 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
17575         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
17576         logical threads if the HTT bit is 0.
17577         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
17578         (index_cpu_HTT): Likewise.
17579         (reg_HTT): Likewise.
17581 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
17583         [BZ #20115]
17584         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
17585         Remove alignments on jump targets.
17587 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
17589         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
17590         (getpwent): Likewise.
17591         (setpwent): Likewise.
17592         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
17593         variable.
17595         * conform/data/search.h-data (insque): Do not expect for [XPG3].
17596         (remque): Likewise.
17597         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
17598         variable.
17600 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
17602         * math/libm-test.inc: Update comment not to refer to signs of NaNs
17603         not being tested.
17605 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
17607         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
17608         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
17609         call.
17610         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
17611         (__condvar_cleanup1): Likewise.
17613 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
17615         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
17616         New
17617         (__pthread_unwind): Renamed to ...
17618         (PTHREAD_UNWIND): This.
17619         (__pthread_enable_asynccancel): Replace
17620         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
17622 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
17624         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
17625         (CLONE_NEWCGROUP): New macro.
17627         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
17628         (Q_GETNEXTQUOTA): New macro.
17630 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
17632         [BZ #19907]
17633         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
17634         buffer updated by the previous run.
17635         * string/test-memcpy.c (do_one_test): Likewise.
17636         * benchtests/bench-memmove.c (do_one_test): Add a comment.
17637         * string/test-memmove.c (do_one_test): Likewise.
17639 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
17641         [BZ #20094]
17642         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
17643         not [__USE_XOPEN].
17644         (unlockpt): Likewise.
17645         (ptsname): Likewise.
17646         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
17647         variable.
17649         [BZ #20076]
17650         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
17651         instead of [__USE_UNIX98].
17652         (S_ISSOCK): Likewise.
17653         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
17654         variable.
17656         [BZ #20074]
17657         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
17658         [__USE_POSIX].
17659         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
17660         variable.
17662         [BZ #20051]
17663         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
17664         (ttyslot): Do not declare.
17665         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
17666         (ttyslot): New prototype.
17667         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
17668         variable.
17669         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
17671 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
17673         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
17675 2016-05-13  Florian Weimer  <fweimer@redhat.com>
17677         Fix race condition in tst-mallocfork2, use fewer resources.
17678         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
17679         to current process group.
17680         (signal_sender): Yield in the non-sleeping case.
17682 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
17684         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
17685         (ecvt): Likewise.
17686         (fcvt): Likewise.
17687         (gcvt): Likewise.
17688         (getsubopt): Likewise.
17689         (grantpt): Likewise.
17690         (initstate): Likewise.
17691         (l64a): Likewise.
17692         (mktemp): Likewise.
17693         (mkstemp): Likewise.
17694         (ptsname): Likewise.
17695         (random): Likewise.
17696         (realpath): Likewise.
17697         (setstate): Likewise.
17698         (srandom): Likewise.
17699         (ttyslot): Likewise.
17700         (unlockpt): Likewise.
17701         (valloc): Likewise.
17703         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
17704         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
17705         variable.
17707 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
17709         [BZ #20072]
17710         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
17711         init_cpu_features only if SHARED is defined.
17712         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
17714 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
17716         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
17717         non-inclusive caches on Intel processors.
17719 2016-05-13  Florian Weimer  <fweimer@redhat.com>
17721         * malloc/malloc.c (dumped_main_arena_start)
17722         (dumped_main_arena_end): New variables.
17723         (DUMPED_MAIN_ARENA_CHUNK): New macro.
17724         (do_check_chunk): Skip dumped fake mmapped chunks.
17725         (munmap_chunk): Likewise.
17726         (__libc_free): Do not adjust statistics for fake mmapped chunks.
17727         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
17728         mmapped chunks.
17729         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
17730         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
17731         and dumped_main_arena_end to cover the dumped heap.
17733 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
17735         * conform/data/time.h-data (getdate_err): Do not expect for
17736         [XPG3].
17737         (getdate): Likewise.
17738         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
17739         variable.
17741         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
17742         (F_ULOCK): Likewise.
17743         (F_TEST): Likewise.
17744         (F_TLOCK): Likewise.
17745         (useconds_t): Likewise.
17746         (intptr_t): Do not expect for [XPG3] or [XPG4].
17747         (brk): Do not expect for [XPG3]
17748         (fchown): Likewise.
17749         (fchdir): Likewise.
17750         (ftruncate): Likewise.
17751         (getdtablesize): Likewise.
17752         (gethostid): Likewise.
17753         (getpagesize): Likewise.
17754         (getpgid): Likewise.
17755         (getsid): Likewise.
17756         (getwd): Likewise.
17757         (lchown): Likewise.
17758         (lockf): Likewise.
17759         (readlink): Likewise.
17760         (sbrk): Likewise.
17761         (setpgrp): Likewise.
17762         (setregid): Likewise.
17763         (setreuid): Likewise.
17764         (symlink): Likewise.
17765         (sync): Likewise.
17766         (truncate): Likewise.
17767         (ualarm): Likewise.
17768         (usleep): Likewise.
17769         (vfork): Likewise.
17770         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
17771         variable.
17773         [BZ #20054]
17774         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
17775         not [__USE_UNIX98].
17776         * conform/data/unistd.h-data (gethostname): Do not expect for
17777         [XPG3].
17779         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
17780         [!POSIX] (S_IFBLK): Likewise.
17781         [!POSIX] (S_IFCHR): Likewise.
17782         [!POSIX] (S_IFIFO): Likewise.
17783         [!POSIX] (S_IFREG): Likewise.
17784         [!POSIX] (S_IFDIR): Likewise.
17785         [!POSIX] (S_IFLNK): Likewise.
17786         [!POSIX] (S_IFSOCK): Likewise.
17787         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
17788         variable.
17789         (test-xfail-XPG4/fcntl.h/conform): Likewise.
17791 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
17793         * sysdeps/aarch64/memset.S (__memset):
17794         Rewrite of optimized memset.
17796 2016-05-12  Florian Weimer  <fweimer@redhat.com>
17798         [BZ #19703]
17799         Partially async-signal-safe fork for single-threaded processes.
17800         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
17801         variable.  Do not acquire and reset/release malloc and libio locks
17802         in single-threaded processes.
17803         * malloc/tst-mallocfork2.c: New file.
17804         * malloc/Makefile (tests): Add it.
17806 2016-05-12  Florian Weimer  <fweimer@redhat.com>
17808         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
17809         argument.  Use scratch buffer instead of extend_alloca.
17810         (gethosts): Use scratch buffer instead of extend_alloca.
17811         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
17812         extend_alloca.
17813         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
17815 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
17817         [BZ #20055]
17818         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
17819         instead of [__USE_UNIX98].
17820         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
17821         [__USE_UNIX98].
17822         * conform/data/termios.h-data (tcgetsid): Do not expect for
17823         [XPG3].
17824         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
17825         variable.
17826         (test-xfail-XPG4/termios.h/conform): Likewise.
17828 2016-05-11  Florian Weimer  <fweimer@redhat.com>
17830         Do not use mcheck in localedef.
17831         * locale/programs/localedef.c (turn_on_mcheck)
17832         (__malloc_initialize_hook): Remove.
17834 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17836         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
17837         * sysdeps/s390/s390-64/Makefile: Likewise.
17839 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
17841         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
17842         Remove ifunc-defines.sym.
17843         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
17844         Likewise.
17845         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
17846         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
17847         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
17848         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
17849         rtld-global-offsets.sym.
17850         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
17851         * sysdeps/x86/cpu-features-offsets.sym: This.
17852         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
17853         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
17855 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
17857         [BZ #20073]
17858         * io/sys/stat.h (fchmod): Declare for
17859         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
17860         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
17861         variable.
17863         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
17864         [XPG3] (S_IFSOCK): Likewise.
17865         [XPG3] (S_ISVTX): Likewise.
17866         [XPG3] (S_ISLNK): Likewise.
17867         [XPG3] (S_ISSOCK): Likewise.
17868         [XPG3] (fchmod): Likewise.
17869         [XPG3] (lstat): Likewise.
17870         [XPG3] (mknod): Likewise.
17872         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
17873         [XPG3].  Expect type long and XFAIL for [XPG4].
17874         (st_blocks): Likewise.
17876         [BZ #20044]
17877         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
17878         (pthread_atfork): New prototype.
17879         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
17880         variable.
17882         [BZ #20043]
17883         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
17884         prototype.
17886 2016-05-10  Florian Weimer  <fweimer@redhat.com>
17888         [BZ #20017]
17889         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
17890         gmtime.
17892 2016-05-10  Florian Weimer  <fweimer@redhat.com>
17894         [BZ #19994]
17895         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
17896         flag in _res.options.
17898 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
17900         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
17901         [XPG3 || XPG4].
17902         (blksize_t): Likewise.
17903         (clockid_t): Likewise.
17904         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
17905         variable.
17906         (test-xfail-XPG4/sys/types.h/conform): Likewise.
17908 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
17910         * sysdeps/unix/sysv/linux/s390/init-first.c:
17911         Add VDSO_SYMBOL(getcpu).
17912         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
17913         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
17914         Add VDSO_SYMBOL(getcpu).
17915         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
17916         New define HAVE_GETCPU_VSYSCALL.
17917         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17919 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
17921         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
17922         instead of <sysdeps/x86_64/cacheinfo.c>.
17923         * sysdeps/x86_64/cacheinfo.c: Moved to ...
17924         * sysdeps/x86/cacheinfo.c: Here.
17926 2016-05-04  Florian Weimer  <fweimer@redhat.com>
17928         * malloc/malloc-internal.h: Adjust header file guard.
17930 2016-05-04  Florian Weimer  <fweimer@redhat.com>
17932         [BZ #19787]
17933         * inet/getnameinfo.c (check_sprintf_result): New function.
17934         (CHECKED_SNPRINTF): New macro.
17935         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
17936         to the host buffer.
17937         (gni_host_local): Use checked_copy to copy the host name.
17938         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
17939         (gni_serv_local): Use checked_copy to copy the service name.
17940         (getnameinfo): Remove unnecessary truncation of result buffers.
17942 2016-05-04  Florian Weimer  <fweimer@redhat.com>
17944         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
17945         in case of inet_ntop failure.
17947 2016-05-04  Florian Weimer  <fweimer@redhat.com>
17949         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
17950         avoid long lines.
17951         (gni_host_inet_numeric): Likewise.  Reduce scope of local
17952         variables.
17953         (gni_host_inet, gni_host_local): Add comment.
17954         (gni_host): Add comment.  Use temporary to avoid long lines.
17956 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17958         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
17959         registers specifiers where general purpose registers specifiers should
17960         have been used.
17962 2016-05-04  Florian Weimer  <fweimer@redhat.com>
17964         [BZ #19779]
17965         CVE-2016-1234
17966         Avoid copying names of directory entries.
17967         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
17968         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
17969         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
17970         (struct readdir_result): New type.
17971         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
17972         (GL_READDIR): New macros.
17973         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
17974         (convert_dirent, convert_dirent64): New functions.
17975         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
17976         convert_dirent64.  Adjust references to the readdir result.
17977         * sysdeps/unix/sysv/linux/i386/glob64.c:
17978         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
17979         * posix/bug-glob2.c (LONG_NAME): Define.
17980         (filesystem): Add LONG_NAME.
17981         (my_DIR): Increase the size of room_for_dirent.
17983 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
17985         [BZ #20041]
17986         * misc/sys/select.h (__need_timespec): Only define if
17987         [__USE_XOPEN2K].
17988         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
17989         variable.
17990         (test-xfail-XPG4/utmpx.h/conform): Likewise.
17991         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
17992         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
17994 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17995             Segher Boessenkool  <segher@gcc.gnu.org>
17997         [BZ #20004]
17998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
17999         (__novec_swapcontext): Add missing load.
18001 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
18003         [BZ #20023]
18004         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
18005         <time.h>.
18006         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
18007         variable.
18008         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
18010 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
18013         flags CLONE_VM compare.
18015 2016-05-02  Florian Weimer  <fweimer@redhat.com>
18017         [BZ #20031]
18018         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
18019         completely empty.
18021 2016-05-02  Florian Weimer  <fweimer@redhat.com>
18023         [BZ #19573]
18024         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
18025         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
18026         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
18027         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
18028         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
18029         (hesiod_free_list): Mark as hidden.
18030         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
18031         res_set, res_get.
18032         * hesiod/hesiod.c: Remove unnecessary forward declarations.
18033         (init, __hesiod_res_get, __hesiod_res_set): Remove.
18034         (hesiod_init): Remove obsolete res_ninit call.
18035         (hesiod_end): Do not free resolver state.  Do not invoke callback.
18036         (hesiod_bind): Do not call init.
18037         (get_txt_records): Use res_mkquery, res_send instead of
18038         res_nmkquery, res_nsend.
18039         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
18040         instead of _nss_hesiod_init.
18041         (_nss_hesiod_initgroups_dyn): Likewise.
18042         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
18043         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
18044         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
18046 2016-05-02  Florian Weimer  <fweimer@redhat.com>
18048         * hesiod/hesiod_p.h (DEF_RHS): Remove.
18049         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
18051 2016-05-02  Florian Weimer  <fweimer@redhat.com>
18053         * hesiod/hesiod.h: Remove RCS keyword.
18054         * hesiod/hesiod_p.h: Likewise.
18056         * hesiod/hesiod.c: Likewise.
18058 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
18060         [BZ #12450]
18061         * locale/iso-639.def: Add Samogitian/sgs.
18063 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
18065         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
18067         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
18069 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
18070             Carlos O'Donell  <carlos@redhat.com>
18072         [BZ #19072]
18073         * grp/Makefile (headers): Add grp-merge.h
18074         (routines): Add grp-merge.
18075         * grp/getgrgid_r.c: Include grp-merge.h.
18076         (DEEPCOPY_FN): Define.
18077         (MERGE_FN): Define.
18078         * grp/getgrname_r.c: Include grp-merge.h.
18079         (DEEPCOPY_FN): Define.
18080         (MERGE_FN): Define.
18081         * grp/grp-merge.c: New file.
18082         * grp/grp-merge.h: New file.
18083         * include/grp-merge.h: New file.
18084         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
18085         __copy_grp@GLIBC_PRIVATE.
18086         * manual/nss.texi (Actions in the NSS configuration): Describe
18087         return, continue, and merge.
18088         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
18089         (DEEPCOPY_FN): Define.
18090         (MERGE_FN): Define.
18091         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
18092         (DEEPCOPY_FN): Define.
18093         (MERGE_FN): Define.
18094         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
18095         [!MERGE_FN]: Define __merge_einval.
18096         (CHECK_MERGE): Define.
18097         (REENTRANT_NAME): Process merge if do_merge is true.
18098         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
18099         (__nss_getent_r): Likewise.
18100         * nss/nsswitch.c (nss_parse_service_list): Likewise.
18101         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
18103 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18105         [BZ #20012]
18106         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
18107         length to calculate the buffer to read.
18108         (fmemopen_write): Set the buffer position based on bytes written.
18109         (fmemopen_seek): Return EINVAL for invalid whence modes.
18111         [BZ #19957]
18112         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
18113         tst-getpid2.
18114         (test): Add tst-clone2.
18115         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
18116         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
18117         pid/tid fields for CLONE_VM.
18118         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
18119         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
18120         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
18121         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
18122         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
18123         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
18124         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
18125         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
18126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
18127         Likewise.
18128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18129         Likewise.
18130         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
18131         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
18132         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
18133         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
18134         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
18135         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
18136         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
18137         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
18139 2016-04-29  Florian Weimer  <fweimer@redhat.com>
18141         [BZ #19642]
18142         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
18143         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
18144         (gni_serv_local, gni_serv): New functions extracted from
18145         getnameinfo.
18146         (getnameinfo): Call gni_host and gni_serv to perform the
18147         processing.  Always free scratch buffer.
18149 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18151         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
18152         remaining bytes in the dest string, with zeros.
18154 2016-04-29  Florian Weimer  <fweimer@redhat.com>
18156         [BZ #20010]
18157         CVE-2016-3706
18158         * sysdeps/posix/getaddrinfo.c
18159         (convert_hostent_to_gaih_addrtuple): New function.
18160         (gethosts): Call convert_hostent_to_gaih_addrtuple.
18161         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
18162         AF_INET data.
18164 2016-04-29  Florian Weimer  <fweimer@redhat.com>
18166         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
18167         callback function gl_readdir.
18168         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
18169         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
18170         (glob_in_dir): Remove len.  Use strdup instead of malloc and
18171         memcpy to copy the name.
18172         * manual/pattern.texi (Calling Glob): Document requirements for
18173         implementations of the gl_readdir callback function.
18174         * manual/examples/mkdirent.c: New example.
18175         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
18176         per the manual guidance.
18177         * posix/tst-gnuglob.c (my_readdir): Likewise.
18179 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
18181         [BZ #20014]
18182         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
18183         not [__USE_POSIX].
18184         (getchar_unlocked): Likewise.
18185         (putc_unlocked): Likewise.
18186         (putchar_unlocked): Likewise.
18187         (flockfile): Likewise.
18188         (ftrylockfile): Likewise.
18189         (funlockfile): Likewise.
18190         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
18191         variable.
18192         (test-xfail-XPG4/stdio.h/conform): Likewise.
18194         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
18195         Expect constant.
18196         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
18197         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
18198         variable.
18199         (test-xfail-XPG4/langinfo.h/conform): Likewise.
18200         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
18202         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
18203         [__USE_LARGEFILE64] (off64_t): Likewise.
18204         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
18205         variable.
18207 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18209         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
18211 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18213         * resolv/inet_addr.c: Reindent preprocessor conditionals.
18214         * resolv/res_init.c: Likewise.
18215         * resolv/res_mkquery.c: Likewise.
18217 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18219         * resolv/res_init.c (isascii): Do not define.  Use definition in
18220         <ctype.h>.
18221         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
18222         (LOG_AUTH): Remove.
18223         (SPRINTF): Remove, adjust caller.
18224         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
18226 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18228         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
18229         SUNSECURITY conditional.
18230         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
18232 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18234         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
18235         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
18236         Remove BSD-related preprocessor conditionals.
18237         * conf/portability.h: Remove.
18239 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18241         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
18242         * resolv/res_data.c: Likewise.
18244 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18246         * resolv/res_comp.c: Remove code conditional on __ultrix__.
18247         * resolv/res_data.c: Remove code conditional on ultrix.
18249 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18251         * resolv/res_init.c (RFC1535): Do not define.  Remove
18252         RFC1535 preprocessor conditionals.
18253         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
18254         because there configuration options which make the resolver
18255         behavior different.
18257 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18259         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
18260         RESOLVSORT preprocessor conditionals.
18261         * resolv/nss_dns/dns-host.c: Likewise.
18262         * resolv/res_init.c: Likewise.
18264 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18266         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
18267         is never defined.
18269 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18271         * inet/inet_lnaof.c: Remove SCSS keyword.
18272         * inet/inet_mkadr.c: Likewise.
18273         * inet/inet_net.c: Likewise.
18274         * inet/inet_netof.c: Likewise.
18275         * inet/rcmd.c: Likewise.
18276         * inet/rexec.c: Likewise.
18277         * inet/ruserpass.c: Likewise.
18279 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18281         * resolv/inet_addr.c: Remove _LIBC conditionals.
18282         * resolv/res_data.c: Likewise.
18283         * resolv/res_init.c: Likewise.
18284         * resolv/res_mkquery.c: Likewise.
18285         * resolv/res_libc.c: Update comment.
18286         * resolv/README: Update.
18288 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18290         * resolv/gethnamaddr.c: Remove SCSS keyword.
18291         * resolv/herror.c: Likewise.
18292         * resolv/inet_addr.c: Likewise.
18293         * resolv/inet_net_ntop.c: Likewise.
18294         * resolv/inet_net_pton.c: Likewise.
18295         * resolv/inet_neta.c: Likewise.
18296         * resolv/inet_ntop.c: Likewise.
18297         * resolv/inet_pton.c: Likewise.
18298         * resolv/ns_date.c: Remove RCS keyword.
18299         * resolv/ns_name.c: Likewise.
18300         * resolv/ns_netint.c: Likewise.
18301         * resolv/ns_parse.c: Likewise.
18302         * resolv/ns_print.c: Likewise.
18303         * resolv/ns_samedomain.c: Likewise.
18304         * resolv/ns_ttl.c: Likewise.
18305         * resolv/nsap_addr.c: Likewise.
18306         * resolv/res_comp.c: Remove SCSS and RCS keyword.
18307         * resolv/res_data.c: Remove RCS keyword.
18308         * resolv/res_debug.c: Remove SCSS and RCS keyword.
18309         * resolv/res_init.c: Likewise.
18310         * resolv/res_mkquery.c: Likewise.
18311         * resolv/res_query.c: Likewise.
18312         * resolv/res_send.c: Likewise.
18314 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
18316         * conform/data/stdio.h-data (fdopen): Expect also for
18317         [XPG3 || XPG4].
18319         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
18320         (fseeko): Likewise.
18321         (ftello): Likewise.
18322         (ftrylockfile): Likewise.
18323         (funlockfile): Likewise.
18324         (getc_unlocked): Likewise.
18325         (getchar_unlocked): Likewise.
18326         (putc_unlocked): Likewise.
18327         (putchar_unlocked): Likewise.
18329 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18331         [BZ #19868]
18332         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
18333         DNS packet syntax checks (which were not needed before).  Skip
18334         over non-PTR records.
18336 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18338         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
18339         definition.  Include <stddef.h> instead.
18341 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18343         [BZ #19831]
18344         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
18345         function.
18346         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
18347         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
18349 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18351         [BZ #19862]
18352         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
18353         (getanswer_r): Do not call syslog.
18354         (gaih_getanswer_slice): Likewise.
18355         * resolv/gethnamaddr.c (AskedForGot): Remove.
18356         (getanswer): Do not call syslog.
18357         (gethostbyaddr): Likewise.
18359 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
18361         * conform/data/signal.h-data (union sigval): Expect also if
18362         [XOPEN2K].
18363         (struct sigevent): Likewise.
18364         (SIGEV_NONE): Likewise.
18365         (SIGEV_SIGNAL): Likewise.
18366         (SIGEV_THREAD): Likewise.
18367         (SIGRTMIN): Likewise.
18368         (SIGRTMAX): Likewise.
18369         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
18370         variable.
18371         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
18373 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18375         [BZ #19830]
18376         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
18377         (gaih_getanswer_slice): Likewise.
18378         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
18379         Also check for availability of RR metadata.
18381 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18383         [BZ #19825]
18384         * resolv/res_send.c (send_vc): Remove early *resplen2
18385         initialization.  Set *resplen2 on socket error.  Call
18386         close_and_return_error for other errors.
18388 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
18390         * sysdeps/unix/sysv/linux/netiucv/iucv.h
18391         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
18392         (SCM_IUCV_TRGCLS): New define.
18394 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18396         [BZ #20005]
18397         * libio/fmemopen.c (fmemopen_write): Update internal position after
18398         write.
18399         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
18400         * stdio-common/tst-fmemopen4.c: New file..
18402 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
18404         [BZ #19996]
18405         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
18406         not [__USE_XOPEN2K].
18407         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
18408         variable.
18410         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
18411         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
18412         variable.
18414         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
18415         [__USE_XOPEN2K8].
18416         [__USE_LARGEFILE64] (off64_t): Likewise.
18417         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
18418         variable.
18420 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
18422         [BZ #19989]
18423         * libio/stdio.h (cuserid): Do not declare if
18424         [__USE_XOPEN2K && !__USE_GNU].
18425         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
18426         variable.
18428 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18430         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
18431         (sysdep_routines): Add P8 and PPC64 strcspn targets.
18432         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18433         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
18434         ifunc'ed strcspn.
18435         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
18436         [EALIGN]: Removed.
18437         [END]: Likewise
18438         [STRSPN]: Define instead of the above to control symbol name.
18439         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
18440         New file.
18441         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
18442         Likewise.
18443         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
18444         Likewise.
18445         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
18446         Likewise.
18447         * sysdeps/powerpc/powerpc64/power8/strspn.S:
18448         [INITIAL_MASK]: New macro.
18449         [STRCSPN]: Likewise.
18450         [UPDATE_MASK]: Likewise.
18451         [USE_AS_STRCSPN]: Likewise.
18453 2016-04-25  Florian Weimer  <fweimer@redhat.com>
18455         [BZ #19931]
18456         * stdio-common/tst-vfprintf-width-prec.c: New file.
18457         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
18458         (tests-special): Add tst-vfprintf-width-prec-mem.out.
18459         (generated): Add mtrace-related files.
18460         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
18461         (tst-%-mem.out): New pattern rule, replaces
18462         tst-printf-bz18872-mem.out.
18463         * stdio-common/vfprintf.c (vfprintf): When handling a precision
18464         specifier, deallocate any previously allocated work buffer.
18466 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
18468         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
18469         Add nop before __startcontext, add explaining comments.
18471 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
18473         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
18474         any more. Notably since IPV6_PKTINFO has been reintroduced with a
18475         completely different API.
18477         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
18478         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
18479         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
18480         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
18481         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
18482         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
18483         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
18484         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
18485         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
18486         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
18488 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
18490         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
18492 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
18494         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
18495         when it is the default of 0.
18497 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18499         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
18500         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
18501         (sysdep_routines): Add new strcasestr targets.
18502         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18503         (__libc_ifunc_impl_list): Likewise.
18504         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
18505         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
18506         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
18507         * sysdeps/powerpc/powerpc64/power8/Makefile:
18508         New file to add strcasestr-ppc64 to sysdep_routines.
18509         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
18510         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
18512 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
18514         * benchtests/Makefile (wcsmbs-benchset): Include only for
18515         native builds and runs.
18516         (LOCALES): Likewise.
18517         (bench-build): Build timing-type here instead of the bench
18518         target.  Generate locale only for native builds.
18519         * benchtests/README: Add note for cross-building.
18521         * benchtests/Makefile (bench-clean): Clean up extra-objs.
18523         * benchtests/README: Update README to include instructions on
18524         using bench-build.
18526         * Makefile.in (bench-build): New target.
18527         * Rules (PHONY): Add bench-build target.
18528         * benchtests/Makefile (bench): Depend on bench-build.
18529         (bench-build): New target.
18531 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18533         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
18534         profil_reply_port.
18535         (profile_waiter): Do not initialize profil_reply_port.
18536         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
18537         frequency instead of tick length in us.
18539 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
18541         [BZ #18712]
18542         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
18543         (__old_mempcpy_small): Likewise.
18544         (__old_strcpy_small): Likewise.
18545         (__old_stpcpy_small): Likewise.
18546         (__old_strpbrk_c2): Fix compat symbol name.
18547         (__old_strpbrk_c3): Likewise.
18548         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
18549         (__mempcpy_small): Remove.
18550         (__strcpy_small): Remove.
18551         (__stpcpy_small): Remove.
18553 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
18555         [BZ #19400]
18556         * locale/iso-639.def: Add the Talossan/tzl language.
18558 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
18560         [BZ #16983]
18561         * locale/programs/ld-address.c (address_finish): Update postal_fmt
18562         comment.  Add "ln" to strchr check on postal_fmt.
18564 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
18566         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
18567         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
18568         tel_dom_fmt.
18570 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18572         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
18573         (sysdep_routines): Added __strlen_power8.
18574         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
18575         __strlen_power8 entry.
18576         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
18577         Implementation for POWER8.
18578         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
18579         for __strlen_power8.
18580         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
18581         Implementation for POWER8.
18583 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
18585         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
18587 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
18589         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
18590         Goldmont and Airmont processors.
18592 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
18594         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
18595         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
18596         (__STRING2_SMALL_GET32): Remove.
18597         (memset): Remove.
18598         (__memset_1): Remove.
18599         (__memset_gc): Remove.
18600         (__mempcpy): Remove.
18601         (mempcpy): Remove.
18602         (__mempcpy_args): Remove.
18603         (strchr): Remove.
18604         (strcpy): Remove.
18605         (strcpy_args): Remove.
18606         (__stpcpy_args): Remove.
18607         (__strcmp_cc): Remove.
18608         (__strcmp_gc): Remove.
18609         (strstr): Remove.
18611 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
18613         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
18614         * nis/nis_call.c (nis_server_cache_add): Likewise.
18616 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18618         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
18620 2016-04-14  Florian Weimer  <fweimer@redhat.com>
18622         * malloc/arena.c (__malloc_fork_lock_parent)
18623         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
18624         internal_function attribute.
18626 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
18628         * stdio-common/printf_fp.c (__printf_fp_l):
18629         Rename ___printf_fp_l to __printf_fp_l and
18630         remove strong alias. Use libc_hidden_def instead
18631         of ldbl_hidden_def macro.
18633 2016-04-14  Florian Weimer  <fweimer@redhat.com>
18635         Remove malloc hooks from fork handler.  They are no longer needed
18636         because malloc runs right before fork, and no malloc calls from
18637         other fork handlers are not possible anymore.
18638         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
18639         declarations.
18640         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
18641         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
18642         (atfork_recursive_cntr): Remove.
18643         (__malloc_fork_lock_parent): Do not override malloc hooks and
18644         thread_arena.
18645         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
18646         thread_arena.
18647         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
18648         thread_arena instead of save_arena.
18650 2016-04-14  Florian Weimer  <fweimer@redhat.com>
18652         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
18653         (thread_atfork, thread_atfork_static): Remove.
18654         * sysdeps/mach/hurd/malloc-machine.h:
18655         (thread_atfork, thread_atfork_static): Remove.
18657 2016-04-14  Florian Weimer  <fweimer@redhat.com>
18659         [BZ #19431]
18660         Run the malloc fork handler as late as possible to avoid deadlocks.
18661         * malloc/malloc-internal.h: New file.
18662         * malloc/malloc.c: Include it.
18663         * malloc/arena.c (ATFORK_MEM): Remove.
18664         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
18665         Update comment.
18666         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
18667         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
18668         Remove outdated comment.
18669         (ptmalloc_init): Do not call thread_atfork.  Remove
18670         thread_atfork_static.
18671         * malloc/tst-malloc-fork-deadlock.c: New file.
18672         * Makefile (tests): Add tst-malloc-fork-deadlock.
18673         (tst-malloc-fork-deadlock): Link against libpthread.
18674         * manual/memory.texi (Aligned Memory Blocks): Update safety
18675         annotation comments.
18676         * sysdeps/nptl/fork.c (__libc_fork): Call
18677         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
18678         __malloc_fork_unlock_child.
18679         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
18681 2016-04-14  Florian Weimer  <fweimer@redhat.com>
18683         [BZ #19613]
18684         Remove union wait.
18685         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
18686         (w_stopsig, w_stopval): Remove.
18687         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
18688         stat_loc argument.
18689         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
18690         (__WAIT_STATUS_DEFN): Remove.
18691         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
18692         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
18693         (wait, wait3, wait4): Use int * for the stat_loc argument.
18694         * posix/wait.c (__wait): Likewise.
18695         * posix/wait3.c (__wait3): Likewise.
18696         * posix/wait4.c (__wait4): Likewise.
18697         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
18698         (__WAIT_STATUS_DEFN): Remove.
18699         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
18700         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
18701         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
18702         argument.
18703         * sysdeps/posix/wait.c (__libc_wait): Likewise.
18704         * sysdeps/posix/wait3.c (__wait3): Likewise.
18705         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
18706         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
18707         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
18708         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
18709         stat_loc argument.
18710         * manual/process.texi (BSD Wait Functions): Remove union wait.
18712 2016-04-13  Andreas Schwab  <schwab@suse.de>
18714         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
18715         (test-extras): Add tst-tlsalign-vars.
18716         * math/Makefile: Wrap long lines.
18717         (libm-vec-test-wrappers): Define.
18718         (test-extras): Add $(libm-vec-test-wrappers).
18719         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
18720         * nss/Makefile (extra-test-objs): Add nss_test1.os.
18721         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
18722         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
18723         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
18724         (extra-test-objs): Add corresponding objects.
18726 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
18728         [BZ #19928]
18729         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
18730         New.
18731         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
18732         times of shared cache size.
18733         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
18734         (VMOVNT): New.
18735         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
18736         (VMOVNT): Likewise.
18737         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
18738         (VMOVNT): Likewise.
18739         (VMOVU): Changed to movups for smaller code sizes.
18740         (VMOVA): Changed to movaps for smaller code sizes.
18741         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
18742         comments.
18743         (PREFETCH): New.
18744         (PREFETCH_SIZE): Likewise.
18745         (PREFETCHED_LOAD_SIZE): Likewise.
18746         (PREFETCH_ONE_SET): Likewise.
18747         Rewrite to use forward and backward loops, which move 4 vector
18748         registers at a time, to support overlapping addresses and use
18749         non temporal store if size is above the threshold and there is
18750         no overlap between destination and source.
18752 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
18754         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
18755         Include dl-vdso.
18756         * sysdeps/unix/sysv/linux/mips/Versions: Add
18757         __vdso_clock_gettime.
18758         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
18759         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
18760         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
18761         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
18762         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
18763         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
18764         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
18765         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
18766         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
18768 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18770         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
18771         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
18772         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
18773         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
18774         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
18775         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
18776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
18777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
18778         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
18779         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
18780         syscalls generation.
18781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18782         [__NR_pwrite64] (__NR_write): Remove define.
18783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18784         [__NR_pwrite64] (__NR_write): Remove define.
18785         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
18786         Remove define.
18787         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
18788         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
18789         Remove define.
18790         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
18791         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
18792         Linux implementation as base.
18793         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
18795         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
18796         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
18797         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
18798         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
18799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
18800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
18801         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
18802         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
18803         syscall generation.
18804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18805         [__NR_pread64] (__NR_pread): Remove define.
18806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18807         [__NR_pread64] (__NR_pread): Likewise.
18808         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
18809         define.
18810         (__libc_pread): Use SYSCALL_LL macro on offset argument.
18811         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
18812         Remove define.
18813         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
18814         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
18815         Linux implementation as base.
18816         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
18817         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
18818         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
18820         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
18821         definition.
18822         (__ALIGNMENT_COUNT): Likewise.
18823         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
18824         (__ALIGNMENT_COUNT): Likewise.
18825         (SYSCALL_LL): New define.
18826         (SYSCALL_LL64): Likewise.
18827         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
18828         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
18829         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
18830         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
18832         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18833         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
18834         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18835         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
18836         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18837         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
18839 2016-04-11  Florian Weimer  <fweimer@redhat.com>
18841         [BZ #19865]
18842         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
18843         original buffer before retry.
18845 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18847         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
18848         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
18849         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
18850         GLRO(dl_auxv) list.
18851         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
18852         including <ldsodefs.h>.
18853         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
18855 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
18857         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
18858         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
18859         $(CPPFLAGS).
18861 2016-04-09  Khem Raj  <raj.khem@gmail.com>
18863         [BZ #17950]
18864         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
18865         Add -mfpmath=387.
18867 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
18869         * sysdeps/i386/configure.ac: Change == to = when calling test.
18870         * sysdeps/x86_64/configure.ac: Likewise.
18871         * sysdeps/i386/configure: Regenerated.
18872         * sysdeps/x86_64/configure: Likewise.
18874 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
18876         [BZ #16137]
18877         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
18878         * benchtests/bench-strcoll.c (input_files): Likewise.
18879         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
18880         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
18881         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
18883 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
18885         [BZ #19929]
18886         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
18887         [__USE_XOPEN2K8 && !__USE_GNU].
18888         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
18889         variable.
18891         [BZ #19925]
18892         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
18893         define if [!__USE_MISC && __USE_XOPEN2K].
18894         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
18895         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
18896         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
18897         Likewise.
18898         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
18899         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
18900         variable.
18901         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
18903 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18905         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
18906         (sysdep_routines): Add new strspn targets.
18907         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18908         (__libc_ifunc_impl_list): Add strspn.
18909         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
18910         New file.
18911         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
18912         Likewise.
18913         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
18914         Likewise.
18915         * sysdeps/powerpc/powerpc64/power8/strspn.S:
18916         Likewise.
18918 2016-04-07  Florian Weimer  <fweimer@redhat.com>
18920         * misc/hsearch_r.c: Include <limits.h>.
18922 2016-04-07  Florian Weimer  <fweimer@redhat.com>
18924         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
18926 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
18928         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
18929         (MEMCPY_SYMBOL): New.
18930         (MEMPCPY_SYMBOL): Likewise.
18931         (MEMMOVE_CHK_SYMBOL): Likewise.
18932         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
18933         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
18934         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
18935         Provide alias for memcpy in libc.a and ld.so.
18937 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
18939         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
18940         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
18941         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
18942         Disabled fro now.
18943         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
18944         symbols.  Properly check USE_MULTIARCH on __memset symbols.
18946 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
18948         * benchtests/Makefile (string-benchset): Add memcpy-large,
18949         memmove-large and memset-large.
18950         * benchtests/bench-memcpy-large.c: New file.
18951         * benchtests/bench-memmove-large.c: Likewise.
18952         * benchtests/bench-memmove-large.c: Likewise.
18953         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
18955 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
18957         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
18958         32-bit displacement to avoid long nop between instructions.
18960 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
18962         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
18963         a comment on VMOVU and VMOVA.
18965 2016-04-04  Florian Weimer  <fweimer@redhat.com>
18967         [BZ #19633]
18968         Use specified locale for number formatting in strfmon_l.
18969         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
18970         (__nl_lookup_word): New inline functions.
18971         * include/printf.h (__print_fp_l): Declare.
18972         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
18973         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
18974         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
18975         (___printf_fp): New function.
18976         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
18977         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
18978         * stdlib/tst-strfmon_l.c (do_test): New test.
18979         * stdlib/Makefile (tests): Add kt.
18980         (LOCALES): Build additional locales.
18981         (tst-strfmon_l.out): Require locales.
18983 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
18985         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
18986         if not in libc.
18987         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
18988         Likewise.
18989         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
18990         Likewise.
18991         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
18992         Likewise.
18994 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
18996         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
18997         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
18998         with unaligned_erms.
18999         (__memmove_erms): Skip if source == destination.
19000         (__memmove_unaligned_erms): Don't check source == destination
19001         first.
19003 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
19005         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
19006         bit_arch_Fast_Copy_Backward for Intel Core proessors.
19008 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19010         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
19011         * string/strspn.c (strspn): Likewise.
19013 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
19015         * benchtests/bench-memset.c (do_test): Support 64-byte
19016         alignment.
19017         (test_main): Test 64-byte alignment.
19019 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
19021         * benchtests/bench-memmove.c (test_main): Test 64-byte
19022         alignment.
19024 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
19026         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
19028 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19030         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
19031         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
19032         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
19034         * string/strpbrk.c (strpbrk): Rewrite function.
19035         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
19036         (__strpbrk_c2): Likewise.
19037         (__strpbrk_c3): Likewise.
19038         * string/string-inlines.c
19039         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
19040         Likewise.
19041         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
19042         Likewise.
19044         * string/strspn.c (strcspn): Rewrite function.
19045         * string/bits/string2.h (strspn): Use __builtin_strcspn.
19046         (__strspn_c1): Remove inline function.
19047         (__strspn_c2): Likewise.
19048         (__strspn_c3): Likewise.
19049         * string/string-inlines.c
19050         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
19051         compatibility symbol.
19052         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
19053         Likewise.
19054         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
19055         Likewise.
19056         * string/string-inlines.c: Include generic version.
19058 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
19059             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19061         * string/Version (libc): Add GLIBC_2.24.
19062         * string/strcspn.c (strcspn): Rewrite function.
19063         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
19064         (__strcspn_c1): Remove inline function.
19065         (__strcspn_c2): Likewise.
19066         (__strcspn_c3): Likewise.
19067         * string/string-inline.c
19068         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
19069         compatibility symbol.
19070         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
19071         Likewise.
19072         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
19073         Likewise.
19074         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
19076 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
19078         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
19079         Use ahi instead of aghi to adjust stack pointer.
19081 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19083         [BZ #19853]
19084         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
19085         TEST to take significant digits as second parameter.
19086         [TEST]: Redefine in terms of TEST_N taking 30
19087         significant digits.
19088         (do_test): Add test case to demonstrate precision
19089         failure in the ldbl-128ibm printf.
19090         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
19091         (__mpn_extract_long_double): Carry 7 extra intermediate
19092         bits of precision to aide computing difference when
19093         signs differ.
19095 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
19097         [BZ #19881]
19098         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19099         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
19100         memset-avx512-unaligned-erms.
19101         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19102         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
19103         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
19104         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
19105         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
19106         __memset_sse2_unaligned_erms, __memset_erms,
19107         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
19108         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
19109         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
19110         file.
19111         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
19112         Likewise.
19113         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
19114         Likewise.
19115         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
19116         Likewise.
19118 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
19120         [BZ #19776]
19121         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19122         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
19123         memmove-avx512-unaligned-erms.
19124         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19125         (__libc_ifunc_impl_list): Test
19126         __memmove_chk_avx512_unaligned_2,
19127         __memmove_chk_avx512_unaligned_erms,
19128         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
19129         __memmove_chk_sse2_unaligned_2,
19130         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
19131         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
19132         __memmove_avx512_unaligned_erms, __memmove_erms,
19133         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
19134         __memcpy_chk_avx512_unaligned_2,
19135         __memcpy_chk_avx512_unaligned_erms,
19136         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
19137         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
19138         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
19139         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
19140         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
19141         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
19142         __mempcpy_chk_avx512_unaligned_erms,
19143         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
19144         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
19145         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
19146         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
19147         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
19148         __mempcpy_erms.
19149         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
19150         file.
19151         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
19152         Likewise.
19153         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
19154         Likewise.
19155         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
19156         Likewise.
19158 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
19160         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
19161         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
19162         (La_s390_64_regs): Likewise.
19163         (La_s390_32_retval): Append vector register lrv_v24.
19164         (La_s390_64_retval): Likeweise.
19165         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
19166         Handle extended structs La_s390_32_regs and La_s390_32_retval.
19167         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
19168         Handle extended structs La_s390_64_regs and La_s390_64_retval.
19170 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
19172         [BZ #19916]
19173         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
19174         to create a non-vector/vector version for _dl_runtime_resolve and
19175         _dl_runtime_profile. Move implementation to ...
19176         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
19177         (_dl_runtime_resolve) Save and restore fpr/vrs.
19178         (_dl_runtime_profile) Save and restore vrs and fix some issues
19179         if _dl_call_pltexit is called.
19180         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
19181         Choose the correct resolver function if running on a machine with vx.
19182         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
19183         to create a non-vector/vector version for _dl_runtime_resolve and
19184         _dl_runtime_profile. Move implementation to ...
19185         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
19186         (_dl_runtime_resolve) Save and restore fpr/vrs.
19187         (_dl_runtime_profile) Save and restore vrs and fix some issues
19188         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
19189         Choose the correct resolver function if running on a machine with vx.
19191 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19193         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
19195 2016-03-31  Florian Weimer  <fweimer@redhat.com>
19197         [BZ #19509]
19198         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
19199         skip_map != NULL.
19200         * elf/tst-dlsym-error.c: New file.
19201         * elf/Makefile (tests): Add tst-dlsym-error.
19202         (tst-dlsym-error): Link against libdl.
19204 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
19206         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19207         (__ASSUME_FUTIMESAT): Remove macro.
19208         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
19210 2016-03-29  Florian Weimer  <fweimer@redhat.com>
19212         [BZ #19879]
19213         CVE-2016-3075
19214         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
19215         copy name.
19217 2016-03-29  Florian Weimer  <fweimer@redhat.com>
19219         [BZ #19837]
19220         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
19221         error if parse_line fails.
19223 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
19225         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
19226         (index_cpu_ERMS): Likewise.
19227         (reg_ERMS): Likewise.
19229 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
19231         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
19232         PER_LINUX_FDPIC): Add.
19234 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
19236         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19237         memcpy-avx512-no-vzeroupper.
19238         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
19239         to ...
19240         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
19241         (MEMCPY): Don't define.
19242         (MEMCPY_CHK): Likewise.
19243         (MEMPCPY): Likewise.
19244         (MEMPCPY_CHK): Likewise.
19245         (MEMPCPY_CHK): Renamed to ...
19246         (__mempcpy_chk_avx512_no_vzeroupper): This.
19247         (MEMPCPY_CHK): Renamed to ...
19248         (__mempcpy_chk_avx512_no_vzeroupper): This.
19249         (MEMCPY_CHK): Renamed to ...
19250         (__memmove_chk_avx512_no_vzeroupper): This.
19251         (MEMCPY): Renamed to ...
19252         (__memmove_avx512_no_vzeroupper): This.
19253         (__memcpy_avx512_no_vzeroupper): New alias.
19254         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
19256 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
19258         [BZ #18858]
19259         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19260         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
19261         and mempcpy-avx512-no-vzeroupper.
19262         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
19263         New.
19264         (MEMPCPY): Likewise.
19265         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
19266         (MEMPCPY_CHK): New.
19267         (MEMPCPY): Likewise.
19268         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
19269         (MEMPCPY): Likewise.
19270         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
19271         (MEMPCPY): Likewise.
19272         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
19273         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
19274         Likewise.
19275         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
19276         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
19278 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
19279              Amit Pawar  <Amit.Pawar@amd.com>
19281         [BZ #19583]
19282         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
19283         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
19284         processors.  Set Fast_Copy_Backward for AMD Excavator
19285         processors.
19286         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
19287         New.
19288         (index_arch_Fast_Unaligned_Copy): Likewise.
19289         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
19290         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
19292 2016-03-25  Florian Weimer  <fweimer@redhat.com>
19294         [BZ #19791]
19295         * resolv/res_send.c (close_and_return_error): New function.
19296         (send_dg): Initialize *resplen2 after reopen failure.  Call
19297         close_and_return_error for error returns.  On error paths without
19298         __res_iclose, initialze *resplen2 explicitly.  Update comment for
19299         successful return.
19301 2016-03-25  Florian Weimer  <fweimer@redhat.com>
19303         [BZ #19860]
19304         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
19305         zero if the compiler does not provide the AVX512F bit.
19307 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
19309         [BZ #19848]
19310         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
19311         from 8 to 4.
19312         (__ieee754_powl): Compare integer exponent against 4 not 8.
19313         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
19314         from 8 to 4.
19315         (__ieee754_powl): Compare integer exponent against 4 not 8.
19316         * math/auto-libm-test-in: Add more tests of pow.
19317         * math/auto-libm-test-out: Regenerated.
19318         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
19319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19321 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
19323         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
19324         Make code unconditional.
19325         [!__NR_utimensat]: Remove conditional code.
19326         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
19327         Make code unconditional.
19328         [!__NR_utimensat]: Remove conditional code.
19329         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
19330         Make code unconditional.
19331         [!__NR_utimensat]: Remove conditional code.
19333 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
19335         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
19336         Make code unconditional.
19338 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
19340         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
19341         call-clobbered %eax on retry path.
19342         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
19344 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
19346         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
19347         Don't set %rcx twice before "rep movsb".
19349 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
19351         [BZ #19583]
19352         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
19353         inline.  Check family before setting family, model and
19354         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
19355         bits here.
19356         (init_cpu_features): Replace HAS_CPU_FEATURE and
19357         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
19358         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
19359         for Intel processors with usable AVX2.  Call get_common_indeces
19360         for other processors with family == NULL.
19361         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
19362         (CPU_FEATURES_ARCH_P): Likewise.
19363         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
19364         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
19366 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19368         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
19369         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
19370         $(shared-thread-library) instead of hardcoding the path to libpthread.
19372 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
19374         * sysdeps/unix/sysv/linux/kernel-features.h
19375         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
19376         * sysdeps/unix/sysv/linux/getdents.c
19377         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
19378         [!have_no_getdents64_defined]: Likewise.
19379         (__GETDENTS): Remove __have_no_getdents64 conditional.
19381 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
19383         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
19384         Remove macro.
19385         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
19386         <kernel-features.h>.
19387         (signalfd) [__NR_signalfd4]: Make code unconditional.
19388         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
19390 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19392         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
19393         style.
19395 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
19397         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
19398         (__pthread_enable_asynccancel): Use JUMPTARGET to call
19399         __pthread_unwind.
19400         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
19401         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
19402         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
19403         (__condvar_cleanup1): Likewise.
19405 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
19407         [BZ #19822]
19408         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
19409         move it to the final $@ location.
19411 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19413         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
19414         access where posix_spawn success and pid argument is null.
19415         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
19416         success case.
19418 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
19420         * sysdeps/mach/hurd/i386/c++-types.data: New file.
19422         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
19424         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
19425         and __fcntl.
19426         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
19427         __fcntl only.
19428         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
19429         adding attribute_hidden to __open and __fcntl.
19431         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
19432         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
19433         depend on libc-modules.h,
19434         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
19436 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
19438         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
19439         Remove macro.
19440         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
19441         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
19442         entry.
19444         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
19445         Remove macro.
19446         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
19447         include <kernel-features.h>.
19448         [!__ASSUME_FALLOCATE]: Remove conditional code.
19449         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
19451 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
19453         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
19454         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
19455         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
19456         (_ZGVdN4v_cos_avx2): Likewise.
19457         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
19458         (_ZGVdN4v_cos): Likewise.
19459         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
19460         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
19461         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
19462         (_ZGVdN4v_exp_avx2): Likewise.
19463         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
19464         (_ZGVdN4v_exp): Likewise.
19465         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
19466         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
19467         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
19468         (_ZGVdN4v_log_avx2): Likewise.
19469         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
19470         (_ZGVdN4v_log): Likewise.
19471         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
19472         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
19473         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
19474         (_ZGVdN4vv_pow_avx2): Likewise.
19475         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
19476         (_ZGVdN4vv_pow): Likewise.
19477         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
19478         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
19479         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
19480         (_ZGVdN4v_sin_avx2): Likewise.
19481         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
19482         (_ZGVdN4v_sin): Likewise.
19483         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
19484         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
19485         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
19486         (_ZGVdN4vvv_sincos_avx2): Likewise.
19487         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
19488         (_ZGVdN4vvv_sincos): Likewise.
19489         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
19490         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
19491         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
19492         (_ZGVbN4v_cosf_sse4): Likewise.
19493         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
19494         (_ZGVdN8v_cosf_avx2): Likewise.
19495         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
19496         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
19497         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
19498         (_ZGVbN4v_expf_sse4): Likewise.
19499         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
19500         (_ZGVdN8v_expf_avx2): Likewise.
19501         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
19502         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
19503         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
19504         (_ZGVbN4v_logf_sse4): Likewise.
19505         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
19506         (_ZGVdN8v_logf_avx2): Likewise.
19507         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
19508         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
19509         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
19510         (_ZGVbN4vv_powf_sse4): Likewise.
19511         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
19512         (_ZGVdN8vv_powf_avx2): Likewise.
19513         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
19514         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
19515         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
19516         (_ZGVbN4vvv_sincosf_sse4): Likewise.
19517         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
19518         (_ZGVdN8vvv_sincosf_avx2): Likewise.
19519         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
19520         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
19521         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
19522         (_ZGVbN4v_sinf_sse4): Likewise.
19523         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
19524         (_ZGVdN8v_sinf_avx2): Likewise.
19525         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
19526         Use JUMPTARGET to call callee.
19527         (WRAPPER_IMPL_SSE2_ff): Likewise.
19528         (WRAPPER_IMPL_SSE2_fFF): Likewise.
19529         (WRAPPER_IMPL_AVX): Likewise.
19530         (WRAPPER_IMPL_AVX_ff): Likewise.
19531         (WRAPPER_IMPL_AVX_fFF): Likewise.
19532         (WRAPPER_IMPL_AVX512): Likewise.
19533         (WRAPPER_IMPL_AVX512_ff): Likewise.
19534         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
19535         Likewise.
19536         (WRAPPER_IMPL_SSE2_ff): Likewise.
19537         (WRAPPER_IMPL_SSE2_fFF): Likewise.
19538         (WRAPPER_IMPL_AVX): Likewise.
19539         (WRAPPER_IMPL_AVX_ff): Likewise.
19540         (WRAPPER_IMPL_AVX_fFF): Likewise.
19541         (WRAPPER_IMPL_AVX512): Likewise.
19542         (WRAPPER_IMPL_AVX512_ff): Likewise.
19543         (WRAPPER_IMPL_AVX512_fFF): Likewise.
19545 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19547         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
19548         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
19549         qualifier.
19550         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
19551         internal_function qualifiers.
19553 2016-03-15  Carlos O'Donell <carlos@redhat.com>
19555         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
19556         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
19557         * math/atest-exp.c (exp_mpn): Mark chk unused.
19558         * math/atest-exp2.c (exp_mpn): Likewise.
19559         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
19560         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
19562 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
19564         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
19565         Remove macro.
19566         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
19567         <kernel-features.h>.
19568         [__NR_ppoll]: Make code unconditional.
19569         [!__ASSUME_PPOLL]: Remove conditional code.
19571         * sysdeps/unix/sysv/linux/kernel-features.h
19572         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
19573         (__ASSUME_ACCEPT4): Likewise.
19574         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19575         Define.
19576         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
19577         Likewise.
19578         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19579         Likewise.
19580         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
19581         Likewise.
19582         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
19583         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
19584         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19585         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
19586         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19587         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19588         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19589         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19590         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19591         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19592         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19593         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19594         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19595         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19596         * sysdeps/unix/sysv/linux/i386/kernel-features.h
19597         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19598         Likewise.
19599         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19600         Likewise.
19601         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
19602         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
19603         0x040300].
19604         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19605         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
19606         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19607         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
19608         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
19609         0x030300].
19610         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
19611         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19612         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
19613         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
19614         0x040300].
19615         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19616         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19617         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19618         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19619         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19620         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
19621         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
19622         0x030300].
19623         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19624         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19625         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19626         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19627         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19628         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19629         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19630         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19631         * sysdeps/unix/sysv/linux/s390/kernel-features.h
19632         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
19633         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
19634         0x040300].
19635         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19636         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19637         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19638         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19639         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19640         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19641         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19642         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19643         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19644         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19645         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19646         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19647         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19648         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19649         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
19650         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19651         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19652         Likewise.
19653         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19654         Likewise.
19656 2016-03-15  Andreas Schwab  <schwab@suse.de>
19658         [BZ #19257]
19659         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
19660         statp->_u._ext.nscount as loop count.
19662 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
19664         * math/test-signgam-finite-c99.c: Also #undef
19665         __LIBC_INTERNAL_MATH_INLINES.
19666         * math/test-signgam-main.c: Likewise.
19668 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
19670         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
19671         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
19672         (MADV_FREE): Likewise.
19673         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
19674         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
19675         EPOLLEXCLUSIVE.
19677 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
19679         * timezone/README: Remove mention of checktab.awk. Mention wiki
19680         SharedSourceFiles.
19682 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
19684         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
19685         WUNTRACED.
19687 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19689         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
19690         order to match the type of p when calling atomic_exchange_acq().
19692 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19694         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
19695         cfi_offset calls.
19696         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
19697         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
19698         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
19699         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
19700         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
19702 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
19704         * timezone/checktab.awk: Removed.
19706 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
19708         * manual/math.texi (Errors in Math Functions): Document relaxed
19709         accuracy goals for IBM long double.
19710         * math/libm-test.inc (test_exceptions): Always allow spurious
19711         "underflow" and "inexact" exceptions for IBM long double.
19713 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
19715         [BZ #19762]
19716         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
19717         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
19718         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
19719         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
19720         (bit_arch_*): This for feature array.
19721         (bit_*): Renamed to ...
19722         (bit_cpu_*): This for cpu array.
19723         (index_*): Renamed to ...
19724         (index_arch_*): This for feature array.
19725         (index_*): Renamed to ...
19726         (index_cpu_*): This for cpu array.
19727         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
19728         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
19729         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
19730         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
19731         bit_##name with index_cpu_##name and bit_cpu_##name.
19732         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
19733         bit_##name with index_arch_##name and bit_arch_##name.
19735 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
19737         [BZ #19792]
19738         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
19739         Terminate FDE before return label.
19741 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
19743         [BZ #19790]
19744         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
19745         (rintl): Define as macro.
19746         [USE_AS_NEARBYINTL] (__rintl): Likewise.
19747         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
19748         of fesetround.  Ensure results are evaluated before end of scope.
19749         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
19750         USE_AS_NEARBYINTL and include s_rintl.c.
19751         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
19752         Disable exception traps in new environment.
19753         (libc_feholdsetround_ppc_ctx): Likewise.
19755 2016-03-08  Roland McGrath  <roland@hack.frob.com>
19757         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
19758         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
19759         (tst_audit10_aux) [__AVX512F__]: ... here.
19761 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
19763         * include/sys/auxv.h: New file.
19765 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
19767         [BZ #19759]
19768         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
19770 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
19772         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
19773         operand modifier.
19774         (feclearexcept): Likewise.
19776 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19778         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
19779         to reflect the entire 32-bit HWCAP.
19780         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
19781         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
19783 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
19785         [BZ #19783]
19786         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
19787         $(test-via-rtld-prefix).
19788         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
19790 2016-03-08  Florian Weimer  <fweimer@redhat.com>
19792         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
19793         union wait.  Report any non-zero exit status as error.
19795 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19797         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
19798         configured with --enable-hardcoded-path-in-tests.
19800 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
19802         [BZ #19677]
19803         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
19804         (__ieee754_remainderl): Put zero low parts in canonical form.
19805         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
19806         file.  Based on
19807         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
19808         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
19809         with wrapper round test-fmodrem-ldbl-128ibm.c.
19810         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
19811         file.
19812         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
19813         Likewise.
19814         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
19815         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
19817 2016-03-07  Florian Weimer  <fweimer@redhat.com>
19819         [BZ #19610]
19820         * elf/ldconfig.c (opt_link): Update comment.
19821         (options): Update help string for option -X.
19822         (search_dir): Unlink stale symbolic link only if updating symbolic
19823         links.
19824         * elf/tst-ldconfig-X.sh: New file.
19825         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
19826         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
19828 2016-03-07  Andreas Schwab  <schwab@suse.de>
19830         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
19831         needed arguments.
19833 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
19835         [BZ #15333]
19836         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
19837         to lstat64.
19839 2016-03-07  Florian Weimer  <fweimer@redhat.com>
19841         * libio/filedoalloc.c (isatty): Remove.
19842         (local_isatty): Add comment.  Call __isatty directly.
19843         (_IO_file_doallocate): Update comment.  Assume _LIBC.
19844         * libio/wfiledoalloc.c (isatty): Remove.
19845         (_IO_wfile_doallocate): Update comment.
19847 2016-03-07  Florian Weimer  <fweimer@redhat.com>
19849         [BZ #19269]
19850         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
19851         tst-audit4-aux.o.
19852         (tst-audit10): Depend on tst-audit10-aux.o.
19853         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
19854         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
19855         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
19856         instead of inline AVX code.
19857         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
19858         instead of inline AVX512 code.
19859         * sysdeps/x86_64/tst-audit4-aux.c: New file
19860         * sysdeps/x86_64/tst-audit10-aux.c: New file
19862         [BZ #19648]
19863         * test-skeleton.c (main): Do not set RLIMIT_DATA.
19865 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19867         [BZ #14750]
19868         [BZ #10354]
19869         [BZ #18433]
19870         * include/sched.h (__clone): Add hidden prototype.
19871         (__clone2): Likewise.
19872         * include/unistd.h (__dup): Likewise.
19873         * posix/Makefile (tests): Add tst-spawn2.
19874         * posix/tst-spawn2.c: New file.
19875         * sysdeps/posix/dup.c (__dup): Add hidden definition.
19876         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
19877         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
19878         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
19879         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
19880         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
19881         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
19882         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
19883         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
19884         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
19885         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
19886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
19887         Likewise.
19888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19889         Likewise.
19890         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
19891         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
19892         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
19893         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
19894         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
19895         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
19896         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
19897         * sysdeps/unix/sysv/linux/nptl-signals.h
19898         (____nptl_is_internal_signal): New function.
19899         * sysdeps/unix/sysv/linux/spawni.c: New file.
19901         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
19902         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
19903         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
19904         * posix/tst-execvp2.c (do_test): Likewise.
19905         * posix/tst-execvp3.c (do_test): Likewise.
19906         * posix/tst-execvp4.c (do_test): Likewise.
19907         * posix/tst-execvpe1.c: New file.
19908         * posix/tst-execvpe2.c: Likewise.
19909         * posix/tst-execvpe3.c: Likewise.
19910         * posix/tst-execvpe4.c: Likewise.
19911         * posix/tst-execvpe5.c: Likewise.
19912         * posix/tst-execvpe6.c: Likewise.
19914         [BZ #19534]
19915         * posix/execl.c (execl): Remove dynamic memory allocation.
19916         * posix/execle.c (execle): Likewise.
19917         * posix/execlp.c (execlp): Likewise.
19919 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
19921         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
19922         Replace .text with .text.avx512.
19923         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
19924         Likewise.
19926 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
19928         * sysdeps/generic/libnsl.abilist: New file.
19929         * sysdeps/generic/libutil.abilist: New file.
19931 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
19933         [BZ #19762]
19934         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
19935         HAS_ARCH_FEATURE with Fast_Rep_String.
19936         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
19937         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
19938         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
19939         Likewise.
19940         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
19941         Likewise.
19942         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
19943         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
19944         Likewise.
19945         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
19946         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
19947         Likewise.
19949 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
19951         [BZ #19745]
19952         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
19953         with *%rax in call.
19955 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
19957         [BZ #19745]
19958         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
19959         with *__libc_start_main@GOTPCREL(%rip) in call.
19961 2016-03-04  Roland McGrath  <roland@hack.frob.com>
19963         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
19964         inside conditional for nonempty $(CXX).
19966         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
19967         nonempty.
19969         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
19970         to test for empty $(CXX) rather than $(CXX) of "no".
19972 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
19974         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
19976 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
19977             H.J. Lu  <hongjiu.lu@intel.com>
19979         [BZ #18880]
19980         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
19981         instead of Slow_BSF, and also check for Fast_Copy_Backward to
19982         enable __memcpy_ssse3_back.
19984 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
19986         [BZ #19758]
19987         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
19988         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
19990 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
19992         [BZ #19490]
19993         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
19994         (__fentry__): Likewise.
19996 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
19998         * gmon/Makefile (noprof): Add $(sysdep_noprof).
19999         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
20001 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
20003         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
20004         __mcount_internal directly.
20005         (C_LABEL(__fentry__)): Likewise.
20006         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
20007         directly.
20009 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
20011         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20012         (__start_context): Call __setcontext directly.
20014 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
20016         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20017         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20018         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
20019         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
20020         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20021         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20022         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
20023         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20024         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20025         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
20026         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
20027         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
20028         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20029         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20030         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20031         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20032         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
20033         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20034         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20035         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
20036         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
20037         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20038         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20039         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
20040         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
20041         Remove conditional code.
20042         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20043         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
20044         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20045         * sysdeps/unix/sysv/linux/sh/kernel-features.h
20046         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
20047         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20048         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
20049         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
20050         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20051         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20052         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20053         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20055 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
20057         * NEWS (2.23): Fix typo in bug 19048 text.
20059 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
20061         [BZ #14259]
20062         * Makeconfig: Rename msgcatdir to localedir.
20063         Rename inst_msgcatdir to inst_localedir.
20064         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
20065         * config.make.in: Add localedir.
20066         * elf/Makefile ($(objpfx)sotruss): Use localedir.
20067         (ldd-rewrite): Likewise.
20068         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
20069         (install-others): Use inst_localedir.
20070         (CPPFLAGS): Use localedir.
20071         * locale/Makefile (locale-CPPFLAGS): Likewise.
20072         * po/Makefile (mo-installed): Use inst_localedir.
20074         [BZ #19575]
20075         * localedata/charmaps/GB18030: Update comments regarding PAU to
20076         non-PUA mappings.
20078 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
20080         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
20081         test for header.
20082         * sysdeps/unix/sysv/linux/configure: Regenerated.
20083         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
20084         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
20085         Remove conditional code.
20086         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
20088         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
20089         Define to 3.2.0.
20090         (arch_minimum_kernel): Likewise.
20091         * sysdeps/unix/sysv/linux/configure: Regenerated.
20092         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
20093         Define to 2.6.32.
20094         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
20095         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
20096         (arch_minimum_kernel): Define to 2.6.32.
20097         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
20098         * README: Document Linux 3.2 requirement.
20099         * manual/install.texi (Linux): Document Linux 3.2 headers
20100         requirement.
20101         * INSTALL: Regenerated.
20103 2016-02-24  Andreas Schwab  <schwab@suse.de>
20105         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
20106         if !NO_LONG_DOUBLE.
20108 2016-02-22  Roland McGrath  <roland@hack.frob.com>
20110         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
20111         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
20113 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
20115         [BZ #19512]
20116         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
20118 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
20120         * posix/tst-dir.c: Include libc-internal.h.
20122 2016-02-20  Florian Weimer  <fweimer@redhat.com>
20124         [BZ #19056]
20125         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
20126         * manual/filesys.texi (Reading/Closing Directory): Mention
20127         deprecaion.
20128         * posix/tst-dir.c (main): Disable deprecation warning in test.
20130 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
20132         [BZ #19679]
20133         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
20134         Renamed to ...
20135         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
20136         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
20137         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
20138         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
20139         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
20140         * sysdeps/x86_64/dl-trampoline.h
20141         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
20142         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
20144 2016-02-19  Mark Wielaard  <mjw@redhat.com>
20146         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
20148 2016-02-19  Mark Wielaard  <mjw@redhat.com>
20150         * elf/elf.h (R_386_GOT32X): New.
20151         (R_386_NUM): Update.
20152         (R_X86_64_GOTPCRELX: New.
20153         (R_X86_64_REX_GOTPCRELX): New.
20154         (R_X86_64_NUM): Update.
20156 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
20158         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
20160 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
20162         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
20163         assign attr->stackaddr to it, and adjust it down when
20164         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
20165         [_STACK_GROWS_UP]: Delete assert.
20166         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
20167         Implement stack grows up logic.
20168         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
20169         stack grows up logic.
20171 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20173         * NEWS: Update with 2.24 template.
20175 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
20177         [BZ #19678]
20178         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
20179         Ensure +0.0 is returned when taking the next value below the least
20180         positive value.
20182 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20184         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
20185         available.  Do not define NO_THREADS.
20186         * malloc/malloc.c: Do not check NO_THREADS.
20187         * malloc/arena.c: Likewise.
20189 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20191         * malloc/malloc.c (__libc_mallinfo): Update comment.
20192         (struct malloc_par): Remove max_total_mem member, it was always 0.
20193         (int_mallinfo): Store 0 into usmblks (no functional change).
20194         * malloc/hooks.c (struct malloc_state): Document that
20195         max_total_mem is always 0.
20196         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
20197         always 0.
20198         * manual/memory.texi (Statistics of Malloc): Likewise.
20200 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20202         * malloc/malloc.c (sysmalloc): Do not update arena_max.
20203         * malloc/arena.c (arena_max): Remove.
20204         (heap_trim, _int_new_arena): Do not update arena_max.
20206 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20208         * resolv/res_init.c (res_ninit): Update comment.
20210 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20212         [BZ #19505]
20213         * posix/spawn_int.h: Add headers and include guard.
20214         (__spawn_valid_fd): New function.
20215         * posix/spawn_faction_addopen.c
20216         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
20217         * posix/spawn_faction_addclose.c
20218         (posix_spawn_file_actions_addclose): Likewise.
20219         * posix/spawn_faction_adddup2.c
20220         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
20221         second file descriptor.
20222         * posix/spawn_valid_fd.c: New file.
20223         * posix/tst-posix_spawn-fd.c: New file.
20224         * posix/Makefile (routines): Add spawn_valid_fd.
20225         (tests): Add tst-posix_spawn-fd.
20227 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20229         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
20230         (do_test): Limit the number of arenas, so that we can use fewer
20231         outer threads.  Limit timeout to 3 seconds, in preparation for a
20232         larger TIMEOUT value.
20234 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
20236         [BZ #19674]
20237         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
20238         sign in overflowing and underflowing results when overflow or
20239         underflow is detected early.  Include sign in result before rather
20240         than after scaling.
20242         [BZ #19603]
20243         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
20244         (__ieee754_remainderl): Adjust sign of integer version of low part
20245         when taking absolute value of high part.
20246         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20247         * math/libm-test.inc (remainder_test_data): Add another test.
20248         (remquo_test_data): Likewise.
20250 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
20252         [BZ #19602]
20253         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
20254         equal high parts and both low parts zero specially.
20255         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
20256         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
20257         Add test-fmodl-ldbl-128ibm.
20259         [BZ #19595]
20260         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
20261         common logic for all cases of shifting subnormal results.  Do not
20262         insert sign bit in shifted mantissa.  Always pass -1023 as biased
20263         exponent to ldbl_insert_mantissa in subnormal case.
20265         [BZ #19594]
20266         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
20267         on high and low parts then adjust result and use
20268         ldbl_canonicalize_int if needed.
20270         [BZ #19593]
20271         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
20272         on high part and __floor or __ceil on low part then use
20273         ldbl_canonicalize_int if needed.
20275         [BZ #19592]
20276         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
20277         high and low parts then use ldbl_canonicalize_int if needed.
20279         [BZ #17899]
20280         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
20281         New function.
20282         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
20283         on high and low parts then use ldbl_canonicalize_int if needed.
20285 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20287         * configure: Regenerated.
20289         * po/libc.pot: Regenerated.
20291         * po/be.po: Updated translation.
20292         * po/bg.po: Likewise.
20293         * po/ca.po: Likewise.
20294         * po/cs.po: Likewise.
20295         * po/da.po: Likewise.
20296         * po/el.po: Likewise.
20297         * po/eo.po: Likewise.
20298         * po/es.po: Likewise.
20299         * po/fi.po: Likewise.
20300         * po/fr.po: Likewise.
20301         * po/gl.po: Likewise.
20302         * po/hr.po: Likewise.
20303         * po/hu.po: Likewise.
20304         * po/ia.po: Likewise.
20305         * po/id.po: Likewise.
20306         * po/it.po: Likewise.
20307         * po/ja.po: Likewise.
20308         * po/lt.po: Likewise.
20309         * po/nb.po: Likewise.
20310         * po/nl.po: Likewise.
20311         * po/pt_BR.po: Likewise.
20312         * po/rw.po: Likewise.
20313         * po/sk.po: Likewise.
20314         * po/sl.po: Likewise.
20315         * po/sv.po: Likewise.
20316         * po/tr.po: Likewise.
20317         * po/zh_CN.po: Likewise.
20318         * po/zh_TW.po: Likewise.
20320         * version.h (RELEAES): Set to "development".
20321         (VERSION): Set to 2.23.90.
20323         * version.h (RELEASE): Set to "stable".
20324         (VERSION): Set to 2.23.
20325         * include/feature.h (__GLIBC_MINOR__): Set to 23.
20327         * NEWS: Updated fixed bugs.
20329 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
20330             Wilco Dijkstra  <wdijkstr@arm.com>
20332         [BZ #19462]
20333         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
20334         (_STRING_INLINE_unaligned): This.
20335         * include/string.h: Include <string_private.h>.
20336         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
20337         _STRING_INLINE_unaligned.
20338         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
20339         (_STRING_INLINE_unaligned): New.
20340         * sysdeps/aarch64/string_private.h: New file.
20341         * sysdeps/generic/string_private.h: Likewise.
20342         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
20343         * sysdeps/s390/string_private.h: Likewise.
20344         * sysdeps/x86/string_private.h: Likewise.
20345         * sysdeps/m68k/m680x0/m68020/bits/string.h
20346         (_STRING_ARCH_unaligned): Renamed to ...
20347         (_STRING_INLINE_unaligned): This.
20348         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
20349         to ...
20350         (_STRING_INLINE_unaligned): This.
20351         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
20352         to ...
20353         (_STRING_INLINE_unaligned): This.
20354         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
20355         to ...
20356         (_STRING_INLINE_unaligned): This.
20358 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
20359             H.J. Lu  <hongjiu.lu@intel.com>
20361         [BZ #19590]
20362         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
20363         relocation.
20365 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
20367         [BZ #18665]
20368         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
20369         *herrno_p.
20370         (gaih_getanswer): Document functional behviour. Return tryagain
20371         if any result is tryagain.
20372         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
20373         when freed.
20374         * resolv/res_send.c: Add copyright text.
20375         (__libc_res_nsend): Document that MAXPACKET is expected.
20376         (send_vc): Document. Remove buffer reuse.
20377         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
20378         size of the buffer. Add Dprint for truncated UDP buffer.
20380 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
20382         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
20383         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
20384         * INSTALL: Regenerate.
20386 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
20387             Jonathan Wakely  <jwakely@redhat.com>
20388             Carlos O'Donell  <carlos@redhat.com>
20390         [BZ 19439]
20391         * math/Makefile (tests): Add test-math-isinff.
20392         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
20393         * math/bits/mathcalls.h [__USE_MISC]: Use
20394         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
20395         functions not in C++11 and which don't conflict e.g. isinff,
20396         isinfl etc.
20397         * math/test-math-isinff.cc: New file.
20399 2016-02-12  Florian Weimer  <fweimer@redhat.com>
20401         * misc/bug18240.c (do_test): Set RLIMIT_AS.
20403 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20405         [BZ #19529]
20406         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
20408 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20410         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
20412 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
20414         [BZ #19550]
20415         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
20416         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
20417         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
20418         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
20419         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
20420         New syscall entry.
20421         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
20422         New syscall entry.
20423         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
20424         syscall entry.
20426 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
20428         [BZ #18240]
20429         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
20430         unsigned int wraparound.
20432 2016-01-27  Florian Weimer  <fweimer@redhat.com>
20434         [BZ #18240]
20435         * misc/bug18240.c: New test.
20436         * misc/Makefile (tests): Add it.
20438 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
20439             Joseph Myers  <joseph@codesourcery.com>
20441         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
20442         load in branch delay slot when less than a word of input left.
20444 2016-01-27  Andreas Schwab  <schwab@suse.de>
20446         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
20447         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
20448         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
20449         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
20451 2016-01-26  David S. Miller  <davem@davemloft.net>
20453         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
20455 2016-01-25  David S. Miller  <davem@davemloft.net>
20457         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
20458         __sqrtl_finite.
20459         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
20460         instead using versioned_symbol.
20461         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
20462         of entries.
20464         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
20465         __sqrtl_finite to GLIBC_2.23
20467 2016-01-25  Ricchard Henderson  <rth@redhat.com>
20469         * sysdeps/alpha/fpu/libm-test-ulps: Update.
20471 2016-01-25  Andreas Schwab  <schwab@suse.de>
20473         [BZ #17514]
20474         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
20475         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
20476         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
20477         * nptl/tst-mutex-errorcheck.c: New file.
20479 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20481         [BZ #18560]
20482         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
20483         (IPCOP_semop): Likewise.
20484         (IPCOP_semget): Likewise.
20485         (IPCOP_semctl): Likewise.
20486         (IPCOP_msgsnd): Likewise.
20487         (IPCOP_msgrcv): Likewise.
20488         (IPCOP_msgget): Likewise.
20489         (IPCOP_msgctl): Likewise.
20490         (IPCOP_shmat): Likewise.
20491         (IPCOP_shmdt): Likewise.
20492         (IPCOP_shmget): Likewise.
20493         (IPCOP_shmctl): Likewise.
20495 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
20497         * string/tst-endian.c: Include <libc-internal.h>.
20498         (do_test): Ignore tautological-compare warnings around
20499         "htobeXX (beXXtoh (i)) != i" and
20500         "htoleXX (leXXtoh (i)) != i" if-statements.
20502 2016-01-24  David S. Miller  <davem@davemloft.net>
20504         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
20505         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
20506         alias.
20507         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
20508         __sqrtl_finite.
20510         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20512 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
20514         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
20515         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
20516         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20518 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20520         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
20521         (thread_func): Use new function to simplify barrier check.
20522         (do_test): Use new function to simplify checking barrier exit
20523         code, and actually join the child thread.
20525 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20527         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
20528         semicolon.
20529         (__libc_tend): Likewise.
20530         (__libc_tabort): Likewise.
20532 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
20534         * sysdeps/nios2/libm-test-ulps: Update.
20535         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
20536         (__gtsf2): Likewise.
20537         (__unorddf2): Likewise.
20538         (__unordsf2): Likewise.
20539         (__ledf2): Likewise.
20541 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
20543         * nis/nis_table.c (__follow_path): Disable diagnostic for
20544         uninitialized variable that is a false positive for gcc 4.7.
20545         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
20547 2016-01-20  Roland McGrath  <roland@hack.frob.com>
20549         * sysdeps/nacl/lowlevellock-futex.h
20550         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
20551         Always evaluate PRIVATE argument.
20553 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
20555         [BZ #19490]
20556         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
20557         (pthread_cond_broadcast): Use ENTRY/END
20558         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
20559         (pthread_cond_signal): Likewise.
20560         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
20561         Likewise.
20562         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
20563         Likewise.
20564         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
20565         Likewise.
20567 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
20569         * sysdeps/ieee754/dbl-64/s_finite.c
20570         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
20571         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
20572         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
20573         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
20574         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
20576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
20577         (__gtsf2): Add as optional for libc.so.
20578         (__unordsf2): Likewise.
20579         (__signbit): Remove for libc.so.
20580         (__signbitl): Likewise.
20582 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
20584         * iconvdata/bug-iconv11.c (test_ibm93x):
20585         Use %zu printf format specifier for size_t argument.
20587 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
20589         * math/gen-libm-test.pl (parse_ulps): Do not reduce
20590         already-recorded ulps.
20591         * sysdeps/arm/libm-test-ulps: Regenerated.
20592         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
20593         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20594         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
20596 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
20597             Paul Pluzhnikov  <ppluzhnikov@google.com>
20599         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
20600         assembler not supporting AVX-512.
20602 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
20604         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20606 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
20608         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
20609         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20611         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20613         * sysdeps/arm/libm-test-ulps: Regenerated.
20615 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
20617         [BZ #19451]
20618         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
20620 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
20622         [BZ #19486]
20623         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
20624         * sysdeps/generic/fix-fp-int-convert-overflow.h
20625         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
20626         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
20627         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
20628         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
20629         Likewise.
20630         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
20631         Avoid conversions to long int where inexact exceptions
20632         could be raised.
20633         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
20634         Likewise.
20635         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
20636         Avoid conversions to long long int where inexact exceptions
20637         could be raised.
20638         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
20639         Likewise.
20641 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
20643         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
20644         * configure: Regenerated.
20646 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
20648         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
20650 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
20652         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
20653         outside of comment.
20655 2016-01-15  Torvald Riegel  <triegel@redhat.com>
20657         * nptl/tst-barrier1.c: Add description on first line.
20658         * nptl/tst-barrier2.c: Likewise.
20659         * nptl/tst-barrier3.c: Likewise.
20660         * nptl/tst-barrier4.c: Likewise.
20661         * nptl/tst-barrier5.c: Likewise.
20663 2016-01-15  Torvald Riegel  <triegel@redhat.com>
20665         [BZ #18868]
20666         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
20668 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
20670         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
20671         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
20672         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
20673         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
20674         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
20675         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
20676         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20677         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20678         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20679         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20680         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20682 2016-01-15  Torvald Riegel  <triegel@redhat.com>
20684         [BZ #13065]
20685         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
20686         new implementation.
20687         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
20688         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
20689         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
20690         (BARRIER_IN_THRESHOLD): New macro.
20691         * nptl/pthread_barrierattr_setpshared.c
20692         (pthread_barrierattr_setpshared): Clean up.
20693         * nptl/tst-barrier4.c: Correct comment.
20694         * nptl/tst-barrier5.c: New file.
20695         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
20696         (gen-as-const-headers): Remove lowlevelbarrier.sym.
20697         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
20698         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
20699         * nptl/lowlevelbarrier.sym: Remove.
20700         * nptl/DESIGN-barrier.txt: Remove.
20701         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
20702         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
20703         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
20704         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
20705         error.
20706         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
20707         implementation.
20709 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20711         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
20712         (do_child): Mask SIGRTMIN while thr is running.
20714 2016-01-15  Martin Sebor  <msebor@redhat.com>
20716         [BZ #19432]
20717         * iconvdata/Makefile: Add bug-iconv11.
20718         * iconvdata/bug-iconv11.c: New test.
20719         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
20720         * iconvdata/ibm933.c: Same.
20721         * iconvdata/ibm935.c: Same.
20722         * iconvdata/ibm937.c: Same.
20723         * iconvdata/ibm939.c: Same.
20725 2016-01-15  Martin Sebor  <msebor@redhat.com>
20727         [BZ #19443]
20728         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
20729         [DEBUG] (_ufc_set_bits): Declare used.
20730         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
20731         [DEBUG] (print_all): Declare used.
20732         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
20733         operands of the ternary ?: expression to target type.
20734         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
20735         calling the undeclared abort.
20736         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
20738 2016-01-15  Martin Sebor  <msebor@redhat.com>
20740         [BZ #18755]
20741         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
20742         warnings.
20743         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
20744         (__gai_create_helper_thread): Same.
20745         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
20746         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
20747         to suppress -Wmaybe-uninitialized warnings.
20749 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
20751         [BZ #19465]
20752         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
20753         inside if.
20754         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20755         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20756         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20758 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
20760         [BZ #19466]
20761         * time/tst-mktime2.c (time_t_max): Removed.
20762         (time_t_min): Likewise.
20763         (TYPE_SIGNED): New.
20764         (TYPE_MINIMUM): Likewise.
20765         (TYPE_MAXIMUM): Likewise.
20766         (TIME_T_MIN): Likewise.
20767         (TIME_T_MAX): Likewise.
20768         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
20769         and TIME_T_MIN.
20770         (do_test): Likewise.
20772 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
20774         [BZ #19467]
20775         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
20776         index_Fast_Unaligned_Load flag for Excavator family CPUs.
20778 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
20780         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
20782 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
20784         * benchtests/Makefile (PYTHON): Define.
20785         (bench-func): Use $(PYTHON) to run python scripts.
20786         ($(objpfx)bench-%.c): Likewise.
20788 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
20790         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
20791         leading slash when `file_name' is "/".
20793 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
20795         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
20796         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
20797         Likewise.
20798         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
20799         Likewise.
20800         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
20801         Likewise.
20802         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
20803         enum constant and macro.
20804         (PTRACE_SETSIGMASK): Likewise.
20805         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20806         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
20807         (PTRACE_GETSIGMASK): Likewise.
20808         (PTRACE_SETSIGMASK): Likewise.
20809         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20810         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
20811         Likewise.
20812         (PTRACE_SETSIGMASK): Likewise.
20813         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20814         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
20815         (PTRACE_GETSIGMASK): Likewise.
20816         (PTRACE_SETSIGMASK): Likewise.
20817         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20818         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
20819         Likewise.
20820         (PTRACE_SETSIGMASK): Likewise.
20821         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20822         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
20823         Likewise.
20824         (PTRACE_SETSIGMASK): Likewise.
20825         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20826         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
20827         Likewise.
20828         (PTRACE_SETSIGMASK): Likewise.
20829         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20831 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
20832             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20834         [BZ #19439]
20835         * math/bits/mathcalls.h
20836         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
20837         prototype.
20838         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
20840 2016-01-11  Andreas Schwab  <schwab@suse.de>
20842         [BZ #19253]
20843         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
20844         cache when TZDEFRULES was used.
20845         * time/tst-tzname.c: New file.
20846         * time/Makefile (test): Add tst-tzname.
20847         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
20848         * timezone/Makefile (test-zones): Add $(posixrules-file).
20849         ($(testdata)/$(posixrules-file)): New rule.
20851 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
20853         Fix doc quoting problems with Texinfo 5
20854         Without this change, in the info file output, Texinfo 5 quotes code
20855         in text with undirected single quotes 'like this' and generates
20856         code examples that with many PDF readers cannot be cut out of PDFs
20857         and pasted into code.
20858         * manual/libc.texinfo: Configure the libc manual like the GNU
20859         Emacs manual, by using @documentencoding and setting
20860         txicodequoteundirected and txicodequotebacktick.  This way,
20861         Texinfo 5 quotes code in text with directed single quotes ‘like
20862         this’ and produces examples that can be cut out of PDFs.  This
20863         change causes Texinfo 5 to generate info files that contain UTF-8
20864         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
20865         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
20867 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20869         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
20870         __libc_tabort, __libc_tend): New wrappers that enforce compiler
20871         barriers to their respective compiler built-ins.
20872         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
20873         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
20874         * sysdeps/powerpc/sysdep.h: Likewise.
20875         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
20876         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
20877         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
20879 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
20881         * scripts/config.guess: Revert previous shebang change.
20882         * scripts/config.sub: Likewise.
20883         * scripts/mkinstalldirs: Likewise.
20885 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20887         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
20888         PPC_FEATURE2_HAS_IEEE128.
20889         * sysdeps/powerpc/dl-procinfo.c:
20890         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
20892 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
20894         [BZ #19415]
20895         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
20896         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
20897         (_dl_lookup_address): Rewrite using function resolver trampoline.
20898         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
20899         two bits in address.
20901 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
20903         * longlong.h: Change !__SHMEDIA__ to
20904         (!defined (__SHMEDIA__) || !__SHMEDIA__).
20905         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
20907 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
20908             Joseph Myers  <joseph@codesourcery.com>
20909             Mark Shinwell  <shinwell@codesourcery.com>
20910             Andrew Stubbs  <ams@codesourcery.com>
20911             Rich Felker <dalias@libc.org>
20913         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
20915 2016-01-07  Richard Henderson  <rth@redhat.com>
20917         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
20919 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
20921         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
20922         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
20923         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20924         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20925         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
20927 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
20928             Joseph Myers  <joseph@codesourcery.com>
20930         * timezone/private.h: Update from tzcode 2015g.
20931         * timezone/tzfile.h: Likewise.
20932         * timezone/tzselect.ksh: Likewise.
20933         * timezone/zdump.c: Likewise.
20934         * timezone/zic.c: Likewise.
20935         * timezone/ialloc.c: Remove file.
20936         * timezone/scheck.c: Likewise.
20937         * timezone/Makefile (extra-objs): Remove variable.
20938         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
20939         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
20940         -Wno-maybe-uninitialized.
20941         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
20942         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
20943         (CFLAGS-ialloc.c): Remove variable.
20944         (CFLAGS-scheck.c): Likewise.
20945         * timezone/README: Update list of files from tzcode.
20947 2016-01-07  Khem Raj  <raj.khem@gmail.com>
20949         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
20950         instead of __fxprintf when _LIBC is undefined.
20952 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
20954         * catgets/test-gencat.sh: Remove space after shebang.
20955         * conform/GlibcConform.pm: Likewise.
20956         * conform/check-header-lists.sh: Likewise.
20957         * conform/conformtest.pl: Likewise.
20958         * conform/linknamespace.pl: Likewise.
20959         * conform/list-header-symbols.pl: Likewise.
20960         * debug/catchsegv.sh: Likewise.
20961         * elf/genrtldtbl.awk: Likewise.
20962         * elf/tst-pathopt.sh: Likewise.
20963         * elf/tst-rtld-load-self.sh: Likewise.
20964         * grp/tst_fgetgrent.sh: Likewise.
20965         * iconvdata/gen-8bit-gap-1.sh: Likewise.
20966         * iconvdata/gen-8bit-gap.sh: Likewise.
20967         * iconvdata/gen-8bit.sh: Likewise.
20968         * iconvdata/run-iconv-test.sh: Likewise.
20969         * intl/tst-gettext.sh: Likewise.
20970         * intl/tst-gettext2.sh: Likewise.
20971         * intl/tst-gettext4.sh: Likewise.
20972         * intl/tst-gettext6.sh: Likewise.
20973         * intl/tst-translit.sh: Likewise.
20974         * io/ftwtest-sh: Likewise.
20975         * libio/test-freopen.sh: Likewise.
20976         * locale/gen-translit.pl: Likewise.
20977         * malloc/tst-mtrace.sh: Likewise.
20978         * manual/check-safety.sh: Likewise.
20979         * manual/libc-texinfo.sh: Likewise.
20980         * manual/tsort.awk: Likewise.
20981         * manual/xtract-typefun.awk: Likewise.
20982         * nptl/tst-cancel-wrappers.sh: Likewise.
20983         * nptl/tst-tls6.sh: Likewise.
20984         * posix/globtest.sh: Likewise.
20985         * posix/tst-getconf.sh: Likewise.
20986         * posix/wordexp-tst.sh: Likewise.
20987         * scripts/check-c++-types.sh: Likewise.
20988         * scripts/check-local-headers.sh: Likewise.
20989         * scripts/config.guess: Likewise.
20990         * scripts/config.sub: Likewise.
20991         * scripts/cpp: Likewise.
20992         * scripts/cross-test-ssh.sh: Likewise.
20993         * scripts/documented.sh: Likewise.
20994         * scripts/evaluate-test.sh: Likewise.
20995         * scripts/gen-libc-abis: Likewise.
20996         * scripts/gen-sorted.awk: Likewise.
20997         * scripts/list-fixed-bugs.py: Likewise.
20998         * scripts/merge-test-results.sh: Likewise.
20999         * scripts/mkinstalldirs: Likewise.
21000         * scripts/rellns-sh: Likewise.
21001         * scripts/test-installation.pl: Likewise.
21002         * scripts/update-copyrights: Likewise.
21003         * stdio-common/tst-printf.sh: Likewise.
21004         * stdio-common/tst-unbputc.sh: Likewise.
21005         * stdlib/tst-fmtmsg.sh: Likewise.
21006         * stdlib/tst-setcontext3.sh: Likewise.
21007         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
21008         * sysdeps/unix/make-syscalls.sh: Likewise.
21010 2016-01-06  John David Anglin  <dave.anglin@bell.net>
21012         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
21013         asm stw with atomic_exchange_rel.  Add explanatory comment.
21014         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
21015         Likewise.
21017 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
21019         [BZ #19122]
21020         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
21021         * sysdeps/generic/dl-unistd.h: New file.
21022         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
21024 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
21026          [BZ #19122]
21027          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
21028          * sysdeps/generic/dl-mman.h: New file.
21029          * sysdeps/mach/hurd/dl-mman.h: Likewise.
21031 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
21033         * manual/texinfo.tex: Update to version 2016-01-04.21 with
21034         trailing whitespace removed.
21035         * scripts/config.guess: Update to version 2016-01-01.
21036         * scripts/config.sub: Update to version 2016-01-01.
21037         * scripts/move-if-change: Update from gnulib.
21039 2016-01-04  Anton Blanchard  <anton@samba.org>
21041         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
21042         for array indices.
21043         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
21045 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
21047         * NEWS: Update copyright dates.
21048         * catgets/gencat.c (print_version): Likewise.
21049         * csu/version.c (banner): Likewise.
21050         * debug/catchsegv.sh: Likewise.
21051         * debug/pcprofiledump.c (print_version): Likewise.
21052         * debug/xtrace.sh (do_version): Likewise.
21053         * elf/ldconfig.c (print_version): Likewise.
21054         * elf/ldd.bash.in: Likewise.
21055         * elf/pldd.c (print_version): Likewise.
21056         * elf/sotruss.sh: Likewise.
21057         * elf/sprof.c (print_version): Likewise.
21058         * iconv/iconv_prog.c (print_version): Likewise.
21059         * iconv/iconvconfig.c (print_version): Likewise.
21060         * locale/programs/locale.c (print_version): Likewise.
21061         * locale/programs/localedef.c (print_version): Likewise.
21062         * login/programs/pt_chown.c (print_version): Likewise.
21063         * malloc/memusage.sh (do_version): Likewise.
21064         * malloc/memusagestat.c (print_version): Likewise.
21065         * malloc/mtrace.pl: Likewise.
21066         * manual/libc.texinfo: Likewise.
21067         * nptl/version.c (banner): Likewise.
21068         * nscd/nscd.c (print_version): Likewise.
21069         * nss/getent.c (print_version): Likewise.
21070         * nss/makedb.c (print_version): Likewise.
21071         * posix/getconf.c (main): Likewise.
21072         * scripts/test-installation.pl: Likewise.
21073         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
21075         * All files with FSF copyright notices: Update copyright dates
21076         using scripts/update-copyrights.
21077         * intl/plural.c: Regenerated.
21078         * locale/programs/charmap-kw.h: Likewise.
21079         * locale/programs/locfile-kw.h: Likewise.
21081 2016-01-02  Helge Deller  <deller@gmx.de>
21083         [BZ #19285]
21084         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
21085         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
21086         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
21087         (MADV_xxK_PAGES): Remove.
21089 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
21091         [BZ #15421]
21092         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
21093         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
21094         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
21095         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
21097 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
21099         [BZ #19408]
21100         * sysdeps/unix/sysv/linux/personality.c: New file.
21101         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
21102         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
21103         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
21104         (sysdep_routines): Add personality.
21105         (tests): Add tst-personality.
21106         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
21107         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
21108         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
21109         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
21110         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
21111         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
21112         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
21113         Likewise.
21114         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
21115         Likewise.
21116         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
21117         Likewise.
21118         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
21119         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
21120         Likewise.
21122 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
21124         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
21125         (PATH_ARM_SYSTYPE): Remove.
21126         (PATH_CPUINFO): Likewise.
21127         (IO_BASE_FOOTBRIDGE): Likewise.
21128         (IO_SHIFT_FOOTBRIDGE): Likewise.
21129         (struct platform): Likewise.
21130         (init_iosys): Remove compatibility code for 2.4 kernels.
21131         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
21133 2015-12-29  Florian Weimer  <fweimer@redhat.com>
21135         * malloc/tst-malloc-thread-fail.c: New file.
21136         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
21137         (tst-malloc-thread-fail): Link against libpthread.
21139 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
21141         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
21142         (get_parser): New function.
21143         (main): New function.
21145 2015-12-29  Rob Wu  <rob@robwu.nl>
21147         [BZ #19369]
21148         * resolv/res_init.c (__res_vinit): Reset defdname before use.
21150 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
21152         [BZ #19270]
21153         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
21155 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
21157         [BZ #15421]
21158         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
21160 2015-12-23  Torvald Riegel  <triegel@redhat.com>
21162         [BZ #13690]
21163         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
21164         after releasing it.
21165         (__lll_robust_unlock): Likewise.
21166         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
21167         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
21168         (lll_robust_unlock): Likewise.
21169         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
21170         Prevent warnings in callers.
21172 2015-12-23  Florian Weimer  <fweimer@redhat.com>
21174         * malloc/arena.c (list_lock): Update comment.
21176 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21178         * sysdeps/powerpc/hwcapinfo.c: Export symbol
21179         __parse_hwcap_and_convert_at_platform to libc.a.
21181 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21183         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
21184         platform and feature support for POWER9.
21185         * sysdeps/powerpc/dl-procinfo.h: Likewise.
21186         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
21187         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
21188         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
21189         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
21190         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
21191         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
21192         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
21194 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21196         Harmonize generic stdio-lock support with nptl
21198         This fixes build when _IO_funlockfile is a macro, fixes build where
21199         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
21200         stack unwind.
21202         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
21203         _IO_release_lock ): Use cleanup attribute on new
21204         _IO_acquire_lock_file variable instead of assuming that
21205         _IO_release_lock will be called.
21206         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
21207         _IO_acquire_lock_needs_exceptions_enabled.
21208         (_IO_acquire_lock_clear_flags2): New macro.
21210 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21212         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
21214 2015-12-21  Florian Weimer  <fweimer@redhat.com>
21216         [BZ #19182]
21217         * malloc/arena.c (list_lock): Document lock ordering requirements.
21218         (free_list_lock): New lock.
21219         (ptmalloc_lock_all): Comment on free_list_lock.
21220         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
21221         (detach_arena): Update comment.  free_list_lock is now needed.
21222         (_int_new_arena): Use free_list_lock around detach_arena call.
21223         Acquire arena lock after list_lock.  Add comment, including FIXME
21224         about incorrect synchronization.
21225         (get_free_list): Switch to free_list_lock.
21226         (reused_arena): Acquire free_list_lock around detach_arena call
21227         and attached threads counter update.  Add two FIXMEs about
21228         incorrect synchronization.
21229         (arena_thread_freeres): Switch to free_list_lock.
21230         * malloc/malloc.c (struct malloc_state): Update comments to
21231         mention free_list_lock.
21233 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
21235         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
21236         Remove functions.
21237         (sloww, sloww1): Accept argument to offset quadrant.
21238         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
21239         quadrant.
21240         (__sin, __cos): Consolidate common code into new functions.
21241         (reduce_sincos_1, do_sincos_1): New functions.
21242         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
21244         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
21245         code to new functions.
21246         (reduce_sincos_2, do_sincos_2): New functions.
21247         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
21249         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
21250         common code for sincos.
21251         (__cos) [!IN_SINCOS]: Likewise.
21252         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
21253         New function.
21254         (__sincos): Use it.
21256 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
21258         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
21259         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
21260         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21262 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
21264         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
21265         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
21266         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
21267         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
21268         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21269         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
21270         index_Prefer_No_VZEROUPPER): New feature.
21271         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
21272         Prefer_No_VZEROUPPER for Knights Landing.
21274 015-12-18  Torvald Riegel  <triegel@redhat.com>
21276         * math/atest-exp2.c (mp_exp_m1): Remove.
21278 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21280         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
21281         syscalls.
21282         (__SYSCALL0): New macro.
21283         (__SYSCALL1): Likewise.
21284         (__SYSCALL2): Likewise.
21285         (__SYSCALL3): Likewise.
21286         (__SYSCALL4): Likewise.
21287         (__SYSCALL5): Likewise.
21288         (__SYSCALL6): Likewise.
21289         (__SYSCALL_CONCAT_X): Likewise.
21290         (__SYSCALL_CONCAT): Likewise.
21291         (__SYSCALL_DIST): Likewise.
21292         (__SYSCALL_CALL): Likewise.
21294 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
21296         [BZ #19363]
21297         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
21299 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21301         [BZ #19375]
21302         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
21303         negative subnormals.
21305 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
21307         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
21308         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
21309         (INTERNAL_SYSCALL_NCS): Use it.
21310         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
21312 2015-12-16  Florian Weimer  <fweimer@redhat.com>
21314         [BZ #19243]
21315         * malloc/arena.c (get_free_list): Remove assert and adjust
21316         reference count handling.  Add comment about reused_arena
21317         interaction.
21318         (reused_arena): Add comments abount get_free_list interaction.
21319         * malloc/tst-malloc-thread-exit.c: New file.
21320         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
21321         (tst-malloc-thread-exit): Link against libpthread.
21323 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
21325         [BZ #19367]
21326         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
21327         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
21328         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
21329         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
21330         (index_Prefer_MAP_32BIT_EXEC): Likewise.
21332 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
21334         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
21335         Silvermont optimizations for Knights Landing.
21337 2015-12-15  Andreas Schwab  <schwab@suse.de>
21339         [BZ #17197]
21340         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
21341         immediately after emitting SI.
21342         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
21343         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
21344         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
21345         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
21346         * iconvdata/bug-iconv10.c: New file.
21347         * iconvdata/Makefile (tests): Add bug-iconv10.
21348         ($(objpfx)bug-iconv10.out): New rule.
21350 2015-12-15  Florian Weimer  <fweimer@redhat.com>
21352         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
21353         aliasing violation.
21355 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
21357         [BZ #18472]
21358         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
21359         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
21360         conditionals for them.
21361         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
21362         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
21363         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
21364         sys/kdaemon.h.
21365         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
21366         compat-only syscall, obsoleted in glibc 2.23.
21367         (create_module): Likewise.
21368         (get_kernel_syms): Likewise.
21369         (query_module): Likewise.
21370         (uselib): Likewise.
21371         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
21373 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
21375         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
21376         <linux/version.h>.
21377         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
21378         conditional code.
21379         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
21380         and ioshift_name initialization.
21382 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
21384         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
21385         Fix indentation.
21387 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
21389         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
21391 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
21393         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
21395 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
21396             Jakub Wilk  <jwilk@debian.org>
21398         [BZ #19347]
21399         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
21400         to change the group of the device to the tty group.
21402 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
21404         Split large string section; add truncation advice
21405         * manual/examples/strncat.c: Remove.
21406         This example was misleading, as the code would have undefined
21407         behavior if "hello" was longer than SIZE.  Anyway, the manual
21408         shouldn't encourage strncpy+strncat for this sort of thing.
21409         * manual/string.texi (Copying Strings and Arrays): Split into
21410         three sections Copying Strings and Arrays, Concatenating Strings,
21411         and Truncating Strings, as this section was way too long.  All
21412         cross-referenced changed.  Add advice about string-truncation
21413         functions.  Remove misleading strncat example.
21415 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
21417         * manual/nss.texi (NSS Modules Interface): Document
21418         NSS_STATUS_NOTFOUND and SUCCESS.
21420 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
21422         [BZ 18568]
21423         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
21424         201505L, for Unicode 8.
21426 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
21428         * locale/C-translit.h: Regenerate.
21430 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
21432         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
21433         and U+0153.
21435 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
21437         [BZ #19351]
21438         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
21439         expanding log(1+z), compare z rather than its square with epsilon
21440         to determine when to avoid evaluating the expansion.
21442         [BZ #19350]
21443         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
21444         Increase overflow threshold.
21446         [BZ #19349]
21447         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
21448         when small.
21450         * sysdeps/unix/sysv/linux/i386/kernel-features.h
21451         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
21452         New macro.
21453         [__LINUX_KERNEL_VERSION >= 0x040300]
21454         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
21455         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
21456         Likewise.
21457         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
21458         Likewise.
21459         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
21460         Likewise.
21461         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
21462         Likewise.
21463         [__LINUX_KERNEL_VERSION >= 0x040300]
21464         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
21465         [__LINUX_KERNEL_VERSION >= 0x040300]
21466         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
21467         [__LINUX_KERNEL_VERSION >= 0x040300]
21468         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
21469         [__LINUX_KERNEL_VERSION >= 0x040300]
21470         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
21471         [__LINUX_KERNEL_VERSION >= 0x040300]
21472         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
21473         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
21474         Likewise.
21475         [__LINUX_KERNEL_VERSION >= 0x040300]
21476         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
21477         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21478         Likewise.
21479         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
21480         Likewise.
21481         [__LINUX_KERNEL_VERSION >= 0x040300]
21482         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
21483         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21484         Likewise.
21485         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
21486         Likewise.
21487         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21488         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
21489         Likewise.
21490         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
21491         Likewise.
21492         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
21493         Likewise.
21494         [__LINUX_KERNEL_VERSION >= 0x040300]
21495         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
21496         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
21497         Likewise.
21498         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
21499         Likewise.
21500         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
21501         Likewise.
21502         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
21503         Likewise.
21504         [__LINUX_KERNEL_VERSION >= 0x040300]
21505         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
21506         [__LINUX_KERNEL_VERSION >= 0x040300]
21507         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
21508         [__LINUX_KERNEL_VERSION >= 0x040300]
21509         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
21510         [__LINUX_KERNEL_VERSION >= 0x040300]
21511         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
21512         [__LINUX_KERNEL_VERSION >= 0x040300]
21513         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
21514         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
21515         Likewise.
21516         [__LINUX_KERNEL_VERSION >= 0x040300]
21517         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
21518         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21519         Likewise.
21520         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
21521         Likewise.
21522         [__LINUX_KERNEL_VERSION >= 0x040300]
21523         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
21524         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21525         Likewise.
21526         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
21527         Likewise.
21528         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21529         (__ASSUME_SOCKET_SYSCALL): Likewise.
21530         (__ASSUME_BIND_SYSCALL): Likewise.
21531         (__ASSUME_CONNECT_SYSCALL): Likewise.
21532         (__ASSUME_LISTEN_SYSCALL): Likewise.
21533         (__ASSUME_ACCEPT_SYSCALL): Likewise.
21534         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
21535         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
21536         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
21537         (__ASSUME_SEND_SYSCALL): Likewise.
21538         (__ASSUME_SENDTO_SYSCALL): Likewise.
21539         (__ASSUME_RECV_SYSCALL): Likewise.
21540         (__ASSUME_RECVFROM_SYSCALL): Likewise.
21541         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
21542         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
21543         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
21544         (__ASSUME_SENDMSG_SYSCALL): Likewise.
21545         (__ASSUME_RECVMSG_SYSCALL): Likewise.
21546         * sysdeps/unix/sysv/linux/sh/kernel-features.h
21547         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
21548         Likewise.
21549         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
21550         Likewise.
21551         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
21552         Likewise.
21553         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
21554         Likewise.
21555         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
21556         Likewise.
21557         [__LINUX_KERNEL_VERSION >= 0x020625]
21558         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
21559         [__LINUX_KERNEL_VERSION >= 0x020625]
21560         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
21561         [__LINUX_KERNEL_VERSION >= 0x020625]
21562         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
21563         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
21564         Likewise.
21565         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
21566         Likewise.
21567         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
21568         Likewise.
21569         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
21570         Likewise.
21571         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
21572         Likewise.
21573         [__LINUX_KERNEL_VERSION >= 0x020625]
21574         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
21575         [__LINUX_KERNEL_VERSION >= 0x020625]
21576         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
21577         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
21578         Likewise.
21579         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
21580         Likewise.
21582 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
21584         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
21585         record the current if the current ABI and CPU support the FP64
21586         extension.
21587         (has-modd-spreg): Define to record the current if the current ABI and
21588         CPU support 32-bit floating point values in odd FPU registers.
21589         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
21590         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
21591         $(has-modd-spreg) equals yes.
21592         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
21593         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
21594         $(has-modd-spreg) equal yes.
21596 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
21598         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
21599         basename.
21601 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
21603         * benchtests/Makefile (bench-math): Move ffs and ffsll...
21604         (bench-string): ... here.
21605         (bench): Add bench-string.
21606         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
21607         to *-benchset to reflect what they are.
21608         (benchset): Adjust.
21610         * benchtests/sincos-inputs: Add inputs from sin-inputs and
21611         cos-inputs.
21613 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
21615         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
21616         __attribute__ ((__simd__)) for vector math function declarations.
21618 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
21620         Fix typo in strncat, wcsncat manual entries
21621         * manual/string.texi (Copying and Concatenation): Fix typos in
21622         sample implementations of strncat and wcsncat, by having them use
21623         the old value of the destination length, not the new one.
21625 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
21627         [BZ #16961]
21628         [BZ #16962]
21629         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
21630         string on the stack for strtod.
21631         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
21632         a string on the stack for strtof.
21633         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
21634         constructing a string on the stack for strtold.
21635         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
21636         __strtold_nan to GLIBC_PRIVATE.
21637         * math/test-nan-overflow.c: New file.
21638         * math/test-nan-payload.c: Likewise.
21639         * math/Makefile (tests): Add test-nan-overflow and
21640         test-nan-payload.
21642 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
21644         Consistency about byte vs character in string.texi
21645         * manual/string.texi (String and Array Utilities):
21646         Distinguish more carefully among bytes, multibyte characters,
21647         and wide characters.  Use "byte" when talking about C 'char',
21648         to distinguish it more clearly from multibyte characters.
21649         Say "wide character" or "multibyte character" instead of
21650         "character", when a wide or multibyte character is intended.
21651         Similarly for "multibyte string" versus "string".
21652         Define these terms more carefully.
21654 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
21656         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
21657         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
21658         Likewise.
21659         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
21660         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
21661         * sysdeps/sh/math_private.h: New file.
21662         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
21663         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
21664         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
21665         long double function name.
21666         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21667         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21668         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21669         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
21670         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21671         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21672         Remove __finitel, __isinfl, and __isnanl.
21673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21674         Likewise.
21675         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21676         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21677         Remove __finitel.
21678         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21679         Likewise.
21680         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21682 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
21684         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
21685         installed libmvec_nonshared.a.
21687 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21689         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
21690         (sysdep_routines): Likewise.
21691         (sysdep-rtld-routines): Likewise.
21692         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
21693         [$(subdir) = nptl](tests-static): test-get_hwcap-static
21694         * sysdeps/powerpc/Versions: Added new
21695         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
21696         * sysdeps/powerpc/hwcapinfo.c: New file.
21697         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
21698         and parse hwcap, hwcap2 and platform number information.
21699         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
21700         to store HWCAP+HWCAP2 and platform number.
21701         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
21702         for HWCAP+HWCAP2 and platform number in the TCB.
21703         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
21704         the HWCAP, HWCAP2 and platform number in the TCB.
21705         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
21706         (TLS_INIT_TP): Included calls to add the hwcap and
21707         at_platform values in the TCB in TP initialization.
21708         (TLS_DEFINE_INIT_TP): Likewise.
21709         (THREAD_GET_HWCAP): New macro.
21710         (THREAD_SET_HWCAP): Likewise.
21711         (THREAD_GET_AT_PLATFORM): Likewise.
21712         (THREAD_SET_AT_PLATFORM): Likewise.
21713         * sysdeps/powerpc/powerpc32/dl-machine.h:
21714         (dl_platform_init): New function that calls
21715         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
21716         powerpc32.
21717         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
21718         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
21719         this functionality, static linking case.
21720         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
21721         linking case.
21722         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
21723         __parse_hwcap_and_convert_at_platform for the static linking case.
21724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
21725         Included the new __parse_hwcap_and_convert_at_platform symbol in the
21726         ABI list for GLIBC 2.23.
21727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
21728         Likewise.
21729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
21730         Likewise.
21732 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
21734         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
21735         * configure: Regenerate.
21736         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
21737         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
21739 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
21741         * iconvdata/ibm930.c: Add comment explaining encoding uses.
21742         * iconvdata/ibm933.c: Likewise.
21743         * iconvdata/ibm935.c: Likewise.
21744         * iconvdata/ibm937.c: Likewise.
21745         * iconvdata/ibm939.c: Likewise.
21747 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21749         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
21750         pthread_join.
21751         * nptl/tst-cancel21.c (tf): Likewise.
21753 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
21755         [BZ #19313]
21756         * bits/typesizes.h (__CPU_MASK_TYPE): New.
21757         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
21758         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
21759         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
21760         Likewise.
21761         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
21762         Likewise.
21763         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
21764         Likewise.
21765         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
21766         Likewise.
21767         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
21768         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
21769         unsigned long int with __CPU_MASK_TYPE.
21771 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21773         * sysdeps/aarch64/libm-test-ulps: Regenerated.
21775 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
21777         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
21778         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
21779         t512.x.
21780         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
21782 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
21784         [BZ #19214]
21785         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
21786         argument to return extended model.  Update family and model
21787         with extended family and model when family == 0x0f.
21788         (init_cpu_features): Updated.
21790 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21792         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
21793         signed off_t, so 32bit bigger than 2GiB values are fine actually.
21795         * sysdeps/mach/hurd/mmap64.c: New file.
21797 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
21799         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
21800         rights for its main user thread in NEWTASK.
21802 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
21804         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
21805         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
21807 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
21809         [BZ #14259]
21810         * Makeconfig: Rename localedir to complocaledir.
21811         Rename inst_localedir to inst_complocaledir.
21812         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
21813         * config.make.in: Use complocaledir and libc_cv_complocaledir.
21814         * configure.ac: Use libc_cv_complocaledir.
21815         * configure: Regenerate.
21816         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
21817         -DCOMPLOCALEDIR.
21818         * locale/findlocale.c: Use COMPLOCALEDIR.
21819         * locale/loadarchive.c: Likewise.
21820         * locale/programs/locale.c: Likewise.
21821         * locale/programs/localedef.c: Likewise.
21822         * locale/programs/locarchive.c: Likewise.
21823         * localedata/Makefile: Use inst_complocaledir.
21824         * sysdeps/gnu/configure: Regenerate.
21825         * sysdeps/hppa/configure: Regenerate.
21826         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
21827         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
21828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
21829         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
21830         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
21831         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
21832         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
21834 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
21836         [BZ #19058]
21837         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
21838         AS_NEEDED.
21839         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
21840         workaround.
21841         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
21842         libmvec-static-only-routines): Added new file.
21843         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
21845 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21847         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
21848         of interrupted RPC instead of restoring it.
21850         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
21851         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
21852         libc_hidden_def.
21853         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
21854         into initialized data instead of common. Define rtld_hidden_data_def.
21855         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
21856         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
21857         libc_hidden_def.
21858         (if_freenameindex): Add libc_hidden_weak.
21859         (if_nameindex): Add libc_hidden_weak.
21860         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
21861         __open64.
21862         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
21863         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
21864         * sysdeps/mach/nanosleep.c: Include <time.h>
21865         (__nanosleep): Rename to __libc_nanosleep.
21866         (__nanosleep): Add weak_alias.
21867         (nanosleep): Update alias.
21869 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
21871         * stdlib/strtod_nan.c: New file.
21872         * stdlib/strtod_nan_double.h: Likewise.
21873         * stdlib/strtod_nan_float.h: Likewise.
21874         * stdlib/strtod_nan_main.c: Likewise.
21875         * stdlib/strtod_nan_narrow.h: Likewise.
21876         * stdlib/strtod_nan_wide.h: Likewise.
21877         * stdlib/strtof_nan.c: Likewise.
21878         * stdlib/strtold_nan.c: Likewise.
21879         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
21880         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
21881         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
21882         * wcsmbs/wcstod_nan.c: Likewise.
21883         * wcsmbs/wcstof_nan.c: Likewise.
21884         * wcsmbs/wcstold_nan.c: Likewise.
21885         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
21886         strtold_nan.
21887         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
21888         wcstof_nan.
21889         * include/stdlib.h (__strtof_nan): Declare and use
21890         libc_hidden_proto.
21891         (__strtod_nan): Likewise.
21892         (__strtold_nan): Likewise.
21893         (__wcstof_nan): Likewise.
21894         (__wcstod_nan): Likewise.
21895         (__wcstold_nan): Likewise.
21896         * include/wchar.h (____wcstoull_l_internal): Declare.
21897         * stdlib/strtod_l.c: Do not include <ieee754.h>.
21898         (____strtoull_l_internal): Remove declaration.
21899         (STRTOF_NAN): Define macro.
21900         (SET_MANTISSA): Remove macro.
21901         (STRTOULL): Likewise.
21902         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
21903         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
21904         (STRTOF_NAN): Define macro.
21905         (SET_MANTISSA): Remove macro.
21906         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
21907         (SET_MANTISSA): Remove macro.
21908         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
21909         macro.
21910         (SET_MANTISSA): Remove macro.
21911         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
21912         macro.
21913         (SET_MANTISSA): Remove macro.
21914         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
21915         (SET_MANTISSA): Remove macro.
21916         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
21917         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
21918         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
21920         [BZ #19266]
21921         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
21922         upper case and lower case letters inside NAN(), not using TOLOWER.
21923         * stdlib/tst-strtod-nan-locale-main.c: New file.
21924         * stdlib/tst-strtod-nan-locale.c: Likewise.
21925         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
21926         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
21927         Depend on $(gen-locales).
21928         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
21929         * wcsmbs/tst-wcstod-nan-locale.c: New file.
21930         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
21931         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
21932         Depend on $(gen-locales).
21933         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
21935 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
21937         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
21939         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
21940         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
21941         __finitel, __isinfl, and __isnanl.
21942         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21943         Likewise.
21944         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21945         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
21946         __finitel.
21947         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21948         Likewise.
21949         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21951 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
21953         * malloc/memusage.c (me): Remove redundant getenv call.
21955 2015-10-24  Florian Weimer  <fweimer@redhat.com>
21957         [BZ #19143]
21958         [BZ #19164]
21959         * nptl/check-cpuset.h: Remove.
21960         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
21961         Remove CPU set size check.
21962         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
21963         Likewise.
21964         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
21965         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
21966         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
21967         (__pthread_setaffinity_new): Remove CPU set size check.
21968         * sysdeps/unix/sysv/linux/sched_setaffinity.c
21969         (__kernel_cpumask_size): Remove.
21970         (__sched_setaffinity_new): Remove CPU set size check.
21971         * manual/threads.texi (Default Thread Attributes): Remove stale
21972         reference to check_cpuset_attr, determine_cpumask_size in comment.
21973         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
21974         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
21975         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
21976         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
21977         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
21978         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
21979         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
21980         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
21981         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
21982         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
21983         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
21984         skeleton test file.
21985         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
21986         tst-affinity-pid.
21988 2015-11-24  Florian Weimer  <fweimer@redhat.com>
21990         * scripts/update-abilist.sh: New file.
21991         * Makefile (+subdir_targets): Add subdir_update-all-abi.
21992         * Makerules (update-all-abi-%, update-all-abi)
21993         (subdir_update-all-abi): New targets.
21994         * elf/Makefile (update-all-abi): New target.
21996 2015-11-24  Florian Weimer  <fweimer@redhat.com>
21998         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
21999         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
22000         (__libc_lock_define_initialized): Use it.
22001         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
22002         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
22003         * malloc/malloc.c (main_arena): Likewise.
22004         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
22005         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
22007 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
22009         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
22010         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
22011         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
22012         (PTRACE_O_MASK): Update value.
22013         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
22014         New value in enum __ptrace_setoptions.
22015         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
22016         (PTRACE_O_MASK): Update value.
22017         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
22018         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
22019         (PTRACE_O_MASK): Update value.
22020         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
22021         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
22022         (PTRACE_O_MASK): Update value.
22023         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
22024         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
22025         (PTRACE_O_MASK): Update value.
22026         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
22027         New value in enum __ptrace_setoptions.
22028         (PTRACE_O_MASK): Update value.
22029         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
22030         New value in enum __ptrace_setoptions.
22031         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
22032         (PTRACE_O_MASK): Update value.
22034         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
22035         New macro.
22036         (PACKET_AUXDATA): Likewise.
22037         (PACKET_ORIGDEV): Likewise.
22038         (PACKET_VERSION): Likewise.
22039         (PACKET_HDRLEN): Likewise.
22040         (PACKET_RESERVE): Likewise.
22041         (PACKET_TX_RING): Likewise.
22042         (PACKET_LOSS): Likewise.
22043         (PACKET_VNET_HDR): Likewise.
22044         (PACKET_TX_TIMESTAMP): Likewise.
22045         (PACKET_TIMESTAMP): Likewise.
22046         (PACKET_FANOUT): Likewise.
22047         (PACKET_TX_HAS_OFF): Likewise.
22048         (PACKET_QDISC_BYPASS): Likewise.
22049         (PACKET_ROLLOVER_STATS): Likewise.
22050         (PACKET_FANOUT_DATA): Likewise.
22051         (PACKET_MR_UNICAST): Likewise.
22053         [BZ #19242]
22054         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
22055         (TOUPPER): Likewise.
22056         * stdlib/tst-strtol-locale-main.c: New file.
22057         * stdlib/tst-strtol-locale.c: Likewise.
22058         * stdlib/Makefile (tests): Add tst-strtol-locale.
22059         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
22060         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
22061         Depend on $(gen-locales).
22062         * wcsmbs/tst-wcstol-locale.c: New file.
22063         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
22064         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
22065         tr_TR.ISO-8859-9.
22066         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
22067         Depend on $(gen-locales).
22069 2015-11-20  Roland McGrath  <roland@hack.frob.com>
22071         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
22072         __glibc_likely instead of __builtin_expect.  After falling back to
22073         dyncode_create in a non-ET_DYN case, use the allocate_code_data
22074         system interface to register the code pages as occupied.
22076 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
22078         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
22079         [!ARM_MATH_PRIVATE_H].
22080         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
22081         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
22082         [!HPPA_MATH_PRIVATE_H].
22083         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
22084         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
22085         to [!I386_MATH_PRIVATE_H].
22086         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
22087         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
22088         Change guard to [!M68K_MATH_PRIVATE_H].
22089         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
22090         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
22091         guard to [!MICROBLAZE_MATH_PRIVATE_H].
22092         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
22093         macro.
22094         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
22095         [!MIPS_MATH_PRIVATE_H].
22096         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
22097         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
22098         [!NIO2_MATH_PRIVATE_H].
22099         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
22100         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
22101         [!TILE_MATH_PRIVATE_H].
22102         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
22104         [BZ #15421]
22105         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
22106         initialize with 0 and define as weak alias of __signgam.
22107         * include/math.h [!_ISOMAC] (__signgam): Declare.
22108         * math/Makefile (libm-calls): Add w_lgamma_compat.
22109         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
22110         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
22111         test-signgam-ullong-init.
22112         (tests-static): Add test-signgam-uchar-static,
22113         test-signgam-uchar-init-static, test-signgam-uint-static,
22114         test-signgam-uint-init-static, test-signgam-ullong-static and
22115         test-signgam-ullong-init-static.
22116         (CFLAGS-test-signgam-uchar.c): New variable.
22117         (CFLAGS-test-signgam-uchar-init.c): Likewise.
22118         (CFLAGS-test-signgam-uchar-static.c): Likewise.
22119         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
22120         (CFLAGS-test-signgam-uint.c): Likewise.
22121         (CFLAGS-test-signgam-uint-init.c): Likewise.
22122         (CFLAGS-test-signgam-uint-static.c): Likewise.
22123         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
22124         (CFLAGS-test-signgam-ullong.c): Likewise.
22125         (CFLAGS-test-signgam-ullong-init.c): Likewise.
22126         (CFLAGS-test-signgam-ullong-static.c): Likewise.
22127         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
22128         * math/Versions (libm): Add GLIBC_2.23.
22129         * math/lgamma-compat.h: New file.
22130         * math/test-signgam-main.c: Likewise.
22131         * math/test-signgam-uchar-init-static.c: Likewise.
22132         * math/test-signgam-uchar-init.c: Likewise.
22133         * math/test-signgam-uchar-static.c: Likewise.
22134         * math/test-signgam-uchar.c: Likewise.
22135         * math/test-signgam-uint-init-static.c: Likewise.
22136         * math/test-signgam-uint-init.c: Likewise.
22137         * math/test-signgam-uint-static.c: Likewise.
22138         * math/test-signgam-uint.c: Likewise.
22139         * math/test-signgam-ullong-init-static.c: Likewise.
22140         * math/test-signgam-ullong-init.c: Likewise.
22141         * math/test-signgam-ullong-static.c: Likewise.
22142         * math/test-signgam-ullong.c: Likewise.
22143         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
22144         wrapper of w_lgamma_main.c.
22145         * math/w_lgamma_compat.c: New file.
22146         * math/w_lgamma_compatf.c: Likewise.
22147         * math/w_lgamma_compatl.c: Likewise.
22148         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
22149         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
22150         defining compatibility symbols.
22151         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
22152         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
22153         wrapper of w_lgammaf_main.c.
22154         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
22155         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
22156         defining compatibility symbols.
22157         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
22158         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
22159         wrapper of w_lgammal_main.c.
22160         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
22161         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
22162         defining compatibility symbols.
22163         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
22164         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
22165         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
22166         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
22167         <lgamma-compat.h>.
22168         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
22169         (__ieee754_gamma): Define as alias.
22170         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
22171         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
22172         <lgamma-compat.h>.
22173         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
22174         (__ieee754_gammaf): Define as alias.
22175         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
22176         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
22177         <lgamma-compat.h>.
22178         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
22179         (__ieee754_gammal): Define as alias.
22180         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
22181         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
22182         <math/w_lgamma_compat.c>.
22183         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
22184         Define as alias of __lgamma_compat and use in defining lgammal.
22185         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
22186         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
22187         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
22188         (USE_AS_COMPAT): New macro.
22189         (LGAMMA_OLD_VER): Undefine and redefine.
22190         (lgammal): Do not define here.
22191         (gammal): Only define here if [GAMMA_ALIAS].
22192         * conform/linknamespace.pl (@whitelist): Remove signgam.
22193         * sysdeps/nacl/libm.abilist: Update.
22194         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22195         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22196         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22197         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22198         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22199         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22200         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22201         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22202         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22203         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22204         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22205         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
22207         Likewise.
22208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22209         Likewise.
22210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22211         Likewise.
22212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
22213         Likewise.
22214         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22215         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22216         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22217         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22218         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22219         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22220         Likewise.
22221         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22222         Likewise.
22223         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22224         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22225         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22227 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22229         [BZ #16364]
22230         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
22231         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
22233 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
22235         * sysdeps/s390/fpu/bits/mathinline.h:
22236         Use __asm__ [__volatile__] instead of asm [volatile].
22237         * sysdeps/s390/abort-instr.h: Likewise.
22238         * sysdeps/s390/atomic-machine.h: Likewise.
22239         * sysdeps/s390/bits/string.h: Likewise.
22240         * sysdeps/s390/dl-tls.h: Likewise.
22241         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22242         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22243         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22244         * sysdeps/s390/fpu/fesetround.c: Likewise.
22245         * sysdeps/s390/fpu/fpu_control.h: Likewise.
22246         * sysdeps/s390/fpu/s_fma.c: Likewise.
22247         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
22248         * sysdeps/s390/memusage.h: Likewise.
22249         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
22250         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
22251         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
22252         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
22253         * sysdeps/s390/nptl/tls.h: Likewise.
22254         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
22255         * sysdeps/s390/s390-32/backtrace.c: Likewise.
22256         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22257         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
22258         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22259         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
22260         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
22261         * sysdeps/s390/s390-64/backtrace.c: Likewise.
22262         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22263         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
22264         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
22265         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22266         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
22267         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
22268         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
22269         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
22270         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
22271         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
22272         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
22273         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22274         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
22275         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22276         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
22278 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22279             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22281         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
22282         Add lwarx hint, and use macro for acquire instruction.
22283         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
22284         Likewise.
22285         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
22286         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
22287         update to use new atomic macros.
22289 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22291         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
22292         (__lll_trylock_elision): Fix setting of adapt_count.
22293         * sysdeps/unix/sysv/linux/powerpc/htm.h
22294         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
22295         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
22296         (_ABORT_SYSCALL): Renumber, and clarify definition.
22297         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
22299 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22301         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
22302         after system headers to prevent MIN/MAX redefinition.  Define
22303         HAVE_ALLOCA to preserve builtin alloca usage.
22305 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
22307         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
22308         static and don't set or restore rounding.
22309         (__cos)[IN_SINCOS]: Likewise.
22310         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
22311         (__sincos): Set and restore rounding mode.  Remove check for infinite
22312         or NaN input.
22314         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
22316         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
22317         as used.
22319 2015-11-16  Florian Weimer  <fweimer@redhat.com>
22321         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
22323 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
22325         * config.make.in (have-glob-dat-reloc): New.
22326         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
22327         target supports GLOB_DAT relocaton. AC_SUBST.
22328         * configure: Regenerated.
22329         * elf/Makefile (tests): Add tst-prelink.
22330         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
22331         (tst-prelink-ENV): New.
22332         ($(objpfx)tst-prelink-conflict.out): Likewise.
22333         ($(objpfx)tst-prelink-cmp.out): Likewise.
22334         * sysdeps/x86/tst-prelink.c: Moved to ...
22335         * elf/tst-prelink.c: Here.
22336         * sysdeps/x86/tst-prelink.exp: Moved to ...
22337         * elf/tst-prelink.exp: Here.
22338         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
22339         (tst-prelink-ENV): Removed.
22340         ($(objpfx)tst-prelink-conflict.out): Likewise.
22341         ($(objpfx)tst-prelink-cmp.out): Likewise.
22342         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
22344 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
22346         [BZ #14551]
22347         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
22348         (__mpn_construct_long_double): If high part overflows to infinity,
22349         set errno and recompute overflowed result of the correct sign.
22350         * sysdeps/ieee754/ldbl-128ibm/Makefile
22351         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
22352         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
22353         $(libm).
22354         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
22356 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
22358         [BZ #15479]
22359         [BZ #19238]
22360         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
22361         floating-point state after first operation on input.  Restore full
22362         state rather than just rounding mode.
22363         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
22364         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
22365         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
22367         [BZ #19235]
22368         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
22369         add 0.5 to integer arguments.
22370         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
22371         Likewise.
22372         (.LC2): New object.
22374 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
22376         * scripts/pylintrc (reports): Set to no.
22378 2015-11-10  Roland McGrath  <roland@hack.frob.com>
22380         * elf/dl-load.c (open_verify): Take new argument FD.
22381         Skip __open call if passed FD is not -1.
22382         (_dl_map_object, open_path): Update callers.
22383         * elf/dl-sysdep-open.h: New file.
22384         * elf/dl-load.c: Include it.
22385         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
22386         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
22387         * sysdeps/nacl/dl-sysdep-open.h: New file.
22388         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
22389         from libc to rtld.
22391 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
22393         [BZ #19228]
22394         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
22395         and restore full floating-point state.
22396         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
22397         Likewise.
22398         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
22399         Likewise.
22400         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
22401         Likewise.
22402         * math/test-nearbyint-except-2.c: New file.
22403         * math/Makefile (tests): Add test-nearbyint-except-2.
22405 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
22407         [BZ #19178]
22408         * sysdeps/x86/Makefile (tests): Add tst-prelink.
22409         (tst-prelink-ENV): New.
22410         ($(objpfx)tst-prelink-conflict.out): Likewise.
22411         ($(objpfx)tst-prelink-cmp.out): Likewise.
22412         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
22413         * sysdeps/x86/tst-prelink.c: New file.
22414         * sysdeps/x86/tst-prelink.exp: Likewise.
22416 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
22418         * math/auto-libm-test-in: Add another test of pow.
22419         * math/auto-libm-test-out: Regenerated.
22420         * math/libm-test.inc (pow_test_data): Add another test.
22422 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22424         [BZ #19219]
22425         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
22426         weak_alias to nearbyintl.
22428 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
22430         * sysdeps/aarch64/bits/string.h: New file.
22431         (_STRING_ARCH_unaligned): Define.
22433 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
22435         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
22436         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
22437         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
22438         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
22439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
22441 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
22443         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
22444         for original name of the DSO.  Add it to the name list of the DSO
22445         if it is actually given.
22446         (_dl_map_object): Keep track of whether an audit module rewrote
22447         the file name.  If yes, pass the original name to
22448         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
22449         debugging is enabled, log the change of the file name.
22450         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
22451         _dl_map_object_from_fd.
22452         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
22453         * elf/tst-audit11.c: New file
22454         * elf/tst-auditmod11.c: New file.
22455         * elf/tst-audit11mod1.c: New file.
22456         * elf/tst-audit11mod2.c: New file.
22457         * elf/tst-audit11mod2.map: New file.
22458         * elf/tst-audit12.c: New file
22459         * elf/tst-auditmod12.c: New file.
22460         * elf/tst-audit12mod1.c: New file.
22461         * elf/tst-audit12mod2.c: New file.
22462         * elf/tst-audit12mod2.map: New file.
22463         * elf/tst-audit12mod3.c: New file.
22465 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
22467         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
22468         Don't create weak aliases,
22469         because versioned symbols are created later.
22470         * sysdeps/s390/s390-32/setjmp.S
22471         (setjmp, _setjmp): Remove weak and rename to an unique name
22472         in SHARED case due to existing versioned symbols.
22473         * sysdeps/s390/s390-64/setjmp.S: Likewise.
22474         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
22475         (getcontext): Create weak alias only in non SHARED case.
22476         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22478 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
22480         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
22481         (__ASSUME_*_SYSCALL) Define new macros.
22482         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
22483         Remove socketcall syscalls.
22484         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
22485         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
22486         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
22487         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
22488         * sysdeps/unix/sysv/linux/send.c (__libc_send):
22489         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
22491 2015-11-09  Florian Weimer  <fweimer@redhat.com>
22493         [BZ #12926]
22494         Terminate process on invalid netlink response.
22495         * sysdeps/unix/sysv/linux/netlinkaccess.h
22496         (__netlink_assert_response): Declare.
22497         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
22498         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
22499         (sysdep_routines): Add netlink_assert_response.
22500         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
22501         __netlink_assert_response.
22502         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
22503         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
22504         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
22505         __netlink_assert_response.
22507 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
22509         [BZ #19178]
22510         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
22511         (RTYPE_CLASS_PLT): Likewise.
22512         (RTYPE_CLASS_COPY): Likewise.
22513         (RTYPE_CLASS_TLS): Likewise.
22514         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
22515         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
22516         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
22517         DL_DEBUG_PRELINK.
22519 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
22521         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
22522         calls with argument -0.5.
22523         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
22525         * configure.ac (libc_cv_z_nodelete): Remove configure test.
22526         (libc_cv_z_nodlopen): Likewise.
22527         (libc_cv_z_initfirst): Likewise.
22528         * configure: Regenerated.
22530 2015-11-06  Florian Weimer  <fweimer@redhat.com>
22532         Simplify abilist format to be line-based.
22533         * scripts/abilist.awk: Collect descriptors in the descs variable.
22534         (emit): Write descs variable and sort it
22535         externally, with sort.
22536         * sysdeps/**/*.abilist: Convert to new format.
22538 2015-11-06  Mark Wielaard  <mjw@redhat.com>
22540         [BZ #11460]
22541         * io/Makefile (routines): Add fts64.
22542         (tests): Add tst-fts and tst-fts-lfs.
22543         (CFLAGS-fts64.c): New.
22544         * io/Versions (GLIBC_2.23): New.
22545         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
22546         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
22547         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
22548         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
22549         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
22550         (FTSENT64): Likewise.
22551         (fts64_children): Likewise.
22552         (fts64_close): Likewise.
22553         (fts64_open): Likewise.
22554         (fts64_read): Likewise.
22555         (fts64_set): Likewise.
22556         * io/fts64.c: New file.
22557         * io/tst-fts.c: New test.
22558         * io/tst-fts-lfs.c: Likewise.
22559         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
22560         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
22561         fts64_set.
22562         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22563         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
22564         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
22565         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22566         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22567         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
22568         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
22569         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
22570         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
22571         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
22572         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22573         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22574         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
22575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
22576         Likewise.
22577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22578         Likewise.
22579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
22580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
22581         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22582         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22583         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
22584         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22585         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
22587         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
22588         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22589         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22590         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22591         * sysdeps/wordsize-64/fts.c: New file.
22592         * sysdeps/wordsize-64/fts64.c: Likewise.
22593         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
22594         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
22595         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
22596         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
22598 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
22600         * math/libm-test.inc (NON_FINITE): New macro.
22601         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
22602         * math/gen-libm-test.pl (show_exceptions): Add argument
22603         $non_finite.
22604         (parse_args): Update call to show_exceptions.
22605         * math/test-math-finite.h: New file.
22606         * math/test-math-no-finite.h: Likewise.
22607         * math/test-double-finite.c: Likewise.
22608         * math/test-float-finite.c: Likewise.
22609         * math/test-ldouble-finite.c: Likewise.
22610         * math/test-double.c: Include "test-math-no-finite.h".
22611         * math/test-float.c: Include "test-math-no-finite.h".
22612         * math/test-ldouble.c: Include "test-math-no-finite.h".
22613         * math/test-math-inline.h (TEST_FINITE): New macro.
22614         * math/test-math-vector.h (TEST_FINITE): Likewise.
22615         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
22616         (libm-tests): Add test-float-finite and test-double-finite.
22617         ($(objpfx)test-float-finite.o): New dependency on
22618         $(objpfx)libm-test.stmp.
22619         ($(objpfx)test-double-finite.o): Likewise.
22620         ($(objpfx)test-ldouble-finite.o): Likewise.
22621         (libm-test-no-inline-cflags): New variable.
22622         (libm-test-finite-cflags): Likewise.
22623         (CFLAGS-test-float-finite.c): Likewise.
22624         (CFLAGS-test-double-finite.c): Likewise.
22625         (CFLAGS-test-ldouble-finite.c): Likewise.
22626         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
22627         (CFLAGS-test-double.c): Likewise.
22628         (CFLAGS-test-ldouble.c): Likewise.
22630 2015-11-05  Roland McGrath  <roland@hack.frob.com>
22632         * io/fcntl.c (__fcntl): Add ... to prototype.
22633         * misc/ioctl.c (__ioctl): Likewise.
22634         * misc/syscall.c (syscall): Likewise.
22636 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
22638         * scripts/list-fixed-bugs.py: New file.
22640         [BZ #19213]
22641         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
22642         returned for argument 1.
22643         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
22644         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
22645         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
22646         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
22647         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
22648         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
22650         [BZ #19211]
22651         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
22652         __USE_XOPEN], not if [!__USE_ISOC99].
22653         (lgammaf): Likewise.
22654         (lgammal): Likewise.
22655         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
22656         (gammaf): Likewise.
22657         (gammal): Likewise.
22658         * math/test-signgam-finite-c11.c: New file.
22659         * math/test-signgam-finite-c99.c: Likewise.
22660         * math/test-signgam-finite.c: Likewise.
22661         * math/Makefile (tests): Add test-signgam-finite,
22662         test-signgam-finite-c99 and test-signgam-finite-c11.
22663         (CFLAGS-test-signgam-finite.c): New variable.
22664         (CFLAGS-test-signgam-finite-c99.c): Likewise.
22665         (CFLAGS-test-signgam-finite-c11.c): Likewise.
22667         [BZ #19212]
22668         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
22669         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
22670         500].
22671         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
22672         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
22673         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
22674         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
22675         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
22676         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
22677         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
22678         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
22679         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
22680         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
22682         [BZ #19209]
22683         * math/bits/math-finite.h (ldexp): Remove declaration.
22684         (ldexpf): Likewise.
22685         (ldexpl): Likewise.
22687         [BZ #19205]
22688         * math/bits/math-finite.h (acosf): Condition declaration on
22689         [__USE_ISOC99].
22690         (acosl): Likewise.
22691         (acoshf): Likewise.
22692         (acoshl): Likewise.
22693         (asinf): Likewise.
22694         (asinl): Likewise.
22695         (atan2f): Likewise.
22696         (atan2l): Likewise.
22697         (atanhf): Likewise.
22698         (atanhl): Likewise.
22699         (coshf): Likewise.
22700         (coshl): Likewise.
22701         (expf): Likewise.
22702         (expl): Likewise.
22703         (fmodf): Likewise.
22704         (fmodl): Likewise.
22705         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
22706         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
22707         (j0l): Likewise.
22708         (y0f): Likewise.
22709         (y0l): Likewise.
22710         (j1f): Likewise.
22711         (j1l): Likewise.
22712         (y1f): Likewise.
22713         (y1l): Likewise.
22714         (jnf): Likewise.
22715         (jnl): Likewise.
22716         (ynf): Likewise.
22717         (ynl): Likewise.
22718         (lgammaf_r): Condition declaration on [__USE_ISOC99].
22719         (lgammal_r): Likewise.
22720         (__lgamma_r_finite): New declaration.
22721         (__lgammaf_r_finite): Likewise.
22722         (__lgammal_r_finite): Likewise.
22723         (lgamma): Use __lgamma_r_finite.
22724         (lgammaf): Condition definition on [__USE_ISOC99].  Use
22725         __lgammaf_r_finite.
22726         (lgammal): Condition definition on [__USE_ISOC99].  Use
22727         __lgammal_r_finite.
22728         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
22729         __lgamma_r_finite.
22730         (gammaf): Condition definition on [__USE_ISOC99].  Use
22731         __lgammaf_r_finite.
22732         (gammal): Condition definition on [__USE_ISOC99].  Use
22733         __lgammal_r_finite.
22734         (logf): Condition declaration on [__USE_ISOC99].
22735         (logl): Likewise.
22736         (log10f): Likewise.
22737         (log10l): Likewise.
22738         (ldexpf): Likewise.
22739         (ldexpl): Likewise.
22740         (powf): Likewise.
22741         (powl): Likewise.
22742         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
22743         __USE_ISOC99].
22744         (remainderf): Condition declaration on [__USE_ISOC99].
22745         (remainderl): Likewise.
22746         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
22747         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
22748         (scalbl): Likewise.
22749         (sinhf): Condition declaration on [__USE_ISOC99].
22750         (sinhl): Likewise.
22751         (sqrtf): Likewise.
22752         (sqrtl): Likewise.
22754 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
22756         * sysdeps/arm/atomic-machine.h
22757         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
22758         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
22759         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
22760         Remove conditional code.
22761         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
22762         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
22763         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
22764         Change conditional to [__ASSEMBLER__].
22765         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
22766         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
22767         [!__ASSEMBLER__].
22768         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
22769         code.
22770         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
22771         conditional macro definitions.
22772         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
22773         (__arch_compare_and_exchange_val_16_acq): Likewise.
22774         (__arch_compare_and_exchange_val_32_acq): Likewise.
22775         (atomic_exchange_and_add): Likewise.
22776         (atomic_add): Likewise.
22777         (atomic_add_negative): Likewise.
22778         (atomic_add_zero): Likewise.
22779         (atomic_bit_set): Likewise.
22780         (atomic_bit_test_set): Likewise.
22781         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
22782         code unconditional.
22783         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
22785         * math/test-math-errno.h: New file.
22786         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
22787         empty.
22788         (TEST_ERRNO): New macro.
22789         (TEST_EXCEPTIONS): Likewise.
22790         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
22791         (TEST_EXCEPTIONS): Likewise.
22792         * math/test-math-vector.h (TEST_ERRNO): Likewise.
22793         * math/test-double.c: Include "test-math-errno.h".
22794         * math/test-float.c: Likewise.
22795         * math/test-ldouble.c: Likewise.
22796         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
22797         code unconditional.
22798         (test_exceptions): Only run code if TEST_EXCEPTIONS.
22799         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
22800         unconditional.
22801         (test_errno): Only run code if TEST_ERRNO.
22802         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
22804 2015-11-04  Florian Weimer  <fweimer@redhat.com>
22806         * nptl/tst-once5.cc: Remove attribution.
22808 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
22810         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
22811         sqrt, tan, tanh, y0, y1 and yn.
22812         * math/auto-libm-test-out: Regenerated.
22813         * math/libm-test.inc (scalb_test_data): Add more tests.
22814         (scalbn_test_data): Likewise.
22815         (scalbln_test_data): Likewise.
22816         (signbit_test_data): Likewise.
22817         (sin_test_data): Likewise.
22818         (sincos_test_data): Likewise.
22819         (sinh_test_data): Likewise.
22820         (sqrt_test_data): Likewise.
22821         (tan_test_data): Likewise.
22822         (tanh_test_data): Likewise.
22823         (tgamma_test_data): Likewise.
22824         (y0_test_data): Likewise.
22825         (y1_test_data): Likewise.
22826         (yn_test_data): Likewise.
22827         (significand_test_data): Likewise.
22828         * sysdeps/i386/fpu/libm-test-ulps: Update.
22830 2015-11-03  David Kastrup  <dak@gnu.org>
22832         [BZ #18604]
22833         * assert/assert.h (assert): Don't macro-expand failed assertion
22834         expression in error message.
22835         * malloc/malloc.c (assert): Likewise.
22837 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
22839         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
22840         test.
22841         * configure: Regenerated.
22843 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
22845         * math/libm-test.inc (modf_test_data): Add more tests.
22846         (nearbyint_test_data): Likewise.
22847         (nextafter_test_data): Likewise.
22848         (nexttoward_test_data): Likewise.
22849         (pow_test_data): Likewise.
22850         (remainder_test_data): Likewise.
22851         (remquo_test_data): Likewise.
22852         (rint_test_data): Likewise.
22854         [BZ #19201]
22855         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22856         Check for zero remainder in case of large exponents and ensure
22857         correct sign of result in that case.
22858         * math/libm-test.inc (remainder_test_data): Add more tests.
22860         [BZ #6799]
22861         * math/s_nextafter.c: Include <errno.h>.
22862         (__nextafter): Set errno on overflow and underflow.
22863         * math/s_nexttowardf.c: Include <errno.h>.
22864         (__nexttowardf): Set errno on overflow and underflow.
22865         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
22866         (__nextafterl): Set errno on overflow and underflow.
22867         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
22868         (__nexttoward): Set errno on overflow and underflow.
22869         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
22870         (__nexttowardf): Set errno on overflow and underflow.
22871         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
22872         (__nextafterf): Set errno on overflow and underflow.
22873         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
22874         (__nextafterl): Set errno on overflow and underflow.
22875         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
22876         (__nexttoward): Set errno on overflow and underflow.
22877         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
22878         (__nexttowardf): Set errno on overflow and underflow.
22879         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
22880         (__nextafterl): Set errno on overflow and underflow.
22881         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
22882         (__nexttoward): Set errno on overflow and underflow.
22883         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
22884         (__nexttowardf): Set errno on overflow and underflow.
22885         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
22886         (__nexttoward): Set errno on overflow and underflow.
22887         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
22888         (__nexttowardf): Set errno on overflow and underflow.
22889         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
22890         (__nldbl_nexttowardf): Set errno on overflow and underflow.
22891         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
22892         (__nextafterl): Set errno on overflow and underflow.
22893         * math/libm-test.inc (nextafter_test_data): Do not allow errno
22894         setting to be missing on overflow.  Add more tests.
22895         (nexttoward_test_data): Likewise.
22897         * configure.ac (libc_cv_initfini_array): Remove configure test.
22898         * configure: Regenerated.
22900 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
22902         [BZ #19189]
22903         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
22904         non-finite argument handle arguments with negative sign.
22906         * math/libm-test.inc (j0_test_data): Do not test sign of zero
22907         result from infinite argument.
22908         (j1_test_data): Likewise.
22909         (jn_test_data): Likewise.
22910         (y0_test_data): Likewise.
22911         (y1_test_data): Likewise.
22912         (yn_test_data): Likewise.
22914         [BZ #16171]
22915         * math/w_remainder.c (drem): Define as weak alias of __remainder.
22916         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
22917         * math/w_remainderf.c (dremf): Define as weak alias of
22918         __remainderf.
22919         * math/w_remainderl.c (dreml): Define as weak alias of
22920         __remainderl.
22921         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
22922         __remainder.
22923         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
22924         __remainderf.
22925         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
22926         __remainderl.
22927         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
22928         weak alias of remainderl.
22929         * sysdeps/ieee754/ldbl-opt/w_remainder.c
22930         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
22931         alias of __remainder.
22932         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
22933         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
22934         strong alias of __remainderl.
22935         (dreml): Use long_double_symbol.
22936         * math/Makefile (libm-calls): Remove w_drem.
22937         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
22938         (CFLAGS-nldbl-drem.c): Remove variable.
22939         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
22940         * math/w_drem.c: Remove file.
22941         * math/w_dremf.c: Likewise.
22942         * math/w_dreml.c: Likewise.
22943         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
22944         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
22945         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
22947         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
22948         * sysdeps/i386/configure: Regenerated.
22949         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
22950         * sysdeps/x86_64/configure: Regenerated.
22952         * configure.ac (libc_cv_asm_protected_directive): Remove configure
22953         test.
22954         (libc_cv_visibility_attribute): Likewise.
22955         (libc_cv_protected_data): Test unconditionally.
22956         (libc_cv_broken_visibility_attribute): Remove configure test.
22957         (libc_cv_have_sdata_section): Test unconditionally.
22958         * configure: Regenerated.
22960         * include/libc-internal.h (libc_max_align_t): Remove typedef.
22961         * include/scratch_buffer.h: Include <stddef.h> instead of
22962         <libc-internal.h>.
22963         (struct scratch_buffer): Use max_align_t instead of
22964         libc_max_align_t.
22966 2015-10-29  Florian Weimer  <fweimer@redhat.com>
22968         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
22969         instead of extend_alloca.  Change control flow to avoid a goto.
22970         Remove assert which is trivially always true.
22972 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
22974         [BZ #16068]
22975         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
22976         (FE_ALL_EXCEPT_X86): New macro.
22977         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
22978         FE_ALL_EXCEPT.  Ensure precision control is included in
22979         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
22980         handle "denormal operand exception" and clear FZ and DAZ bits.
22981         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
22982         (FE_ALL_EXCEPT_X86): New macro.
22983         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
22984         FE_ALL_EXCEPT.  Ensure precision control is included in
22985         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
22986         handle "denormal operand exception" and clear FZ and DAZ bits.
22987         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
22988         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
22989         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
22990         test-fenv-x87 and test-fenv-sse-2.
22991         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
22993         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
22994         * math/test-double.h (BUILD_COMPLEX): New macro.
22995         * math/test-float.h (BUILD_COMPLEX): Likewise.
22996         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
22998         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
22999         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
23000         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
23001         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
23002         instead of DBL_DENORM_MIN in comment.
23003         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
23004         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
23005         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
23006         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
23007         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
23008         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
23010 2015-10-28  Florian Weimer  <fweimer@redhat.com>
23012         [BZ #19048]
23013         * malloc/malloc.c (struct malloc_state): Update comment.  Add
23014         attached_threads member.
23015         (main_arena): Initialize attached_threads.
23016         * malloc/arena.c (list_lock): Update comment.
23017         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
23018         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
23019         (deattach_arena): New function.
23020         (_int_new_arena): Initialize arena reference count and deattach
23021         replaced arena.
23022         (get_free_list, reused_arena): Update reference count and deattach
23023         replaced arena.
23024         (arena_thread_freeres): Update arena reference count and only put
23025         unreferenced arenas on the free list.
23027 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
23029         [BZ #19181]
23030         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
23031         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
23032         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
23033         * math/test-fenv-clear-main.c: New file.
23034         * math/test-fenv-clear.c: Likewise.
23035         * math/Makefile (tests): Add test-fenv-clear.
23036         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
23037         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
23038         test-fenv-clear-sse.
23039         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
23041         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
23042         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
23043         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
23045 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23047         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
23048         static libc.
23050 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
23052         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
23053         test.
23054         * sysdeps/i386/configure: Regenerated.
23055         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
23056         test.
23057         * sysdeps/x86_64/configure: Regenerated.
23058         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
23059         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23060         memset-avx2 unconditionally instead of conditionally on
23061         [$(config-cflags-avx2) = yes].
23062         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23063         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
23064         unconditional.
23065         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
23066         * sysdeps/x86_64/multiarch/memset_chk.S
23067         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
23068         to [IS_IN (libc) && SHARED].
23070 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
23072         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
23073         configure test.
23074         * sysdeps/arm/configure: Regenerated.
23075         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
23076         Define variable if not already defined.
23078         [BZ #17404]
23079         * sysdeps/mips/atomic-machine.h
23080         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
23081         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
23082         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
23084         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
23085         unconditional.
23086         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
23087         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23088         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
23089         unconditional.
23090         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23091         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
23092         unconditional.
23093         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23094         * stdlib/setenv.c
23095         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
23096         code unconditional.
23097         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
23098         Remove conditional code.
23099         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
23100         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
23101         unconditional.
23102         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
23103         code.
23104         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
23105         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
23106         unconditional.
23107         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
23108         code.
23109         * sysdeps/ieee754/ldbl-128/k_tanl.c
23110         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
23111         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23112         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
23113         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
23114         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23115         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
23116         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
23117         unconditional.
23118         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
23119         code.
23120         * sysdeps/ieee754/ldbl-96/k_tanl.c
23121         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
23122         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23124         * nptl/tst-initializers1-c11.c: New file.
23125         * nptl/tst-initializers1-gnu11.c: Likewise.
23126         * nptl/Makefile (tests): Add these new tests.
23127         (CFLAGS-tst-initializers1-c11.c): New variable.
23128         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
23130         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
23131         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
23132         instead of -std=gnu99.
23133         * configure.ac (systemtap): Test with -std=gnu11 instead of
23134         -std=gnu99.
23135         * configure: Regenerated.
23136         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
23137         in compilation command in comment.
23139         * sysdeps/nptl/configure.ac: Remove file.
23140         * sysdeps/nptl/configure: Remove generated file.
23141         * configure.ac (libc_cv_forced_unwind): Do not substitute.
23142         * configure: Regenerated.
23143         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
23144         * config.make.in (have-forced-unwind): Remove variable.
23145         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
23146         unconditional.
23147         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
23148         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
23149         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
23150         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
23151         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
23152         unconditional.
23154 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23156         [BZ #19174]
23157         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
23158         .skip_lock_out_of_tbegin_retries.
23159         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
23160         (__lll_lock_elision): Likewise, and respect a value of
23161         try_tbegin <= 0.
23163 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23165         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
23166         statement.
23168 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
23170         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
23171         variable.
23172         (test-xfail-ISO11/stdalign.h/conform): Likewise.
23173         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
23175         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
23176         of -std=c1x -D_ISOC11_SOURCE.
23178         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
23179         * configure: Regenerated.
23180         * manual/install.texi (Tools for Compilation): Document
23181         requirement for GCC 4.7 or later.
23182         * INSTALL: Regenerated.
23184 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
23186         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
23187         on CNT to a conditional jump to 'puntdata'.
23189 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
23191         * configure.ac (libc_cv_gcc___thread): Remove configure test.
23192         (libc_cv_gcc_tls_model_attr): Likewise.
23193         * configure: Regenerated.
23195         * configure.ac (libc_cv_need_minus_P): Remove configure test.
23196         * configure: Regenerated.
23197         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
23199 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
23201         * configure.ac (old_glibc_headers): Remove configure test.
23202         * configure: Regenerated.
23203         * config.make.in (old-glibc-headers): Remove variable.
23204         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
23205         (install): Remove dependency on remove-old-headers.
23206         (headers2_0): Remove variable.
23207         (remove-old-headers): Remove rule.
23209         * configure.ac (libc_cv_dot_text): Remove configure test.
23210         (libc_cv_asm_set_directive): Use .text instead of
23211         ${libc_cv_dot_text} in configure test.
23212         * configure: Regenerated.
23214 2015-10-26  Florian Weimer  <fweimer@redhat.com>
23216         [BZ #19168]
23217         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23219 2015-10-26  Florian Weimer  <fweimer@redhat.com>
23221         * configure.ac (CXX): Clear the variable if the C++ toolchain does
23222         not support static linking.
23223         * configure: Regenerate.
23225 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
23227         * math/libm-test.inc (check_float_internal): Do not special-case
23228         errors up to 0.5 ulp.
23230         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
23231         log2.
23232         * math/auto-libm-test-out: Regenerated.
23233         * math/libm-test.inc (MAX_EXP): New macro.
23234         (ilogb_test_data): Add more tests.
23235         (isfinite_test_data): Likewise.
23236         (isgreater_test_data): Likewise.
23237         (isgreaterequal_test_data): Likewise.
23238         (isinf_test_data): Likewise.
23239         (isless_test_data): Likewise.
23240         (islessequal_test_data): Likewise.
23241         (islessgreater_test_data): Likewise.
23242         (isnan_test_data): Likewise.
23243         (isnormal_test_data): Likewise.
23244         (issignaling_test_data): Likewise.
23245         (isunordered_test_data): Likewise.
23246         (j0_test_data): Likewise.
23247         (j1_test_data): Likewise.
23248         (jn_test_data): Likewise.
23249         (lgamma_test_data): Likewise.
23250         (log_test_data): Likewise.
23251         (log10_test_data): Likewise.
23252         (log1p_test_data): Likewise.
23253         (log2_test_data): Likewise.
23254         (logb_test_data): Likewise.
23255         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23257         [BZ #18611]
23258         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
23259         avoid excess range and precision on underflow.
23260         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
23261         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
23262         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
23263         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
23264         underflow.
23265         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
23266         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23267         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
23268         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
23269         * math/auto-libm-test-in: Do not allow missing errno setting for
23270         tests of j1 and jn.
23271         * math/auto-libm-test-out: Regenerated.
23273 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
23275         [BZ #15491]
23276         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
23277         floating-point environment instead of clearing all exceptions.
23278         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
23279         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
23280         merging in "invalid" exceptions from frndint.
23281         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
23282         * math/test-nearbyint-except.c: New file.
23283         * math/Makefile (tests): Add test-nearbyint-except.
23285 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
23287         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
23289         * sysdeps/tile/libm-test-ulps: Regenerated.
23291 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
23294         (__NR_sync_file_range2): Assume it is always defined.
23295         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
23296         (__NR_sync_file_range): Assume it is always defined.
23298 2015-10-22  Andreas Schwab  <schwab@suse.de>
23300         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
23301         INTERNAL_SYSCALL_ERRNO.
23302         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23303         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
23304         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23305         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
23306         Likewise.
23307         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23309 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
23311         * io/tst-fcntl.c (fd): New static variable.
23312         (do_prepare): Open temporary file here....
23313         (do_test): ...not here.
23315         * io/ftwtest-sh: Also trap on exit to remove temporary files.
23317 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
23319         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
23320         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
23321         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
23322         Moved before "#ifdef __ASSEMBLER__".
23324 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
23326         [BZ #19156]
23327         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
23328         arguments very close to 0.
23330 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
23332         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
23333         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
23335 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
23337         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
23338         New.  Defined for GCC 5 and above when not compiling for
23339         profiling.
23340         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
23342         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
23343         Renamed to ...
23344         (CFLAGS-epoll_pwait.o): This.
23345         (CFLAGS-mmap.c): Renamed to ...
23346         (CFLAGS-mmap.o): This.
23347         (CFLAGS-mmap64.c): Renamed to ...
23348         (CFLAGS-mmap64.o): This.
23349         (CFLAGS-epoll_pwait.os): New.
23350         (CFLAGS-mmap.os): Likewise.
23351         (CFLAGS-mmap64.os): Likewise.
23352         (CFLAGS-semtimedop.os): Likewise.
23353         (CFLAGS-semtimedop.c): Renamed to ...
23354         (CFLAGS-semtimedop.o): This.
23356 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23358         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
23359         warning message.
23361 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
23363         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
23364         * Makefile ($(objpfx)c++-types-check.out): Filter out
23365         $(+gccwarn-c) instead of -Wstrict-prototypes.
23367         * io/fts.c (fts_open): Convert to prototype-style function
23368         definition.
23369         * malloc/mcheck.c (mcheck): Likewise.
23370         (mcheck_pedantic): Likewise.
23371         * posix/regexec.c (re_search_2_stub): Likewise.  Use
23372         internal_function.
23373         (re_search_internal): Likewise.
23374         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
23375         prototype-style function definition.
23376         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
23377         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
23378         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
23379         (xdr_utmpptr): Likewise.
23380         (xdr_utmparr): Likewise.
23381         (xdr_utmpidle): Likewise.
23382         (xdr_utmpidleptr): Likewise.
23383         (xdr_utmpidlearr): Likewise.
23385         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
23386         log, log10 and log2.
23387         * math/auto-libm-test-out: Regenerated.
23388         * math/libm-test.inc (fmod_test_data): Add more tests.
23389         (fpclassify_test_data): Likewise.
23390         (frexp_test_data): Likewise.
23391         (hypot_test_data): Likewise.
23392         (ilogb_test_data): Likewise.
23394 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
23396         * debug/fortify_fail.c (__fortify_fail): Convert to
23397         prototype-style function definition.  Use internal_function.
23398         * libio/genops.c (save_for_backup): Convert to prototype-style
23399         function definition.
23400         * libio/wgenops.c (save_for_wbackup): Likewise.
23401         * login/grantpt.c (grantpt): Likewise.
23402         * login/ptsname.c (ptsname): Likewise.
23403         (__ptsname_r): Likewise.
23404         * login/unlockpt.c (unlockpt): Likewise.
23405         * mach/msgserver.c (__mach_msg_server): Likewise.
23406         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
23407         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
23408         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
23409         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
23410         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
23411         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
23412         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
23413         Likewise.
23414         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
23415         internal_function.
23416         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
23417         prototype-style function definition.
23418         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
23419         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
23420         (__pthread_create_2_0): Likewise.
23421         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
23422         * nptl/register-atfork.c (__register_atfork): Likewise.
23423         * posix/glob.c (glob): Likewise.
23424         * posix/regcomp.c (re_comp): Likewise.
23425         * posix/regexec.c (re_exec): Likewise.
23426         * stdlib/add_n.c [__STDC__]: Make code unconditional.
23427         [!__STDC__]: Remove conditional code.
23428         * stdlib/cmp.c [__STDC__]: Make code unconditional.
23429         [!__STDC__]: Remove conditional code.
23430         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
23431         [!__STDC__]: Remove conditional code.
23432         * stdlib/divrem.c [__STDC__]: Make code unconditional.
23433         [!__STDC__]: Remove conditional code.
23434         * stdlib/lshift.c [__STDC__]: Make code unconditional.
23435         [!__STDC__]: Remove conditional code.
23436         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
23437         [!__STDC__]: Remove conditional code.
23438         * stdlib/mul.c [__STDC__]: Make code unconditional.
23439         [!__STDC__]: Remove conditional code.
23440         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
23441         [!__STDC__]: Remove conditional code.
23442         * stdlib/rshift.c [__STDC__]: Make code unconditional.
23443         [!__STDC__]: Remove conditional code.
23444         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
23445         function definition.
23446         (STRTOF): Likewise.
23447         * stdlib/strtod_l.c (__STRTOF): Likewise.
23448         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
23449         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
23450         (__strtol_l): Likewise.
23451         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
23452         [!__STDC__]: Remove conditional code.
23453         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
23454         definition.
23455         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
23456         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
23457         type.
23458         (__strcasecmp): Convert to prototype-style function definition.
23459         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
23460         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
23461         type.
23462         (__strncasecmp): Convert to prototype-style function definition.
23463         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
23464         * sunrpc/xdr.c (xdr_union): Likewise.
23465         * sunrpc/xdr_array.c (xdr_array): Likewise.
23466         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
23467         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
23468         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
23469         Likewise.
23470         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
23471         Likewise.
23472         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
23473         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
23474         Likewise.
23475         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
23476         (LOCALE_PARAM_PROTO): Likewise.
23477         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
23478         argument type.
23479         (ut_argument_spec): Remove macro.
23480         (ut_argument_spec_iso): Rename to ut_argument_spec.
23481         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
23482         prototype-style function definition.
23483         (memcpy_uppcase): Likewise.
23484         (__strftime_internal): Likewise.
23485         (my_strftime): Likewise.
23486         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
23487         (LOCALE_PARAM_DECL): Likewise.
23488         [_LIBC] (LOCALE_PARAM): Include argument type.
23489         (__strptime_internal): Convert to prototype-style function
23490         definition.
23491         (strptime): Likewise.
23492         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
23493         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
23494         type.
23495         (__wcscasecmp): Convert to prototype-style function definition.
23496         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
23497         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
23498         type.
23499         (__wcsncasecmp): Convert to prototype-style function definition.
23501         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
23502         function definition.
23503         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23504         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23505         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
23506         * elf/dl-minimal.c (_itoa): Likewise.
23507         * hurd/hurdmalloc.c (malloc): Likewise.
23508         (free): Likewise.
23509         (realloc): Likewise.
23510         * inet/inet6_option.c (inet6_option_space): Likewise.
23511         (inet6_option_init): Likewise.
23512         (inet6_option_append): Likewise.
23513         (inet6_option_alloc): Likewise.
23514         (inet6_option_next): Likewise.
23515         (inet6_option_find): Likewise.
23516         * io/ftw.c (FTW_NAME): Likewise.
23517         (NFTW_NAME): Likewise.
23518         (NFTW_NEW_NAME): Likewise.
23519         (NFTW_OLD_NAME): Likewise.
23520         * libio/iofwide.c (_IO_fwide): Likewise.
23521         * libio/strops.c (_IO_str_init_static_internal): Likewise.
23522         (_IO_str_init_static): Likewise.
23523         (_IO_str_init_readonly): Likewise.
23524         (_IO_str_overflow): Likewise.
23525         (_IO_str_underflow): Likewise.
23526         (_IO_str_count): Likewise.
23527         (_IO_str_seekoff): Likewise.
23528         (_IO_str_pbackfail): Likewise.
23529         (_IO_str_finish): Likewise.
23530         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
23531         (_IO_wstr_overflow): Likewise.
23532         (_IO_wstr_underflow): Likewise.
23533         (_IO_wstr_count): Likewise.
23534         (_IO_wstr_seekoff): Likewise.
23535         (_IO_wstr_pbackfail): Likewise.
23536         (_IO_wstr_finish): Likewise.
23537         * locale/programs/localedef.c (normalize_codeset): Likewise.
23538         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
23539         (add_locales_to_archive): Likewise.
23540         (delete_locales_from_archive): Likewise.
23541         * malloc/malloc.c (__libc_mallinfo): Likewise.
23542         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
23543         * misc/tsearch.c (__tfind): Likewise.
23544         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
23545         * nptl/pthread_attr_getdetachstate.c
23546         (__pthread_attr_getdetachstate): Likewise.
23547         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
23548         Likewise.
23549         * nptl/pthread_attr_getinheritsched.c
23550         (__pthread_attr_getinheritsched): Likewise.
23551         * nptl/pthread_attr_getschedparam.c
23552         (__pthread_attr_getschedparam): Likewise.
23553         * nptl/pthread_attr_getschedpolicy.c
23554         (__pthread_attr_getschedpolicy): Likewise.
23555         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
23556         Likewise.
23557         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
23558         Likewise.
23559         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
23560         Likewise.
23561         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
23562         Likewise.
23563         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
23564         (__pthread_attr_init_2_0): Likewise.
23565         * nptl/pthread_attr_setdetachstate.c
23566         (__pthread_attr_setdetachstate): Likewise.
23567         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
23568         Likewise.
23569         * nptl/pthread_attr_setinheritsched.c
23570         (__pthread_attr_setinheritsched): Likewise.
23571         * nptl/pthread_attr_setschedparam.c
23572         (__pthread_attr_setschedparam): Likewise.
23573         * nptl/pthread_attr_setschedpolicy.c
23574         (__pthread_attr_setschedpolicy): Likewise.
23575         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
23576         Likewise.
23577         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
23578         Likewise.
23579         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
23580         Likewise.
23581         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
23582         Likewise.
23583         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
23584         Likewise.
23585         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
23586         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
23587         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
23588         use internal_function.
23589         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
23590         prototype-style function definition.
23591         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
23592         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
23593         internal_function.
23594         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
23595         Convert to prototype-style function definition.
23596         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
23597         Likewise.
23598         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
23599         Likewise.
23600         (__pthread_mutex_unlock): Likewise.
23601         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
23602         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
23603         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
23604         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
23605         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
23606         * nss/makedb.c (process_input): Likewise.
23607         * posix/fnmatch.c (__strchrnul): Likewise.
23608         (__wcschrnul): Likewise.
23609         (fnmatch): Likewise.
23610         * posix/fnmatch_loop.c (FCT): Likewise.
23611         * posix/glob.c (globfree): Likewise.
23612         (__glob_pattern_type): Likewise.
23613         (__glob_pattern_p): Likewise.
23614         * posix/regcomp.c (re_compile_pattern): Likewise.
23615         (re_set_syntax): Likewise.
23616         (re_compile_fastmap): Likewise.
23617         (regcomp): Likewise.
23618         (regerror): Likewise.
23619         (regfree): Likewise.
23620         * posix/regexec.c (regexec): Likewise.
23621         (re_match): Likewise.
23622         (re_search): Likewise.
23623         (re_match_2): Likewise.
23624         (re_search_2): Likewise.
23625         (re_search_stub): Likewise.  Use internal_function
23626         (re_copy_regs): Likewise.
23627         (re_set_registers): Convert to prototype-style function
23628         definition.
23629         (prune_impossible_nodes): Likewise.  Use internal_function.
23630         * resolv/inet_net_pton.c (inet_net_pton): Convert to
23631         prototype-style function definition.
23632         (inet_net_pton_ipv4): Likewise.
23633         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23634         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
23635         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
23636         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
23637         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
23638         Make variadic.
23639         * time/strptime_l.c (localtime_r): Convert to prototype-style
23640         function definition.
23641         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
23642         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
23643         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
23644         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
23646         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
23647         definition.
23648         (_ufc_doit_r): Likewise.
23649         * crypt/crypt_util.c (_ufc_copymem): Likewise.
23650         (_ufc_output_conversion_r): Likewise.
23651         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
23652         * inet/rcmd.c (rcmd_af): Likewise.
23653         (rcmd): Likewise.
23654         (ruserok_af): Likewise.
23655         (ruserok): Likewise.
23656         (ruserok2_sa): Likewise.
23657         (ruserok_sa): Likewise.
23658         (iruserok_af): Likewise.
23659         (iruserok): Likewise.
23660         (__ivaliduser): Likewise.
23661         (__validuser2_sa): Likewise.
23662         * inet/rexec.c (rexec_af): Likewise.
23663         (rexec): Likewise.
23664         * inet/ruserpass.c (ruserpass): Likewise.
23665         * locale/programs/xmalloc.c (xcalloc): Likewise.
23666         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
23667         * math/w_drem.c (__drem): Likewise.
23668         * math/w_dremf.c (__dremf): Likewise.
23669         * math/w_dreml.c (__dreml): Likewise.
23670         * misc/daemon.c (daemon): Likewise.
23671         * resolv/res_debug.c (p_fqnname): Likewise.
23672         * stdlib/div.c (div): Likewise.
23673         * string/memcmp.c (memcmp_bytes): Likewise.
23674         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
23675         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
23677         * crypt/cert.c (main): Convert to prototype-style function
23678         definition.
23679         * io/pipe.c (__pipe): Likewise.
23680         * io/pipe2.c (__pipe2): Likewise.
23681         * misc/futimesat.c (futimesat): Likewise.
23682         * misc/utimes.c (__utimes): Likewise.
23683         * posix/execve.c (__execve): Likewise.
23684         * posix/execvp.c (execvp): Likewise.
23685         * posix/execvpe.c (__execvpe): Likewise.
23686         * posix/fexecve.c (fexecve): Likewise.
23687         * socket/socketpair.c (socketpair): Likewise.
23688         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
23689         * stdlib/erand48.c (erand48): Likewise.
23690         * stdlib/erand48_r.c (__erand48_r): Likewise.
23691         * stdlib/jrand48.c (jrand48): Likewise.
23692         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
23693         * stdlib/lcong48.c (lcong48): Likewise.
23694         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
23695         * stdlib/nrand48.c (nrand48): Likewise.
23696         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
23697         * stdlib/seed48.c (seed48): Likewise.
23698         * stdlib/seed48_r.c (__seed48_r): Likewise.
23699         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
23700         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
23701         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
23703 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
23705         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
23706         * configure: Regenerated.
23707         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
23708         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
23709         unconditional.
23710         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
23711         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
23712         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
23713         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
23714         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
23715         unconditional.
23716         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
23718         * posix/Makefile (CFLAGS-regex.c): Remove variable.
23719         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
23721         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
23722         function definition.
23723         * crypt/crypt_util.c (__encrypt_r): Likewise.
23724         * libio/genops.c (_IO_no_init): Likewise.
23725         * libio/iofopncook.c (_IO_fopencookie): Likewise.
23726         (_IO_old_fopencookie): Likewise.
23727         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23728         * libio/iogetline.c (_IO_getline): Likewise.
23729         (_IO_getline_info): Likewise.
23730         * libio/iogetwline.c (_IO_getwline): Likewise.
23731         (_IO_getwline_info): Likewise.
23732         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
23733         * libio/vswprintf.c (_IO_vswprintf): Likewise.
23734         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
23735         (find_entry): Likewise.
23736         (iterate_table): Likewise.
23737         (lookup): Likewise.
23738         * login/forkpty.c (forkpty): Likewise.
23739         * misc/hsearch_r.c (__hsearch_r): Likewise.
23740         * misc/select.c (__select): Likewise.
23741         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
23742         Likewise.
23743         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
23744         Likewise.
23745         * nptl/old_pthread_cond_timedwait.c
23746         (__pthread_cond_timedwait_2_0): Likewise.
23747         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
23748         * nptl/pthread_barrierattr_getpshared.c
23749         (pthread_barrierattr_getpshared): Likewise.
23750         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
23751         Likewise.
23752         * nptl/pthread_mutex_setprioceiling.c
23753         (pthread_mutex_setprioceiling): Likewise.
23754         * nptl/pthread_mutexattr_getprioceiling.c
23755         (pthread_mutexattr_getprioceiling): Likewise.
23756         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
23757         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23758         Likewise.
23759         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
23760         Likewise.
23761         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
23762         Likewise.
23763         * socket/recvfrom.c (__recvfrom): Likewise.
23764         * socket/sendto.c (__sendto): Likewise.
23765         * socket/setsockopt.c (__setsockopt): Likewise.
23766         * stdio-common/_itoa.c (_itoa): Likewise.
23767         * stdio-common/_itowa.c (_itowa): Likewise.
23768         * stdio-common/reg-printf.c (__register_printf_specifier):
23769         Likewise.
23770         (__register_printf_function): Likewise.
23771         * stdio-common/tempname.c (__path_search): Likewise.
23772         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
23773         * stdlib/mul_1.c (mpn_mul_1): Likewise.
23774         * stdlib/random_r.c (__initstate_r): Likewise.
23775         * stdlib/setenv.c (__add_to_environ): Likewise.
23776         * stdlib/submul_1.c (mpn_submul_1): Likewise.
23777         * streams/getpmsg.c (getpmsg): Likewise.
23778         * streams/putmsg.c (putmsg): Likewise.
23779         * streams/putpmsg.c (putpmsg): Likewise.
23780         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
23781         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
23782         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
23783         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
23784         * sunrpc/pm_getport.c (pmap_getport): Likewise.
23785         * sunrpc/svc_udp.c (cache_get): Likewise.
23786         * sunrpc/xdr_array.c (xdr_vector): Likewise.
23787         * sysdeps/mach/hurd/getcwd.c
23788         (__canonicalize_directory_name_internal): Likewise.
23789         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
23790         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
23791         * sysdeps/mach/hurd/select.c (__select): Likewise.
23792         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
23793         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
23794         * sysdeps/sparc/nptl/pthread_barrier_init.c
23795         (__pthread_barrier_init): Likewise.
23796         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
23797         (__pthread_cond_timedwait): Likewise.
23798         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
23799         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
23800         Likewise.
23801         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
23802         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
23803         Likewise.
23804         * sysvipc/semtimedop.c (semtimedop): Likewise.
23805         * time/setitimer.c (__setitimer): Likewise.
23806         * time/strftime_l.c (emacs_strftime): Likewise.
23808 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
23810         * config.make.in (have-ssp): Delete.
23811         (stack-protector): New variable.
23812         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
23813         cache test for -fstack-protector-strong.  Export stack_protector to
23814         the best ssp flag.
23815         * configure: Regenerated.
23816         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
23817         * nscd/Makefile (CFLAGS-nscd): Likewise.
23818         * resolv/Makefile (CFLAGS-libresolv): Likewise.
23820 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
23822         [BZ #19122]
23823         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
23824         attribute_hidden.
23826 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23828         [BZ #18743]
23829         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
23830         code to...
23831         (ELIDE_LOCK): ...here.
23832         (__get_new_count): New function with part of the code from
23833         __elide_lock that updates the value of adapt_count after a
23834         transaction abort.
23835         (__elided_trylock): Moved this code to...
23836         (ELIDE_TRYLOCK): ...here.
23838 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
23840         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
23841         * configure: Regenerate.
23842         * INSTALL: Regenerate.
23843         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
23844         and tweak grammar.
23846 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
23848         * login/programs/pt_chown.c: Include signal.h
23849         (main): Clear any signal mask from the parent process.
23851 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
23853         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
23854         * configure: Regenerated.
23855         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
23856         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
23857         $(gnu89-inline-CFLAGS).
23859         * configure.ac (libc_cv_asm_weak_directive): Remove configure
23860         test.
23861         (libc_cv_asm_weakext_directive): Likewise.
23862         * configure: Regenerated.
23863         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
23864         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
23865         * include/libc-symbols.h
23866         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
23867         #error.
23868         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
23869         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
23871         * sysdeps/arm/backtrace.c (__backtrace): Convert to
23872         prototype-style function definition.
23873         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
23874         * sysdeps/i386/ffs.c (__ffs): Likewise.
23875         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23876         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
23877         Likewise.
23878         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
23879         Likewise.
23880         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
23881         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
23882         Likewise.
23883         * sysdeps/m68k/ffs.c (__ffs): Likewise.
23884         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
23885         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
23886         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
23887         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
23888         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
23889         * sysdeps/mach/hurd/access.c (__access): Likewise.
23890         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
23891         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
23892         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
23893         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
23894         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
23895         (cthread_getspecific): Likewise.
23896         (cthread_setspecific): Likewise.
23897         (__libc_getspecific): Likewise.
23898         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
23899         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
23900         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
23901         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
23902         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
23903         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
23904         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
23905         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
23906         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
23907         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
23908         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
23909         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
23910         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
23911         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
23912         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
23913         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
23914         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
23915         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
23916         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
23917         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
23918         * sysdeps/mach/hurd/link.c (__link): Likewise.
23919         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
23920         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
23921         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
23922         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
23923         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
23924         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
23925         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
23926         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
23927         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
23928         * sysdeps/mach/hurd/rename.c (rename): Likewise.
23929         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
23930         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
23931         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
23932         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
23933         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
23934         * sysdeps/mach/hurd/send.c (__send): Likewise.
23935         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
23936         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
23937         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
23938         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
23939         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
23940         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
23941         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
23942         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
23943         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
23944         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
23945         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
23946         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
23947         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
23948         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
23949         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
23950         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
23951         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
23952         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
23953         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
23954         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
23955         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
23956         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
23957         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
23958         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
23959         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
23960         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
23961         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
23962         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
23963         * sysdeps/posix/alarm.c (alarm): Likewise.
23964         * sysdeps/posix/cuserid.c (cuserid): Likewise.
23965         * sysdeps/posix/dirfd.c (dirfd): Likewise.
23966         * sysdeps/posix/dup.c (__dup): Likewise.
23967         * sysdeps/posix/dup2.c (__dup2): Likewise.
23968         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
23969         (main): Likewise.
23970         * sysdeps/posix/flock.c (__flock): Likewise.
23971         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
23972         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
23973         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
23974         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
23975         * sysdeps/posix/isatty.c (__isatty): Likewise.
23976         * sysdeps/posix/killpg.c (killpg): Likewise.
23977         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
23978         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
23979         * sysdeps/posix/raise.c (raise): Likewise.
23980         * sysdeps/posix/remove.c (remove): Likewise.
23981         * sysdeps/posix/rename.c (rename): Likewise.
23982         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
23983         * sysdeps/posix/seekdir.c (seekdir): Likewise.
23984         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
23985         * sysdeps/posix/sigignore.c (sigignore): Likewise.
23986         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
23987         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
23988         * sysdeps/posix/sigset.c (sigset): Likewise.
23989         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
23990         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
23991         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
23992         * sysdeps/posix/time.c (time): Likewise.
23993         * sysdeps/posix/ttyname.c (getttyname): Likewise.
23994         (ttyname): Likewise.
23995         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
23996         * sysdeps/posix/utime.c (utime): Likewise.
23997         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
23998         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
23999         Likewise.
24000         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
24001         (pthread_spin_trylock): Likewise.
24002         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
24003         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
24004         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
24005         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
24006         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
24007         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
24008         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
24009         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
24010         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
24011         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
24012         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
24013         * sysdeps/s390/ffs.c (__ffs): Likewise.
24014         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
24015         Likewise.
24016         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
24017         Likewise.
24018         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
24019         Likewise.
24020         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
24021         (pthread_barrier_destroy): Likewise.
24022         * sysdeps/sparc/nptl/pthread_barrier_wait.c
24023         (__pthread_barrier_wait): Likewise.
24024         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
24025         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
24026         (__pthread_barrier_wait): Likewise.
24027         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
24028         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
24029         (memcmp_not_common_alignment): Likewise.
24030         (MEMCMP): Likewise.
24031         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
24032         (_wordcopy_fwd_dest_aligned): Likewise.
24033         (_wordcopy_bwd_aligned): Likewise.
24034         (_wordcopy_bwd_dest_aligned): Likewise.
24035         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
24036         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
24037         * sysdeps/unix/bsd/stty.c (stty): Likewise.
24038         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
24039         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
24040         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
24041         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
24042         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
24043         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
24044         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
24045         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
24046         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
24047         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
24048         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
24049         * sysdeps/unix/stime.c (stime): Likewise.
24050         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
24051         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
24052         Likewise.  Use internal_function.
24053         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
24054         Convert to prototype-style function definition.
24055         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
24056         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
24057         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
24058         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24059         Likewise.  Use internal_function.
24060         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
24061         prototype-style function definition
24062         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24063         Likewise.
24064         (__getlogin_r): Likewise.
24065         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
24066         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
24067         (__pthread_cond_broadcast): Likewise.
24068         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
24069         (__pthread_cond_destroy): Likewise.
24070         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
24071         (__pthread_cond_init): Likewise.
24072         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
24073         (__pthread_cond_signal): Likewise.
24074         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
24075         (__pthread_cond_wait): Likewise.
24076         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
24077         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
24078         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
24079         Likewise.
24080         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
24081         Likewise.
24082         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
24083         Likewise.
24084         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
24085         Likewise.
24086         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
24087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
24088         (__ftruncate64): Likewise.
24089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
24090         (truncate64): Likewise.
24091         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
24092         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
24093         (pthread_getcpuclockid): Likewise.
24094         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
24095         Likewise.
24096         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
24097         Likewise.
24098         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
24099         Likewise.
24100         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
24101         Likewise.
24102         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
24103         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
24104         (__libc_sigaction): Likewise.
24105         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
24106         Likewise.
24107         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
24108         (__sigprocmask): Likewise.
24109         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
24110         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
24111         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
24112         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
24113         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24114         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
24115         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24116         Likewise.
24117         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
24118         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
24119         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24120         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
24121         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
24122         Likewise.
24123         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
24124         (__sigprocmask): Likewise.
24125         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
24126         (cfgetispeed): Likewise.
24127         (cfsetospeed): Likewise.
24128         (cfsetispeed): Likewise.
24129         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
24130         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
24131         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
24132         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
24133         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
24134         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
24135         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
24136         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
24137         Likewise.
24138         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
24139         Likewise.
24140         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
24141         Likewise.
24142         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
24143         Likewise.
24144         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
24146 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24148         sunrpc: Rewrite with explicit TLS access using __thread.
24149         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
24150         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
24151         directly.
24152         (__rpc_thread_variables): Access thread_rpc_vars directly.
24153         Eliminate redundant assignment of the tvp variable.
24155 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24157         malloc: Rewrite with explicit TLS access using __thread.
24158         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
24159         (tsd_setspecific, tsd_getspecific): Remove.
24160         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
24161         (tsd_setspecific, tsd_getspecific): Likewise.
24162         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
24163         (tsd_setspecific, tsd_getspecific): Likewise.
24164         * malloc/arena.c (thread_arena): New TLS variable.
24165         (arena_key): Remove variable.
24166         (arena_get): Use thread_arena.
24167         (arena_lookup): Remove macro.
24168         (malloc_atfork, free_atfork, ptmalloc_lock_all)
24169         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
24170         (_int_new_arena, get_free_list, reused_arena)
24171         (arena_thread_freeres): Use thread_arena.
24172         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
24173         tsd_getspecific, tsd_setspecific from safety annotations.
24174         (Allocating Cleared Space): Remove arena_lookup from safety
24175         annotations.
24177 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24179         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
24180         struct scratch_buffer instead of extend_alloca.
24182 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24184         * sysdeps/unix/sysv/linux/kernel-features.h
24185         (__ASSUME_SOCK_CLOEXEC): Remove.
24186         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
24187         (__have_paccept): Remove unused macro.
24188         * include/unistd.h (__have_sock_cloexec): Remove declaration.
24189         * misc/syslog.c (openlog_internal): Remove fallback code for
24190         !__ASSUME_SOCK_CLOEXEC.
24191         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
24192         missing SOCK_CLOEXEC.
24193         * nscd/connections.c (have_sock_cloexec): Remove definition.
24194         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
24195         * nscd/nscd_helper.c (open_socket): Remove fallback code for
24196         !__ASSUME_SOCK_CLOEXEC.
24197         * resolv/res_send.c (__have_o_nonblock): Remove definition.
24198         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
24199         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
24200         definition.
24201         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
24202         code for !__ASSUME_SOCK_CLOEXEC.
24204 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24206         [BZ #18982]
24207         * manual/stdio.texi (Variable Arguments Output): Add portability
24208         note, explaining that vfprintf clobbers the va_list pointer.
24210 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
24212         * math/libm-test.inc (fabs_test_data): Add more tests.
24213         (fdim_test_data): Likewise.
24214         (fma_test_data): Likewise.
24215         (fmax_test_data): Likewise.
24216         (fmin_test_data): Likewise.
24217         (fmod_test_data): Likewise.
24219 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
24221         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
24222         data.
24224 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
24226         * math/libm-test.inc (ceil_test_data): Add more tests and more
24227         expectations for "inexact".
24228         (floor_test_data): Add more tests.
24229         (round_test_data): Likewise.
24230         (trunc_test_data): Likewise.
24232         * crypt/cert.c (good_bye): Convert to prototype-style function
24233         definition.
24234         (get8): Likewise.
24235         (put8): Likewise.
24236         * crypt/crypt-entry.c (crypt): Likewise.
24237         (__fcrypt): Likewise.
24238         * crypt/crypt_util.c (_ufc_prbits): Likewise.
24239         (_ufc_set_bits): Likewise.
24240         (_ufc_clearmem): Likewise.
24241         (__init_des_r): Likewise.
24242         (shuffle_sb): Likewise.
24243         (shuffle_sb): Likewise.
24244         (_ufc_setup_salt_r): Likewise.
24245         (_ufc_mk_keytab_r): Likewise.
24246         (_ufc_dofinalperm_r): Likewise.
24247         (encrypt): Likewise.
24248         (__setkey_r): Likewise.
24249         (setkey): Likewise.
24250         * crypt/md5.c (md5_init_ctx): Likewise.
24251         (md5_read_ctx): Likewise.
24252         (md5_finish_ctx): Likewise.
24253         (md5_stream): Likewise.
24254         (md5_buffer): Likewise.
24255         (md5_process_bytes): Likewise.
24256         * crypt/sha256.c (__sha256_init_ctx): Likewise.
24257         (__sha256_finish_ctx): Likewise.
24258         (__sha256_process_bytes): Likewise.
24259         * crypt/sha512.c (__sha512_init_ctx): Likewise.
24260         (__sha512_finish_ctx): Likewise.
24261         (__sha512_process_bytes): Likewise.
24262         * ctype/isctype.c (__isctype): Likewise.
24263         * debug/backtrace.c (__backtrace): Likewise.
24264         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
24265         * debug/fgets_chk.c (__fgets_chk): Likewise.
24266         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
24267         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
24268         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
24269         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
24270         * debug/memset_chk.c (__memset_chk): Likewise.
24271         * debug/strcat_chk.c (__strcat_chk): Likewise.
24272         * debug/strncat_chk.c (__strncat_chk): Likewise.
24273         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
24274         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
24275         * dirent/dirfd.c (dirfd): Likewise.
24276         * dirent/getdents.c (__getdirentries): Likewise.
24277         * dirent/getdents64.c (getdirentries64): Likewise.
24278         * dirent/rewinddir.c (__rewinddir): Likewise.
24279         * dirent/seekdir.c (seekdir): Likewise.
24280         * dirent/telldir.c (telldir): Likewise.
24281         * elf/sln.c (makesymlinks): Likewise.
24282         (makesymlink): Likewise.
24283         * gmon/gmon.c (__moncontrol): Likewise.
24284         (__monstartup): Likewise.
24285         (write_hist): Likewise.
24286         (write_call_graph): Likewise.
24287         (write_bb_counts): Likewise.
24288         * grp/setgroups.c (setgroups): Likewise.
24289         * inet/inet_lnaof.c (inet_lnaof): Likewise.
24290         * inet/inet_net.c (inet_network): Likewise.
24291         * inet/inet_netof.c (inet_netof): Likewise.
24292         * inet/rcmd.c (rresvport_af): Likewise.
24293         (rresvport): Likewise.
24294         * io/access.c (__access): Likewise.
24295         * io/chdir.c (__chdir): Likewise.
24296         * io/chmod.c (__chmod): Likewise.
24297         * io/chown.c (__chown): Likewise.
24298         * io/close.c (__close): Likewise.
24299         * io/creat.c (creat): Likewise.
24300         * io/creat64.c (creat64): Likewise.
24301         * io/dup.c (__dup): Likewise.
24302         * io/dup2.c (__dup2): Likewise.
24303         * io/dup3.c (__dup3): Likewise.
24304         * io/euidaccess.c (__euidaccess): Likewise.
24305         * io/faccessat.c (faccessat): Likewise.
24306         * io/fchmod.c (__fchmod): Likewise.
24307         * io/fchmodat.c (fchmodat): Likewise.
24308         * io/fchown.c (__fchown): Likewise.
24309         * io/fchownat.c (fchownat): Likewise.
24310         * io/fcntl.c (__fcntl): Likewise.
24311         * io/flock.c (__flock): Likewise.
24312         * io/fts.c (fts_load): Likewise.
24313         (fts_close): Likewise.
24314         (fts_read): Likewise.
24315         (fts_set): Likewise.
24316         (fts_children): Likewise.
24317         (fts_build): Likewise.
24318         (fts_stat): Likewise.
24319         (fts_sort): Likewise.
24320         (fts_alloc): Likewise.
24321         (fts_lfree): Likewise.
24322         (fts_palloc): Likewise.
24323         (fts_padjust): Likewise.
24324         (fts_maxarglen): Likewise.
24325         (fts_safe_changedir): Likewise.
24326         * io/getwd.c (getwd): Likewise.
24327         * io/isatty.c (__isatty): Likewise.
24328         * io/lchown.c (__lchown): Likewise.
24329         * io/link.c (__link): Likewise.
24330         * io/linkat.c (linkat): Likewise.
24331         * io/lseek.c (__libc_lseek): Likewise.
24332         * io/mkdir.c (__mkdir): Likewise.
24333         * io/mkdirat.c (mkdirat): Likewise.
24334         * io/mkfifo.c (mkfifo): Likewise.
24335         * io/mkfifoat.c (mkfifoat): Likewise.
24336         * io/open.c (__libc_open): Likewise.
24337         * io/open64.c (__libc_open64): Likewise.
24338         * io/readlink.c (__readlink): Likewise.
24339         * io/readlinkat.c (readlinkat): Likewise.
24340         * io/rmdir.c (__rmdir): Likewise.
24341         * io/symlink.c (__symlink): Likewise.
24342         * io/symlinkat.c (symlinkat): Likewise.
24343         * io/ttyname.c (ttyname): Likewise.
24344         * io/ttyname_r.c (__ttyname_r): Likewise.
24345         * io/umask.c (__umask): Likewise.
24346         * io/unlink.c (__unlink): Likewise.
24347         * io/unlinkat.c (unlinkat): Likewise.
24348         * io/utime.c (utime): Likewise.
24349         * libio/clearerr.c (clearerr): Likewise.
24350         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
24351         * libio/feof.c (_IO_feof): Likewise.
24352         * libio/feof_u.c (feof_unlocked): Likewise.
24353         * libio/ferror.c (_IO_ferror): Likewise.
24354         * libio/ferror_u.c (ferror_unlocked): Likewise.
24355         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
24356         * libio/fileno.c (__fileno): Likewise.
24357         * libio/fputc.c (fputc): Likewise.
24358         * libio/fputc_u.c (fputc_unlocked): Likewise.
24359         * libio/fputwc.c (fputwc): Likewise.
24360         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
24361         * libio/freopen.c (freopen): Likewise.
24362         * libio/freopen64.c (freopen64): Likewise.
24363         * libio/fseek.c (fseek): Likewise.
24364         * libio/fseeko.c (fseeko): Likewise.
24365         * libio/fseeko64.c (fseeko64): Likewise.
24366         * libio/ftello.c (__ftello): Likewise.
24367         * libio/ftello64.c (ftello64): Likewise.
24368         * libio/fwide.c (fwide): Likewise.
24369         * libio/genops.c (_IO_un_link): Likewise.
24370         (_IO_link_in): Likewise.
24371         (_IO_least_marker): Likewise.
24372         (_IO_switch_to_main_get_area): Likewise.
24373         (_IO_switch_to_backup_area): Likewise.
24374         (_IO_switch_to_get_mode): Likewise.
24375         (_IO_free_backup_area): Likewise.
24376         (_IO_switch_to_put_mode): Likewise.
24377         (__overflow): Likewise.
24378         (__underflow): Likewise.
24379         (__uflow): Likewise.
24380         (_IO_setb): Likewise.
24381         (_IO_doallocbuf): Likewise.
24382         (_IO_default_underflow): Likewise.
24383         (_IO_default_uflow): Likewise.
24384         (_IO_default_xsputn): Likewise.
24385         (_IO_sgetn): Likewise.
24386         (_IO_default_xsgetn): Likewise.
24387         (_IO_sync): Likewise.
24388         (_IO_default_setbuf): Likewise.
24389         (_IO_default_seekpos): Likewise.
24390         (_IO_default_doallocate): Likewise.
24391         (_IO_init): Likewise.
24392         (_IO_old_init): Likewise.
24393         (_IO_default_sync): Likewise.
24394         (_IO_default_finish): Likewise.
24395         (_IO_default_seekoff): Likewise.
24396         (_IO_sputbackc): Likewise.
24397         (_IO_sungetc): Likewise.
24398         (_IO_set_column): Likewise.
24399         (_IO_set_column): Likewise.
24400         (_IO_adjust_column): Likewise.
24401         (_IO_get_column): Likewise.
24402         (_IO_init_marker): Likewise.
24403         (_IO_remove_marker): Likewise.
24404         (_IO_marker_difference): Likewise.
24405         (_IO_marker_delta): Likewise.
24406         (_IO_seekmark): Likewise.
24407         (_IO_unsave_markers): Likewise.
24408         (_IO_nobackup_pbackfail): Likewise.
24409         (_IO_default_pbackfail): Likewise.
24410         (_IO_default_seek): Likewise.
24411         (_IO_default_stat): Likewise.
24412         (_IO_default_read): Likewise.
24413         (_IO_default_write): Likewise.
24414         (_IO_default_showmanyc): Likewise.
24415         (_IO_default_imbue): Likewise.
24416         (_IO_iter_next): Likewise.
24417         (_IO_iter_file): Likewise.
24418         * libio/getc.c (_IO_getc): Likewise.
24419         * libio/getwc.c (_IO_getwc): Likewise.
24420         * libio/iofclose.c (_IO_new_fclose): Likewise.
24421         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
24422         * libio/iofflush.c (_IO_fflush): Likewise.
24423         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
24424         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
24425         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
24426         * libio/iofgets.c (_IO_fgets): Likewise.
24427         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
24428         * libio/iofgetws.c (fgetws): Likewise.
24429         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
24430         * libio/iofopen64.c (_IO_fopen64): Likewise.
24431         * libio/iofopncook.c (_IO_cookie_read): Likewise.
24432         (_IO_cookie_write): Likewise.
24433         (_IO_cookie_seek): Likewise.
24434         (_IO_cookie_close): Likewise.
24435         (_IO_cookie_seekoff): Likewise.
24436         (_IO_old_cookie_seek): Likewise.
24437         * libio/iofputs.c (_IO_fputs): Likewise.
24438         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
24439         * libio/iofputws.c (fputws): Likewise.
24440         * libio/iofputws_u.c (fputws_unlocked): Likewise.
24441         * libio/iofread.c (_IO_fread): Likewise.
24442         * libio/iofread_u.c (__fread_unlocked): Likewise.
24443         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
24444         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
24445         * libio/ioftell.c (_IO_ftell): Likewise.
24446         * libio/iofwrite.c (_IO_fwrite): Likewise.
24447         * libio/iogetdelim.c (_IO_getdelim): Likewise.
24448         * libio/iogets.c (_IO_gets): Likewise.
24449         * libio/iopadn.c (_IO_padn): Likewise.
24450         * libio/iopopen.c (_IO_new_proc_open): Likewise.
24451         (_IO_new_popen): Likewise.
24452         (_IO_new_proc_close): Likewise.
24453         * libio/ioputs.c (_IO_puts): Likewise.
24454         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
24455         (_IO_seekoff): Likewise.
24456         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
24457         (_IO_seekpos): Likewise.
24458         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
24459         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
24460         * libio/ioungetc.c (_IO_ungetc): Likewise.
24461         * libio/ioungetwc.c (ungetwc): Likewise.
24462         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
24463         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
24464         * libio/iowpadn.c (_IO_wpadn): Likewise.
24465         * libio/libc_fatal.c (__libc_fatal): Likewise.
24466         * libio/memstream.c (__open_memstream): Likewise.
24467         (_IO_mem_sync): Likewise.
24468         (_IO_mem_finish): Likewise.
24469         * libio/oldfileops.c (_IO_old_file_init): Likewise.
24470         (_IO_old_file_close_it): Likewise.
24471         (_IO_old_file_finish): Likewise.
24472         (_IO_old_file_fopen): Likewise.
24473         (_IO_old_file_attach): Likewise.
24474         (_IO_old_file_setbuf): Likewise.
24475         (_IO_old_do_write): Likewise.
24476         (old_do_write): Likewise.
24477         (_IO_old_file_underflow): Likewise.
24478         (_IO_old_file_overflow): Likewise.
24479         (_IO_old_file_sync): Likewise.
24480         (_IO_old_file_seekoff): Likewise.
24481         (_IO_old_file_write): Likewise.
24482         (_IO_old_file_xsputn): Likewise.
24483         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
24484         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24485         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
24486         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
24487         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
24488         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
24489         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
24490         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
24491         (_IO_old_popen): Likewise.
24492         (_IO_old_proc_close): Likewise.
24493         * libio/oldpclose.c (__old_pclose): Likewise.
24494         * libio/pclose.c (__new_pclose): Likewise.
24495         * libio/peekc.c (_IO_peekc_locked): Likewise.
24496         * libio/putc.c (_IO_putc): Likewise.
24497         * libio/putc_u.c (putc_unlocked): Likewise.
24498         * libio/putchar.c (putchar): Likewise.
24499         * libio/putchar_u.c (putchar_unlocked): Likewise.
24500         * libio/putwc.c (putwc): Likewise.
24501         * libio/putwc_u.c (putwc_unlocked): Likewise.
24502         * libio/putwchar.c (putwchar): Likewise.
24503         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
24504         * libio/rewind.c (rewind): Likewise.
24505         * libio/setbuf.c (setbuf): Likewise.
24506         * libio/setlinebuf.c (setlinebuf): Likewise.
24507         * libio/vasprintf.c (_IO_vasprintf): Likewise.
24508         * libio/vscanf.c (_IO_vscanf): Likewise.
24509         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
24510         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
24511         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
24512         * libio/wgenops.c (_IO_least_wmarker): Likewise.
24513         (_IO_switch_to_main_wget_area): Likewise.
24514         (_IO_switch_to_wbackup_area): Likewise.
24515         (_IO_wsetb): Likewise.
24516         (_IO_wdefault_pbackfail): Likewise.
24517         (_IO_wdefault_finish): Likewise.
24518         (_IO_wdefault_uflow): Likewise.
24519         (__woverflow): Likewise.
24520         (__wuflow): Likewise.
24521         (__wunderflow): Likewise.
24522         (_IO_wdefault_xsputn): Likewise.
24523         (_IO_wdefault_xsgetn): Likewise.
24524         (_IO_wdoallocbuf): Likewise.
24525         (_IO_wdefault_doallocate): Likewise.
24526         (_IO_switch_to_wget_mode): Likewise.
24527         (_IO_free_wbackup_area): Likewise.
24528         (_IO_switch_to_wput_mode): Likewise.
24529         (_IO_sputbackwc): Likewise.
24530         (_IO_sungetwc): Likewise.
24531         (_IO_adjust_wcolumn): Likewise.
24532         (_IO_init_wmarker): Likewise.
24533         (_IO_wmarker_delta): Likewise.
24534         (_IO_seekwmark): Likewise.
24535         (_IO_unsave_wmarkers): Likewise.
24536         * libio/wmemstream.c (open_wmemstream): Likewise.
24537         (_IO_wmem_sync): Likewise.
24538         (_IO_wmem_finish): Likewise.
24539         * locale/nl_langinfo.c (nl_langinfo): Likewise.
24540         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
24541         * locale/programs/simple-hash.c (init_hash): Likewise.
24542         (delete_hash): Likewise.
24543         (insert_entry): Likewise.
24544         (set_entry): Likewise.
24545         (next_prime): Likewise.
24546         (is_prime): Likewise.
24547         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
24548         (xmalloc): Likewise.
24549         (xrealloc): Likewise.
24550         * locale/programs/xstrdup.c (xstrdup): Likewise.
24551         * localedata/collate-test.c (xstrcoll): Likewise.
24552         * localedata/xfrm-test.c (xstrcmp): Likewise.
24553         * login/getlogin_r.c (__getlogin_r): Likewise.
24554         * login/getpt.c (__posix_openpt): Likewise.
24555         * login/login_tty.c (login_tty): Likewise.
24556         * login/setlogin.c (setlogin): Likewise.
24557         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
24558         (mach_msg_destroy_port): Likewise.
24559         (mach_msg_destroy_memory): Likewise.
24560         * malloc/mcheck.c (flood): Likewise.
24561         * misc/acct.c (acct): Likewise.
24562         * misc/brk.c (__brk): Likewise.
24563         * misc/chflags.c (chflags): Likewise.
24564         * misc/chroot.c (chroot): Likewise.
24565         * misc/fchflags.c (fchflags): Likewise.
24566         * misc/fstab.c (getfsspec): Likewise.
24567         (getfsfile): Likewise.
24568         * misc/fsync.c (fsync): Likewise.
24569         * misc/ftruncate.c (__ftruncate): Likewise.
24570         * misc/ftruncate64.c (__ftruncate64): Likewise.
24571         * misc/getdomain.c (getdomainname): Likewise.
24572         (getdomainname): Likewise.
24573         * misc/gethostname.c (__gethostname): Likewise.
24574         * misc/getpass.c (getpass): Likewise.
24575         * misc/getttyent.c (skip): Likewise.
24576         (value): Likewise.
24577         * misc/gtty.c (gtty): Likewise.
24578         * misc/hsearch.c (hsearch): Likewise.
24579         (hcreate): Likewise.
24580         * misc/hsearch_r.c (__hcreate_r): Likewise.
24581         (__hdestroy_r): Likewise.
24582         * misc/ioctl.c (__ioctl): Likewise.
24583         * misc/mkdtemp.c (mkdtemp): Likewise.
24584         * misc/mkostemp.c (mkostemp): Likewise.
24585         * misc/mkostemp64.c (mkostemp64): Likewise.
24586         * misc/mkostemps.c (mkostemps): Likewise.
24587         * misc/mkostemps64.c (mkostemps64): Likewise.
24588         * misc/mkstemp.c (mkstemp): Likewise.
24589         * misc/mkstemp64.c (mkstemp64): Likewise.
24590         * misc/mkstemps.c (mkstemps): Likewise.
24591         * misc/mkstemps64.c (mkstemps64): Likewise.
24592         * misc/mktemp.c (__mktemp): Likewise.
24593         * misc/preadv.c (preadv): Likewise.
24594         * misc/preadv64.c (preadv64): Likewise.
24595         * misc/pwritev.c (pwritev): Likewise.
24596         * misc/pwritev64.c (pwritev64): Likewise.
24597         * misc/readv.c (__readv): Likewise.
24598         * misc/revoke.c (revoke): Likewise.
24599         * misc/setdomain.c (setdomainname): Likewise.
24600         * misc/setegid.c (setegid): Likewise.
24601         * misc/seteuid.c (seteuid): Likewise.
24602         * misc/sethostid.c (sethostid): Likewise.
24603         * misc/sethostname.c (sethostname): Likewise.
24604         * misc/setregid.c (__setregid): Likewise.
24605         * misc/setreuid.c (__setreuid): Likewise.
24606         * misc/sstk.c (sstk): Likewise.
24607         * misc/stty.c (stty): Likewise.
24608         * misc/syscall.c (syscall): Likewise.
24609         * misc/syslog.c (setlogmask): Likewise.
24610         * misc/truncate.c (__truncate): Likewise.
24611         * misc/truncate64.c (truncate64): Likewise.
24612         * misc/ualarm.c (ualarm): Likewise.
24613         * misc/usleep.c (usleep): Likewise.
24614         * misc/ustat.c (ustat): Likewise.
24615         * misc/writev.c (__writev): Likewise.
24616         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
24617         * nptl/old_pthread_cond_broadcast.c
24618         (__pthread_cond_broadcast_2_0): Likewise.
24619         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
24620         Likewise.
24621         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
24622         Likewise.
24623         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
24624         Likewise.
24625         * nptl/pt-raise.c (raise): Likewise.
24626         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
24627         Likewise.
24628         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
24629         * nptl/pthread_barrierattr_destroy.c
24630         (pthread_barrierattr_destroy): Likewise.
24631         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
24632         Likewise.
24633         * nptl/pthread_barrierattr_setpshared.c
24634         (pthread_barrierattr_setpshared): Likewise.
24635         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
24636         Likewise.
24637         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
24638         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
24639         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
24640         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
24641         Likewise.
24642         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
24643         Likewise.
24644         * nptl/pthread_condattr_getpshared.c
24645         (pthread_condattr_getpshared): Likewise.
24646         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
24647         Likewise.
24648         * nptl/pthread_condattr_setpshared.c
24649         (pthread_condattr_setpshared): Likewise.
24650         * nptl/pthread_detach.c (pthread_detach): Likewise.
24651         * nptl/pthread_equal.c (__pthread_equal): Likewise.
24652         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
24653         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
24654         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
24655         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
24656         Likewise.
24657         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
24658         Likewise.
24659         * nptl/pthread_mutex_getprioceiling.c
24660         (pthread_mutex_getprioceiling): Likewise.
24661         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
24662         Likewise.
24663         * nptl/pthread_mutexattr_getprotocol.c
24664         (pthread_mutexattr_getprotocol): Likewise.
24665         * nptl/pthread_mutexattr_getpshared.c
24666         (pthread_mutexattr_getpshared): Likewise.
24667         * nptl/pthread_mutexattr_getrobust.c
24668         (pthread_mutexattr_getrobust): Likewise.
24669         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
24670         Likewise.
24671         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
24672         Likewise.
24673         * nptl/pthread_mutexattr_setprioceiling.c
24674         (pthread_mutexattr_setprioceiling): Likewise.
24675         * nptl/pthread_mutexattr_setprotocol.c
24676         (pthread_mutexattr_setprotocol): Likewise.
24677         * nptl/pthread_mutexattr_setpshared.c
24678         (pthread_mutexattr_setpshared): Likewise.
24679         * nptl/pthread_mutexattr_setrobust.c
24680         (pthread_mutexattr_setrobust): Likewise.
24681         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
24682         Likewise.
24683         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
24684         Likewise.
24685         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
24686         Likewise.
24687         * nptl/pthread_rwlockattr_getkind_np.c
24688         (pthread_rwlockattr_getkind_np): Likewise.
24689         * nptl/pthread_rwlockattr_getpshared.c
24690         (pthread_rwlockattr_getpshared): Likewise.
24691         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
24692         Likewise.
24693         * nptl/pthread_rwlockattr_setkind_np.c
24694         (pthread_rwlockattr_setkind_np): Likewise.
24695         * nptl/pthread_rwlockattr_setpshared.c
24696         (pthread_rwlockattr_setpshared): Likewise.
24697         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
24698         Likewise.
24699         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
24700         Likewise.
24701         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
24702         Likewise.
24703         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
24704         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
24705         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
24706         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
24707         * nptl/sem_close.c (sem_close): Likewise.
24708         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
24709         * nptl/sem_init.c (__old_sem_init): Likewise.
24710         * nptl/sigaction.c (__sigaction): Likewise.
24711         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
24712         * posix/_exit.c (_exit): Likewise.
24713         * posix/alarm.c (alarm): Likewise.
24714         * posix/confstr.c (confstr): Likewise.
24715         * posix/fpathconf.c (__fpathconf): Likewise.
24716         * posix/getgroups.c (__getgroups): Likewise.
24717         * posix/getpgid.c (__getpgid): Likewise.
24718         * posix/group_member.c (__group_member): Likewise.
24719         * posix/pathconf.c (__pathconf): Likewise.
24720         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
24721         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
24722         * posix/setgid.c (__setgid): Likewise.
24723         * posix/setpgid.c (__setpgid): Likewise.
24724         * posix/setuid.c (__setuid): Likewise.
24725         * posix/sleep.c (__sleep): Likewise.
24726         * posix/sysconf.c (__sysconf): Likewise.
24727         * posix/times.c (__times): Likewise.
24728         * posix/uname.c (__uname): Likewise.
24729         * posix/waitid.c (__waitid): Likewise.
24730         * pwd/getpw.c (__getpw): Likewise.
24731         * resolv/base64.c (b64_pton): Likewise.
24732         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
24733         * resolv/gethnamaddr.c (Dprintf): Likewise.
24734         (gethostbyname): Likewise.
24735         (gethostbyname2): Likewise.
24736         (gethostbyaddr): Likewise.
24737         (_sethtent): Likewise.
24738         (_gethtbyname): Likewise.
24739         (_gethtbyname2): Likewise.
24740         (_gethtbyaddr): Likewise.
24741         (map_v4v6_address): Likewise.
24742         (map_v4v6_hostent): Likewise.
24743         (addrsort): Likewise.
24744         (ht_sethostent): Likewise.
24745         (ht_gethostbyname): Likewise.
24746         (ht_gethostbyaddr): Likewise.
24747         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
24748         (inet_net_ntop_ipv4): Likewise.
24749         * resolv/inet_neta.c (inet_neta): Likewise.
24750         * resolv/inet_ntop.c (inet_ntop): Likewise.
24751         (inet_ntop4): Likewise.
24752         (inet_ntop6): Likewise.
24753         * resolv/inet_pton.c (__inet_pton): Likewise.
24754         (inet_pton4): Likewise.
24755         (inet_pton6): Likewise.
24756         * resolv/res_debug.c (loc_aton): Likewise.
24757         (loc_ntoa): Likewise.
24758         * resource/getpriority.c (__getpriority): Likewise.
24759         * resource/getrusage.c (__getrusage): Likewise.
24760         * resource/nice.c (nice): Likewise.
24761         * resource/setpriority.c (__setpriority): Likewise.
24762         * resource/setrlimit64.c (setrlimit64): Likewise.
24763         * resource/vlimit.c (vlimit): Likewise.
24764         * resource/vtimes.c (vtimes): Likewise.
24765         * rt/aio_error.c (aio_error): Likewise.
24766         * rt/aio_return.c (aio_return): Likewise.
24767         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
24768         * signal/kill.c (__kill): Likewise.
24769         * signal/killpg.c (killpg): Likewise.
24770         * signal/raise.c (raise): Likewise.
24771         * signal/sigaction.c (__sigaction): Likewise.
24772         * signal/sigaddset.c (sigaddset): Likewise.
24773         * signal/sigaltstack.c (sigaltstack): Likewise.
24774         * signal/sigandset.c (sigandset): Likewise.
24775         * signal/sigblock.c (__sigblock): Likewise.
24776         * signal/sigdelset.c (sigdelset): Likewise.
24777         * signal/sigempty.c (sigemptyset): Likewise.
24778         * signal/sigfillset.c (sigfillset): Likewise.
24779         * signal/sighold.c (sighold): Likewise.
24780         * signal/sigignore.c (sigignore): Likewise.
24781         * signal/sigintr.c (siginterrupt): Likewise.
24782         * signal/sigisempty.c (sigisemptyset): Likewise.
24783         * signal/sigismem.c (sigismember): Likewise.
24784         * signal/signal.c (signal): Likewise.
24785         * signal/sigorset.c (sigorset): Likewise.
24786         * signal/sigpause.c (__sigpause): Likewise.
24787         * signal/sigpending.c (sigpending): Likewise.
24788         * signal/sigprocmask.c (__sigprocmask): Likewise.
24789         * signal/sigrelse.c (sigrelse): Likewise.
24790         * signal/sigreturn.c (__sigreturn): Likewise.
24791         * signal/sigset.c (sigset): Likewise.
24792         * signal/sigsetmask.c (__sigsetmask): Likewise.
24793         * signal/sigstack.c (sigstack): Likewise.
24794         * signal/sigsuspend.c (__sigsuspend): Likewise.
24795         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
24796         * signal/sysv_signal.c (__sysv_signal): Likewise.
24797         * socket/accept.c (accept): Likewise.
24798         * socket/accept4.c (__libc_accept4): Likewise.
24799         * socket/bind.c (__bind): Likewise.
24800         * socket/connect.c (__connect): Likewise.
24801         * socket/getpeername.c (getpeername): Likewise.
24802         * socket/getsockname.c (__getsockname): Likewise.
24803         * socket/getsockopt.c (getsockopt): Likewise.
24804         * socket/listen.c (__listen): Likewise.
24805         * socket/recv.c (__recv): Likewise.
24806         * socket/recvmsg.c (__recvmsg): Likewise.
24807         * socket/send.c (__send): Likewise.
24808         * socket/sendmsg.c (__sendmsg): Likewise.
24809         * socket/shutdown.c (shutdown): Likewise.
24810         * socket/sockatmark.c (sockatmark): Likewise.
24811         * socket/socket.c (__socket): Likewise.
24812         * stdio-common/ctermid.c (ctermid): Likewise.
24813         * stdio-common/cuserid.c (cuserid): Likewise.
24814         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
24815         * stdio-common/remove.c (remove): Likewise.
24816         * stdio-common/rename.c (rename): Likewise.
24817         * stdio-common/renameat.c (renameat): Likewise.
24818         * stdio-common/tempname.c (__gen_tempname): Likewise.
24819         * stdio-common/xbug.c (InitBuffer): Likewise.
24820         (AppendToBuffer): Likewise.
24821         (ReadFile): Likewise.
24822         * stdlib/a64l.c (a64l): Likewise.
24823         * stdlib/drand48_r.c (drand48_r): Likewise.
24824         * stdlib/getcontext.c (getcontext): Likewise.
24825         * stdlib/getenv.c (getenv): Likewise.
24826         * stdlib/l64a.c (l64a): Likewise.
24827         * stdlib/llabs.c (llabs): Likewise.
24828         * stdlib/lldiv.c (lldiv): Likewise.
24829         * stdlib/lrand48_r.c (lrand48_r): Likewise.
24830         * stdlib/mrand48_r.c (mrand48_r): Likewise.
24831         * stdlib/putenv.c (putenv): Likewise.
24832         * stdlib/random.c (__srandom): Likewise.
24833         (__initstate): Likewise.
24834         (__setstate): Likewise.
24835         * stdlib/random_r.c (__srandom_r): Likewise.
24836         (__setstate_r): Likewise.
24837         (__random_r): Likewise.
24838         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
24839         * stdlib/setcontext.c (setcontext): Likewise.
24840         * stdlib/setenv.c (setenv): Likewise.
24841         (unsetenv): Likewise.
24842         * stdlib/srand48.c (srand48): Likewise.
24843         * stdlib/srand48_r.c (__srand48_r): Likewise.
24844         * stdlib/swapcontext.c (swapcontext): Likewise.
24845         * stdlib/system.c (__libc_system): Likewise.
24846         * stdlib/tst-strtod.c (expand): Likewise.
24847         * stdlib/tst-strtol.c (expand): Likewise.
24848         * stdlib/tst-strtoll.c (expand): Likewise.
24849         * streams/fattach.c (fattach): Likewise.
24850         * streams/fdetach.c (fdetach): Likewise.
24851         * streams/getmsg.c (getmsg): Likewise.
24852         * streams/isastream.c (isastream): Likewise.
24853         * string/ffs.c (__ffs): Likewise.
24854         * string/ffsll.c (ffsll): Likewise.
24855         * string/memcmp.c (memcmp_common_alignment): Likewise.
24856         (memcmp_not_common_alignment): Likewise.
24857         (MEMCMP): Likewise.
24858         * string/memcpy.c (memcpy): Likewise.
24859         * string/memmove.c (MEMMOVE): Likewise.
24860         * string/memset.c (memset): Likewise.
24861         * string/rawmemchr.c (RAWMEMCHR): Likewise.
24862         * string/strchrnul.c (STRCHRNUL): Likewise.
24863         * string/strerror.c (strerror): Likewise.
24864         * string/strndup.c (__strndup): Likewise.
24865         * string/strverscmp.c (__strverscmp): Likewise.
24866         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
24867         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
24868         (clnttcp_freeres): Likewise.
24869         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
24870         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
24871         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
24872         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
24873         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
24874         (xdr_callhdr): Likewise.
24875         * sunrpc/rpcinfo.c (udpping): Likewise.
24876         (tcpping): Likewise.
24877         (pstatus): Likewise.
24878         (pmapdump): Likewise.
24879         (brdcst): Likewise.
24880         (deletereg): Likewise.
24881         (getprognum): Likewise.
24882         (getvers): Likewise.
24883         (get_inet_address): Likewise.
24884         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
24885         * sunrpc/svc_udp.c (svcudp_create): Likewise.
24886         (svcudp_stat): Likewise.
24887         (svcudp_recv): Likewise.
24888         (svcudp_reply): Likewise.
24889         (svcudp_getargs): Likewise.
24890         (svcudp_freeargs): Likewise.
24891         (svcudp_destroy): Likewise.
24892         * sunrpc/xdr.c (xdr_bytes): Likewise.
24893         (xdr_netobj): Likewise.
24894         (xdr_string): Likewise.
24895         (xdr_wrapstring): Likewise.
24896         * sunrpc/xdr_float.c (xdr_float): Likewise.
24897         (xdr_double): Likewise.
24898         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
24899         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
24900         * sysvipc/ftok.c (ftok): Likewise.
24901         * sysvipc/msgctl.c (msgctl): Likewise.
24902         * sysvipc/msgget.c (msgget): Likewise.
24903         * sysvipc/msgrcv.c (msgrcv): Likewise.
24904         * sysvipc/msgsnd.c (msgsnd): Likewise.
24905         * sysvipc/semget.c (semget): Likewise.
24906         * sysvipc/semop.c (semop): Likewise.
24907         * sysvipc/shmat.c (shmat): Likewise.
24908         * sysvipc/shmctl.c (shmctl): Likewise.
24909         * sysvipc/shmdt.c (shmdt): Likewise.
24910         * sysvipc/shmget.c (shmget): Likewise.
24911         * termios/cfmakeraw.c (cfmakeraw): Likewise.
24912         * termios/speed.c (cfgetospeed): Likewise.
24913         (cfgetispeed): Likewise.
24914         (cfsetospeed): Likewise.
24915         (cfsetispeed): Likewise.
24916         * termios/tcflow.c (tcflow): Likewise.
24917         * termios/tcflush.c (tcflush): Likewise.
24918         * termios/tcgetattr.c (__tcgetattr): Likewise.
24919         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
24920         * termios/tcgetsid.c (tcgetsid): Likewise.
24921         * termios/tcsendbrk.c (tcsendbreak): Likewise.
24922         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
24923         * time/adjtime.c (__adjtime): Likewise.
24924         * time/dysize.c (dysize): Likewise.
24925         * time/ftime.c (ftime): Likewise.
24926         * time/getitimer.c (__getitimer): Likewise.
24927         * time/gettimeofday.c (__gettimeofday): Likewise.
24928         * time/gmtime.c (__gmtime_r): Likewise.
24929         (gmtime): Likewise.
24930         * time/localtime.c (__localtime_r): Likewise.
24931         (localtime): Likewise.
24932         * time/offtime.c (__offtime): Likewise.
24933         * time/settimeofday.c (__settimeofday): Likewise.
24934         * time/stime.c (stime): Likewise.
24935         * time/strftime_l.c (tm_diff): Likewise.
24936         (iso_week_days): Likewise.
24937         * time/strptime.c (strptime): Likewise.
24938         * time/time.c (time): Likewise.
24939         * time/timespec_get.c (timespec_get): Likewise.
24940         * time/tzset.c (tzset_internal): Likewise.
24941         (compute_change): Likewise.
24942         (__tz_compute): Likewise.
24943         * wcsmbs/btowc.c (__btowc): Likewise.
24944         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
24945         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
24946         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
24947         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
24948         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
24949         * wcsmbs/wcscat.c (__wcscat): Likewise.
24950         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
24951         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
24952         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
24953         * wcsmbs/wcscspn.c (wcscspn): Likewise.
24954         * wcsmbs/wcsdup.c (wcsdup): Likewise.
24955         * wcsmbs/wcslen.c (__wcslen): Likewise.
24956         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
24957         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
24958         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
24959         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
24960         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
24961         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
24962         * wcsmbs/wcsspn.c (wcsspn): Likewise.
24963         * wcsmbs/wcsstr.c (wcsstr): Likewise.
24964         * wcsmbs/wcstok.c (wcstok): Likewise.
24965         * wcsmbs/wctob.c (wctob): Likewise.
24966         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
24967         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24968         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
24969         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
24970         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
24971         * wcsmbs/wmemset.c (__wmemset): Likewise.
24972         * wctype/wcfuncs.c (__towlower): Likewise.
24973         (__towupper): Likewise.
24975         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
24976         (lll_unlock_elision): Add adapt_count parameter.
24978 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
24980         * sysdeps/nptl/configure.ac: Do not give errors based on the
24981         results of top-level configure tests.
24982         * sysdeps/nptl/configure: Regenerated.
24984         * configure.ac (libc_cv_Bgroup): Remove configure test.
24985         * configure: Regenerated.
24986         * config.make.in (have-Bgroup): Remove variable.
24988         * configure.ac (sizeof_long_double): Remove configure test.
24989         * configure: Regenerated.
24990         * config.make.in (sizeof-long-double): Remove variable.
24992         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
24993         * configure: Regenerated.
24994         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
24995         variable.
24996         (exceptions): Likewise.
24997         * sysdeps/arm/configure: Regenerated.
24998         * config.make.in (exceptions): Remove variable.
24999         * Makeconfig (uses-callbacks): Use -fexceptions instead of
25000         $(exceptions).
25001         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
25002         (CFLAGS-vdprintf_chk.c): Likewise.
25003         (CFLAGS-printf_chk.c): Likewise.
25004         (CFLAGS-fprintf_chk.c): Likewise.
25005         (CFLAGS-vprintf_chk.c): Likewise.
25006         (CFLAGS-vfprintf_chk.c): Likewise.
25007         (CFLAGS-gets_chk.c): Likewise.
25008         (CFLAGS-fgets_chk.c): Likewise.
25009         (CFLAGS-fgets_u_chk.c): Likewise.
25010         (CFLAGS-fread_chk.c): Likewise.
25011         (CFLAGS-fread_u_chk.c): Likewise.
25012         (CFLAGS-wprintf_chk.c): Likewise.
25013         (CFLAGS-fwprintf_chk.c): Likewise.
25014         (CFLAGS-vwprintf_chk.c): Likewise.
25015         (CFLAGS-vfwprintf_chk.c): Likewise.
25016         (CFLAGS-fgetws_chk.c): Likewise.
25017         (CFLAGS-fgetws_u_chk.c): Likewise.
25018         * libio/Makefile (CFLAGS-fileops.c): Likewise.
25019         (CFLAGS-fputc.c): Likewise.
25020         (CFLAGS-fputwc.c): Likewise.
25021         (CFLAGS-freopen64.c): Likewise.
25022         (CFLAGS-freopen.c): Likewise.
25023         (CFLAGS-fseek.c): Likewise.
25024         (CFLAGS-fseeko64.c): Likewise.
25025         (CFLAGS-fseeko.c): Likewise.
25026         (CFLAGS-ftello64.c): Likewise.
25027         (CFLAGS-ftello.c): Likewise.
25028         (CFLAGS-fwide.c): Likewise.
25029         (CFLAGS-genops.c): Likewise.
25030         (CFLAGS-getc.c): Likewise.
25031         (CFLAGS-getchar.c): Likewise.
25032         (CFLAGS-getwc.c): Likewise.
25033         (CFLAGS-getwchar.c): Likewise.
25034         (CFLAGS-iofclose.c): Likewise.
25035         (CFLAGS-iofflush.c): Likewise.
25036         (CFLAGS-iofgetpos64.c): Likewise.
25037         (CFLAGS-iofgetpos.c): Likewise.
25038         (CFLAGS-iofgets.c): Likewise.
25039         (CFLAGS-iofgetws.c): Likewise.
25040         (CFLAGS-iofputs.c): Likewise.
25041         (CFLAGS-iofputws.c): Likewise.
25042         (CFLAGS-iofread.c): Likewise.
25043         (CFLAGS-iofsetpos64.c): Likewise.
25044         (CFLAGS-iofsetpos.c): Likewise.
25045         (CFLAGS-ioftell.c): Likewise.
25046         (CFLAGS-iofwrite.c): Likewise.
25047         (CFLAGS-iogetdelim.c): Likewise.
25048         (CFLAGS-iogetline.c): Likewise.
25049         (CFLAGS-iogets.c): Likewise.
25050         (CFLAGS-iogetwline.c): Likewise.
25051         (CFLAGS-ioputs.c): Likewise.
25052         (CFLAGS-ioseekoff.c): Likewise.
25053         (CFLAGS-ioseekpos.c): Likewise.
25054         (CFLAGS-iosetbuffer.c): Likewise.
25055         (CFLAGS-iosetvbuf.c): Likewise.
25056         (CFLAGS-ioungetc.c): Likewise.
25057         (CFLAGS-ioungetwc.c): Likewise.
25058         (CFLAGS-oldfileops.c): Likewise.
25059         (CFLAGS-oldiofclose.c): Likewise.
25060         (CFLAGS-oldiofgetpos64.c): Likewise.
25061         (CFLAGS-oldiofgetpos.c): Likewise.
25062         (CFLAGS-oldiofsetpos64.c): Likewise.
25063         (CFLAGS-oldiofsetpos.c): Likewise.
25064         (CFLAGS-peekc.c): Likewise.
25065         (CFLAGS-putc.c): Likewise.
25066         (CFLAGS-putchar.c): Likewise.
25067         (CFLAGS-putwc.c): Likewise.
25068         (CFLAGS-putwchar.c): Likewise.
25069         (CFLAGS-rewind.c): Likewise.
25070         (CFLAGS-wfileops.c): Likewise.
25071         (CFLAGS-wgenops.c): Likewise.
25072         (CFLAGS-oldiofopen.c): Likewise.
25073         (CFLAGS-iofopen.c): Likewise.
25074         (CFLAGS-iofopen64.c): Likewise.
25075         (CFLAGS-oldtmpfile.c): Likewise.
25076         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
25077         (CFLAGS-fprintf.c): Likewise.
25078         (CFLAGS-printf.c): Likewise.
25079         (CFLAGS-vfwprintf.c): Likewise.
25080         (CFLAGS-vfscanf.c): Likewise.
25081         (CFLAGS-vfwscanf.c): Likewise.
25082         (CFLAGS-fscanf.c): Likewise.
25083         (CFLAGS-scanf.c): Likewise.
25084         (CFLAGS-isoc99_vfscanf.c): Likewise.
25085         (CFLAGS-isoc99_vscanf.c): Likewise.
25086         (CFLAGS-isoc99_fscanf.c): Likewise.
25087         (CFLAGS-isoc99_scanf.c): Likewise.
25088         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
25089         (CFLAGS-isoc99_fwscanf.c): Likewise.
25090         (CFLAGS-isoc99_vwscanf.c): Likewise.
25091         (CFLAGS-isoc99_vfwscanf.c): Likewise.
25093         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
25094         after mkstemp64.
25095         * login/tst-utmp.c (do_prepare): Likewise.
25096         * rt/tst-aio.c (do_prepare): Likewise.
25097         * rt/tst-aio64.c (do_prepare): Likewise.
25099 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25101         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
25102         (__lll_lock_elision): Remove adapt_count decrement...
25103         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
25104         (__lll_trylock_elision): Likewise.
25105         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
25106         (__lll_unlock_elision): ... to here. And utilize
25107         new adapt_count parameter.
25108         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
25109         (__lll_unlock_elision): Update to include adapt_count
25110         parameter.
25111         (lll_unlock_elision): Pass pointer to adapt_count
25112         variable.
25114 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25116         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
25117         Add elision adapt_count parameter to list of arguments.
25118         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
25119         (lll_unlock_elision): Update with new parameter list
25120         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
25121         (lll_unlock_elision): Likewise.
25122         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
25123         (lll_unlock_elision): Likewise.
25125 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
25127         [BZ #19122]
25128         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
25129         attribute_hidden.
25131         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
25132         attribute_hidden.
25133         [IS_IN (rtld)] (__strdup): Likewise.
25134         [IS_IN (rtld)] (__strerror_r): Likewise.
25135         [IS_IN (rtld)] (__strsep_g): Likewise.
25136         [IS_IN (rtld)] (memchr): Likewise.
25137         [IS_IN (rtld)] (memcmp): Likewise.
25138         [IS_IN (rtld)] (memcpy): Likewise.
25139         [IS_IN (rtld)] (memmove): Likewise.
25140         [IS_IN (rtld)] (memset): Likewise.
25141         [IS_IN (rtld)] (rawmemchr): Likewise.
25142         [IS_IN (rtld)] (stpcpy): Likewise.
25143         [IS_IN (rtld)] (strchr): Likewise.
25144         [IS_IN (rtld)] (strcmp): Likewise.
25145         [IS_IN (rtld)] (strlen): Likewise.
25146         [IS_IN (rtld)] (strnlen): Likewise.
25147         [IS_IN (rtld)] (strsep): Likewise.
25149         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
25150         attribute_hidden.
25151         [IS_IN (rtld)] (__strtoul_internal): Likewise.
25153         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
25154         attribute_hidden.
25155         [IS_IN (rtld)] (__libc_sigaction): Likewise.
25157         * include/setjmp.h (__longjmp): Add attribute_hidden.
25158         [IS_IN (rtld)] (__sigsetjmp): Likewise.
25160         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
25161         Add attribute_hidden.
25163         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
25164         [IS_IN (rtld)] (__open): Likewise.
25165         [IS_IN (rtld)] (__fcntl): Likewise.
25167         * include/dirent.h (__opendirat): Add attribute_hidden.
25168         (__getdents): Likewise.
25169         (__getdents64): Likewise.
25170         (__alloc_dir): Likewise.
25171         [IS_IN (rtld)] (__closedir): Likewise.
25172         [IS_IN (rtld)] (__fdopendir): Likewise.
25173         [IS_IN (rtld)] (__readdir): Likewise.
25174         [IS_IN (rtld)] (__readdir64): Likewise.
25175         [IS_IN (rtld)] (__rewinddir): Likewise.
25177         * include/dlfcn.h (_dl_catch_error): Moved to ...
25178         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
25179         attribute_hidden.
25181         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
25182         (_itoa_word): Likewise.
25184         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
25185         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
25186         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
25187         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
25188         (_dl_higher_prime_number): Likewise.
25189         (_dl_debug_printf_c): Likewise.
25190         (_dl_signal_cerror): Likewise.
25191         (_dl_receive_error): Likewise.
25192         (_dl_reloc_bad_type): Likewise.
25193         (_dl_resolve_conflicts): Likewise.
25194         (_dl_check_all_versions): Likewise.
25195         (_dl_check_map_versions): Likewise.
25196         (_dl_sort_fini): Likewise.
25197         (_dl_debug_initialize): Likewise.
25198         (_dl_init_paths): Likewise.
25199         (_dl_show_auxv): Likewise.
25200         (_dl_next_ld_env_entry): Likewise.
25201         (_dl_important_hwcaps): Likewise.
25202         (_dl_load_cache_lookup): Likewise.
25203         (_dl_update_slotinfo): Likewise.
25204         (_dl_show_scope): Likewise.
25206         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
25207         attribute_hidden.
25208         (_wordcopy_fwd_dest_aligned): Likewise.
25209         (_wordcopy_bwd_aligned): Likewise.
25210         (_wordcopy_bwd_dest_aligned): Likewise.
25212         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
25213         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
25214         Likewise.
25215         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
25216         Likewise.
25217         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
25219 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
25221         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
25222         GCC 5 requirement.
25224 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
25226         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
25227         test.
25228         * sysdeps/i386/configure: Regenerated.
25229         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
25230         code unconditional.
25232         * configure.ac (libc_cv_asm_previous_directive): Remove configure
25233         test.
25234         (libc_cv_asm_popsection_directive): Likewise.
25235         * configure: Regenerated.
25236         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
25237         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
25238         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
25239         (__make_section_unallocated): Make definition unconditional.
25240         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
25241         Remove conditional definition.
25242         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
25243         (__make_section_unallocated): Likewise.
25245         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
25246         * configure: Regenerated.
25247         * config.make.in (static-libgcc): Remove variable.
25248         * Makerules (build-shlib-helper): Use -static-libgcc instead of
25249         $(static-libgcc).
25250         (build-module-helper): Likewise.
25252         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
25253         * configure: Regenerated.
25255 2015-10-15  Florian Weimer  <fweimer@redhat.com>
25257         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
25258         (struct char_buffer): New type.
25259         (char_buffer_start, char_buffer_size, char_buffer_error)
25260         (char_buffer_rewind, char_buffer_add): New functions.
25261         (ADDW): Remove macro, replaced by the char_buffer_add function.
25262         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
25263         of extend_alloca.  Make control flow more explicit.
25265 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
25267         [BZ #19137]
25268         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
25269         Add -fomit-frame-pointer.
25270         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
25272 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
25274         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
25275         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
25276         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
25277         only if !__GNUC_PREREQ (5,0).
25278         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
25279         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
25280         (INTERNAL_SYSCALL_NCS): Likewise.
25281         (LOADREGS_0): New macro for GCC 5.
25282         (ASMARGS_0): Likewise.
25283         (LOADREGS_1): Likewise.
25284         (ASMARGS_1): Likewise.
25285         (LOADREGS_2): Likewise.
25286         (ASMARGS_2): Likewise.
25287         (LOADREGS_3): Likewise.
25288         (ASMARGS_3): Likewise.
25289         (LOADREGS_4): Likewise.
25290         (ASMARGS_4): Likewise.
25291         (LOADREGS_5): Likewise.
25292         (ASMARGS_5): Likewise.
25293         (LOADREGS_6): Likewise.
25294         (ASMARGS_6): Likewise.
25296 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
25298         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
25299         -fomit-frame-pointer.
25300         (CFLAGS-mmap64.c): Likewise.
25301         (CFLAGS-semtimedop.c): Likewise.
25302         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
25303         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
25304         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25305         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25307 2015-10-15  Florian Weimer  <fweimer@redhat.com>
25309         [BZ #18928]
25310         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
25311         _dl_pointer_guard member.
25312         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
25313         initializer.
25314         (security_init): Always set up pointer guard.
25315         (process_envvars): Do not process LD_POINTER_GUARD.
25317 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
25319         [BZ #19134]
25320         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
25321         (.LC2): Likewise.
25322         (.LC3): Likewise.
25323         (__lround): Do not add 0.5 to integer or out-of-range arguments.
25325 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25327         [BZ #19129]
25328         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
25329         r0 and r1.
25331 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
25333         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
25335 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
25337         * include/stap-probe.h: Fix macro definition formatting.
25339 2015-10-14  Florian Weimer  <fweimer@redhat.com>
25341         [BZ #19074]
25342         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
25343         load and store num_ifs.
25345 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
25347         [BZ #18822]
25348         * sysdeps/unix/sysv/linux/sched_getaffinity.c
25349         (__sched_getaffinity_new): Add libc_hidden_proto and
25350         libc_hidden_def.
25352 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
25354         [BZ #19007]
25355         * scripts/localplt.awk: Also allow GOT references.
25356         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
25357         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
25358         with "+ REL R_386_GLOB_DAT".
25359         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
25360         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
25362 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
25364         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
25365         INLINE_SYSCALL_ERROR_RETURN_VALUE.
25366         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
25367         Likewise.
25368         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
25369         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
25370         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
25371         INTERNAL_SYSCALLINTERNAL_SYSCALL and
25372         INLINE_SYSCALL_ERROR_RETURN_VALUE.
25373         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
25374         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25375         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
25376         Likewise.
25377         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25379 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
25381         [BZ #19125]
25382         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
25383         <math_private.h> and <stdint.h>.
25384         (__llround): Avoid conversions to and from long long int, and
25385         subtractions, where those might raise spurious exceptions.
25386         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
25387         <math_private.h> and <stdint.h>.
25388         (__llroundf): Avoid conversions to and from long long int, and
25389         subtractions, where those might raise spurious exceptions.
25391 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
25393         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
25394         INLINE_SYSCALL_ERROR_RETURN_VALUE.
25395         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
25396         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
25397         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
25398         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
25399         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
25400         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
25401         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
25402         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
25403         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25404         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25405         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
25406         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25407         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25408         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
25409         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
25410         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
25411         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
25412         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
25413         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
25414         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
25415         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
25416         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
25417         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
25418         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
25419         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
25420         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
25421         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25422         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
25423         (__xstat64_conv): Likewise.
25424         (__xstat32_conv): Likewise.
25426 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
25428         * sysdeps/unix/sysv/linux/sysdep.h: New file.
25429         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
25430         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
25431         <sysdeps/unix/sysv/linux/sysdep.h>.
25432         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
25433         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
25434         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
25435         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25436         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
25437         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
25438         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
25439         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
25440         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
25441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25443         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25444         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25445         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25446         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25447         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25448         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
25449         (sysdep-dl-routines): Add sysdep.
25450         [$(subdir) == nptl] (libpthread-routines): Likewise.
25451         [$(subdir) == rt] (librt-routines): Likewise.
25452         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
25453         PIC when branching to SYSCALL_ERROR_LABEL.
25454         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
25455         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
25456         <sysdeps/unix/sysv/linux/sysdep.h>.
25457         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
25458         (SYSCALL_ERROR_ERRNO): Removed.
25459         (SYSCALL_ERROR_HANDLER): Changed to empty.
25460         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
25461         (__syscall_error): New prototype.
25462         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
25463         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
25465 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
25467         [BZ #19124]
25468         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
25469         (_dl_runtime_resolve_avx512): Make it a hidden alias of
25470         _dl_runtime_resolve_avx.
25471         (_dl_runtime_profile_avx512): Make it a hidden alias of
25472         _dl_runtime_profile_avx.
25474 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
25476         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
25477         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
25478         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
25479         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
25481         [BZ #16422]
25482         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
25483         New configure test.
25484         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
25485         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
25486         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
25487         <math_private.h> and <stdint.h>.
25488         (__llrint): Avoid conversions to long long int where those might
25489         raise spurious exceptions.
25490         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
25491         <math_private.h> and <stdint.h>.
25492         (__llrintf): Avoid conversions to long long int where those might
25493         raise spurious exceptions.
25495 2015-10-12  Andreas Schwab  <schwab@suse.de>
25497         [BZ #18969]
25498         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
25499         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
25500         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
25501         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
25502         $(gen-locales).
25503         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
25504         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
25505         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
25506         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
25507         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
25508         $(gen-locales).
25509         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
25510         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
25511         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
25512         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
25513         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
25514         ($(objpfx)tst-ftell-active-handler.out)
25515         ($(objpfx)tst-ftell-append.out)
25516         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
25517         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
25518         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
25519         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
25520         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
25521         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
25522         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
25523         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
25524         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
25525         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
25526         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
25527         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
25528         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
25529         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
25530         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
25531         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
25532         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
25533         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
25534         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
25535         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
25536         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
25537         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
25538         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
25539         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
25540         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
25541         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
25542         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
25543         $(gen-locales).
25544         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
25545         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
25546         $(gen-locales).
25547         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
25548         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
25549         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
25550         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
25551         $(gen-locales).
25552         * libio/tst_wprintf2.c (main): Use explicit locale.
25553         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
25555 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25557         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
25558         __msg_sig_post.
25559         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
25561 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
25563         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
25564         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25566         * sysdeps/arm/libm-test-ulps: Regenerated.
25568         [BZ #15470]
25569         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
25571         [BZ #16399]
25572         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
25573         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
25574         and <fix-fp-int-convert-overflow.h>.
25575         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
25576         FIX_DBL_LLONG_CONVERT_OVERFLOW.
25577         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
25578         and <fix-fp-int-convert-overflow.h>.
25579         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
25580         FIX_DBL_LLONG_CONVERT_OVERFLOW.
25581         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
25582         <fix-fp-int-convert-overflow.h>.
25583         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
25584         FIX_DBL_LLONG_CONVERT_OVERFLOW.
25585         * sysdeps/ieee754/dbl-64/s_lround.c: Include
25586         <fix-fp-int-convert-overflow.h>.
25587         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
25588         FIX_DBL_LLONG_CONVERT_OVERFLOW.
25589         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
25590         and <fix-fp-int-convert-overflow.h>.
25591         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
25592         FIX_DBL_LLONG_CONVERT_OVERFLOW.
25593         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
25594         <limits.h> and <fix-fp-int-convert-overflow.h>.
25595         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
25596         FIX_DBL_LLONG_CONVERT_OVERFLOW.
25597         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
25598         and <fix-fp-int-convert-overflow.h>.
25599         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
25600         FIX_DBL_LLONG_CONVERT_OVERFLOW.
25601         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
25602         and <fix-fp-int-convert-overflow.h>.
25603         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
25604         FIX_DBL_LLONG_CONVERT_OVERFLOW.
25605         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
25607 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
25609         [BZ #18589]
25610         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
25611         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
25612         $(gen-locales).
25614 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25615             Phil Blundell <pb@pbcl.net>
25617         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
25618         * nptl/tst-cancel26.c: New file.
25619         * nptl/tst-cancel27.c: Likewise.
25621 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
25623         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
25624         __ILP32__ isn't defined.
25625         (lrint): Likewise.
25626         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
25627         (lrintf): Likewise.
25628         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
25629         (lrintl): Likewise.
25630         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
25631         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
25632         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
25634 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25636         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
25637         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
25639         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
25640         file.
25641         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
25642         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
25644 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
25646         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
25647         configure test.
25648         * sysdeps/i386/configure: Regenerated.
25649         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
25650         configure test.
25651         * sysdeps/x86_64/configure: Regenerated.
25652         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
25653         Make code unconditional.
25655         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
25656         test.
25657         * sysdeps/i386/configure: Regenerated.
25658         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
25659         test.
25660         * sysdeps/x86_64/configure: Regenerated.
25661         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
25662         Make code unconditional.
25663         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
25664         Likewise.
25665         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
25666         Likewise.
25667         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25668         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
25669         code unconditional.
25670         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25671         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
25672         code unconditional.
25673         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25674         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
25675         code unconditional.
25676         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
25677         code unconditional.
25678         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25679         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
25680         code unconditional.
25681         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25682         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
25683         code unconditional.
25684         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25685         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
25686         code unconditional.
25687         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25688         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
25689         code unconditional.
25690         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25691         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
25693         [BZ #19095]
25694         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
25695         mantissa to long int before shifting left.
25697 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
25699         [BZ #19094]
25700         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
25701         <limits.h>.
25702         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
25703         when result overflows but exception would not result from cast.
25704         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
25705         <limits.h>.
25706         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
25707         when result overflows but exception would not result from cast.
25708         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
25709         <limits.h>.
25710         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
25711         when result overflows but exception would not result from cast.
25712         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
25713         <limits.h>.
25714         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
25715         when result overflows but exception would not result from cast.
25716         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
25717         <limits.h>.
25718         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
25719         when result overflows but exception would not result from cast.
25720         * math/libm-test.inc (lrint_test_data): Add more tests.
25721         (llrint_test_data): Likewise.
25723 2015-10-08  Roland McGrath  <roland@hack.frob.com>
25725         [BZ #18872]
25726         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
25727         Move out from under [$(run-built-tests) = yes] conditional.
25728         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
25729         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
25731 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
25733         [BZ #18589]
25734         * string/Makefile (tests): Add bug-strcoll2.
25735         (LOCALES): Add cs_CZ.UTF-8.
25736         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
25738         [BZ #18589]
25739         * string/bug-strcoll2.c: New file.
25740         * locale/categories.def: Revert commit
25741         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
25742         * locale/langinfo.h: Likewise.
25743         * locale/localeinfo.h: Likewise.
25744         * locale/C-collate.c: Likewise.
25745         * locale/programs/ld-collate.c (collate_output): Likewise.
25746         * string/strcoll_l.c (STRDIFF): Likewise.
25747         (STRCOLL): Likewise.
25748         * wcsmbs/wcscoll_l.c: Likewise.
25750 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
25752         * math/libm-test.inc (lround_test_data): Do not expect the absence
25753         of "inexact" for some tests with non-integer arguments.
25754         (llround_test_data): Likewise.
25756         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
25757         test.
25758         (libc_cv_cc_sse2avx): Likewise.
25759         * sysdeps/i386/configure: Regenerated.
25760         * sysdeps/i386/i686/multiarch/Makefile
25761         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
25762         [$(subdir) = math].
25763         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
25764         code unconditional.
25765         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
25766         Likewise.
25767         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
25768         Likewise.
25769         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
25770         Likewise.
25771         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
25772         test.
25773         (libc_cv_cc_sse2avx): Likewise.
25774         * sysdeps/x86_64/configure: Regenerated.
25775         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
25776         unconditional.
25777         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
25778         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
25779         unconditional.
25780         (_dl_runtime_profile)
25781         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
25782         conditional code.
25783         * sysdeps/x86_64/fpu/multiarch/Makefile
25784         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
25785         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
25786         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
25787         * sysdeps/x86_64/fpu/multiarch/e_exp.c
25788         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
25789         * sysdeps/x86_64/fpu/multiarch/e_log.c
25790         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
25791         * sysdeps/x86_64/fpu/multiarch/s_atan.c
25792         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
25793         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
25794         Likewise.
25795         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
25796         Likewise.
25797         * sysdeps/x86_64/fpu/multiarch/s_sin.c
25798         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
25799         * sysdeps/x86_64/fpu/multiarch/s_tan.c
25800         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
25801         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
25802         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
25803         (HAVE_SSE2AVX_SUPPORT): Likewise.
25805 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
25807         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
25808         instead of #pragma optimize.
25810 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
25812         [BZ #17195]
25813         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
25814         as is similarly done in systrim and _int_free already.
25816 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25818         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
25820 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
25822         [BZ #19088]
25823         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
25824         <limits.h>.
25825         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
25826         overflows but exception would not result from cast.
25827         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
25828         and <limits.h>.
25829         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
25830         overflows but exception would not result from cast.
25831         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
25832         <limits.h>.
25833         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
25834         overflows but exception would not result from cast.
25835         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
25836         <limits.h>.
25837         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
25838         overflows but exception would not result from cast.
25839         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
25840         <limits.h>.
25841         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
25842         overflows but exception would not result from cast.
25843         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
25844         <limits.h>.
25845         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
25846         overflows but exception would not result from cast.
25847         * math/libm-test.inc (lround_test_data): Add more tests.
25848         (llround_test_data): Likewise.
25850 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
25852         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
25853         (CFLAGS-ialloc.c): Ditto.
25854         (CFLAGS-scheck.c): Ditto.
25856 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
25858         [BZ #19086]
25859         * manual/filesys.texi (Storage Allocation): Fix argument order for
25860         posix_fallocate64.
25862 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
25864         [BZ #19085]
25865         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
25866         exponent below 48 inside case for non-overflowing exponent.
25867         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
25869 2015-10-07  Florian Weimer  <fweimer@redhat.com>
25871         * iconvdata/cp737.h (from_idx): Add const.
25872         * iconvdata/cp775.h (from_idx): Likewise.
25874 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
25876         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
25877         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
25878         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
25880         [BZ #19079]
25881         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
25882         file, conditioned on [!_LP64].
25883         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
25884         [!_LP64] (__lround): Do not define as function or alias.
25885         [!_LP64] (lround): Likewise.
25886         [!_LP64] (__lroundl): Likewise.
25887         [!_LP64] (lroundl): Likewise.
25888         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
25889         macro.
25890         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
25891         Likewise.
25893 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
25895         * math/libm-test.inc (lrint_test_data): Add more tests.
25896         (llrint_test_data): Likewise.
25897         (lround_test_data): Likewise.
25898         (llround_test_data): Likewise.
25900         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
25901         (llrint_test_data): Add tests used for lrint.
25903         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
25904         test.
25905         * sysdeps/i386/configure: Regenerated.
25906         * sysdeps/i386/i686/multiarch/Makefile
25907         [$(config-cflags-sse4) = yes]: Make code unconditional.
25908         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
25909         Likewise.
25910         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
25911         Likewise.
25912         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
25913         test.
25914         * sysdeps/x86_64/configure: Regenerated.
25915         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
25916         Make code unconditional.
25917         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
25918         Likewise.
25919         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
25920         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
25922         * scripts/rpm2dynsym.sh: Remove file.
25924 2015-10-06  Florian Weimer  <fweimer@redhat.com>
25926         * configure.ac (libc_cv_cxx_thread_local): Define.
25927         * configure: Regenerate.
25928         * config.make.in (have-cxx-thread_local): Define.
25929         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
25930         (LDLIBS-tst-thread_local1): Define.
25931         (tests): Add tst-thread_local1.
25932         [have-cxx-thread_local != yes] (tests-unsupported): Add
25933         tst-thread_local1.
25934         * nptl/tst-thread_local1.cc: New file.
25936 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
25938         [BZ #19078]
25939         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
25940         (u_thres): Likewise.
25941         (__expl): Determine whether to call __kernel_standard_l based on
25942         value of result, not argument.
25944         * math/libm-test.inc (scalb_test_data): Add more expectations for
25945         the "inexact" exception.
25947         [BZ #19077]
25948         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
25949         0.0L for argument 1.0L.
25951         [BZ #19076]
25952         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
25953         constant 0.0L when computing infinite result.
25955 2015-10-06  Florian Weimer  <fweimer@redhat.com>
25957         [BZ #10432]
25958         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
25959         malloc_usable_size.
25961 2015-10-06  Florian Weimer  <fweimer@redhat.com>
25963         [BZ #19018]
25964         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
25965         Mangle function pointer before storing it.
25966         (__call_tls_dtors): Demangle function pointer before calling it.
25968 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
25970         [BZ #19012]
25971         * iconv/gconv_db.c (gen_steps): Check for additional errors.
25972         Clean up on failure.
25974 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
25976         [BZ #19071]
25977         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
25978         long int variable to store possibly incremented high part of
25979         mantissa.
25980         * math/libm-test.inc (lround_test_data): Add tests used for
25981         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
25982         for tests requiring 64-bit long.  Do not condition tests on
25983         [TEST_FLOAT] unnecessarily.
25984         (llround_test_data): Add tests used for lround.  Add another
25985         expectation for the "inexact" exception.  Do not condition tests
25986         on [TEST_FLOAT] unnecessarily.
25988         [BZ #887]
25989         [BZ #19049]
25990         [BZ #19050]
25991         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
25992         * sysdeps/ieee754/dbl-64/e_log10.c: Include
25993         <fix-int-fp-convert-zero.h>.
25994         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25995         * sysdeps/ieee754/dbl-64/e_log2.c: Include
25996         <fix-int-fp-convert-zero.h>.
25997         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25998         * sysdeps/ieee754/dbl-64/s_erf.c: Include
25999         <fix-int-fp-convert-zero.h>.
26000         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26001         * sysdeps/ieee754/dbl-64/s_logb.c: Include
26002         <fix-int-fp-convert-zero.h>.
26003         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26004         * sysdeps/ieee754/flt-32/e_log10f.c: Include
26005         <fix-int-fp-convert-zero.h>.
26006         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26007         * sysdeps/ieee754/flt-32/e_log2f.c: Include
26008         <fix-int-fp-convert-zero.h>.
26009         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26010         * sysdeps/ieee754/flt-32/s_erff.c: Include
26011         <fix-int-fp-convert-zero.h>.
26012         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26013         * sysdeps/ieee754/flt-32/s_logbf.c: Include
26014         <fix-int-fp-convert-zero.h>.
26015         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26016         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
26017         <fix-int-fp-convert-zero.h>.
26018         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26019         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
26020         <fix-int-fp-convert-zero.h>.
26021         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26022         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
26023         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
26024         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
26025         file.
26026         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
26028 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
26030         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26032 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
26034         [BZ #19059]
26035         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
26036         overflowing computation.
26037         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26038         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
26039         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26040         Likewise.
26041         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26042         Likewise.
26043         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
26044         Likewise.
26045         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26046         Likewise.
26047         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26048         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26049         Likewise.
26050         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26051         Likewise.
26052         * math/libm-test.inc (nexttoward_test_data): Add more tests.
26054         * nss/rewrite_field.c (__nss_rewrite_field): Use
26055         internal_function.
26056         * nss/valid_field.c (__nss_valid_field): Likewise.
26057         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
26059 2015-10-02  Florian Weimer  <fweimer@redhat.com>
26061         [BZ #18724]
26062         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
26063         (__nss_invalid_field_characters, __nss_valid_field)
26064         (__nss_valid_list_field, __nss_rewrite_field): Declare.
26065         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
26066         tst-field.c: New file.
26067         * nss/Makefile (routines): Add valid_field, rewrite_field.
26068         (tests-static): Define unconditionally.
26069         (tests): Include tests-static.
26070         [build-static-nss] (tests-static): Use append.
26071         [build-static-nss] (tests): Remove modification.
26072         * nss/getent.c (print_group): Call putgrent.  Report error.
26073         (print_gshadow): Call putsgent.  Report error.
26074         (print_passwd): Call putpwent.  Report error.
26075         (print_shadow): Call putspent.  Report error.
26076         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
26077         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
26078         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
26079         name, password, directory, shell fields for valid syntax.  Rewrite
26080         GECOS field to match syntax.
26081         * pwd/Makefile (tests): Add tst-putpwent.
26082         * pwd/tst-putpwent.c: New file.
26083         * grp/putgrent.c (putgrent): Convert to ISO function definition.
26084         Check grName, grpasswd, gr_mem fields for valid syntax.
26085         Change loop variable i to size_t.
26086         * grp/Makefile (tests): Add tst-putgrent.
26087         * grp/tst-putgrent.c: New file.
26088         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
26089         valid syntax.
26090         * shadow/Makefile (tests): Add tst-putspent.
26091         * shadow/tst-putspent.c: New file.
26092         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
26093         sg_mem fields for valid syntax.
26094         * gshadow/Makefile (tests): Add tst-putsgent.
26095         * gshadow/tst-putsgent.c: New file.
26097 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
26099         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
26100         assembly instructions.
26102 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
26104         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
26105         prefix from operands.
26107 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
26109         [BZ #16347]
26110         [BZ #19046]
26111         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
26112         <libc-internal.h>.
26113         (MAXLGM): Do not use diagnostic control macros.
26114         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
26115         threshold for ldbl-128ibm.
26116         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
26117         instead of multiplying by log then subtracting.
26118         * math/auto-libm-test-in: Add more tests of lgamma.
26119         * math/auto-libm-test-out: Regenerated.
26121         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
26122         (TYPE_HEX_DIG): Likewise.
26123         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
26124         precisions when printing floating-point numbers.
26125         (check_float_internal): Likewise.
26127 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
26129         [BZ #16620]
26130         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
26131         of log (10) rounded downward to 48 bits.
26132         (log10_low): Use corresponding low part of log (10).
26134         [BZ #19032]
26135         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
26136         compute result as (x - x) / (x - x) not as 0 / 0.
26137         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
26138         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
26140         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26141         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
26142         and expm1.
26143         * math/auto-libm-test-out: Regenerated.
26144         * math/libm-test.inc (acos_test_data): Add more tests.
26145         (asin_test_data): Likewise.
26146         (asinh_test_data): Likewise.
26147         (atan_test_data): Likewise.
26148         (atanh_test_data): Likewise.
26149         (atan2_test_data): Likewise.
26150         (cbrt_test_data): Likewise.
26151         (ceil_test_data): Likewise.
26152         (copysign_test_data): Likewise.
26153         (cos_test_data): Likewise.
26154         (cosh_test_data): Likewise.
26155         (erf_test_data): Likewise.
26156         (erfc_test_data): Likewise.
26157         (exp_test_data): Likewise.
26158         (exp10_test_data): Likewise.
26159         (exp2_test_data): Likewise.
26160         (expm1_test_data): Likewise.
26161         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26163 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
26165         [BZ #19006]
26166         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
26167         to ...
26168         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
26169         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
26170         to ...
26171         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
26172         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
26173         to ...
26174         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
26175         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
26176         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
26177         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
26178         to ...
26179         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
26180         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
26181         Moved to ...
26182         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
26183         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
26184         Moved to ...
26185         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
26186         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
26187         to ...
26188         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
26189         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
26190         Moved to ...
26191         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
26192         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
26193         to ...
26194         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
26195         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
26196         Removed.
26197         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
26198         Likewise.
26199         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
26200         Likewise.
26201         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
26202         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
26203         Likewise.
26204         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
26205         Likewise.
26206         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
26207         Likewise.
26208         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
26209         Likewise.
26210         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
26211         Likewise.
26212         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
26213         Likewise.
26214         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
26215         Likewise.
26216         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
26217         Likewise.
26218         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
26219         Likewise.
26220         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
26221         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
26222         Likewise.
26223         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
26224         Likewise.
26225         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
26226         Likewise.
26227         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
26228         Likewise.
26229         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
26230         Likewise.
26231         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
26232         Replace ../i486/pthread_cond_timedwait.S with
26233         ../pthread_cond_timedwait.S.
26235 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
26237         * math/libm-test.inc (acos_test_data): Refine expectations for
26238         errno and "inexact" exceptions.
26239         (acosh_test_data): Likewise.
26240         (asin_test_data): Likewise.
26241         (asinh_test_data): Likewise.
26242         (atan_test_data): Likewise.
26243         (atanh_test_data): Likewise.
26244         (atan2_test_data): Likewise.
26245         (cbrt_test_data): Likewise.
26246         (ceil_test_data): Likewise.
26247         (copysign_test_data): Likewise.
26248         (cosh_test_data): Likewise.
26249         (erf_test_data): Likewise.
26250         (erfc_test_data): Likewise.
26251         (exp_test_data): Likewise.
26252         (exp10_test_data): Likewise.
26253         (exp2_test_data): Likewise.
26254         (expm1_test_data): Likewise.
26255         (fabs_test_data): Likewise.
26256         (floor_test_data): Likewise.
26257         (fma_test_data): Likewise.
26258         (fmax_test_data): Likewise.
26259         (fmin_test_data): Likewise.
26260         (fmod_test_data): Likewise.
26261         (fpclassify_test_data): Likewise.
26262         (frexp_test_data): Likewise.
26263         (hypot_test_data): Likewise.
26264         (ilogb_test_data): Likewise.
26265         (isgreater_test_data): Likewise.
26266         (isgreaterequal_test_data): Likewise.
26267         (isinf_test_data): Likewise.
26268         (isless_test_data): Likewise.
26269         (islessequal_test_data): Likewise.
26270         (islessgreater_test_data): Likewise.
26271         (isnan_test_data): Likewise.
26272         (isnormal_test_data): Likewise.
26273         (issignaling_test_data): Likewise.
26274         (isunordered_test_data): Likewise.
26275         (j0_test_data): Likewise.
26276         (j1_test_data): Likewise.
26277         (jn_test_data): Likewise.
26278         (lgamma_test_data): Likewise.
26279         (lrint_test_data): Likewise.
26280         (llrint_test_data): Likewise.
26281         (log_test_data): Likewise.
26282         (log10_test_data): Likewise.
26283         (log1p_test_data): Likewise.
26284         (log2_test_data): Likewise.
26285         (logb_test_data): Likewise.
26286         (lround_test_data): Likewise.
26287         (llround_test_data): Likewise.
26288         (modf_test_data): Likewise.
26289         (nearbyint_test_data): Likewise.
26290         (nextafter_test_data): Likewise.
26291         (nexttoward_test_data): Likewise.
26292         (pow_test_data): Likewise.
26293         (remainder_test_data): Likewise.
26294         (remquo_test_data): Likewise.
26295         (rint_test_data): Likewise.
26296         (round_test_data): Likewise.
26297         (signbit_test_data): Likewise.
26298         (sinh_test_data): Likewise.
26299         (sqrt_test_data): Likewise.
26300         (tanh_test_data): Likewise.
26301         (tgamma_test_data): Likewise.
26302         (trunc_test_data): Likewise.
26303         (y0_test_data): Likewise.
26304         (y1_test_data): Likewise.
26305         (yn_test_data): Likewise.
26306         (significand_test_data): Likewise.
26308 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
26310         * manual/filesys.texi (Storage Allocation): Document that
26311         posix_fallocate emulation fails when fd is open with O_WRONLY.
26313 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
26315         [BZ #19016]
26316         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
26317         allow more cases with X^2 + Y^2 >= 0.5.
26318         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
26319         normal element in sum instead of special-casing based on values of
26320         arguments.
26321         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
26322         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
26323         -1 as normal element in sum instead of special-casing based on
26324         values of arguments.
26325         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
26326         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
26327         (__x2y2m1): Update comment.
26328         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
26329         as normal element in sum instead of special-casing based on values
26330         of arguments.
26331         * math/s_clog.c (__clog): Handle more cases using log1p without
26332         hypot.
26333         * math/s_clog10.c (__clog10): Likewise.
26334         * math/s_clog10f.c (__clog10f): Likewise.
26335         * math/s_clog10l.c (__clog10l): Likewise.
26336         * math/s_clogf.c (__clogf): Likewise.
26337         * math/s_clogl.c (__clogl): Likewise.
26338         * math/auto-libm-test-in: Add more tests of clog and clog10.
26339         * math/auto-libm-test-out: Regenerated.
26340         * sysdeps/i386/fpu/libm-test-ulps: Update.
26341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26343 2015-09-28  Martin Sebor  <msebor@redhat.com>
26345         [BZ #18969]
26346         * string/Makefile (LOCALES): Define.
26347         (gen-locales.mk): Include.
26348         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
26349         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
26350         * string/tst-strxfrm2.c (do_test): Print the name of the locale
26351         on setlocale failure.
26353 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
26355         [BZ #18985]
26356         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
26357         (__strftime_internal): Likewise.
26358         * time/tst-strftime.c (do_bz18985): New test.
26359         (do_test): Call it.
26361 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
26363         [BZ #18956]
26364         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
26365         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
26366         extracting high part.
26367         * math/auto-libm-test-in: Add another test of pow.
26368         * math/auto-libm-test-out: Regenerated.
26369         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26371 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
26373         [BZ #18825]
26374         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
26375         New macro.
26376         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
26377         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
26378         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
26379         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
26380         DBL_NARROW_EVAL, reloading the PIC register as needed.
26381         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
26382         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
26383         FLT_NARROW_EVAL.  Use separate return path for case when first
26384         argument is NaN.
26385         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
26386         DEFINE_LDBL_MIN.
26387         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
26388         PIC register.
26389         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
26390         math_check_force_underflow_nonneg.
26391         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
26392         underflow for subnormal result.
26393         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
26394         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
26395         math_check_force_underflow_nonneg.
26396         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
26397         math_check_force_underflow.
26398         * sysdeps/x86_64/fpu/x86_64-math-asm.h
26399         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
26400         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
26401         DEFINE_LDBL_MIN.
26402         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
26403         * math/auto-libm-test-in: Add more tests of pow.
26404         * math/auto-libm-test-out: Regenerated.
26406 2015-09-25  Florian Weimer  <fweimer@redhat.com>
26408         * nss/bug17079.c (init_test_items): Add diagnostic for
26409         inconsistent entries.
26410         (test_buffer_size): Skip inconsistent entries.
26412 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
26414         [BZ #13304]
26415         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
26416         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
26417         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
26419         [BZ #13304]
26420         * sysdeps/microblaze/s_fma.c: New file.
26421         * sysdeps/microblaze/s_fmaf.c: Likewise.
26422         * sysdeps/microblaze/sfp-machine.h: Likewise.
26424 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
26426         [BZ #17250]
26427         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
26428         member.
26430 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
26432         [BZ #18803]
26433         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
26434         (MO): New macro.
26435         (__ieee754_hypot) [PIC]: Load PIC register.
26436         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
26437         DBL_NARROW_EVAL.
26438         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
26439         math_check_force_underflow_nonneg in case where result might be
26440         tiny.
26441         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
26442         Likewise.
26443         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26444         Likewise.
26445         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
26446         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
26447         * math/auto-libm-test-in: Add more tests of hypot.
26448         * math/auto-libm-test-out: Regenerated.
26450 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
26452         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
26454 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
26456         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
26457         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
26458         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
26459         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
26460         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
26461         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
26462         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
26464         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
26465         LOAD_PIC_REG.
26467         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
26468         (FLT_CHECK_FORCE_UFLOW): Likewise.
26469         (DBL_CHECK_FORCE_UFLOW): Likewise.
26470         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
26471         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
26472         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
26473         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
26474         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
26475         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
26476         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
26477         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
26478         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
26479         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26480         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
26481         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
26482         (flt_min): Replace with use of DEFINE_FLT_MIN.
26483         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
26484         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
26485         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26486         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
26487         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
26488         (flt_min): Replace with use of DEFINE_FLT_MIN.
26489         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
26490         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
26491         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26492         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
26493         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
26494         (flt_min): Replace with use of DEFINE_FLT_MIN.
26495         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
26496         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
26497         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
26498         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
26499         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
26500         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
26501         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
26502         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
26503         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26504         (__atan): Use DBL_CHECK_FORCE_UFLOW.
26505         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
26506         (flt_min): Replace with use of DEFINE_FLT_MIN.
26507         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
26508         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
26509         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26510         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
26511         main computation.
26512         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
26513         (flt_min): Replace with use of DEFINE_FLT_MIN.
26514         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
26515         main computation.
26516         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
26517         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26518         (MO): New macro.
26519         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
26520         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
26521         (flt_min): Replace with use of DEFINE_FLT_MIN.
26522         (MO): New macro.
26523         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
26524         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
26525         (__log1pl): Use MO.
26527         [BZ #19003]
26528         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
26529         $(config-cflags-nofma).
26531 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26533         * sysdeps/aarch64/libm-test-ulps: Regenerated.
26535 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
26537         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
26538         (TWO127): Likewise.
26540         * sysdeps/generic/math_private.h (fabs_tg): New macro.
26541         (min_of_type): Likewise.
26542         (math_check_force_underflow): Likewise.
26543         (math_check_force_underflow_nonneg): Likewise.
26544         (math_check_force_underflow_complex): Likewise.
26545         * math/e_exp2l.c (__ieee754_exp2l): Use
26546         math_check_force_underflow_nonneg.
26547         * math/k_casinh.c (__kernel_casinh): Likewise.
26548         * math/k_casinhf.c (__kernel_casinhf): Likewise.
26549         * math/k_casinhl.c (__kernel_casinhl): Likewise.
26550         * math/s_catan.c (__catan): Use
26551         math_check_force_underflow_complex.
26552         * math/s_catanf.c (__catanf): Likewise.
26553         * math/s_catanh.c (__catanh): Likewise.
26554         * math/s_catanhf.c (__catanhf): Likewise.
26555         * math/s_catanhl.c (__catanhl): Likewise.
26556         * math/s_catanl.c (__catanl): Likewise.
26557         * math/s_ccosh.c (__ccosh): Likewise.
26558         * math/s_ccoshf.c (__ccoshf): Likewise.
26559         * math/s_ccoshl.c (__ccoshl): Likewise.
26560         * math/s_cexp.c (__cexp): Likewise.
26561         * math/s_cexpf.c (__cexpf): Likewise.
26562         * math/s_cexpl.c (__cexpl): Likewise.
26563         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
26564         * math/s_clog10.c (__clog10): Likewise.
26565         * math/s_clog10f.c (__clog10f): Likewise.
26566         * math/s_clog10l.c (__clog10l): Likewise.
26567         * math/s_clogf.c (__clogf): Likewise.
26568         * math/s_clogl.c (__clogl): Likewise.
26569         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
26570         * math/s_csinf.c (__csinf): Likewise.
26571         * math/s_csinh.c (__csinh): Likewise.
26572         * math/s_csinhf.c (__csinhf): Likewise.
26573         * math/s_csinhl.c (__csinhl): Likewise.
26574         * math/s_csinl.c (__csinl): Likewise.
26575         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
26576         * math/s_csqrtf.c (__csqrtf): Likewise.
26577         * math/s_csqrtl.c (__csqrtl): Likewise.
26578         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
26579         * math/s_ctanf.c (__ctanf): Likewise.
26580         * math/s_ctanh.c (__ctanh): Likewise.
26581         * math/s_ctanhf.c (__ctanhf): Likewise.
26582         * math/s_ctanhl.c (__ctanhl): Likewise.
26583         * math/s_ctanl.c (__ctanl): Likewise.
26584         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
26585         instead of volatile.
26586         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
26587         math_check_force_underflow.
26588         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
26589         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
26590         volatile when forcing underflow.
26591         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
26592         math_check_force_underflow_nonneg.
26593         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
26594         Likewise.
26595         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
26596         math_check_force_underflow.
26597         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
26598         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
26599         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
26600         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
26601         math_check_force_underflow_nonneg.
26602         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
26603         math_check_force_underflow.
26604         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
26605         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
26606         instead of volatile.
26607         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
26608         math_check_force_underflow.
26609         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
26610         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
26611         math_check_force_underflow_nonneg.
26612         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
26613         math_check_force_underflow.
26614         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
26615         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
26616         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
26617         math_check_force_underflow_nonneg.
26618         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
26619         Likewise.
26620         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
26621         math_check_force_underflow.
26622         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
26623         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
26624         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
26625         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
26626         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
26627         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
26628         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
26629         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
26630         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
26631         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
26632         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
26633         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
26634         Likewise.
26635         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
26636         math_check_force_underflow_nonneg.
26637         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
26638         Likewise.
26639         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
26640         math_check_force_underflow.
26641         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
26642         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
26643         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
26644         Likewise.
26645         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
26646         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
26647         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
26648         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
26649         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
26650         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
26651         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
26652         instead of volatile.
26653         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
26654         math_check_force_underflow.
26655         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
26656         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
26657         math_check_force_underflow.
26658         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
26659         Likewise.
26660         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
26661         Use math_check_force_underflow_nonneg.
26662         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
26663         math_check_force_underflow.
26664         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
26665         Likewise.
26666         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
26667         Likewise.
26668         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26669         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
26670         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
26671         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
26672         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
26673         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
26674         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
26675         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
26676         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
26677         math_check_force_underflow_nonneg.
26678         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
26679         math_check_force_underflow.
26680         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
26681         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
26682         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
26683         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
26684         math_check_force_underflow_nonneg.
26685         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
26686         math_check_force_underflow.
26687         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
26688         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
26689         instead of volatile.
26690         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
26691         math_check_force_underflow.
26693         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
26694         * stdlib/strtod_l.c: Include <math_private.h>.
26695         (overflow_value): Use math_narrow_eval.
26696         (underflow_value): Likewise.
26697         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26698         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
26699         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
26700         (__ieee754_gamma_r): Likewise.
26701         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
26702         Likewise.
26703         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
26704         Likewise.
26705         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
26706         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
26707         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
26708         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
26709         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
26710         (__ieee754_gammaf_r): Likewise.
26711         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
26712         Likewise.
26713         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
26714         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
26715         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
26716         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
26717         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
26718         volatile.
26719         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
26720         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
26721         math_narrow_eval.
26722         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
26723         Likewise.
26724         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26725         Likewise.
26726         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
26727         Likewise.
26728         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
26729         volatile.
26730         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
26731         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
26732         math_narrow_eval.
26733         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26734         Likewise.
26735         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26736         Likewise.
26738 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
26740         * nptl/Versions: Remove ignored symbols.
26742 2015-09-22  Florian Weimer  <fweimer@redhat.com>
26744         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
26745         * nss/Makefile (tests): Update.
26747 2015-09-22  Florian Weimer  <fweimer@redhat.com>
26749         * nss/bug18287.c: New file.
26750         * nss/Makefile (tests): Add bug18287.
26752 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26754         * mach/Versions (__mach_host_self_): Add symbol.
26756 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26758         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
26759         vm_page_size.
26761 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26763         Really fix sysdeps/i386/fpu/s_scalbn.S build
26765         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
26766         (libc: GLIBC_2_22): Remove unused version set.
26768 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
26770         * config.make.in (enable-timezone-tools): New variable.
26771         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
26772         (enable_timezone_tools): Export to generated files.
26773         * configure: Regenerate.
26774         * INSTALL: Regenerate.
26775         * manual/install.texi (--disable-timezone-tools): Document new flag.
26776         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
26777         ifeq ($(enable-timezone-tools),yes) check.
26779 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
26781         * timezone/Makefile: Revert previous change.
26783         [BZ #18980]
26784         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
26785         (DEFINE_DBL_MIN): Likewise.
26786         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
26787         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
26788         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
26789         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
26790         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
26791         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26792         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
26793         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
26794         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
26795         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26796         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
26797         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
26798         (flt_min): Replace with use of DEFINE_FLT_MIN.
26799         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
26800         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
26801         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26802         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
26803         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
26804         (flt_min): Replace with use of DEFINE_FLT_MIN.
26805         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
26806         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
26807         (flt_min): Replace with use of DEFINE_FLT_MIN.
26808         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
26809         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
26810         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
26811         (__ieee754_hypot): Use DBL_NARROW_EVAL.
26812         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
26813         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
26814         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
26815         (__ieee754_pow): Use DBL_NARROW_EVAL.
26816         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
26817         (__ieee754_powf): Use FLT_NARROW_EVAL.
26818         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
26819         (__ieee754_expf_sse2): Convert double-precision result to single
26820         precision.
26821         * sysdeps/i386/fpu/libm-test-ulps: Update.
26823 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26825         * timezone/Makefile: Ignore unused variable errors due to private.h
26826         (time_t_min) and (time_t_max).
26827         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
26828         Likewise.
26830 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
26832         [BZ #18981]
26833         * sysdeps/i386/fpu/i386-math-asm.h: New file.
26834         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
26835         (__ieee754_scalb): Use DBL_NARROW_EVAL.
26836         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
26837         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
26838         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
26839         (__scalbn): Use DBL_NARROW_EVAL.
26840         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
26841         (__scalbnf): Use FLT_NARROW_EVAL.
26843 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26845         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
26846         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
26847         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
26848         * stdio-common/printf_fp.c (___printf_fp):
26849         Use signbit to get the sign. Use isinf macro to allow inlining.
26850         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
26851         * stdio-common/printf_size.c (__printf_size): Likewise.
26853 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
26855         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
26857 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
26859         [BZ #18980]
26860         * sysdeps/generic/math_private.h: Include <float.h>.
26861         (math_narrow_eval): New macro.
26862         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
26863         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
26864         math_narrow_eval on overflowing return value.
26865         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
26866         Likewise.
26867         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
26868         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
26869         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
26870         Likewise.
26871         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
26873 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26875         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
26876         * math/Makefile: Remove isinf_ns.c.
26877         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
26878         * math/multc3.c (__multc3): Likewise.
26879         * math/s_casin.c (__casin): Likewise.
26880         * math/s_casinf.c (__casinf): Likewise.
26881         * math/s_casinl.c (__casinl): Likewise.
26882         * math/s_cproj.c (__cproj): Likewise.
26883         * math/s_cprojf.c (__cprojf): Likewise.
26884         * math/s_cprojl.c (__cprofl): Likewise.
26885         * math/s_ctan.c (__ctan): Likewise.
26886         * math/s_ctanf.c (__ctanf): Likewise.
26887         * math/s_ctanh.c (__ctanh): Likewise.
26888         * math/s_ctanhf.c (__ctanhf): Likewise.
26889         * math/s_ctanhl.c (__ctanhl): Likewise.
26890         * math/s_ctanl.c (__ctanl): Likewise.
26891         * math/w_fmod.c (__fmod): Likewise.
26892         * math/w_fmodf.c (__fmodf): Likewise.
26893         * math/w_fmodl.c (_fmodl): Likewise.
26894         * math/w_remainder.c (__remainder): Likewise.
26895         * math/w_remainderf.c (__remainderf): Likewise.
26896         * math/w_remainderl.c (__remainderl): Likewise.
26897         * math/w_scalb.c (__scalb): Likewise.
26898         * math/w_scalbf.c (__scalbf): Likewise.
26899         * math/w_scalbl.c (__scalbl): Likewise.
26900         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
26901         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
26902         with isinf.
26903         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
26904         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
26905         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
26906         __isinf_nsf with isinf.
26907         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
26908         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
26909         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
26910         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
26911         with isinf.
26912         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
26913         __isinf_nsl with isinf.
26914         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
26915         with isinf.
26916         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
26917         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
26918         __isinf_nsl with isinf.
26919         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
26920         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
26921         with isinf.
26923 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26925         * resolv/base64.c (rcsid): Remove unused static.
26926         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
26927         static.  (tqpi1): Likewise.
26928         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
26929         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
26930         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
26931         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
26932         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
26933         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
26934         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
26935         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
26936         Likewise.
26938 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
26940         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
26941         <nptl/pthreadP.h>.
26942         (_longjmp_unwind): Use __libc_ptf_call.
26943         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
26945 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
26947         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
26948         * sysdeps/arm/__longjmp.S: Likewise.
26950 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26952         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
26953         Use __builtin_signbit.
26954         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
26955         Use __builtin_signbitf.
26956         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
26957         Use __builtin_signbitl.
26958         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
26959         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
26961 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26963         [BZ #15367]
26964         [BZ #17441]
26966         * math/Makefile: Build test-snan.c with -fsignaling-nans.
26967         * math/math.h (fpclassify): Use __builtin_fpclassify when
26968         available.  (signbit): Use __builtin_signbit(f/l).
26969         (isfinite): Use__builtin_isfinite.  (isnormal): Use
26970         __builtin_isnormal.  (isnan): Use __builtin_isnan.
26971         (isinf): Use __builtin_isinf_sign.
26973 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26975         * benchtests/Makefile: Add bench-math-inlines, link with libm.
26976         * benchtests/bench-math-inlines.c: New benchmark.
26977         * benchtests/bench-util.h: New file.
26978         * benchtests/bench-util.c: New file.
26979         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
26981 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
26983         * elf/tst-dlmopen1.c: Define TEST_SO.
26984         (do_test): Use TEST_SO.
26986         * elf/dl-load.c: Include libc-internal.h.
26987         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
26989 2015-09-18  Vincent Bernat  <vincent@bernat.im>
26991         [BZ #17887]
26992         * time/strptime_l.c (__strptime_internal): Make %z accept
26993         [+-]HH:MM time zones.
26995 2015-09-18  Vincent Bernat  <vincent@bernat.im>
26997         [BZ #17886]
26998         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
26999         valid time zone.
27001 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
27003         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
27004         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
27005         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27006         (__ASSUME_FDATASYNC): Delete.
27008 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
27010         * conform/linknamespace.pl: Require weak undefined symbols to be
27011         in the standard namespace.
27012         (%strong_syms): Rename to %seen_syms.
27013         (%strong_seen): Rename to %seen_where.
27015 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
27017         [BZ #18970]
27018         * misc/error.c (error): Replace pthread_setcancelstate with
27019         __pthread_setcancelstate.
27020         (error_at_line): Likewise.
27021         * posix/wordexp.c (parse_comm): Likewise.
27022         * stdlib/fmtmsg.c (fmtmsg): Likewise.
27023         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
27024         (__pthread_setcancelstate): This.
27025         (pthread_setcancelstate): Add an alias.
27026         * nptl/nptl-init.c (pthread_functions): Replace
27027         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
27028         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
27029         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
27030         hidden_proto.
27031         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
27032         it with hidden_def.
27033         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
27034         (pthread_setcancelstate): Renamed to ...
27035         (__pthread_setcancelstate): This.
27036         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
27037         __libc_ptf_call with __pthread_setcancelstate.
27039 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
27040             Andreas Schwab  <schwab@suse.de>
27042         [BZ #17118]
27043         * math/s_ctan.c (__ctan): Determine sign of zero real part of
27044         result when imaginary part of argument is infinite using sine and
27045         cosine.
27046         * math/s_ctanf.c (__ctanf): Likewise.
27047         * math/s_ctanl.c (__ctanl): Likewise.
27048         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
27049         of result when real part of argument is infinite using sine and
27050         cosine.
27051         * math/s_ctanhf.c (__ctanhf): Likewise.
27052         * math/s_ctanhl.c (__ctanhl): Likewise.
27053         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
27054         (ctanh_test_data): Add more tests of ctanh.
27056 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
27058         [BZ #15384]
27059         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
27060         bit-mask as in subtraction.
27061         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
27062         Likewise.
27063         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
27064         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
27065         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
27067         [BZ #18951]
27068         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
27069         underflow exception for small results.
27070         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
27071         Likewise.
27072         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
27073         Likewise.
27074         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
27075         Likewise.
27076         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
27077         Likewise.
27078         * math/auto-libm-test-in: Add more tests of tgamma.
27079         * math/auto-libm-test-out: Regenerated.
27081 2015-09-17  Andreas Schwab  <schwab@suse.de>
27083         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
27085 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
27087         [BZ #18977]
27088         * math/bits/mathcalls.h
27089         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
27090         not declare.
27091         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
27092         Likewise.
27093         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
27094         Likewise.
27095         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
27096         Likewise.
27097         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
27098         Likewise.
27099         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
27100         Likewise.
27101         * conform/data/math.h-data
27102         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
27103         function.
27104         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
27105         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
27106         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
27107         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
27108         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
27109         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
27110         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
27111         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
27112         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
27113         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
27114         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
27116         [BZ #6803]
27117         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
27118         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
27119         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
27120         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
27121         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
27122         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
27123         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
27124         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
27125         [NO_LONG_DOUBLE] (scalbnl): Likewise.
27126         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
27127         Likewise.
27128         [NO_LONG_DOUBLE] (scalbnl): Likewise.
27129         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
27130         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
27131         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
27132         long_double_symbol calls.
27133         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
27134         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
27135         strong alias of __ldexpl.
27136         (scalbnl): Define using long_double_symbol.
27137         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
27138         Remove alias.
27139         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
27140         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
27141         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
27142         (scalbln_test_data): Add more errno expectations.
27144 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
27146         Cache the host port like we cache the task port.  This way we do not
27147         need to call the kernel just to get the port.  Furthermore, we no
27148         longer increase the reference count on every invocation of
27149         `mach_host_self'.
27151         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
27152         Protect declarations against the macro expansion.
27153         * mach/mach_init.c (__mach_host_self_): New variable.
27154         (mach_init): Initialize `__mach_host_self_'.
27155         * mach/mach_init.h (__mach_host_self_): New declaration.
27156         (__mach_host_self, mach_host_self): New macros.
27157         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
27158         Release reference.
27160 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
27162         [BZ #4404]
27163         * po/de.po: Update from Translation Project.
27165         [BZ #16415]
27166         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
27167         (__expm1l): Remove code to handle positive infinity and overflow.
27168         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
27169         variable.
27170         (__expm1l): Remove code to handle positive infinity and overflow.
27172 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
27173             Paul Pluzhnikov  <ppluzhnikov@google.com>
27175         [BZ #18872]
27176         * stdio-common/Makefile (tst-printf-bz18872): New test.
27177         (tst-printf-bz18872-mem.out): Likewise.
27178         * stdio-common/tst-printf-bz18872.sh: Generate new test.
27179         * stdio-common/vfprintf.c: Fix memory leaks.
27181 2015-09-16  Andreas Schwab  <schwab@suse.de>
27183         [BZ #17244]
27184         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
27185         Remove extra va_start/va_end calls.
27187         [BZ #17243]
27188         * posix/execl.c (execl): Add missing va_end.
27189         * posix/execle.c (execle): Likewise.
27190         * posix/execlp.c (execlp): Likewise.
27192 2015-09-15  Roland McGrath  <roland@hack.frob.com>
27194         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
27195         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
27197 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
27199         [BZ #18967]
27200         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
27201         undefine around includes of <bits/mathcalls.h>.
27202         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
27203         not declare function.
27204         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
27205         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
27206         (scalb): Likewise.
27207         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
27208         not define macro.
27209         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
27210         variable.
27211         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
27212         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
27213         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
27215         [BZ #18857]
27216         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
27217         return non-finite argument without doing ordered comparisons on
27218         it.
27220         [BZ #16296]
27221         * math/fenv.h (fegetround): Use __attribute_pure__.
27222         * include/fenv.h (__fegetround): Likewise.
27224         [BZ #18595]
27225         * math/s_ctan.c (__ctan): Force underflow exception for results
27226         whose real or imaginary part has small absolute value.
27227         * math/s_ctanf.c (__ctanf): Likewise.
27228         * math/s_ctanh.c (__ctanh): Likewise.
27229         * math/s_ctanhf.c (__ctanhf): Likewise.
27230         * math/s_ctanhl.c (__ctanhl): Likewise.
27231         * math/s_ctanl.c (__ctanl): Likewise.
27232         * math/auto-libm-test-in: Do not allow missing underflow for ctan
27233         and ctanh.  Add more tests of ctan and ctanh.
27235         [BZ #15918]
27236         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
27237         handling of cases where one argument is an infinity.
27239         [BZ #18875]
27240         [BZ #18966]
27241         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
27242         (MO): New macro.
27243         (__ieee754_exp10): For small results, force underflow exception
27244         and remove excess range and precision from return value.
27245         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
27246         (MO): New macro.
27247         (__ieee754_exp10f): For small results, force underflow exception
27248         and remove excess range and precision from return value.
27249         * math/auto-libm-test-in: Add more tests of exp10.
27250         * math/auto-libm-test-out: Regenerated.
27252 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
27254         [BZ #18875]
27255         [BZ #18961]
27256         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
27257         (MO): New macro.
27258         (__ieee754_exp): For small results, force underflow exception and
27259         remove excess range and precision from return value.
27260         (__exp_finite): Likewise.
27261         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
27262         (MO): New macro.
27263         (__ieee754_expf): For small results, force underflow exception and
27264         remove excess range and precision from return value.
27265         (__expf_finite): Likewise.
27266         * math/auto-libm-test-in: Add more tests of exp.
27267         * math/auto-libm-test-out: Regenerated.
27269         [BZ #16521]
27270         [BZ #18875]
27271         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
27272         small results.
27273         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
27274         (MO): New macro.
27275         (__ieee754_exp2): For small results, force underflow exception and
27276         remove excess range and precision from return value.
27277         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
27278         (MO): New macro.
27279         (__ieee754_exp2f): For small results, force underflow exception
27280         and remove excess range and precision from return value.
27281         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
27282         (MO): New macro.
27283         (__ieee754_exp2l): Force underflow exception for small results.
27284         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
27285         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
27286         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
27287         (MO): New macro.
27288         (__ieee754_exp2l): Force underflow exception for small results.
27289         * math/auto-libm-test-in: Add more tests or exp2.
27290         * math/auto-libm-test-out: Regenerated.
27292 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
27294         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
27296         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
27297         /dev/null.
27299 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27301         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
27302         io fs process)): Drop spurious backslash.
27304 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
27306         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
27307         Use sysinfo system call instead of parsing /proc/meminfo.
27308         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
27309         Likewise.
27311 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
27313         [BZ #16985]
27314         * programs/localedef.c (main): Display argv[remaining] when
27315         output_path is NULL.
27317 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
27319         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
27320         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
27321         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
27322         tanh.
27323         * math/auto-libm-test-out: Regenerated.
27324         * sysdeps/i386/fpu/libm-test-ulps: Update.
27325         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
27326         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27329 2015-09-11  Roland McGrath  <roland@hack.frob.com>
27331         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
27332         Use 'override' keyword to freeze the value here, preventing
27333         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
27335 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
27337         [BZ #14912]
27338         * sysdeps/aarch64/bits/atomic.h: Move to ...
27339         * sysdeps/aarch64/atomic-machine.h: ...here.
27340         (_AARCH64_BITS_ATOMIC_H): Rename macro to
27341         _AARCH64_ATOMIC_MACHINE_H.
27342         * sysdeps/alpha/bits/atomic.h: Move to ...
27343         * sysdeps/alpha/atomic-machine.h: ...here.
27344         * sysdeps/arm/bits/atomic.h: Move to ...
27345         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
27346         * bits/atomic.h: Move to ...
27347         * sysdeps/generic/atomic-machine.h: ...here.
27348         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27349         * sysdeps/i386/bits/atomic.h: Move to ...
27350         * sysdeps/i386/atomic-machine.h: ...here.
27351         * sysdeps/ia64/bits/atomic.h: Move to ...
27352         * sysdeps/ia64/atomic-machine.h: ...here.
27353         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
27354         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
27355         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27356         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
27357         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
27358         * sysdeps/microblaze/bits/atomic.h: Move to ...
27359         * sysdeps/microblaze/atomic-machine.h: ...here.
27360         * sysdeps/mips/bits/atomic.h: Move to ...
27361         * sysdeps/mips/atomic-machine.h: ...here.
27362         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
27363         * sysdeps/powerpc/bits/atomic.h: Move to ...
27364         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
27365         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
27366         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
27367         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
27368         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
27369         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
27370         <atomic-machine.h> instead of <bits/atomic.h>.
27371         * sysdeps/s390/bits/atomic.h: Move to ...
27372         * sysdeps/s390/atomic-machine.h: ...here.
27373         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
27374         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
27375         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27376         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
27377         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
27378         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
27379         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
27380         * sysdeps/tile/bits/atomic.h: Move to ...
27381         * sysdeps/tile/atomic-machine.h: ...here.
27382         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
27383         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
27384         <sysdeps/tile/atomic-machine.h> instead of
27385         <sysdeps/tile/bits/atomic.h>.
27386         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27387         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
27388         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
27389         <sysdeps/tile/atomic-machine.h> instead of
27390         <sysdeps/tile/bits/atomic.h>.
27391         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27392         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
27393         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
27394         <sysdeps/arm/atomic-machine.h> instead of
27395         <sysdeps/arm/bits/atomic.h>.
27396         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
27397         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
27398         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27399         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
27400         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
27401         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27402         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
27403         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
27404         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
27405         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
27406         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
27407         * sysdeps/x86_64/bits/atomic.h: Move to ...
27408         * sysdeps/x86_64/atomic-machine.h: ...here.
27409         * include/atomic.h: Include <atomic-machine.h> instead of
27410         <bits/atomic.h>.
27412         * sysdeps/mips/mips32/libm-test-ulps: Update.
27413         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27415         [BZ #18952]
27416         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
27417         not convert non-integer negative arguments to int to determine the
27418         value of signgam.
27419         * math/auto-libm-test-in: Add more tests of lgamma.
27420         * math/auto-libm-test-out: Regenerated.
27422         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
27423         cosh, csqrt, erfc, expm1 and lgamma.
27424         * math/auto-libm-test-out: Regenerated.
27425         * sysdeps/i386/fpu/libm-test-ulps: Update.
27426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27428 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
27430         [BZ #2542]
27431         [BZ #2543]
27432         [BZ #2558]
27433         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
27434         __lgamma_neg for arguments from -28.0 to -2.0.
27435         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
27436         __lgamma_negf for arguments from -15.0 to -2.0.
27437         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27438         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
27439         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
27440         Call __lgamma_negl for arguments from -33.0 to -2.0.
27441         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
27442         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
27443         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
27444         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
27445         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
27446         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
27447         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
27448         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
27449         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
27450         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
27451         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
27452         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
27453         (__lgamma_neg): Likewise.
27454         (__lgamma_negl): Likewise.
27455         (__lgamma_product): Likewise.
27456         (__lgamma_productl): Likewise.
27457         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
27458         * math/auto-libm-test-in: Add more tests of lgamma.
27459         * math/auto-libm-test-out: Regenerated.
27460         * sysdeps/i386/fpu/libm-test-ulps: Update.
27461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27463 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
27465         [BZ #18675]
27466         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
27468 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
27470         [BZ #14912]
27471         * bits/libc-lock.h: Move to ...
27472         * sysdeps/generic/libc-lock.h: ...here.
27473         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
27474         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
27475         * sysdeps/mach/hurd/libc-lock.h: ...here.
27476         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
27477         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
27478         * sysdeps/mach/bits/libc-lock.h: Move to ...
27479         * sysdeps/mach/libc-lock.h: ...here.
27480         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
27481         * sysdeps/nptl/bits/libc-lock.h: Move to ...
27482         * sysdeps/nptl/libc-lock.h: ...here.
27483         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
27484         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
27485         * sysdeps/nptl/libc-lockP.h: ...here.
27486         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
27487         * crypt/crypt_util.c: Include <libc-lock.h> instead of
27488         <bits/libc-lock.h>.
27489         * dirent/scandir-tail.c: Likewise.
27490         * dlfcn/dlerror.c: Likewise.
27491         * elf/dl-close.c: Likewise.
27492         * elf/dl-iteratephdr.c: Likewise.
27493         * elf/dl-lookup.c: Likewise.
27494         * elf/dl-open.c: Likewise.
27495         * elf/dl-support.c: Likewise.
27496         * elf/dl-writev.h: Likewise.
27497         * elf/rtld.c: Likewise.
27498         * grp/fgetgrent.c: Likewise.
27499         * gshadow/fgetsgent.c: Likewise.
27500         * gshadow/sgetsgent.c: Likewise.
27501         * iconv/gconv_conf.c: Likewise.
27502         * iconv/gconv_db.c: Likewise.
27503         * iconv/gconv_dl.c: Likewise.
27504         * iconv/gconv_int.h: Likewise.
27505         * iconv/gconv_trans.c: Likewise.
27506         * include/link.h: Likewise.
27507         * inet/getnameinfo.c: Likewise.
27508         * inet/getnetgrent.c: Likewise.
27509         * inet/getnetgrent_r.c: Likewise.
27510         * intl/bindtextdom.c: Likewise.
27511         * intl/dcigettext.c: Likewise.
27512         * intl/finddomain.c: Likewise.
27513         * intl/gettextP.h: Likewise.
27514         * intl/loadmsgcat.c: Likewise.
27515         * intl/localealias.c: Likewise.
27516         * intl/textdomain.c: Likewise.
27517         * libidn/idn-stub.c: Likewise.
27518         * libio/libioP.h: Likewise.
27519         * locale/duplocale.c: Likewise.
27520         * locale/freelocale.c: Likewise.
27521         * locale/newlocale.c: Likewise.
27522         * locale/setlocale.c: Likewise.
27523         * login/getutent_r.c: Likewise.
27524         * login/getutid_r.c: Likewise.
27525         * login/getutline_r.c: Likewise.
27526         * login/utmp-private.h: Likewise.
27527         * login/utmpname.c: Likewise.
27528         * malloc/mtrace.c: Likewise.
27529         * misc/efgcvt.c: Likewise.
27530         * misc/error.c: Likewise.
27531         * misc/fstab.c: Likewise.
27532         * misc/getpass.c: Likewise.
27533         * misc/mntent.c: Likewise.
27534         * misc/syslog.c: Likewise.
27535         * nis/nis_call.c: Likewise.
27536         * nis/nis_callback.c: Likewise.
27537         * nis/nss-default.c: Likewise.
27538         * nis/nss_compat/compat-grp.c: Likewise.
27539         * nis/nss_compat/compat-initgroups.c: Likewise.
27540         * nis/nss_compat/compat-pwd.c: Likewise.
27541         * nis/nss_compat/compat-spwd.c: Likewise.
27542         * nis/nss_nis/nis-alias.c: Likewise.
27543         * nis/nss_nis/nis-ethers.c: Likewise.
27544         * nis/nss_nis/nis-grp.c: Likewise.
27545         * nis/nss_nis/nis-hosts.c: Likewise.
27546         * nis/nss_nis/nis-network.c: Likewise.
27547         * nis/nss_nis/nis-proto.c: Likewise.
27548         * nis/nss_nis/nis-pwd.c: Likewise.
27549         * nis/nss_nis/nis-rpc.c: Likewise.
27550         * nis/nss_nis/nis-service.c: Likewise.
27551         * nis/nss_nis/nis-spwd.c: Likewise.
27552         * nis/nss_nisplus/nisplus-alias.c: Likewise.
27553         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
27554         * nis/nss_nisplus/nisplus-grp.c: Likewise.
27555         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
27556         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
27557         * nis/nss_nisplus/nisplus-network.c: Likewise.
27558         * nis/nss_nisplus/nisplus-proto.c: Likewise.
27559         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
27560         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
27561         * nis/nss_nisplus/nisplus-service.c: Likewise.
27562         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
27563         * nis/ypclnt.c: Likewise.
27564         * nptl/libc_pthread_init.c: Likewise.
27565         * nss/getXXbyYY.c: Likewise.
27566         * nss/getXXent.c: Likewise.
27567         * nss/getXXent_r.c: Likewise.
27568         * nss/nss_db/db-XXX.c: Likewise.
27569         * nss/nss_db/db-netgrp.c: Likewise.
27570         * nss/nss_db/nss_db.h: Likewise.
27571         * nss/nss_files/files-XXX.c: Likewise.
27572         * nss/nss_files/files-alias.c: Likewise.
27573         * nss/nsswitch.c: Likewise.
27574         * posix/regex_internal.h: Likewise.
27575         * posix/wordexp.c: Likewise.
27576         * pwd/fgetpwent.c: Likewise.
27577         * resolv/res_hconf.c: Likewise.
27578         * resolv/res_libc.c: Likewise.
27579         * shadow/fgetspent.c: Likewise.
27580         * shadow/lckpwdf.c: Likewise.
27581         * shadow/sgetspent.c: Likewise.
27582         * socket/opensock.c: Likewise.
27583         * stdio-common/reg-modifier.c: Likewise.
27584         * stdio-common/reg-printf.c: Likewise.
27585         * stdio-common/reg-type.c: Likewise.
27586         * stdio-common/vfprintf.c: Likewise.
27587         * stdio-common/vfscanf.c: Likewise.
27588         * stdlib/abort.c: Likewise.
27589         * stdlib/cxa_atexit.c: Likewise.
27590         * stdlib/fmtmsg.c: Likewise.
27591         * stdlib/random.c: Likewise.
27592         * stdlib/setenv.c: Likewise.
27593         * string/strsignal.c: Likewise.
27594         * sunrpc/auth_none.c: Likewise.
27595         * sunrpc/bindrsvprt.c: Likewise.
27596         * sunrpc/create_xid.c: Likewise.
27597         * sunrpc/key_call.c: Likewise.
27598         * sunrpc/rpc_thread.c: Likewise.
27599         * sysdeps/arm/backtrace.c: Likewise.
27600         * sysdeps/generic/ldsodefs.h: Likewise.
27601         * sysdeps/generic/stdio-lock.h: Likewise.
27602         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
27603         * sysdeps/i386/backtrace.c: Likewise.
27604         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27605         * sysdeps/m68k/backtrace.c: Likewise.
27606         * sysdeps/mach/hurd/cthreads.c: Likewise.
27607         * sysdeps/mach/hurd/dirstream.h: Likewise.
27608         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
27609         * sysdeps/nptl/malloc-machine.h: Likewise.
27610         * sysdeps/nptl/stdio-lock.h: Likewise.
27611         * sysdeps/posix/dirstream.h: Likewise.
27612         * sysdeps/posix/getaddrinfo.c: Likewise.
27613         * sysdeps/posix/system.c: Likewise.
27614         * sysdeps/pthread/aio_suspend.c: Likewise.
27615         * sysdeps/s390/s390-32/backtrace.c: Likewise.
27616         * sysdeps/s390/s390-64/backtrace.c: Likewise.
27617         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27618         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
27619         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
27620         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
27621         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
27622         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
27623         * sysdeps/unix/sysv/linux/system.c: Likewise.
27624         * sysdeps/x86_64/backtrace.c: Likewise.
27625         * time/alt_digit.c: Likewise.
27626         * time/era.c: Likewise.
27627         * time/tzset.c: Likewise.
27628         * wcsmbs/wcsmbsload.c: Likewise.
27629         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
27630         instead of <bits/libc-lock.h> in comment.
27632 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
27634         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
27635         Only use .set mips2 if the current ISA is below mips2.
27636         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
27637         Likewise.
27638         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
27639         mips32r2 if the current ISA is below mips32r2.
27640         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
27641         (TLS_IE): Updated to use the TLD_RDHWR macro.
27642         (TLS_LE): Likewise.
27643         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
27644         __ASSEMBLER__ condition.
27646 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27648         Fix parallel build of before-compile targets.
27650         * sysdeps/mach/Makefile ($(patsubst
27651         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
27652         mach-before-compile target.
27653         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
27654         io fs process)): Move rule to dedicated hurd-before-compile target.
27656 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27658         Fix rules generating headers in hurd/ and mach/ when initial make call
27659         has subdir= explicitly set.
27661         * sysdeps/mach/Makefile ($(patsubst
27662         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
27663         calling $(MAKE).
27664         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
27665         io fs process)): Force subdir to hurd when calling $(MAKE).
27666         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
27667         subdir to mach when calling $(MAKE).
27669 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
27671         Check sysheaders when looking for Mach and Hurd headers
27673         * sysdeps/mach/configure.ac: Add sysheaders check.
27674         * sysdeps/mach/configure: Regenerate.
27675         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
27676         * sysdeps/mach/hurd/configure: Regenerate.
27678 2015-09-04  Roland McGrath  <roland@hack.frob.com>
27680         [BZ #18921]
27681         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
27682         Fix inverted sense of test of 'o_directory_works' value.
27683         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
27684         Bernhard Voelker <mail@bernhard-voelker.de>.
27686 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
27688         [BZ #14912]
27689         * bits/linkmap.h: Move to ...
27690         * sysdeps/generic/linkmap.h: ...here.
27691         * sysdeps/aarch64/bits/linkmap.h: Move to ...
27692         * sysdeps/aarch64/linkmap.h: ...here.
27693         * sysdeps/arm/bits/linkmap.h: Move to ...
27694         * sysdeps/arm/linkmap.h: ...here.
27695         * sysdeps/hppa/bits/linkmap.h: Move to ...
27696         * sysdeps/hppa/linkmap.h: ...here.
27697         * sysdeps/ia64/bits/linkmap.h: Move to ...
27698         * sysdeps/ia64/linkmap.h: ...here.
27699         * sysdeps/mips/bits/linkmap.h: Move to ...
27700         * sysdeps/mips/linkmap.h: ...here.
27701         * sysdeps/s390/bits/linkmap.h: Move to ...
27702         * sysdeps/s390/linkmap.h: ...here.
27703         * sysdeps/sh/bits/linkmap.h: Move to ...
27704         * sysdeps/sh/linkmap.h: ...here.
27705         * sysdeps/x86/bits/linkmap.h: Move to ...
27706         * sysdeps/x86/linkmap.h: ...here.
27707         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
27709 2015-09-04  Andreas Schwab  <schwab@suse.de>
27711         [BZ #18635]
27712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
27713         (__makecontext): Terminate FDE before return label.
27714         (__novec_makecontext): Likewise.
27716 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27718         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
27719         first member of struct sv in syscall macro.
27721 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
27723         [BZ #14912]
27724         * bits/stdio-lock.h: Move to ...
27725         * sysdeps/generic/stdio-lock.h: ...here.
27726         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
27727         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
27728         * sysdeps/nptl/stdio-lock.h: ...here.
27729         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
27730         * include/libio.h: Include <stdio-lock.h> instead of
27731         <bits/stdio-lock.h>.
27732         * sysdeps/nptl/fork.c: Likewise.
27733         * sysdeps/pthread/flockfile.c: Likewise.
27734         * sysdeps/pthread/ftrylockfile.c: Likewise.
27735         * sysdeps/pthread/funlockfile.c: Likewise.
27737         [BZ #14912]
27738         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
27739         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
27740         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
27741         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
27742         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
27743         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
27744         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
27746 2015-09-03  Roland McGrath  <roland@hack.frob.com>
27748         * elf/Makefile (test-xfail-tst-protected1a): New variable.
27749         (test-xfail-tst-protected1b): New variable.
27751 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
27753         [BZ #14912]
27754         * bits/libc-tsd.h: Move to ...
27755         * sysdeps/generic/libc-tsd.h: ...here.
27756         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
27757         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
27758         * sysdeps/mach/hurd/libc-tsd.h: ...here.
27759         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
27760         * include/ctype.h: Include <libc-tsd.h> instead of
27761         <bits/libc-tsd.h>.
27762         * include/rpc/rpc.h: Likewise.
27763         * locale/localeinfo.h: Likewise.
27764         * sunrpc/rpc_thread.c: Likewise.
27765         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
27766         * sysdeps/nptl/malloc-machine.h: Likewise.
27768         * Makefile (headers): Remove bits/libc-lock.h.
27769         * libio/Makefile (headers): Remove bits/stdio-lock.h.
27771         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
27772         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
27773         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
27774         <bits/stdio-lock.h>.
27775         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
27776         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
27778 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
27780         [BZ #18757]
27781         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
27782         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
27783         BZ #18757.
27785 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
27787         * malloc/mtrace.pl: Filter out NULL entries.
27789 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
27791         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
27792         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
27793         macro.
27795         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
27796         (TCP_CC_INFO): Likewise.
27797         (TCP_SAVE_SYN): Likewise.
27798         (TCP_SAVED_SYN): Likewise.
27800 2015-08-31  Brett Neumeier <brett@neumeier.us>
27802         [BZ #18870]
27803         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
27805 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
27807         [BZ #18873]
27808         Fix broken overflow check in posix_fallocate
27809         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
27810         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
27811         Fix parenthesization typo.
27813 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
27815         [BZ #18887]
27816         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
27817         tst-mntent-blank-passno.
27818         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
27819         * misc/tst-mntent-blank-corrupt.c: New test.
27820         * misc/tst-mntent-blank-passno.c: New test ripped from ...
27821         * misc/tst-mntent.c (do_test): ... here.
27823 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
27825         [BZ #4404]
27826         * po/de.po: Fix SIGALRM typo.
27828 2015-08-28  James Perkins  <james@loowit.net>
27830         * time/tst-strptime2.c (tests): Replace short list of test
27831         strings for strptime %z specifier with code which exhaustively
27832         tests every combination of sign and 0 to 5 digits. Tests for
27833         rejection of invalid strings.
27835 2015-08-28  James Perkins  <james@loowit.net>
27837         [BZ #16141]
27838         * time/strptime_l.c (__strptime_internal): Fix %z minutes
27839         calculation, removing incorrect decimal time rounding, so that
27840         all minute values result in a valid seconds value.
27841         * time/strptime_l.c (__strptime_internal): Extend %z time zone
27842         offset range limits to UTC-99:59 through UTC+99:59 to parse
27843         current and historical use cases.
27844         * time/tst-strptime2.c (tests): Modify and add tests for the
27845         strptime %z input field descriptor, specifically conversion of
27846         minutes to seconds and validating an offset range of -9959 to
27847         +9959.
27849 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27850             Dmitry V. Levin  <ldv@altlinux.org>
27852         [BZ #18877]
27853         * posix/Makefile (tests): Add tst-mmap-offset.
27854         * posix/tst-mmap.c: New file.
27855         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
27856         offset calculation for negative values.
27858 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27860         * sysdeps/i386/init-arch.h: New file.
27861         * sysdeps/i386/i586/init-arch.h: Likewise.
27862         * sysdeps/i386/i686/init-arch.h: Likewise.
27863         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
27864         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
27865         * sysdeps/x86/cpu-features.h (bit_I586): New.
27866         (bit_I686): Likewise.
27867         (bit_CX8): Likewise.
27868         (bit_CMOV): Likewise.
27869         (index_CX8): Likewise.
27870         (index_CMOV): Likewise.
27871         (index_I586): Likewise.
27872         (index_I686): Likewise.
27873         (reg_CX8): Likewise.
27874         (reg_CMOV): Likewise.
27875         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
27876         available at compile-time.
27877         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
27878         available at compile-time.
27879         * sysdeps/x86/init-arch.h (USE_I586): New macro.
27880         (USE_I686): Likewise.
27882 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27884         * sysdeps/i386/bcopy.S: New file.
27885         * sysdeps/i386/bzero.S: Likewise.
27886         * sysdeps/i386/memcpy.S: Likewise.
27887         * sysdeps/i386/memmove.S: Likewise.
27888         * sysdeps/i386/mempcpy.S: Likewise.
27889         * sysdeps/i386/memset.S: Likewise.
27890         * sysdeps/i386/bzero.c: Removed.
27891         * sysdeps/i386/memset.c: Likewise.
27892         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
27893         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
27894         * sysdeps/i386/i586/memset_chk.S: Likewise.
27895         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
27896         * sysdeps/i386/memcpy_chk.S: Here.
27897         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
27898         * sysdeps/i386/memmove_chk.S: Here.
27899         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
27900         * sysdeps/i386/mempcpy_chk.S: Likewise.
27901         * sysdeps/i386/i686/memset_chk.S: Moved to ...
27902         * sysdeps/i386/memset_chk.S: Likewise.
27904 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
27906         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
27907         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
27908         file, move DIAG_POP_NEEDS_COMMENT to end of file.
27909         * soft-fp/fmadf4.c: Ditto.
27910         * soft-fp/fmatf4.c: Ditto.
27912 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27914         * sysdeps/i386/i586/Implies: Removed.
27915         * sysdeps/i386/i686/Implies: Likewise.
27917 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27919         * sysdeps/i386/i486/strlen.S: Moved to ...
27920         * sysdeps/i386/strlen.S: Here.
27922 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27924         * sysdeps/i386/i486/strcat.S: Moved to ...
27925         * sysdeps/i386/strcat.S: Here.
27927 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27929         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
27930         * sysdeps/i386/pthread_spin_trylock.S: Here.
27931         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
27932         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
27934 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27936         * sysdeps/i386/i486/string-inlines.c: Moved to ...
27937         * sysdeps/i386/string-inlines.c: Here.
27939 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27941         * sysdeps/i386/i486/htonl.S: Moved ...
27942         * sysdeps/i386/htonl.S: here.
27944 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27946         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
27947         * sysdeps/i386/bits/atomic.h: Here.
27949 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27951         * sysdeps/i386/i486/Versions: Removed.
27953 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
27955         [BZ #2898]
27956         * misc/mktemp.c: Add mkdtemp to the link_warning message.
27957         Based on patch by Aurelien Jarno.
27959 2015-08-26  Stan Shebs  <stanshebs@google.com>
27961         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
27962         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
27964 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27966         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
27967         * sysdeps/powerpc/dl-procinfo.c:
27968         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
27969         feature so it shows when LD_SHOW_AUXV=1.
27971 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
27973         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
27974         (__arch_compare_and_exchange_val_32_acq): Remove and use common
27975         definition.  ISA 2.07B no longer requires full sync.
27977 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
27979         [BZ #18863]
27980         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
27981         (si_call_addr): Define.
27982         (si_syscall): Define.
27983         (si_arch): Define.
27985 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
27987         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
27988         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
27989         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
27990         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
27991         (__memset_zero_constant_len_parameter): New.
27992         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
27993         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
27994         (__memset_zero_constant_len_parameter): Don't define if
27995         __memset_chk or USE_AS_BZERO are defined.
27997         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
27998         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
27999         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
28001         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
28002         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
28003         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
28004         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
28005         comments.
28006         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
28007         -mno-mmx for $(all-rtld-routines).
28008         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
28009         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
28010         i386.
28012 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
28014         * sysdeps/generic/unwind.h
28015         (_Unwind_Word): Use __mode__(__unwind_word__)
28016         instead of __mode__(__word__).
28017         (_Unwind_Sword): Likewise.
28019         * sysdeps/s390/s390-64/utf8-utf16-z9.c
28020         (MAX_NEEDED_INPUT): New define.
28021         (MAX_NEEDED_OUTPUT): New define.
28023         * NEWS: New item for IBM z13 string optimizations.
28025         * sysdeps/s390/multiarch/memrchr-c.c: New File.
28026         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
28027         * sysdeps/s390/multiarch/memrchr.c: Likewise.
28028         * sysdeps/s390/multiarch/Makefile
28029         (sysdep_routines): Add memrchr functions.
28030         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
28031         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
28033         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
28034         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
28035         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
28036         * sysdeps/s390/multiarch/Makefile
28037         (sysdep_routines): Add wmemcmp functions.
28038         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
28039         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
28040         * benchtests/bench-wmemcmp.c: New File.
28041         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
28043         * sysdeps/s390/multiarch/wmemset-c.c: New File.
28044         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
28045         * sysdeps/s390/multiarch/wmemset.c: Likewise.
28046         * sysdeps/s390/multiarch/Makefile
28047         (sysdep_routines): Add wmemset functions.
28048         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
28049         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
28050         * wcsmbs/wmemset.c: Use WMEMSET if defined.
28051         * string/test-memset.c: Add wmemset support.
28052         * wcsmbs/test-wmemset.c: New File.
28053         * wcsmbs/Makefile (strop-tests): Add wmemset.
28054         * benchtests/bench-memset.c: Add wmemset support.
28055         * benchtests/bench-wmemset.c: New File.
28056         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
28058         * sysdeps/s390/multiarch/memccpy-c.c: New File.
28059         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
28060         * sysdeps/s390/multiarch/memccpy.c: Likewise.
28061         * sysdeps/s390/multiarch/Makefile
28062         (sysdep_routines): Add memccpy functions.
28063         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
28064         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
28065         * string/memccpy.c: Use MEMCCPY if defined.
28067         * sysdeps/s390/multiarch/memchr-vx.S: New File.
28068         * sysdeps/s390/multiarch/memchr.c: Likewise.
28069         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
28070         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
28071         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
28072         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
28073         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
28074         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
28075         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
28076         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
28077         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
28078         and rawmemchr functions.
28079         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
28080         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
28081         and wmemchr.
28082         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
28083         * string/test-memchr.c: Add wmemchr support.
28084         * wcsmbs/test-wmemchr.c: New File.
28085         * wcsmbs/Makefile (strop-tests): Add wmemchr.
28086         * benchtests/bench-memchr.c: Add wmemchr support.
28087         * benchtests/bench-wmemchr.c: New File.
28088         * benchtests/Makefile (wcsmbs-bench): wmemchr.
28090         * sysdeps/s390/multiarch/strcspn-c.c: New File.
28091         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
28092         * sysdeps/s390/multiarch/strcspn.c: Likewise.
28093         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
28094         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
28095         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
28096         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
28097         wcscspn functions.
28098         * sysdeps/s390/multiarch/ifunc-impl-list.c
28099         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
28100         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
28101         * string/test-strcspn.c: Add wcscspn support.
28102         * wcsmbs/test-wcscspn.c: New File.
28103         * wcsmbs/Makefile (strop-tests): Add wcscspn.
28104         * benchtests/bench-strcspn.c: Add wcscspn support.
28105         * benchtests/bench-wcscspn.c: New File.
28106         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
28108         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
28109         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
28110         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
28111         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
28112         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
28113         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
28114         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
28115         wcspbrk functions.
28116         * sysdeps/s390/multiarch/ifunc-impl-list.c
28117         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
28118         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
28119         * string/test-strpbrk.c: Add wcspbrk support.
28120         * wcsmbs/test-wcspbrk.c: New File.
28121         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
28122         * benchtests/bench-strpbrk.c: Add wcspbrk support.
28123         * benchtests/bench-wcspbrk.c: New File.
28124         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
28126         * sysdeps/s390/multiarch/strspn-c.c: New File.
28127         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
28128         * sysdeps/s390/multiarch/strspn.c: Likewise.
28129         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
28130         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
28131         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
28132         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
28133         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
28134         wcsspn functions.
28135         * sysdeps/s390/multiarch/ifunc-impl-list.c
28136         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
28137         * string/test-strspn.c: Add wcsspn support.
28138         * wcsmbs/test-wcsspn.c: New File.
28139         * wcsmbs/Makefile (strop-tests): Add wcsspn.
28140         * benchtests/bench-strspn.c: Add wcsspn support.
28141         * benchtests/bench-wcsspn.c: New File.
28142         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
28144         * sysdeps/s390/multiarch/strrchr-c.c: New File.
28145         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
28146         * sysdeps/s390/multiarch/strrchr.c: Likewise.
28147         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
28148         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
28149         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
28150         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
28151         wcsrchr functions.
28152         * sysdeps/s390/multiarch/ifunc-impl-list.c
28153         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
28154         * benchtests/bench-wcsrchr.c: New File.
28155         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
28157         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
28158         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
28159         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
28160         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
28161         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
28162         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
28163         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
28164         wcschrnul functions.
28165         * sysdeps/s390/multiarch/ifunc-impl-list.c
28166         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
28167         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
28168         * string/test-strchr.c: Add wcschrnul support.
28169         * wcsmbs/test-wcschrnul.c: New File.
28170         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
28171         * benchtests/bench-strchr.c: Add wcschrnul support.
28172         * benchtests/bench-wcschrnul.c: New File.
28173         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
28175         * sysdeps/s390/multiarch/strchr-c.c: New File.
28176         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
28177         * sysdeps/s390/multiarch/strchr.c: Likewise.
28178         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
28179         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
28180         * sysdeps/s390/multiarch/wcschr.c: Likewise.
28181         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
28182         wcschr functions.
28183         * sysdeps/s390/multiarch/ifunc-impl-list.c
28184         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
28185         * string/strchr.c (STRCHR): Define and use macro.
28186         * benchtests/bench-wcschr.c: New File.
28187         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
28189         * sysdeps/s390/multiarch/strncmp-c.c: New File.
28190         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
28191         * sysdeps/s390/multiarch/strncmp.c: Likewise.
28192         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
28193         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
28194         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
28195         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
28196         wcsncmp functions.
28197         * sysdeps/s390/multiarch/ifunc-impl-list.c
28198         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
28199         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
28200         * benchtests/bench-strncmp.c: Add wcsncmp support.
28201         * benchtests/bench-wcsncmp.c: New File.
28202         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
28204         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
28205         * sysdeps/s390/multiarch/strcmp.c: Likewise.
28206         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
28207         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
28208         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
28209         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
28210         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
28211         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
28212         wcscmp functions.
28213         * sysdeps/s390/multiarch/ifunc-impl-list.c
28214         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
28215         * string/strcmp.c (STRCMP): Define and use macro.
28216         * benchtests/bench-wcscmp.c: New File.
28217         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
28218         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
28219         instead of _HAVE_STRING_ARCH_memchr.
28221         * sysdeps/s390/multiarch/strncat-c.c: New File.
28222         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
28223         * sysdeps/s390/multiarch/strncat.c: Likewise.
28224         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
28225         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
28226         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
28227         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
28228         wcsncat functions.
28229         * sysdeps/s390/multiarch/ifunc-impl-list.c
28230         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
28231         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
28232         * string/test-strncat.c: Add wcsncat support.
28233         * wcsmbs/test-wcsncat.c: New File.
28234         * wcsmbs/Makefile (strop-tests): Add wcsncat.
28235         * benchtests/bench-strncat.c: Add wcsncat support.
28236         * benchtests/bench-wcsncat.c: New File.
28237         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
28239         * sysdeps/s390/multiarch/strcat-c.c: New File.
28240         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
28241         * sysdeps/s390/multiarch/strcat.c: Likewise.
28242         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
28243         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
28244         * sysdeps/s390/multiarch/wcscat.c: Likewise.
28245         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
28246         wcscat functions.
28247         * sysdeps/s390/multiarch/ifunc-impl-list.c
28248         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
28249         * string/strcat.c (STRCAT): Define and use macro.
28250         * wcsmbs/wcscat.c: Use WCSCAT if defined.
28251         * string/test-strcat.c: Add wcscat support.
28252         * wcsmbs/test-wcscat.c: New File.
28253         * wcsmbs/Makefile (strop-tests): Add wcscat.
28254         * benchtests/bench-strcat.c: Add wcscat support.
28255         * benchtests/bench-wcscat.c: New File.
28256         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
28258         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
28259         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
28260         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
28261         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
28262         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
28263         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
28264         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
28265         wcpncpy functions.
28266         * sysdeps/s390/multiarch/ifunc-impl-list.c
28267         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
28268         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
28269         * string/test-stpncpy.c: Add wcpncpy support.
28270         * wcsmbs/test-wcpncpy.c: New File.
28271         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
28272         * benchtests/bench-stpncpy.c: Add wcpncpy support.
28273         * benchtests/bench-wcpncpy.c: New File.
28274         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
28276         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
28277         * sysdeps/s390/multiarch/strncpy.c: Likewise.
28278         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
28279         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
28280         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
28281         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
28282         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
28283         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
28284         wcsncpy functions.
28285         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
28286         * sysdeps/s390/multiarch/ifunc-impl-list.c
28287         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
28288         * string/test-strncpy.c: Add wcsncpy support.
28289         * wcsmbs/test-wcsncpy.c: New File.
28290         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
28291         * benchtests/bench-strncpy.c: Add wcsncpy support.
28292         * benchtests/bench-wcsncpy.c: New File.
28293         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
28295         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
28296         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
28297         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
28298         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
28299         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
28300         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
28301         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
28302         wcpcpy functions.
28303         * string/stpcpy.c: Use STPCPY if defined.
28304         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
28305         * sysdeps/s390/multiarch/ifunc-impl-list.c
28306         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
28307         * string/test-stpcpy.c: Add wcpcpy support.
28308         * wcsmbs/test-wcpcpy.c: New File.
28309         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
28310         * benchtests/bench-stpcpy.c: Add wcpcpy support.
28311         * benchtests/bench-wcpcpy.c: New File.
28312         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
28314         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
28315         * sysdeps/s390/multiarch/strcpy.c: Likewise.
28316         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
28317         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
28318         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
28319         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
28320         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
28321         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
28322         wcscpy functions.
28323         * sysdeps/s390/multiarch/ifunc-impl-list.c
28324         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
28325         * benchtests/bench-wcscpy.c: New File.
28326         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
28328         * sysdeps/s390/multiarch/strnlen-c.c: New File.
28329         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
28330         * sysdeps/s390/multiarch/strnlen.c: Likewise.
28331         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
28332         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
28333         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
28334         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
28335         wcsnlen functions.
28336         * sysdeps/s390/multiarch/ifunc-impl-list.c
28337         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
28338         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
28339         * string/test-strnlen.c: Add wcsnlen support.
28340         * wcsmbs/test-wcsnlen.c: New File.
28341         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
28342         * benchtests/bench-strnlen.c: Add wcsnlen support.
28343         * benchtests/bench-wcsnlen.c: New File.
28344         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
28346         * sysdeps/s390/multiarch/Makefile: New File.
28347         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
28348         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
28349         * sysdeps/s390/multiarch/strlen.c: Likewise.
28350         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
28351         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
28352         * sysdeps/s390/multiarch/wcslen.c: Likewise.
28353         * string/strlen.c (STRLEN): Define and use macro.
28354         * sysdeps/s390/multiarch/ifunc-impl-list.c
28355         (IFUNC_VX_IMPL): New macro function.
28356         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
28357         * benchtests/Makefile (wcsmbs-bench): New variable.
28358         (string-bench-all): Added wcsmbs-bench.
28359         * benchtests/bench-wcslen.c: New File.
28361         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
28362         s390_vx_libc_ifunc2): New macro function.
28364         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
28365         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
28366         assembler support.
28367         * sysdeps/s390/configure: Regenerated.
28369         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
28370         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
28372         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
28373         * sysdeps/s390/dl-procinfo.h: Add vector capability.
28374         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
28376         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
28377         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
28378         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
28379         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
28380         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
28381         (memcmp, bcmp): Use __memcmp_default as alias source.
28382         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
28383         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
28384         Rename to __memcmp_default.
28385         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
28386         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
28387         (memcpy): Use __memcpy_default as alias source.
28388         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
28389         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
28390         Rename to __memcpy_default.
28391         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
28392         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
28393         (memset): Use __memset_default as alias source.
28394         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
28395         * sysdeps/s390/s390-32/memset.S (__memset_g5):
28396         Rename to __memset_default.
28397         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
28398         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
28399         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
28400         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
28401         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
28402         (memcmp, bcmp): Use __memcmp_default as alias source.
28403         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
28404         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
28405         Rename to __memcmp_default.
28406         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
28407         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
28408         (memcpy): Use __memcpy_default as alias source.
28409         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
28410         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
28411         Rename to __memcpy_default.
28412         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
28413         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
28414         (memset): Use __memset_default as alias source.
28415         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
28416         * sysdeps/s390/s390-64/memset.S (__memset_z900):
28417         Rename to __memset_default.
28418         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
28419         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
28421         [BZ #18610]
28422         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
28423         __ieee_instruction_pointer to __unused.
28424         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
28425         __ieee_instruction_pointer.
28426         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
28427         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
28428         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
28429         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
28430         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
28431         Mark dxc-field as reserved.
28433 2015-08-25  Roland McGrath  <roland@hack.frob.com>
28435         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
28436         if the weak reference is not null.
28438 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
28440         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
28442         [BZ #11214]
28443         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
28445 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28447         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
28448         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
28449         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
28450         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
28451         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
28452         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
28453         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
28454         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
28455         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
28456         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
28457         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
28458         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
28459         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
28460         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
28461         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
28462         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
28463         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
28464         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
28466 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
28468         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
28469         register other than r0 for tabort, it has special meaning.
28470         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
28471         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
28472         transaction before starting syscall.
28474 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28476         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
28478 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
28480         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
28482         * sysdeps/x86_64/rtld-memcmp.c: Removed.
28483         * sysdeps/x86_64/rtld-memset.S: Likewise.
28484         * sysdeps/x86_64/rtld-strchr.S: Likewise.
28485         * sysdeps/x86_64/rtld-strlen.S: Likewise.
28486         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
28487         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
28489         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
28491 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
28493         * debug/strcpy_chk.c: Improve performance.
28494         * debug/stpcpy_chk.c: Likewise.
28495         * sysdeps/x86_64/strcpy_chk.S: Remove.
28496         * sysdeps/x86_64/stpcpy_chk.S: Remove.
28498         [BZ #18240]
28499         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
28501 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
28503         [BZ #15128]
28504         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
28505         ifuncmain8.
28506         (modules-names): Add ifuncmod8.
28507         ($(objpfx)ifuncmain8): New rule.
28508         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
28509         <cpuid.h>.
28510         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
28511         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
28512         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
28513         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
28514         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
28515         * sysdeps/x86_64/dl-trampoline.h: Likewise.
28516         * sysdeps/x86_64/ifuncmain8.c: New file.
28517         * sysdeps/x86_64/ifuncmod8.c: Likewise.
28518         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
28519         Removed.
28520         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
28521         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
28522         Change rtld_savespace_sse to __glibc_unused2.
28523         (RTLD_CHECK_FOREIGN_CALL): Removed.
28524         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
28525         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
28526         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
28528 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
28530         * sysdeps/aarch64/bzero.S (__bzero): Remove.
28532 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
28534         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
28535         Unconditionally set __fpcr to avoid uninialized warning.
28536         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
28538 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28540         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
28541         is corrupt.
28543         * malloc/arena.c (arena_get2): Drop unused argument.
28544         (arena_lock): Adjust.
28545         (arena_get_retry): Likewise.
28547 2015-08-24  Andreas Schwab  <schwab@suse.de>
28549         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
28550         Don't define.
28551         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
28552         (__ASSUME_IPC64): Don't undef.
28553         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
28554         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
28555         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
28556         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
28557         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
28558         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
28559         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
28560         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
28561         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
28562         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
28563         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
28564         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
28565         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
28566         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
28567         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
28568         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
28569         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
28570         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
28571         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
28572         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
28573         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
28575 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
28577         * manual/Makefile (install): Only build manual when perl is available.
28579 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
28581         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
28582         '#undef memcpy' by '#undef memchr'.
28584 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
28586         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
28587         memchr not point to the internal __GI_memchr implementation.
28589 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
28591         * timezone/Makefile (CFLAGS-zdump.c): Remove
28592         -Wno-strict-prototypes.
28593         (CFLAGS-zic.c): Likewise.
28594         (CFLAGS-ialloc.c): Likewise.
28595         (CFLAGS-scheck.c): Likewise.
28597         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
28598         -Wno-error=undef.
28600 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
28602         * i386/i686/multiarch/strcasestr-c.c: Removed.
28603         * x86_64/multiarch/strcasestr.c: Likewise.
28604         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28605         Remove strcasestr.
28607 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
28609         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
28611         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
28612         variables for high and low parts before possibly modifying them.
28614 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
28616         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
28617         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
28618         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
28619         of "multiarch/init-arch.h".
28620         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
28621         * sysdeps/x86/init-arch.h: This.
28623 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
28625         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
28626         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
28628 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
28630         [BZ #17787]
28631         * manual/macros.texi: Add twoexp macro.
28632         * manual/filesys.texi: Fix exponents.
28633         * manual/llio.texi: Likewise.
28634         * manual/stdio.texi: Likewise.
28636 2015-08-20  Florian Weimer  <fweimer@redhat.com>
28638         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
28639         incorrect use.
28641 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
28643         [BZ #18370]
28644         * math/s_csqrt.c (__csqrt): Force underflow exception for results
28645         whose real or imaginary part has small absolute value.
28646         * math/s_csqrtf.c (__csqrtf): Likewise.
28647         * math/s_csqrtl.c (__csqrtl): Likewise.
28648         * math/auto-libm-test-in: Add more tests of csqrt.
28649         * math/auto-libm-test-out: Regenerated.
28650         * sysdeps/i386/fpu/libm-test-ulps: Update.
28652 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
28654         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
28655         __ppc_set_ppr_very_low): New functions.
28656         * manual/platform.texi: Add documentation about
28657         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
28659 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
28661         * string/stpncpy.c (stpncpy): Improve performance using
28662         __strnlen/memcpy/memset.
28664 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
28666         [BZ #18796]
28667         * scripts/test-installation.pl: Don't add -lmvec to build options if
28668         libmvec wasn't built.
28670 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
28672         [BZ #14341]
28673         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
28674         case when there is a gap between DT_REL and DT_JMPREL sections.
28675         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
28676         (LDFLAGS-tst-split-dynreloc): New.
28677         (tst-split-dynreloc-ENV): Likewise.
28678         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
28679         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
28681 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
28683         [BZ #18822]
28684         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
28685         attribute_hidden.
28686         (__xstat64_conv): Likewise.
28687         (__xstat32_conv): Likewise.
28689 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
28691         [BZ #18822]
28692         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
28693         Don't load %ebx when calling __setcontext.  Call __setcontext
28694         with HIDDEN_JUMPTARGET.
28695         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
28696         libc_hidden_def.
28698 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
28700         * sysdeps/i386/i686/Makefile
28701         [$(subdir) == string] (sysdep_routines): Moved to ...
28702         * sysdeps/i386/Makefile: Here.
28703         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
28704         * sysdeps/i386/cacheinfo.c: Here.
28705         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
28706         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
28707         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
28708         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
28710 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
28712         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
28713         __i586__ is defined.
28714         (HAS_I686): Defined to 1 if __i686__ is defined.
28716 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
28718         * elf/Makefile [$(have-z-execstack) = yes]
28719         (CPPFLAGS-tst-execstack.c): New variable.
28721         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
28722         conditional to [defined UTMPX || _HAVE_UT_TYPE].
28723         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
28724         UTMPX || _HAVE_UT_TV].
28725         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
28726         UTMPX || _HAVE_UT_TV - 0].
28728 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
28730         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
28731         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
28732         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
28734 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
28736         * sysdeps/powerpc/dl-procinfo.c:
28737         (_dl_powerpc_cap_flags): Added missing strings for some
28738         hwcap features.
28739         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
28741 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
28743         Port the 0x7efe...feff pattern to GCC 6.
28744         See Steve Ellcey's bug report in:
28745         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
28746         * string/memrchr.c (MEMRCHR):
28747         * string/rawmemchr.c (RAWMEMCHR):
28748         * string/strchr.c (strchr):
28749         * string/strchrnul.c (STRCHRNUL):
28750         Rewrite code to avoid issues with signed shift overflow.
28752 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
28754         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
28755         whether cpuid is available only if HAS_CPUID is 0.
28756         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
28757         (HAS_I586): Likewise.
28758         (HAS_I686): Likewise.
28760 2015-08-18  Zack Weinberg  <zackw@panix.com>
28762         * misc/Versions (libc): Add GLIBC_2.23.
28764 2015-08-18  Alan Modra  <amodra@gmail.com>
28766         [BZ #18421]
28767         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
28768         .Lp__global.
28769         (_start): Load %dp via .Lp__global.
28770         [!SHARED]: Use .section .rodata.
28772 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28774         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
28775         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
28777 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28779         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
28780         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
28782 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28784         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
28785         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
28787 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28789         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
28790         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
28792 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28794         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
28795         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
28797 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28799         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
28800         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
28802 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28804         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
28806 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28808         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
28809         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
28810         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28811         (__ASSUME_LWS_CAS): Delete.
28813 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28815         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
28816         * sysdeps/hppa/configure: Regenerated.
28817         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
28818         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
28819         * sysdeps/hppa/nptl/tls.h: Likewise.
28821 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
28823         [BZ #18823]
28824         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
28825         for scaling up small arguments.
28826         * math/s_csqrtf.c (__csqrtf): Likewise.
28827         * math/s_csqrtl.c (__csqrtl): Likewise.
28828         * math/auto-libm-test-in: Add more tests of csqrt.
28829         * math/auto-libm-test-out: Regenerated.
28831 2015-08-17  Andreas Schwab  <schwab@suse.de>
28833         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
28834         version set GLIBC_2.19.
28836 2015-08-16  Zack Weinberg  <zackw@panix.com>
28838         [BZ #18681]
28839         * misc/regexp.h: This interface is no longer supported.
28840         Remove all contents, leaving only an #error directive.
28841         * misc/regexp.c (loc1, loc2, locs, step, advance):
28842         Demote to compatibility symbols.
28844 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
28846         [BZ #18084]
28847         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
28848         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
28849         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
28850         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
28851         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
28852         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
28853         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
28854         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
28855         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
28857 2015-08-15  Zack Weinberg  <zackw@panix.com>
28859         [BZ #18795]
28860         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
28861         buffer length is known to be too large, not if it's known to be
28862         small enough.
28863         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
28864         overflow at runtime, involving a length parameter, twice: once
28865         with a compile-time constant length parameter, once without.
28867 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
28869         [BZ #18824]
28870         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
28871         scaling x * y up instead of down.
28872         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28873         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28874         * math/auto-libm-test-in: Add more tests of fma.
28875         * math/auto-libm-test-out: Regenerated.
28877 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
28879         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28881 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28883         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
28884         unnecessary movq.
28885         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
28886         Likewise.
28888 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
28890         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
28891         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
28892         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
28893         and tgamma.
28894         * math/auto-libm-test-out: Regenerated.
28895         * sysdeps/i386/fpu/libm-test-ulps: Update.
28896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28898         [BZ #16520]
28899         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
28900         (__tanh): Force underflow exception for arguments with small
28901         absolute value.
28902         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
28903         (__tanhf): Force underflow exception for arguments with small
28904         absolute value.
28905         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
28906         (__tanhl): Force underflow exception for arguments with small
28907         absolute value.
28908         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
28909         (__tanhl): Force underflow exception for arguments with small
28910         absolute value.
28911         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
28912         (__tanhl): Force underflow exception for arguments with small
28913         absolute value.
28914         * math/auto-libm-test-in: Add more tests of tanh.
28915         * math/auto-libm-test-out: Regenerated.
28916         * sysdeps/i386/fpu/libm-test-ulps: Update.
28918 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28920         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
28921         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
28923 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28925         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
28926         <cpuid.h>.
28928 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28930         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
28931         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
28933 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28935         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
28936         Remove $(objpfx)init-arch.o.
28937         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
28938         init-arch.
28939         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
28940         (INIT_ARCH_EXT): Defined as empty.
28941         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
28942         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
28943         __init_cpu_features call.  Replace HAS_XXX with
28944         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
28945         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
28946         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
28947         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
28948         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
28949         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
28950         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
28951         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
28952         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
28953         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
28954         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
28955         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
28956         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
28957         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
28958         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
28959         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
28960         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
28961         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
28962         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
28963         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
28964         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
28965         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
28966         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
28967         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
28968         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
28969         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
28970         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
28971         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
28972         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
28973         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
28974         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
28975         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
28976         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
28977         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
28978         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
28979         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
28981 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28983         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
28984         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
28985         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
28986         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
28987         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
28988         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
28989         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
28990         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
28991         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
28992         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
28993         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
28994         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
28995         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
28996         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28997         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28998         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28999         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29000         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29001         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29002         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29003         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29004         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29005         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29006         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29007         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29008         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29009         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29010         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29011         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29012         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29013         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29014         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29015         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29016         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29017         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29018         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29019         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29020         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29021         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29022         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29023         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29024         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29025         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29027 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
29029         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
29030         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
29031         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29032         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29033         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29034         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
29035         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29036         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
29037         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29038         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29039         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29040         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
29041         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
29042         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
29043         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
29044         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
29045         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
29046         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
29047         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
29048         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
29049         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
29050         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
29051         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
29052         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29053         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29054         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
29055         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
29056         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
29057         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
29058         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29059         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29060         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29061         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29062         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29063         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29064         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29065         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29066         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29067         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29068         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29069         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29070         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29071         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29073 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
29075         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
29076         (dl_platform_init): Call init_cpu_features.
29077         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
29078         * sysdeps/i386/i686/cacheinfo.c
29079         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
29080         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
29081         * sysdeps/i386/i686/multiarch/Versions: Removed.
29082         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
29083         Removed.
29084         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
29085         * sysdeps/unix/sysv/linux/x86/Makefile
29086         (libpthread-sysdep_routines): Remove init-arch.
29087         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
29088         <sysdeps/x86_64/dl-procinfo.c> instead of
29089         sysdeps/generic/dl-procinfo.c>.
29090         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
29091         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
29092         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
29093         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
29094         [$(subdir) == elf] (tests-static): Add
29095         tst-get-cpu-features-static.
29096         * sysdeps/x86/Versions: New file.
29097         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
29098         * sysdeps/x86/cpu-features.c: Likewise.
29099         * sysdeps/x86/cpu-features.h: Likewise.
29100         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
29101         * sysdeps/x86/libc-start.c: Likewise.
29102         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
29103         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
29104         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
29105         * sysdeps/x86_64/dl-procinfo.c: Likewise.
29106         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
29107         Assume USE_MULTIARCH is defined and don't check it.
29108         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
29109         (is_amd): Likewise.
29110         (max_cpuid): Likewise.
29111         (intel_check_word): Likewise.
29112         (__cache_sysconf): Don't call __init_cpu_features.
29113         (__x86_preferred_memory_instruction): Removed.
29114         (init_cacheinfo): Don't call __init_cpu_features. Replace
29115         __cpu_features with GLRO(dl_x86_cpu_features).
29116         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
29117         (dl_platform_init): Call init_cpu_features.
29118         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
29119         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
29120         * sysdeps/x86_64/multiarch/Versions: Removed.
29121         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
29122         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
29123         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
29124         Removed.
29125         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
29127 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
29129         [BZ #18820]
29130         * libio/Makefile (test-fmemopen-mem): New test.
29131         * libio/test-fmemopen.c (do_bz18820): New test.
29132         * libio/fmemopen.c (__fmemopen): Fix memory leak.
29133         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
29135 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
29137         [BZ #16734]
29138         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
29139         (FREE_BUF): Delete.
29140         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
29141         * libio/genops.c (_IO_setb): Use malloc and free directly.
29142         (_IO_default_doallocate, _IO_default_finish): Likewise.
29143         ( _IO_unbuffer_all): Likewise.
29144         ( libc_freeres_fn): Likewise.
29145         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
29146         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
29147         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
29148         (_IO_wdefault_doallocate): Likewise.
29150 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
29152         [BZ #18086]
29153         * sysdeps/posix/nice.c (nice): Restore old errno.
29154         * posix/tst-nice.c (do_test): Add test for BZ #18086.
29156 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
29158         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
29160 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29162         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
29163         __bcopy and add a weak_alias to bcopy.
29164         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
29165         for static build.
29167         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
29168         cleanup macro usage.
29169         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
29170         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
29171         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
29172         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
29173         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
29174         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
29175         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
29176         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
29177         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
29178         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
29179         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
29180         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
29181         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
29182         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
29183         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
29184         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
29185         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
29186         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
29187         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
29189         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
29190         libc_hidden_def.
29191         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
29193         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
29194         (sysdep_routines): Add strstr-ppc64.
29195         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
29197 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
29199         [BZ #18778]
29200         * elf/Makefile (tests): Add Add tst-nodelete2.
29201         (modules-names): Add tst-nodelete2mod.
29202         (tst-nodelete2mod.so-no-z-defs): New.
29203         ($(objpfx)tst-nodelete2): Likewise.
29204         ($(objpfx)tst-nodelete2.out): Likewise.
29205         (LDFLAGS-tst-nodelete2): Likewise.
29206         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
29207         out of loop through all loaded libraries.
29208         * elf/tst-nodelete2.c: New file.
29209         * elf/tst-nodelete2mod.c: Likewise.
29210         * elf/tst-znodelete-zlib.cc: Delete.
29212 2015-08-11  Andreas Schwab  <schwab@suse.de>
29214         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
29215         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
29216         (__openat64_nocancel): Likewise.
29218 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
29220         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
29221         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
29222         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
29223         * math/auto-libm-test-out: Regenerated.
29224         * sysdeps/i386/fpu/libm-test-ulps: Update.
29225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29227 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
29229         [BZ #18790]
29230         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
29231         threshold for returning +/- 1.
29232         * math/auto-libm-test-in: Add more tests of tanh.
29233         * math/auto-libm-test-out: Regenerated.
29234         * sysdeps/i386/fpu/libm-test-ulps: Update.
29236 2015-08-10  Andreas Schwab  <schwab@suse.de>
29238         [BZ #18781]
29239         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
29240         MORE_OFLAGS to oflag.
29241         * io/test-lfs.c (do_test): Test openat64.
29243 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
29245         [BZ #18789]
29246         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
29247         smaller threshold for returning the argument.
29248         * math/auto-libm-test-in: Add more tests of sinh.
29249         * math/auto-libm-test-out: Regenerated.
29250         * sysdeps/i386/fpu/libm-test-ulps: Update.
29252 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
29254         [BZ #18674]
29255         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
29256         break.
29258 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
29260         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
29261         (generated): Don't add $(addprefix z.,$(tzfiles)).
29263 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
29265         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
29266         * scripts/sysd-rules.awk: Likewise.
29268 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
29270         * iconvdata/tst-tables.sh: Change echo -n to printf.
29271         * nss/db-Makefile: Likewise.
29272         * posix/tst-getconf.sh: Likewise.
29273         * stdio-common/tst-unbputc.sh: Likewise.
29275 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
29277         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
29278         MADV_*_PAGES defines behind this feature check.
29280 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
29282         [BZ #18480]
29283         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
29284         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
29285         Define.
29286         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
29287         LOAD_REGS_5, LOAD_REGS_6): Update.
29288         (INTERNAL_SYSCALL): Update using new LOAD defines.
29289         (INTERNAL_SYSCALL_NCS): Likewise.
29290         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
29292 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
29294         [BZ #16734]
29295         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
29297 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
29299         [BZ #17905]
29300         * catgets/Makefile (tst-catgets-mem): New test.
29301         * catgets/catgets.c (catopen): Don't use unbounded alloca.
29302         * catgets/open_catalog.c (__open_catalog): Likewise.
29303         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
29305 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
29307         [BZ #18787]
29308         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
29309         clobber registers.
29310         (atomic_compare_and_exchange_val_acq): Use register asms to assign
29311         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
29312         Cast return to __typeof (oldval).
29314 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
29316         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
29317         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
29318         and delete sys/syscall.h include.
29320 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
29322         [BZ #16517]
29323         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
29324         (tan): Force underflow exception for arguments with small absolute
29325         value.
29326         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
29327         (__kernel_tanf): Force underflow exception for arguments with
29328         small absolute value.
29329         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
29330         (__kernel_tanl): Force underflow exception for arguments with
29331         small absolute value.
29332         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
29333         (__kernel_tanl): Force underflow exception for arguments with
29334         small absolute value.
29335         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
29336         (__kernel_tanl): Force underflow exception for arguments with
29337         small absolute value.
29338         * math/auto-libm-test-in: Add more tests of tan.
29339         * math/auto-libm-test-out: Regenerated.
29341 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29343         Fix sysdeps/i386/fpu/s_scalbn.S build
29345         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
29347 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
29349         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
29351 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29353         Fix gcrt0.o compilation
29355         When static-start-installed-name is different from
29356         start-installed-name, we must not use the shared objects.
29358         * csu/Makefile
29359         (extra-objs): Add gmon-start.o when building shared library and
29360         $(static-start-installed-name) is different from
29361         $(start-installed-name).
29362         $(objpfx)g$(static-start-installed-name): When building shared
29363         library and $(static-start-installed-name) is different from
29364         $(static-start-installed-name), revert to non-shared rule,
29365         i.e. using $(objpfx)% and gmon-start.o.
29367 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
29369         [BZ #16519]
29370         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
29371         (__ieee754_sinh): Force underflow exception for arguments with
29372         small absolute value.
29373         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
29374         (__ieee754_sinhf): Force underflow exception for arguments with
29375         small absolute value.
29376         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
29377         (__ieee754_sinhl): Force underflow exception for arguments with
29378         small absolute value.
29379         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
29380         (__ieee754_sinhl): Force underflow exception for arguments with
29381         small absolute value.
29382         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
29383         (__ieee754_sinhl): Force underflow exception for arguments with
29384         small absolute value.
29385         * math/auto-libm-test-in: Add more tests of sinh.
29386         * math/auto-libm-test-out: Regenerated.
29387         * sysdeps/i386/fpu/libm-test-ulps: Update.
29389 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
29391         * libio/oldfileops.c: Include unistd.h.
29393 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
29395         * stdlib/isomac.c: Include ctype.h.
29397 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
29399         * dirent/tst-seekdir.c (main): Converted to ...
29400         (do_test): ... this.
29401         (TEST_FUNCTION): New macro.
29402         Include test-skeleton.c.
29403         * elf/tst-dlmodcount.c (main): Converted to ...
29404         (do_test): ... this.
29405         (TEST_FUNCTION): New macro.
29406         Include test-skeleton.c.
29407         * elf/tst-order-main.c (main): Converted to ...
29408         (do_test): ... this.
29409         (TEST_FUNCTION): New macro.
29410         Include test-skeleton.c.
29411         * elf/tst-pie2.c (main): Converted to ...
29412         (do_test): ... this.
29413         (TEST_FUNCTION): New macro.
29414         Include test-skeleton.c.
29415         * inet/tst-ether_aton.c (main): Converted to ...
29416         (do_test): ... this.
29417         (TEST_FUNCTION): New macro.
29418         Include test-skeleton.c.
29419         * misc/tst-mntent.c (main): Converted to ...
29420         (do_test): ... this.
29421         (TEST_FUNCTION): New macro.
29422         Include test-skeleton.c.
29423         * misc/tst-tsearch.c (main): Converted to ...
29424         (do_test): ... this.
29425         (TEST_FUNCTION): New macro.
29426         Include test-skeleton.c.
29427         * posix/tst-regexloc.c (main): Converted to ...
29428         (do_test): ... this.
29429         (TEST_FUNCTION): New macro.
29430         Include test-skeleton.c.
29431         * resolv/tst-aton.c (main): Converted to ...
29432         (do_test): ... this.
29433         (TEST_FUNCTION): New macro.
29434         Include test-skeleton.c.
29435         * stdio-common/test-fwrite.c (main): Converted to ...
29436         (do_test): ... this.
29437         (TEST_FUNCTION): New macro.
29438         Include test-skeleton.c.
29439         * stdio-common/tst-ferror.c (main): Converted to ...
29440         (do_test): ... this.
29441         (TEST_FUNCTION): New macro.
29442         Include test-skeleton.c.
29443         * stdio-common/tst-printf.c (main): Converted to ...
29444         (do_test): ... this.
29445         (TEST_FUNCTION): New macro.
29446         Include test-skeleton.c.
29447         * stdio-common/tst-printfsz.c (main): Converted to ...
29448         (do_test): ... this.
29449         (TEST_FUNCTION): New macro.
29450         Include test-skeleton.c.
29451         * stdlib/tst-strtod.c (main): Converted to ...
29452         (do_test): ... this.
29453         (TEST_FUNCTION): New macro.
29454         Include test-skeleton.c.
29455         * string/tst-strlen.c (main): Converted to ...
29456         (do_test): ... this.
29457         (TEST_FUNCTION): New macro.
29458         Include test-skeleton.c.
29459         * string/tst-svc.c (main): Converted to ...
29460         (do_test): ... this.
29461         (TEST_FUNCTION): New macro.
29462         Include test-skeleton.c.
29463         * time/tst-strptime.c (main): Converted to ...
29464         (do_test): ... this.
29465         (TEST_FUNCTION): New macro.
29466         Include test-skeleton.c.
29467         * timezone/tst-timezone.c (main): Converted to ...
29468         (do_test): ... this.
29469         (TEST_FUNCTION): New macro.
29470         Include test-skeleton.c.
29472 2015-08-05  Zack Weinberg  <zackw@panix.com>
29474         * misc/regexp.h: Update comments.
29476 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
29478         [BZ #18635]
29479         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
29480         before return label.
29482 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
29484         [BZ #18661]
29485         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
29486         when calling __errno_location.
29487         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
29488         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
29490 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
29492         [BZ #18661]
29493         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
29494         (__lll_timedwait_tid): Align stack to 16 bytes when calling
29495         __gettimeofday.
29497 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
29499         [BZ #18661]
29500         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29501         (__start_context): Don't use pop to restore %rdi so that stack
29502         is aligned to 16 bytes when calling __setcontext.
29504 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
29506         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
29507         only for libc.
29508         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
29510 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
29512         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
29513         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
29514         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
29516 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
29518         * string/memccpy.c (memccpy):
29519         Improve performance by using memchr/memcpy/__mempcpy.
29521 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
29523         * string/strncpy.c (strncpy):
29524         Improve performance by using __strnlen/memcpy.
29526 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
29528         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
29529         Optimize to avoid an unnecessary FPCR read.
29531 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
29533         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
29534         Optimize to reduce FPCR/FPSR accesses.
29536 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
29538         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
29539         dead->data[category] != NULL.
29541 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
29543         [BZ #18647]
29544         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
29545         and |x| close to 1, use absolute value of x when computing log.
29546         * math/auto-libm-test-in: Add more tests of pow.
29547         * math/auto-libm-test-out: Regenerated.
29549 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29551         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
29552         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
29553         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
29555 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
29557         [BZ #18525]
29558         * locales/km_KH: Remove timezone definition.
29559         * locales/lo_LA: Likewise.
29560         * locales/my_MM: Likewise.
29561         * locales/nan_TW@latin: Likewise.
29562         * locales/th_TH: Likewise.
29563         * locales/uk_UA: Likewise.
29565 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
29567         [BZ #18265]
29568         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
29569         (wcsncat): Likewise.
29570         (wcscmp): Likewise.
29571         (wcsncmp): Likewise.
29573 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
29575         * test-skeleton.c (usage): New function.
29576         (main): Call usage when opt is '?'.
29578 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
29580         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
29581         before first use.
29583 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
29585         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
29586         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
29587         in there too.
29589 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
29591         * version.h (RELEASE): Set to "development".
29592         (VERSION): Set to "2.22.90"
29594         * version.h (RELEASE): Set to "stable".
29595         (VERSION): Set to "2.22"
29596         * include/features.h (__GLIBC_MINOR__): Set to 22.
29598 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
29600         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
29601         Restructure macro to avoid "value computed is not used" warning.
29602         (atomic_compare_and_exchange_val_acq): Likewise.
29604 2015-08-04  Andreas Schwab  <schwab@suse.de>
29606         [BZ #18635]
29607         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
29608         ret.
29609         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
29611 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
29613         * po/pl.po: Updated translation.
29614         * po/uk.po: Likewise.
29615         * po/fi.po: Likewise.
29616         * po/ko.po: Likewise.
29617         * po/ru.po: Likewise.
29618         * po/vi.po: Likewise.
29620 2015-07-31  Zack Weinberg  <zackw@panix.com>
29622         [BZ #18681]
29623         * regexp.h: Add unconditional #warning stating that this header
29624         will be removed soon.  Revise banner comment to match.
29625         (compile): Consistently use ERROR instead of RETURN to report
29626         errors (partial fix for BZ #18681).
29627         * regexp.c: Don't include regexp.h. Remove some unnecessary
29628         declarations.
29630 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
29632         * po/libc.pot: Regenerated.
29634 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
29636         [BZ #18740]
29637         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
29638         float-vlen4-arch-ext-cflags): Removed.
29639         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
29640         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
29642 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
29644         [BZ #14113]
29645         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
29646         aligned to __aligned__.
29647         (pthread_cond_t, pthread_rwlock_t): Likewise.
29649 2015-07-30  Torvald Riegel  <triegel@redhat.com>
29651         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
29653 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
29655         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
29656         (struct sigaction): Change sa_flags from a long to an int, and add
29657         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
29659 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
29661         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
29662         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
29663         sysdeps/generic/sysdep.h include.
29664         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
29665         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
29666         sysdeps/hppa/sysdep.h.
29667         (ENTRY, PSEUDO): Undefine before defining.
29669 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
29671         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
29672         from scratch to use INTERNAL_SYSCALL.
29674 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
29676         [BZ #18078]
29677         * scripts/check-localplt.awk: Support alternate relocations.
29678         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
29679         sections.
29680         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
29681         malloc entries with + REL R_386_GLOB_DAT.
29682         * sysdeps/x86_64/localplt.data: New file.
29684 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
29686         [BZ #18731]
29687         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
29688         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29689         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29691 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
29693         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
29695 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
29697         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
29698         directly in terms of __sync_fetch_and_add and delete (int) cast.
29700 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
29702         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
29703         the -D_ASM_IA64_CURRENT_H flag.
29705 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
29707         [BZ #18641]
29708         * pwd/pwd.h (putpwent): Delete __nonnull markings.
29710 2015-07-27  Andreas Schwab  <schwab@suse.de>
29712         * conform/conformtest.pl (checknamespace): Filter out string
29713         literals while tokenizing.
29715 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
29717         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
29718         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
29719         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
29721 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
29723         * nptl/tst-join7mod.c: Add #include <string.h>.
29725 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
29727         * sysdeps/nios2/libm-test-ulps: Update.
29729 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
29731         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
29732         Fix order of arguments to the rt_sigprocmask syscall.
29733         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
29734         Likewise.
29736 2015-07-24  Roland McGrath  <roland@hack.frob.com>
29738         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
29740 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29742         [BZ #18457]
29743         * nptl/Makefile (tests): New test case tst-join7.
29744         (modules-names): New test case module tst-join7mod.
29745         * nptl/tst-join7.c: New file.
29746         * nptl/tst-join7mod.c: New file.
29747         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
29748         all translation units in libc.so, libpthread.so and rtld.
29750 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29752         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29754 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
29756         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
29757         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
29758         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
29759         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
29760         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
29761         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
29762         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
29763         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
29764         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
29765         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
29766         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
29767         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
29768         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
29769         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
29770         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
29771         implementation.
29773 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29775         [BZ #17711]
29776         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
29777         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
29778         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
29779         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
29780         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
29781         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
29783 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29785         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
29786         instead of just saying load lock in the comments.
29788 2015-07-23  Roland McGrath  <roland@hack.frob.com>
29790         * sysdeps/unix/Subdirs: Moved ...
29791         * sysdeps/posix/Subdirs: ... here.
29792         * login/pty.h (struct termios, struct winsize): Add forward decls.
29793         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
29794         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
29795         * sysdeps/arm/nacl/libc.abilist: Updated.
29796         * sysdeps/nacl/libutil.abilist: New file.
29798         * bits/signum.h: Update comments to mention 1003.1-2013 too.
29799         (SIGWINCH): New macro.
29801         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
29802         * sysdeps/arm/nacl/libc.abilist: Add it.
29804 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
29806         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
29808 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
29810         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
29811         Swap __glibc_reserved0 and sa_flags order.
29813 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
29815         [BZ #18657]
29816         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
29817         are pending TLS destructor calls.
29818         * include/link.h (struct link_map): Add concurrency note for
29819         L_TLS_DTOR_COUNT.
29820         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
29821         Don't touch the link map flag.  Atomically increment
29822         l_tls_dtor_count.
29823         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
29824         Avoid taking the load lock and don't touch the link map flag.
29825         * stdlib/tst-tls-atexit-nodelete.c: New test case.
29826         * stdlib/Makefile (tests): Use it.
29827         * stdlib/tst-tls-atexit.c (do_test): dlopen
29828         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
29829         to allow tst-tls-atexit-nodelete test case to use it.
29831 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
29833         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
29834         to bits/types.h.
29835         (msgqnum_t): New typedef.
29836         (msglen_t): Likewise.
29837         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
29838         and msg_qbytes type to msglen_t.
29840 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
29842         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
29843         pad0 to __glibc_reserved0.
29844         (struct stat64): Likewise.
29846 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
29848         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
29849         Change sa_flags from a long to an int and add __glibc_reserved0 before
29850         it for padding.
29852 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
29854         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
29855         anonymous by deleting "siginfo" name.
29857 2015-07-21  Roland McGrath  <roland@hack.frob.com>
29859         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
29860         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
29861         rather than __nacl_irt_filename.
29862         * sysdeps/nacl/xstat.c (__xstat): Likewise.
29864         * NEWS: New item for arm-nacl port.
29865         * sysdeps/arm/nacl/libc.abilist: New file.
29866         * sysdeps/nacl/ld.abilist: New file.
29867         * sysdeps/nacl/libBrokenLocale.abilist: New file.
29868         * sysdeps/nacl/libanl.abilist: New file.
29869         * sysdeps/nacl/libcrypt.abilist: New file.
29870         * sysdeps/nacl/libdl.abilist: New file.
29871         * sysdeps/nacl/libm.abilist: New file.
29872         * sysdeps/nacl/libpthread.abilist: New file.
29873         * sysdeps/nacl/libresolv.abilist: New file.
29874         * sysdeps/nacl/librt.abilist: New file.
29876 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
29878         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
29879         __startcontext to initialize the new context.
29880         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
29881         up CFI directive to forbid further backtracing.
29883 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
29885         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
29886         reference.
29887         * charmaps/ANSI_X3.4-1968: Likewise.
29888         * charmaps/BS_4730: Likewise.
29889         * charmaps/BS_VIEWDATA: Likewise.
29890         * charmaps/CP1250: Likewise.
29891         * charmaps/CP1251: Likewise.
29892         * charmaps/CP1252: Likewise.
29893         * charmaps/CP1253: Likewise.
29894         * charmaps/CP1254: Likewise.
29895         * charmaps/CP1255: Likewise.
29896         * charmaps/CP1256: Likewise.
29897         * charmaps/CSN_369103: Likewise.
29898         * charmaps/EBCDIC-DK-NO: Likewise.
29899         * charmaps/GB_1988-80: Likewise.
29900         * charmaps/GREEK-CCITT: Likewise.
29901         * charmaps/GREEK7: Likewise.
29902         * charmaps/INIS-8: Likewise.
29903         * charmaps/ISIRI-3342: Likewise.
29904         * charmaps/ISO_2033-1983: Likewise.
29905         * charmaps/ISO_5427-EXT: Likewise.
29906         * locales/POSIX: Likewise.
29907         * locales/ar_SA: Likewise.
29908         * locales/be_BY: Likewise.
29909         * locales/be_BY@latin: Likewise.
29910         * locales/ca_ES: Likewise.
29911         * locales/cs_CZ: Likewise.
29912         * locales/da_DK: Likewise.
29913         * locales/de_BE: Likewise.
29914         * locales/de_CH: Likewise.
29915         * locales/de_LU: Likewise.
29916         * locales/en_AU: Likewise.
29917         * locales/en_BW: Likewise.
29918         * locales/en_CA: Likewise.
29919         * locales/en_DK: Likewise.
29920         * locales/en_GB: Likewise.
29921         * locales/en_IE: Likewise.
29922         * locales/en_NZ: Likewise.
29923         * locales/en_ZA: Likewise.
29924         * locales/en_ZW: Likewise.
29925         * locales/es_AR: Likewise.
29926         * locales/es_BO: Likewise.
29927         * locales/es_CL: Likewise.
29928         * locales/es_CO: Likewise.
29929         * locales/es_DO: Likewise.
29930         * locales/es_EC: Likewise.
29931         * locales/es_ES: Likewise.
29932         * locales/es_HN: Likewise.
29933         * locales/es_MX: Likewise.
29934         * locales/es_PA: Likewise.
29935         * locales/es_PE: Likewise.
29936         * locales/es_PY: Likewise.
29937         * locales/es_SV: Likewise.
29938         * locales/es_US: Likewise.
29939         * locales/es_UY: Likewise.
29940         * locales/es_VE: Likewise.
29941         * locales/et_EE: Likewise.
29942         * locales/fa_IR: Likewise.
29943         * locales/fo_FO: Likewise.
29944         * locales/fr_CA: Likewise.
29945         * locales/fr_CH: Likewise.
29946         * locales/gv_GB: Likewise.
29947         * locales/he_IL: Likewise.
29948         * locales/hr_HR: Likewise.
29949         * locales/id_ID: Likewise.
29950         * locales/is_IS: Likewise.
29951         * locales/it_CH: Likewise.
29952         * locales/iw_IL: Likewise.
29953         * locales/kl_GL: Likewise.
29954         * locales/ko_KR: Likewise.
29955         * locales/kw_GB: Likewise.
29956         * locales/lg_UG: Likewise.
29957         * locales/lt_LT: Likewise.
29958         * locales/lv_LV: Likewise.
29959         * locales/mi_NZ: Likewise.
29960         * locales/nhn_MX: Likewise.
29961         * locales/nl_BE: Likewise.
29962         * locales/pl_PL: Likewise.
29963         * locales/sk_SK: Likewise.
29964         * locales/sl_SI: Likewise.
29965         * locales/sv_FI: Likewise.
29966         * locales/tl_PH: Likewise.
29967         * locales/tr_TR: Likewise.
29968         * locales/vi_VN: Likewise.
29970 2015-07-21  Khem Raj  <raj.khem@gmail.com>
29972         [BZ #17475]
29973         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
29974         of tu_IN and bh_IN.
29976 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
29978         [BZ #18694]
29979         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
29980         bits/wordsize.h.
29981         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
29983 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29985         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
29986         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
29987         (spawn_thread): New function.
29988         (load): Rename to reg_dtor_and_close.  Move dlopen to...
29989         (do_test): ... here.  Use IS_LOADED to test for its
29990         availability.
29992 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
29994         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
29996 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
29998         [BZ #18696]
29999         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
30000         si_addr_bnd.
30001         (si_lower): New.
30002         (si_upper): Likewise.
30004 2015-07-16  David S. Miller  <davem@davemloft.net>
30006         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
30008 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30010         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
30011         buffer.
30012         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
30013         fail output information.
30015 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30017         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
30018         and strstr-ppc64..
30019         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
30020         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
30021         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
30022         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
30023         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
30025 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
30027         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
30028         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
30029         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
30030         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
30032 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
30034         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
30035         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
30036         rtld_hidden_proto.
30037         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
30039 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30041         * tst-nodelete-opened.c (do_test): Add comment to clarify how
30042         the test can fail.
30044         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
30046         [BZ #18676]
30047         * elf/tst-nodelete-opened.c: New test case.
30048         * elf/tst-nodelete-opened-lib.c: New test case module.
30049         * elf/Makefile (tests, modules-names): Use them.
30050         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
30051         early.
30053 2015-07-15  David S. Miller  <davem@davemloft.net>
30055         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
30056         futex-intenal.h
30057         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
30058         * sysdeps/sparc/sparc64/Makefile: Likewise.
30059         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
30060         Remove space from macro define.
30061         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
30063 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
30065         [BZ #17475]
30066         * locale/iso-639.def: Update Bhili and Tulu language codes as
30067         per iso639-3.
30069 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
30071         * elf/tst-leaks1.c (main): Converted to ...
30072         (do_test): ... this.
30073         (TEST_FUNCTION): New macro.
30074         Include test-skeleton.c.
30075         * localedata/tst-langinfo.c (main): Converted to ...
30076         (do_test): ... this.
30077         (TEST_FUNCTION): New macro.
30078         Include test-skeleton.c.
30079         * math/test-fpucw.c (main): Converted to ...
30080         (do_test): ... this.
30081         (TEST_FUNCTION): New macro.
30082         Include test-skeleton.c.
30083         * math/test-tgmath.c (main): Converted to ...
30084         (do_test): ... this.
30085         (TEST_FUNCTION): New macro.
30086         Include test-skeleton.c.
30087         * math/test-tgmath2.c (main): Converted to ...
30088         (do_test): ... this.
30089         (TEST_FUNCTION): New macro.
30090         Include test-skeleton.c.
30091         * setjmp/tst-setjmp.c (main): Converted to ...
30092         (do_test): ... this.
30093         (TEST_FUNCTION): New macro.
30094         Include test-skeleton.c.
30095         * stdio-common/tst-sscanf.c (main): Converted to ...
30096         (do_test): ... this.
30097         (TEST_FUNCTION): New macro.
30098         Include test-skeleton.c.
30099         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
30100         (do_test): ... this.
30101         (TEST_FUNCTION): New macro.
30102         Include test-skeleton.c.
30104         * elf/tst-audit9.c (main): Converted to ...
30105         (do_test): ... this.
30106         (TEST_FUNCTION): New macro.
30107         Include test-skeleton.c.
30109 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
30111         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
30113 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
30115         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
30116         New variable.
30118 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
30120         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
30122 2015-07-14  Roland McGrath  <roland@hack.frob.com>
30124         * sysdeps/generic/dl-fileid.h: New file.
30125         * sysdeps/posix/dl-fileid.h: New file.
30126         * sysdeps/nacl/dl-fileid.h: New file.
30127         * include/link.h: Include <dl-fileid.h>.
30128         (struct link_map): Replace l_dev and l_ino with l_file_id.
30129         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
30130         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
30131         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
30133 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30135         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
30137 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30139         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
30140         Add iff $CXX is set.
30141         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
30142         Likewise.
30143         (tst-nodelete-zmodiff): Likewise.
30144         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
30146 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30148         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
30150 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
30152         * sysdeps/aarch64/fpu/math_private.h
30153         (define math_opt_barrier): Add AArch64 version.
30154         (math_force_eval): Likewise.
30156 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
30158         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
30160 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
30162         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
30163         %ld with %jd and cast to intmax_t.
30164         (do_test_length_zero): Likewise.
30166 2015-07-10  Roland McGrath  <roland@hack.frob.com>
30168         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
30170 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
30172         * sysdeps/tile/libm-test-ulps: Regenerated.
30174         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
30175         Comment out the whole function, not just its body.
30177 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30179         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
30180         locks.
30182         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
30184 2015-07-10  Torvald Riegel  <triegel@redhat.com>
30186         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
30187         (sem_assume_only_signals_cause_futex_EINTR): Remove.
30189 2015-07-10  Torvald Riegel  <triegel@redhat.com>
30191         * sysdeps/nptl/futex-internal.h: New file.
30192         * sysdeps/nacl/futex-internal.h: New file.
30193         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
30194         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
30195         error checking.
30196         (setxid_unmark_thread): Likewise.
30197         (__nptl_setxid): Likewise.
30198         (__wait_lookup_done): Likewise.
30199         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
30200         * nptl/nptl-init.c (sighandler_setxid): Likewise.
30201         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
30202         * nptl/pthread_once.c (clear_once_control): Likewise.
30203         (__pthread_once_slow): Likewise.
30204         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
30205         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
30206         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
30207         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
30208         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
30209         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
30210         Likewise.
30211         (__pthread_rwlock_rdlock): Likewise.
30212         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
30213         Likewise.
30214         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
30215         Likewise.
30216         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
30217         Likewise.
30218         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
30219         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
30220         Likewise.
30221         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
30222         __ASSUME_PRIVATE_FUTEX check.
30223         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
30224         Check that shared futexes are supported.
30225         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
30226         wrappers with error checking.
30227         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
30228         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
30229         * nptl/pthread_barrierattr_setpshared.c
30230         (pthread_barrierattr_setpshared): Check that shared futexes are
30231         supported.
30232         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
30233         Likewise.
30234         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
30235         Likewise.
30236         * nptl/sem_init.c (futex_private_if_supported): Remove.
30237         (__new_sem_init): Adapt and check that shared futexes are supported.
30238         * nptl/sem_open.c (sem_open): Likewise.
30239         * nptl/sem_post.c (futex_wake): Remove.
30240         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
30241         (do_futex_wait): Use futex wrappers with error checking.
30242         * nptl/sem_wait.c: Include lowlevellock.h.
30243         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
30244         Use futex_supports_pshared.
30245         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
30246         Use futex wrappers with error checking.
30247         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
30248         Likewise.
30249         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
30250         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
30251         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
30252         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
30253         (futex_wake): Likewise.
30254         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
30255         (do_futex_wait): Use futex wrappers with error checking.
30256         (__new_sem_wait_slow): Update EINTR handling.
30257         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
30259 2015-07-09  Martin Sebor  <msebor@redhat.com>
30261         [BZ #18435]
30262         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
30263         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
30264         * nptl/Makefile (test-xfail-tst-once5): Define.
30266 2015-07-09  Roland McGrath  <roland@hack.frob.com>
30268         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
30269         * elf/dl-minimal.c: For readability, reorder some definitions and
30270         introduce more page breaks.  Include <stdio.h>.
30271         (__libc_fatal): New function.
30273         * include/unistd.h: Add rtld_hidden_proto for _exit.
30274         * posix/_exit.c: Add rtld_hidden_def.
30275         * sysdeps/mach/hurd/_exit.c: Likewise.
30276         * sysdeps/nacl/_exit.c: Likewise.
30277         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
30278         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
30280 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
30282         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
30283         bndmov encoding with zero displacement.
30285 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
30286             H.J. Lu  <hongjiu.lu@intel.com>
30288         [BZ #18134]
30289         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
30290         * sysdeps/i386/configure: Regenerated.
30291         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
30292         (_dl_runtime_profile): Save and restore Intel MPX return bound
30293         registers when calling _dl_call_pltexit.  Add
30294         PRESERVE_BND_REGS_PREFIX before return.
30295         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
30296         (LRV_BND1_OFFSET): Likewise.
30297         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
30298         lrv_bnd1.
30299         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
30300         typo in bndmov encoding.
30301         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
30302         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
30303         branch instructions to preserve bounds.
30305 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
30308         [GLIBC_2.22]: Add fmemopen.
30310 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30312         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
30313         returns an error, also try to use host port from __mach_host_self for
30314         the __vm_wire call.
30315         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
30317 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30319         [BZ #18400]
30320         [BZ #18648]
30321         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
30322         Fix pr_uid and pr_gid members.
30323         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
30324         definition to elf_greg_t.
30326 2015-07-08  Roland McGrath  <roland@hack.frob.com>
30328         [BZ #18383]
30329         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
30330         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
30331         * sysdeps/arm/configure: Regenerated.
30332         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
30333         (test-xfail-tst-tlsalign-static): Variable removed.
30335         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
30336         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
30337         rather than explicit 'ln -s'.
30339         * resolv/rpc/netdb.h: New file.
30340         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
30342 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30344         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
30345         length buffers.
30346         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
30347         test-skeleton.c.
30349         [BZ #6544]
30350         [BZ #11216]
30351         [BZ #12836]
30352         [BZ #13151]
30353         [BZ #13152]
30354         [BZ #14292]
30355         * include/stdio.h (fmemopen): Remove hidden prototype.
30356         (__fmemopen): Add new hidden prototype.
30357         * libio/Makefile: Add oldfmemopen object.
30358         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
30359         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
30360         compliance.
30361         * libio/oldfmemopen.c: New file: old fmemopen implementation for
30362         symbol compatibility.
30363         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
30364         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
30365         fmemopen.
30366         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
30367         on append and read mode.
30368         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
30369         fmemopen.
30370         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
30371         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
30372         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
30373         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
30374         Likewise.
30375         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
30376         [GLIBC_2.22]: Likewise.
30377         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
30378         Likewise.
30379         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
30380         Likewise.
30381         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
30382         [GLIBC_2.22]: Likewise.
30383         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
30384         [GLIBC_2.22]: Likewise.
30385         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
30386         [GLIBC_2.22]: Likewise.
30387         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
30388         [GLIBC_2.22]: Likewise.
30389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
30390         [GLIBC_2.22]: Likewise.
30391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
30392         [GLIBC_2.22]: Likewise.
30393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
30394         [GLIBC_2.22]: Likewise.
30395         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
30396         Likewise.
30397         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
30398         Likewise.
30399         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
30400         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
30401         [GLIBC_2.22]: Likewise.
30402         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
30403         [GLIBC_2.22]: Likewise.
30404         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
30405         [GLIBC_2.22]: Likewise.
30406         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
30407         [GLIBC_2.22]: Likewise.
30408         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
30409         Likewise.
30410         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
30411         Likewise.
30412         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
30413         Likewise.
30414         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
30415         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
30417 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
30419         [BZ #18643]
30420         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
30421         IPV6_PATHMTU, and IPV6_DONTFRAG.
30423 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
30425         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
30426         and _IO_UNBUFFERED.
30427         * libio/oldfileops.c: Likewise.
30428         * libio/wfileops.c: Likewise.
30430 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
30432         * nscd/selinux.c: Delete selinux/flask.h include.
30434 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
30436         [BZ #18641]
30437         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
30438         (putpwent): Likewise.
30439         (getpwnam): Likewise.
30440         (getpwent_r): Likewise.
30441         (getpwuid_r): Likewise.
30442         (getpwnam_r): Likewise.
30443         (fgetpwent_r): Likewise.
30445 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
30447         [BZ #18557]
30448         * inet/rcmd.c (__validuser2_sa): Check user first to
30449         short-circuit host check.
30451 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
30452             Mikhail Ilin  <m.ilin@samsung.com>
30454         [BZ #17833]
30455         * elf/Makefile (tests): Add tst-nodelete.
30456         (modules-names): Add tst-nodelete-uniquemod.
30457         (tst-nodelete-uniquemod.so-no-z-defs): New.
30458         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
30459         (tst-nodelete-zmod.so-no-z-defs): Likewise.
30460         ($(objpfx)tst-nodelete): Likewise.
30461         ($(objpfx)tst-nodelete.out): Likewise.
30462         (LDFLAGS-tst-nodelete): Likewise.
30463         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
30464         * elf/dl-close.c (_dl_close_worker): Add a parameter to
30465         implement forced object deletion.
30466         (_dl_close): Pass false to _dl_close_worker.
30467         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
30468         * elf/tst-nodelete.cc: New file.
30469         * elf/tst-nodeletelib.cc: Likewise.
30470         * elf/tst-znodeletelib.cc: Likewise.
30471         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
30473 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
30475         [BZ #18508]
30476         * stdlib/Makefile ($(objpfx)tst-makecontext3):
30477         Depend on $(libdl).
30478         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
30479         is not called infinitely times.
30480         (backtrace_helper): New function.
30481         (trace_arg): New struct.
30482         (st1): Enlarge stack size.
30483         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30484         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
30485         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30486         Likewise.
30488 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
30490         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
30492 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
30494         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
30495         Include sys/types.h instead of bits/types.h.
30496         Remove inclusion of bits/wordsize.h.
30498 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
30500         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
30501         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
30502         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
30503         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
30504         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
30505         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
30507 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
30509         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
30510         link-defines.sym.
30511         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
30512         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
30513         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
30514         and LR_SIZE.
30515         * sysdeps/i386/link-defines.sym: New file.
30517 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
30519         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
30520         (modules-names): Add tst-auditmod3a tst-auditmod3b.
30521         ($(objpfx)tst-audit3): New rule.
30522         ($(objpfx)tst-audit3.out): Likewise.
30523         * sysdeps/i386/tst-audit3.c: New file.
30524         * sysdeps/i386/tst-audit3.h: Likewise.
30525         * sysdeps/i386/tst-auditmod3a.c: Likewise.
30526         * sysdeps/i386/tst-auditmod3b.c: Likewise.
30528 2015-07-07  Torvald Riegel  <triegel@redhat.com>
30530         [BZ #18633]
30531         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
30532         pointer in C code.
30533         (__strcat_c): Likewise.
30534         (__strcat_g): Likewise.
30536 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
30538         [BZ #18592]
30539         * misc/sbrk.c: Set errno to ENOMEM on overflow.
30541 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
30543         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
30544         New function.  (__ieee754_sqrtf): New function.
30545         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
30546         New function.
30547         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
30548         New function.
30550 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
30552         * sysdeps/ieee754/support.c: Remove unused file.
30554 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30556         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
30557         registers instead of d ones so the layout is kernel abi compatible.
30558         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
30559         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
30560         Likewise.
30562 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30564         * sysdeps/aarch64/libm-test-ulps: Regenerated.
30566 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
30568         [BZ #18619]
30569         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
30570         and return argument in case of subnormal argument.
30572 2015-07-01  Martin Sebor  <msebor@redhat.com>
30574         [BZ #18435]
30575         * nptl/Makefile: Add tst-once5.cc.
30576         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
30577         Remove macro redefinitions.
30578         * nptl/tst-once5.cc: New test.
30580 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
30582         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
30584         * sysdeps/arm/libm-test-ulps: Regenerated.
30586         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
30587         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30589 2015-06-30  Torvald Riegel  <triegel@redhat.com>
30591         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
30592         lll_lock_wait_private and lll_futex_wake probes.
30594         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
30595         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
30596         Likewise.
30597         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
30598         atomic_spin_nop.
30599         * sysdeps/x86_64/bits/atomic.h: Likewise.
30600         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
30601         to atomic_spin_nop and move ...
30602         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
30603         ... here and ...
30604         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
30605         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
30606         atomic_spin_nop instead of BUSY_WAIT_NOP.
30607         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
30608         Likewise.
30609         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
30610         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
30611         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
30612         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
30613         instead of atomic_delay.
30615 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
30617         [BZ #18613]
30618         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
30619         X_ADJ not X when adjusting exponent.
30620         (__ieee754_gamma_r): Do intermediate computations in
30621         round-to-nearest then adjust overflowing and underflowing results
30622         as needed.
30623         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
30624         of X_ADJ not X when adjusting exponent.
30625         (__ieee754_gammaf_r): Do intermediate computations in
30626         round-to-nearest then adjust overflowing and underflowing results
30627         as needed.
30628         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
30629         log of X_ADJ not X when adjusting exponent.
30630         (__ieee754_gammal_r): Do intermediate computations in
30631         round-to-nearest then adjust overflowing and underflowing results
30632         as needed.  Use 1.0L not 1.0f as numerator of division.
30633         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
30634         log of X_ADJ not X when adjusting exponent.
30635         (__ieee754_gammal_r): Do intermediate computations in
30636         round-to-nearest then adjust overflowing and underflowing results
30637         as needed.  Use 1.0L not 1.0f as numerator of division.
30638         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
30639         of X_ADJ not X when adjusting exponent.
30640         (__ieee754_gammal_r): Do intermediate computations in
30641         round-to-nearest then adjust overflowing and underflowing results
30642         as needed.  Use 1.0L not 1.0f as numerator of division.
30643         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
30644         to auto-libm-test-in.
30645         (tgamma_test): Use ALL_RM_TEST.
30646         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
30647         tests of tgamma with spurious-overflow.
30648         * math/auto-libm-test-out: Regenerated.
30649         * math/gen-libm-have-vector-test.sh: Do not check for START.
30650         * sysdeps/i386/fpu/libm-test-ulps: Update.
30651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30653         [BZ #18612]
30654         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
30655         arguments, just return 0.5 times the argument, with underflow
30656         forced as needed.
30657         * math/auto-libm-test-in: Add more tests of j1.
30658         * math/auto-libm-test-out: Regenerated.
30660         [BZ #16559]
30661         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
30662         (__ieee754_j1): Force underflow exception for small results.
30663         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
30664         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
30665         (__ieee754_j1f): Force underflow exception for small results.
30666         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
30667         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
30668         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
30669         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
30670         (__ieee754_j1l): Force underflow exception for small results.
30671         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
30672         * math/auto-libm-test-in: Add more tests of j1 and jn.
30673         * math/auto-libm-test-out: Regenerated.
30675         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
30676         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
30677         (PF_MPLS): Likewise.
30678         (AF_IB): Likewise.
30679         (AF_MPLS): Likewise.
30680         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
30681         value and macro.
30682         (MS_RMT_MASK): Include MS_LAZYTIME.
30684 2015-06-26  Mel Gorman  <mgorman@suse.de>
30686         [BZ #18502]
30687         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
30688         already minimal.
30690 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
30692         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
30693         (DT_MIPS_NUM): Update.
30694         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
30695         DT_MIPS_RLD_MAP_REL.
30697 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
30699         [BZ #16559]
30700         [BZ #18602]
30701         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
30702         round-to-nearest internally then recompute results that
30703         underflowed to zero in the original rounding mode.
30704         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
30705         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
30706         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
30707         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
30708         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
30709         * sysdeps/i386/fpu/libm-test-ulps: Update.
30710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30712 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
30714         * NEWS: Fixed description of link with vector math library.
30716 2015-06-25  Andreas Schwab  <schwab@suse.de>
30718         [BZ #18549]
30719         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
30720         * libio/test-fmemopen.c (do_test): Add test for it.
30722 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
30724         [BZ #17841]
30725         * Makeconfig (no-pie-ldflag): New.
30726         (+link): Set to $(+link-pie) if default to PIE.
30727         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
30728         * config.make.in (build-pie-default): New.
30729         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
30730         is default.  AC_SUBST.
30731         * configure: Regenerated.
30732         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
30734 2015-06-24  Roland McGrath  <roland@hack.frob.com>
30736         * nptl/descr.h (struct pthread): Change type of field setxid_futex
30737         to 'unsigned int'.
30739         * resolv/gai_misc.h (struct waitlist): Change type of field
30740         counterp to 'volatile unsigned int *'.
30741         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
30742         FUTEXADDR and OLDVAL.
30743         * resolv/getaddrinfo_a.c (getaddrinfo_a):
30744         Give local variable TOTAL type 'volatile unsigned int'.
30745         (struct async_waitlist): Change type of field counter to 'unsigned int'.
30746         * resolv/gai_suspend.c (gai_suspend):
30747         Give local variable CNTR type 'unsigned int'.
30749         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
30750         counterp to 'volatile unsigned int *'.
30751         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
30752         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
30753         (aio_suspend): Give local variable CNTR type 'unsigned int'.
30754         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
30755         Give local variable TOTAL type 'volatile unsigned int'.
30756         (struct async_waitlist): Change type of field counter to 'unsigned int'.
30758 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
30760         [BZ #18383]
30761         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
30762         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
30763         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
30764         comment for i386/x86-64.
30765         (test-xfail-tst-tlsalign-extern-static): Removed.
30767 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
30769         * math/test-double.h: New file.
30770         * math/test-float.h: Likewise.
30771         * math/test-ldouble.h: Likewise.
30772         * math/test-math-inline.h: Likewise.
30773         * math/test-math-no-inline.h: Likewise.
30774         * math/test-math-scalar.h: Likewise.
30775         * math/test-math-vector.h: Likewise.
30776         * math/test-vec-loop.h: Remove file.  Contents moved into
30777         test-math-vector.h.
30778         * math/libm-test.inc (MATHCONST): Do not document macro.
30779         * math/test-double.c: Include test-double.h, test-math-no-inline.h
30780         and test-math-scalar.h.
30781         (FUNC): Remove macro.
30782         (FUNC_TEST): Likewise.
30783         (FLOAT): Likewise.
30784         (MATHCONST): Likewise.
30785         (PRINTF_EXPR): Likewise.
30786         (PRINTF_XEXPR): Likewise.
30787         (PRINTF_NEXPR): Likewise.
30788         (TEST_DOUBLE): Likewise.
30789         (TEST_MATHVEC): Likewise.
30790         (__NO_MATH_INLINES): Likewise.
30791         * math/test-float.c: Include test-float.h, test-math-no-inline.h
30792         and test-math-scalar.h.
30793         (FUNC): Remove macro.
30794         (FUNC_TEST): Likewise.
30795         (FLOAT): Likewise.
30796         (MATHCONST): Likewise.
30797         (PRINTF_EXPR): Likewise.
30798         (PRINTF_XEXPR): Likewise.
30799         (PRINTF_NEXPR): Likewise.
30800         (TEST_FLOAT): Likewise.
30801         (TEST_MATHVEC): Likewise.
30802         (__NO_MATH_INLINES): Likewise.
30803         * math/test-idouble.c: Include test-double.h, test-math-inline.h
30804         and test-math-scalar.h.
30805         (FUNC): Remove macro.
30806         (FUNC_TEST): Likewise.
30807         (FLOAT): Likewise.
30808         (MATHCONST): Likewise.
30809         (PRINTF_EXPR): Likewise.
30810         (PRINTF_XEXPR): Likewise.
30811         (PRINTF_NEXPR): Likewise.
30812         (TEST_DOUBLE): Likewise.
30813         (TEST_MATHVEC): Likewise.
30814         (TEST_INLINE): Likewise.
30815         (__NO_MATH_INLINES): Likewise.
30816         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
30817         test-math-scalar.h.
30818         (FUNC): Remove macro.
30819         (FUNC_TEST): Likewise.
30820         (FLOAT): Likewise.
30821         (MATHCONST): Likewise.
30822         (PRINTF_EXPR): Likewise.
30823         (PRINTF_XEXPR): Likewise.
30824         (PRINTF_NEXPR): Likewise.
30825         (TEST_FLOAT): Likewise.
30826         (TEST_MATHVEC): Likewise.
30827         (TEST_INLINE): Likewise.
30828         (__NO_MATH_INLINES): Likewise.
30829         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
30830         and test-math-scalar.h.
30831         (FUNC): Remove macro.
30832         (FUNC_TEST): Likewise.
30833         (FLOAT): Likewise.
30834         (MATHCONST): Likewise.
30835         (PRINTF_EXPR): Likewise.
30836         (PRINTF_XEXPR): Likewise.
30837         (PRINTF_NEXPR): Likewise.
30838         (TEST_LDOUBLE): Likewise.
30839         (TEST_MATHVEC): Likewise.
30840         (TEST_INLINE): Likewise.
30841         (__NO_MATH_INLINES): Likewise.
30842         * math/test-ldouble.c: Include test-ldouble.h,
30843         test-math-no-inline.h and test-math-scalar.h.
30844         (FUNC): Remove macro.
30845         (FUNC_TEST): Likewise.
30846         (FLOAT): Likewise.
30847         (MATHCONST): Likewise.
30848         (PRINTF_EXPR): Likewise.
30849         (PRINTF_XEXPR): Likewise.
30850         (PRINTF_NEXPR): Likewise.
30851         (TEST_LDOUBLE): Likewise.
30852         (TEST_MATHVEC): Likewise.
30853         (__NO_MATH_INLINES): Likewise.
30854         * math/test-double-vlen2.h: Include test-double.h,
30855         test-math-no-inline.h and test-math-vector.h.
30856         (FLOAT): Remove macro.
30857         (FUNC): Likewise.
30858         (MATHCONST): Likewise.
30859         (PRINTF_EXPR): Likewise.
30860         (PRINTF_XEXPR): Likewise.
30861         (PRINTF_NEXPR): Likewise.
30862         (TEST_DOUBLE): Likewise.
30863         (TEST_MATHVEC): Likewise.
30864         (__NO_MATH_INLINES): Likewise.
30865         (CNCT): Likewise.
30866         (CONCAT): Likewise.
30867         (WRAPPER_NAME): Likewise.
30868         (WRAPPER_DECL): Likewise.
30869         (WRAPPER_DECL_ff): Likewise.
30870         (WRAPPER_DECL_fFF): Likewise.
30871         (VECTOR_WRAPPER): Likewise.
30872         (VECTOR_WRAPPER_ff): Likewise.
30873         (VECTOR_WRAPPER_fFF): Likewise.
30874         (VEC_LEN): New macro.
30875         * math/test-double-vlen4.h: Include test-double.h,
30876         test-math-no-inline.h and test-math-vector.h.
30877         (FLOAT): Remove macro.
30878         (FUNC): Likewise.
30879         (MATHCONST): Likewise.
30880         (PRINTF_EXPR): Likewise.
30881         (PRINTF_XEXPR): Likewise.
30882         (PRINTF_NEXPR): Likewise.
30883         (TEST_DOUBLE): Likewise.
30884         (TEST_MATHVEC): Likewise.
30885         (__NO_MATH_INLINES): Likewise.
30886         (CNCT): Likewise.
30887         (CONCAT): Likewise.
30888         (WRAPPER_NAME): Likewise.
30889         (WRAPPER_DECL): Likewise.
30890         (WRAPPER_DECL_ff): Likewise.
30891         (WRAPPER_DECL_fFF): Likewise.
30892         (VECTOR_WRAPPER): Likewise.
30893         (VECTOR_WRAPPER_ff): Likewise.
30894         (VECTOR_WRAPPER_fFF): Likewise.
30895         (VEC_LEN): New macro.
30896         * math/test-double-vlen8.h: Include test-double.h,
30897         test-math-no-inline.h and test-math-vector.h.
30898         (FLOAT): Remove macro.
30899         (FUNC): Likewise.
30900         (MATHCONST): Likewise.
30901         (PRINTF_EXPR): Likewise.
30902         (PRINTF_XEXPR): Likewise.
30903         (PRINTF_NEXPR): Likewise.
30904         (TEST_DOUBLE): Likewise.
30905         (TEST_MATHVEC): Likewise.
30906         (__NO_MATH_INLINES): Likewise.
30907         (CNCT): Likewise.
30908         (CONCAT): Likewise.
30909         (WRAPPER_NAME): Likewise.
30910         (WRAPPER_DECL): Likewise.
30911         (WRAPPER_DECL_ff): Likewise.
30912         (WRAPPER_DECL_fFF): Likewise.
30913         (VECTOR_WRAPPER): Likewise.
30914         (VECTOR_WRAPPER_ff): Likewise.
30915         (VECTOR_WRAPPER_fFF): Likewise.
30916         (VEC_LEN): New macro.
30917         * math/test-float-vlen4.h: Include test-float.h,
30918         test-math-no-inline.h and test-math-vector.h.
30919         (FLOAT): Remove macro.
30920         (FUNC): Likewise.
30921         (MATHCONST): Likewise.
30922         (PRINTF_EXPR): Likewise.
30923         (PRINTF_XEXPR): Likewise.
30924         (PRINTF_NEXPR): Likewise.
30925         (TEST_FLOAT): Likewise.
30926         (TEST_MATHVEC): Likewise.
30927         (__NO_MATH_INLINES): Likewise.
30928         (CNCT): Likewise.
30929         (CONCAT): Likewise.
30930         (WRAPPER_NAME): Likewise.
30931         (WRAPPER_DECL): Likewise.
30932         (WRAPPER_DECL_ff): Likewise.
30933         (WRAPPER_DECL_fFF): Likewise.
30934         (VECTOR_WRAPPER): Likewise.
30935         (VECTOR_WRAPPER_ff): Likewise.
30936         (VECTOR_WRAPPER_fFF): Likewise.
30937         (VEC_LEN): New macro.
30938         * math/test-float-vlen8.h: Include test-float.h,
30939         test-math-no-inline.h and test-math-vector.h.
30940         (FLOAT): Remove macro.
30941         (FUNC): Likewise.
30942         (MATHCONST): Likewise.
30943         (PRINTF_EXPR): Likewise.
30944         (PRINTF_XEXPR): Likewise.
30945         (PRINTF_NEXPR): Likewise.
30946         (TEST_FLOAT): Likewise.
30947         (TEST_MATHVEC): Likewise.
30948         (__NO_MATH_INLINES): Likewise.
30949         (CNCT): Likewise.
30950         (CONCAT): Likewise.
30951         (WRAPPER_NAME): Likewise.
30952         (WRAPPER_DECL): Likewise.
30953         (WRAPPER_DECL_ff): Likewise.
30954         (WRAPPER_DECL_fFF): Likewise.
30955         (VECTOR_WRAPPER): Likewise.
30956         (VECTOR_WRAPPER_ff): Likewise.
30957         (VECTOR_WRAPPER_fFF): Likewise.
30958         (VEC_LEN): New macro.
30959         * math/test-float-vlen16.h: Include test-float.h,
30960         test-math-no-inline.h and test-math-vector.h.
30961         (FLOAT): Remove macro.
30962         (FUNC): Likewise.
30963         (MATHCONST): Likewise.
30964         (PRINTF_EXPR): Likewise.
30965         (PRINTF_XEXPR): Likewise.
30966         (PRINTF_NEXPR): Likewise.
30967         (TEST_FLOAT): Likewise.
30968         (TEST_MATHVEC): Likewise.
30969         (__NO_MATH_INLINES): Likewise.
30970         (CNCT): Likewise.
30971         (CONCAT): Likewise.
30972         (WRAPPER_NAME): Likewise.
30973         (WRAPPER_DECL): Likewise.
30974         (WRAPPER_DECL_ff): Likewise.
30975         (WRAPPER_DECL_fFF): Likewise.
30976         (VECTOR_WRAPPER): Likewise.
30977         (VECTOR_WRAPPER_ff): Likewise.
30978         (VECTOR_WRAPPER_fFF): Likewise.
30979         (VEC_LEN): New macro.
30980         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
30981         test-vec-loop.h.
30982         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30983         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30984         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30985         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
30986         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
30987         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
30988         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
30990 2015-06-24  Roland McGrath  <roland@hack.frob.com>
30992         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
30993         (__getlogin_r): ... this.
30995 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
30997         [BZ #18594]
30998         * math/s_ccosh.c (__ccosh): Compare with least normal value
30999         instead of comparing class with FP_SUBNORMAL.
31000         * math/s_ccoshf.c (__ccoshf): Likewise.
31001         * math/s_ccoshl.c (__ccoshl): Likewise.
31002         * math/s_cexp.c (__cexp): Likewise.
31003         * math/s_cexpf.c (__cexpf): Likewise.
31004         * math/s_cexpl.c (__cexpl): Likewise.
31005         * math/s_csin.c (__csin): Likewise.
31006         * math/s_csinf.c (__csinf): Likewise.
31007         * math/s_csinh.c (__csinh): Likewise.
31008         * math/s_csinhf.c (__csinhf): Likewise.
31009         * math/s_csinhl.c (__csinhl): Likewise.
31010         * math/s_csinl.c (__csinl): Likewise.
31011         * math/s_ctan.c (__ctan): Likewise.
31012         * math/s_ctanf.c (__ctanf): Likewise.
31013         * math/s_ctanh.c (__ctanh): Likewise.
31014         * math/s_ctanhf.c (__ctanhf): Likewise.
31015         * math/s_ctanhl.c (__ctanhl): Likewise.
31016         * math/s_ctanl.c (__ctanl): Likewise.
31017         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
31018         csin, csinh, ctan and ctanh.
31019         * math/auto-libm-test-out: Regenerated.
31020         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
31021         * sysdeps/i386/fpu/libm-test-ulps: Update.
31022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31024 2015-06-24  Roland McGrath  <roland@hack.frob.com>
31026         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
31027         return value is wrong, print the expected value too.
31029 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
31031         [BZ #18585]
31032         * elf/readlib.c (is_gdb_python_file): New.
31033         (process_file): Don't issue errors on filenames with -gdb.py
31034         suffix.
31036 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
31038         * math/auto-libm-test-in: Add more tests of csin and csinh.
31039         * math/auto-libm-test-out: Regenerated.
31040         * math/libm-test.inc (csin_test_data): Remove tests moved to
31041         auto-libm-test-in.
31042         (csinh_test_data): Likewise.
31044         [BZ #18593]
31045         * math/s_csin.c (__csin): Negate before rather than after possibly
31046         overflowing multiplication.
31047         * math/s_csinf.c (__csinf): Likewise.
31048         * math/s_csinh.c (__csinh): Likewise.
31049         * math/s_csinhf.c (__csinhf): Likewise.
31050         * math/s_csinhl.c (__csinhl): Likewise.
31051         * math/s_csinl.c (__csinl): Likewise.
31052         * math/auto-libm-test-in: Add some tests of csin and csinh.
31053         * math/auto-libm-test-out: Regenerated.
31054         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
31055         (csinh_test_data): Likewise.
31056         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31058         [BZ #18586]
31059         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
31060         underflow exception for small results.
31062 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
31064         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
31065         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
31066         variable and included header.
31067         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
31068         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
31069         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
31070         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
31071         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
31072         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
31073         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
31074         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
31075         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
31076         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
31077         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
31078         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
31079         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
31080         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
31081         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
31082         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
31084 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
31086         [BZ #16526]
31087         [BZ #16538]
31088         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
31089         (__sin): Force underflow exception for arguments with small
31090         absolute value.
31091         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
31092         (__kernel_sinf): Force underflow exception for arguments with
31093         small absolute value.
31094         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
31095         (__kernel_sincosl): Force underflow exception for arguments with
31096         small absolute value.
31097         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
31098         (__kernel_sinl): Force underflow exception for arguments with
31099         small absolute value.
31100         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
31101         (__kernel_sincosl): Force underflow exception for arguments with
31102         small absolute value.
31103         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
31104         (__kernel_sinl): Force underflow exception for arguments with
31105         small absolute value.
31106         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
31107         (__kernel_sinl): Force underflow exception for arguments with
31108         small absolute value.
31109         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
31110         (__kernel_sinf): Force underflow exception for arguments with
31111         small absolute value.
31112         * math/auto-libm-test-in: Add more tests of sin and sincos.
31113         * math/auto-libm-test-out: Regenerated.
31115         [BZ #18245]
31116         [BZ #18583]
31117         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
31118         (__kernel_standard_l): Use feholdexcept and fesetenv around
31119         conversion to double instead of special-casing overflow and
31120         underflow.
31121         * math/libm-test.inc (fmod_test_data): Add more tests.
31122         (remainder_test_data): Likewise.
31123         (sqrt_test_data): Likewise.
31125 2015-06-23  Torvald Riegel  <triegel@redhat.com>
31127         [BZ #17403]
31128         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
31129         atomic_read_barrier, atomic_write_barrier): Define.
31130         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
31131         atomic_read_barrier, atomic_write_barrier): Define.
31133 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
31135         * math/Makefile [$(PERL) != no]
31136         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
31137         dependency on libm-test.stmp below the inclusion of Rules.
31139 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
31141         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
31142         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
31143         and included header.
31144         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
31145         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
31146         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
31147         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
31148         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
31149         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
31150         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
31151         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
31152         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
31153         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
31154         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
31155         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
31156         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
31157         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
31158         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
31159         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
31160         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
31161         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
31162         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
31164 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
31166         [BZ #18371]
31167         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
31168         intermediate but not final result might underflow.
31169         * math/s_csqrtf.c (__csqrtf): Likewise.
31170         * math/s_csqrtl.c (__csqrtl): Likewise.
31171         * math/auto-libm-test-in: Add more tests of csqrt.
31172         * math/auto-libm-test-out: Regenerated.
31173         * sysdeps/i386/fpu/libm-test-ulps: Update.
31175         [BZ #18219]
31176         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
31177         threshold on absolute value of exponent for which scaling is used.
31178         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
31179         * math/auto-libm-test-in: Add more tests of exp2.
31180         * math/auto-libm-test-out: Regenerated.
31182 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
31184         [BZ #17977]
31185         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
31186         when initializing interface list, based on the bug analysis
31187         and the patch proposed by Eric Newton.
31188         * resolv/tst-res_hconf_reorder.c: New test.
31189         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
31190         tst-res_hconf_reorder.
31191         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
31192         and $(shared-thread-library).
31193         (tst-res_hconf_reorder-ENV): New variable.
31195         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
31196         in comment.
31198 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
31200         [BZ #16353]
31201         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
31202         (__expm1): Force underflow exception for arguments with small
31203         absolute value.
31204         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
31205         (__expm1f): Force underflow exception for arguments with small
31206         absolute value.
31207         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
31208         (__expm1): Force underflow exception for arguments with small
31209         absolute value.
31210         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
31211         (__expm1f): Force underflow exception for arguments with small
31212         absolute value.
31213         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31214         Check for small arguments before calling __expm1.
31215         * math/auto-libm-test-in: Do not mark underflow exceptions as
31216         possibly missing for bug 16353.
31217         * math/auto-libm-test-out: Regenerated.
31219 2015-06-22  Andreas Schwab  <schwab@suse.de>
31221         [BZ #18513]
31222         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
31223         PTR queries.
31225 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
31227         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
31229         * string/strcoll_l.c: Remove unused struct element idxnow.
31231 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
31233         [BZ #18569]
31234         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
31235         underflow and return argument in case of subnormal argument.
31236         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
31237         Likewise.
31238         * math/auto-libm-test-in: Add more tests of expm1.
31239         * math/auto-libm-test-out: Regenerated.
31241         [BZ #16361]
31242         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
31243         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
31244         tiny results.
31245         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
31246         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
31247         tiny results.
31248         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
31249         mark underflow exceptions as possibly missing for bug 16361.
31250         * math/auto-libm-test-out: Regenerated.
31252 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
31254         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
31255         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
31256         Remove variable.
31257         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
31258         (test-xfail-XOPEN2K8/utmpx.h/conform).
31260         * conform/conformtest.pl ($xerrors): New variable.
31261         (note_error): New function.
31262         (compiletest): New argument $xfail.  Use not_error.
31263         (runtest): Likewise.
31264         (top level): Handle xfail- lines.  Update calls to compiletest and
31265         runtest.  Handle xfail- and optional- in headers listed with
31266         allow-header.
31267         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
31268         (O_EXEC): Likewise.
31269         (O_SEARCH): Likewise.
31270         * conform/data/stropts.h-data (ioctl): Likewise.
31271         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
31272         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
31273         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
31274         (msghdr.msg_controllen): Likewise.
31275         (cmsghdr.cmsg_len): Likewise.
31276         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
31277         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
31278         variable.
31279         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
31280         (test-xfail-XPG4/stropts.h/conform): Likewise.
31281         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
31282         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
31283         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
31284         (test-xfail-UNIX98/stropts.h/conform): Likewise.
31285         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
31286         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
31287         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
31288         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
31289         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
31290         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
31291         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
31292         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
31293         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
31294         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
31295         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
31296         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
31297         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
31298         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
31299         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
31301 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
31303         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
31304         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
31305         definitions for proper unfolding of __MATHDECL_VEC.
31307 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
31309         * benchtests/bench-strcoll.c:
31310         Include string.h.
31311         (main): Remove unused variable res.
31313 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
31315         * timezone/Makefile (%/UTC %/Universal):
31316         Generate test-result files for UTC and Universal.
31318 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
31320         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
31322 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
31324         [BZ #16350]
31325         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
31326         for arguments with small absolute value.
31327         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
31328         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
31329         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
31330         (__asinh): Force underflow exception for arguments with small
31331         absolute value.
31332         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
31333         (__asinhf): Force underflow exception for arguments with small
31334         absolute value.
31335         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
31336         (__asinhl): Force underflow exception for arguments with small
31337         absolute value.
31338         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
31339         (__asinhl): Force underflow exception for arguments with small
31340         absolute value.
31341         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
31342         (__asinhl): Force underflow exception for arguments with small
31343         absolute value.
31344         * math/auto-libm-test-in: Do not mark underflow exceptions as
31345         possibly missing for bug 16350.
31346         * math/auto-libm-test-out: Regenerated.
31348         * include/bits/ipc.h: Remove file.
31349         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
31350         variable.
31351         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
31352         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
31353         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
31354         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
31355         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
31356         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
31357         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
31358         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
31359         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
31361         * math/auto-libm-test-in: Remove spurious underflow allowance for
31362         tests of cexp.
31363         * math/auto-libm-test-out: Regenerated.
31365         [BZ #18558]
31366         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
31367         unconditional definition.
31368         (MCAST_BLOCK_SOURCE): Likewise.
31369         (MCAST_UNBLOCK_SOURCE): Likewise.
31370         (MCAST_LEAVE_GROUP): Likewise.
31371         (MCAST_JOIN_SOURCE_GROUP): Likewise.
31372         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
31373         (MCAST_MSFILTER): Likewise.
31374         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
31375         Remove variable.
31376         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
31377         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
31378         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
31379         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
31380         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
31382 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
31384         * NEWS: Mention addition of x86_64 vector sincosf.
31385         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
31386         * math/test-float-vlen4.h: Likewise.
31387         * math/test-float-vlen8.h: Likewise.
31388         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31389         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
31390         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31391         * sysdeps/x86_64/fpu/Versions: New versions added.
31392         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31393         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
31394         Added build of SSE, AVX2 and AVX512 IFUNC versions.
31395         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
31396         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
31397         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
31398         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
31399         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
31400         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
31401         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
31402         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
31403         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
31404         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
31405         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
31406         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
31407         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
31408         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
31409         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
31410         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
31411         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
31412         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
31413         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
31414         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
31415         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
31417         * NEWS: Mention addition of x86_64 vector sincos.
31418         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
31419         * math/math.h (__MATHDECL_VEC): New macro.
31420         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
31421         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
31422         declaration under condition.
31423         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
31424         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
31425         TEST_VEC_LOOP change.
31426         * math/test-double-vlen4.h: Likewise.
31427         * math/test-double-vlen8.h: Likewise.
31428         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
31429         * math/test-float-vlen4.h: Likewise.
31430         * math/test-float-vlen8.h: Likewise.
31431         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31432         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
31433         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31434         * sysdeps/x86_64/fpu/Versions: New versions added.
31435         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31436         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
31437         Added build of SSE, AVX2 and AVX512 IFUNC versions.
31438         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
31439         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
31440         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
31441         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
31442         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
31443         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
31444         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
31445         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
31446         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
31447         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
31448         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
31449         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
31450         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
31451         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
31452         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
31453         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
31454         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
31455         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
31456         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
31457         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
31458         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
31460         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31461         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
31462         redirections for powf.
31463         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31464         * sysdeps/x86_64/fpu/Versions: New versions added.
31465         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31466         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
31467         Added build of SSE, AVX2 and AVX512 IFUNC versions.
31468         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
31469         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
31470         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
31471         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
31472         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
31473         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
31474         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
31475         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
31476         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
31477         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
31478         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
31479         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
31480         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
31481         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
31482         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
31483         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
31484         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
31485         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
31486         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
31487         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
31488         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
31489         * math/test-float-vlen16.h: Fixed 2 argument macro.
31490         * math/test-float-vlen4.h: Likewise.
31491         * math/test-float-vlen8.h: Likewise.
31492         * NEWS: Mention addition of x86_64 vector powf.
31494 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
31496         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31497         and redefine.
31498         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31499         and redefine.
31500         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
31501         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
31502         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31504         [BZ #18553]
31505         * resource/getpriority.c (getpriority): Rename to __getpriority
31506         and define as weak alias of __getpriority.
31507         * resource/setpriority.c (setpriority): Rename to __setpriority
31508         and define as weak alias of __setpriority.
31509         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
31510         __getpriority and define as weak alias of __getpriority.
31511         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
31512         __setpriority and define as weak alias of __setpriority.
31513         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
31514         strong name.
31515         (setpriority): Use __setpriority as strong name.
31516         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
31517         __getpriority and define as weak alias of __getpriority.
31518         * include/sys/resource.h (__getpriority): Declare.  Use
31519         libc_hidden_proto.
31520         (__setpriority): Likewise.
31521         (getpriority): Don't use libc_hidden_proto.
31522         (setpriority): Likewise.
31523         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
31524         getpriority.  Call __setpriority instead of setpriority.
31525         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
31526         Remove variable.
31528         [BZ #18547]
31529         * misc/getttyent.c (getttynam): Rename to __getttynam and define
31530         as weak alias of __getttynam.  Use prototype function definition.
31531         Call __setttyent, __getttyent and __endttyent instead of
31532         setttyent, getttyent and endttyent.
31533         (getttyent): Rename to __getttyent and define as weak alias of
31534         __getttyent.  Call __setttyent instead of setttyent.  Call
31535         __fgets_unlocked instead of fgets_unlocked.
31536         (setttyent): Rename to __setttyent and define as weak alias of
31537         __setttyent.
31538         (endttyent): Rename to __endttyent and define as weak alias of
31539         __endttyent.
31540         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
31541         (__setttyent): Likewise.
31542         (__endttyent): Likewise.
31543         (getttyent): Don't use libc_hidden_proto.
31544         (setttyent): Likewise.
31545         (endttyent): Likewise.
31546         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
31547         __endttyent instead of setttyent, getttyent and endttyent.
31548         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
31549         Remove variable.
31551         [BZ #18546]
31552         * socket/recv.c (__recv): Use libc_hidden_def.
31553         * socket/socket.c (__socket): Likewise.
31554         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
31555         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
31556         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
31557         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
31558         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
31559         libc_hidden_def.
31560         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
31561         libc_hidden_weak.
31562         * include/sys/socket.h (__socket): Do not use attribute_hidden.
31563         Use libc_hidden_proto.
31564         (__recv): Likewise.
31565         * socket/Versions (libc): Export __recv and __socket at version
31566         GLIBC_PRIVATE.
31567         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
31568         instead of recv.
31569         (init_mq_netlink): Call __socket instead of socket.
31570         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
31571         Remove variable.
31573         [BZ #18545]
31574         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
31575         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
31576         hidden_weak.
31577         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
31578         define as alias of __mq_timedsend.  Use hidden_weak.
31579         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
31580         __mq_timedsend as strong name.
31581         (mq_timedreceive): Use __mq_timedreceive as strong name.
31582         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
31583         (__mq_timedreceive): Likewise.
31584         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
31585         __mq_timedreceive instead of mq_timedreceive.
31586         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
31587         instead of mq_timedsend.
31588         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
31589         Remove variable.
31591         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
31592         hidden_def and hidden_weak instead of libc_hidden_def and
31593         libc_hidden_weak.
31594         (top level): Refer to hidden_def in comment.
31595         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
31596         macro.  Use it instead of libc_hidden_def.
31597         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
31598         specify __GI_* name explicitly.
31599         (mq_timedreceive): Likewise.
31600         (mq_setattr): Likewise.
31602         [BZ #18544]
31603         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
31604         __pthread_barrier_init and define as weak alias of
31605         __pthread_barrier_init.
31606         * sysdeps/sparc/nptl/pthread_barrier_init.c
31607         (pthread_barrier_init): Likewise.
31608         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
31609         __pthread_barrier_wait and define as weak alias of
31610         __pthread_barrier_wait.
31611         * sysdeps/sparc/nptl/pthread_barrier_wait.c
31612         (pthread_barrier_wait): Likewise.
31613         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
31614         (pthread_barrier_wait): Likewise.
31615         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
31616         (pthread_barrier_wait): Likewise.
31617         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
31618         (pthread_barrier_wait): Likewise.
31619         * nptl/Versions (libpthread): Export __pthread_barrier_init and
31620         __pthread_barrier_wait at version GLIBC_PRIVATE.
31621         * include/pthread.h (__pthread_barrier_init): Declare.
31622         (__pthread_barrier_wait): Likewise.
31623         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
31624         Call __pthread_barrier_wait instead of pthread_barrier_wait.
31625         (helper_thread): Likewise.
31626         (init_mq_netlink): Call __pthread_barrier_init instead of
31627         pthread_barrier_init.
31629         [BZ #18542]
31630         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
31631         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
31632         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
31633         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
31634         vswscanf.
31635         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
31636         Remove variable.
31638         [BZ #18540]
31639         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
31640         strong alias of _IO_fflush.  Use libc_hidden_def.
31641         * libio/iofflush_u.c (fflush_unlocked): Rename to
31642         __fflush_unlocked and define as weak alias of __fflush_unlocked.
31643         Use libc_hidden_weak.
31644         * include/stdio.h (__fflush_unlocked): Declare.  Use
31645         libc_hidden_proto.
31646         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
31647         fflush_unlocked.
31648         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
31649         Remove variable.
31651         [BZ #18539]
31652         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
31653         define as weak alias of __addseverity.
31654         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
31655         Remove variable.
31656         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
31657         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
31658         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
31660         [BZ #18536]
31661         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
31662         (__tfind): Likewise.
31663         (__tdelete): Likewise.
31664         (__twalk): Likewise.
31665         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
31666         __twalk to GLIBC_PRIVATE.
31667         * include/search.h (__tsearch): Use libc_hidden_proto.
31668         (__tfind): Likewise.
31669         (__tdelete): Likewise.
31670         (__twalk): Likewise.
31671         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
31672         Call __tdelete instead of tdelete.
31673         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
31674         tfind.  Call __tsearch instead of tsearch.
31675         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
31676         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
31677         Remove variable.
31678         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
31680         [BZ #18534]
31681         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
31682         (dprintf): Define as a weak alias of __dprintf, not a strong
31683         alias.
31684         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
31685         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
31686         dprintf.
31687         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
31688         Remove variable.
31689         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
31690         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
31692         [BZ #18533]
31693         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
31694         not a strong alias.
31695         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
31696         Remove variable.
31698         [BZ #18532]
31699         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
31700         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
31701         (in6addr_loopback): Rename to __in6addr_loopback and define as
31702         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
31703         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
31704         libc_hidden_proto.
31705         (__in6addr_any): Likewise.
31706         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
31707         in6addr_any.
31708         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
31709         variable.
31710         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
31712 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
31714         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
31715         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
31716         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
31717         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
31718         redirections for pow.
31719         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31720         * sysdeps/x86_64/fpu/Versions: New versions added.
31721         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31722         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
31723         build of SSE, AVX2 and AVX512 IFUNC versions.
31724         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
31725         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
31726         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
31727         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
31728         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
31729         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
31730         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
31731         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
31732         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
31733         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
31734         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
31735         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
31736         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
31737         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
31738         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
31739         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
31740         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
31741         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
31742         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
31743         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
31744         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
31745         * NEWS: Mention addition of x86_64 vector pow.
31747         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31748         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
31749         redirections for expf.
31750         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31751         * sysdeps/x86_64/fpu/Versions: New versions added.
31752         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31753         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
31754         build of SSE, AVX2 and AVX512 IFUNC versions.
31755         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
31756         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
31757         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
31758         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
31759         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
31760         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
31761         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
31762         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
31763         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
31764         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
31765         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
31766         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
31767         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
31768         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
31769         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
31770         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
31771         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
31772         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
31773         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
31774         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
31775         * NEWS: Mention addition of x86_64 vector expf.
31777         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
31778         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
31779         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
31780         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
31781         redirections for exp.
31782         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31783         * sysdeps/x86_64/fpu/Versions: New versions added.
31784         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31785         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
31786         build of SSE, AVX2 and AVX512 IFUNC versions.
31787         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
31788         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
31789         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
31790         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
31791         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
31792         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
31793         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
31794         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
31795         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
31796         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
31797         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
31798         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
31799         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
31800         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
31801         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
31802         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
31803         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
31804         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
31805         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
31806         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
31807         * NEWS: Mention addition of x86_64 vector exp.
31809         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31810         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
31811         redirections for logf.
31812         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31813         * sysdeps/x86_64/fpu/Versions: New versions added.
31814         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31815         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
31816         build of SSE, AVX2 and AVX512 IFUNC versions.
31817         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
31818         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
31819         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
31820         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
31821         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
31822         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
31823         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
31824         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
31825         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
31826         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
31827         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
31828         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
31829         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
31830         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
31831         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
31832         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
31833         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
31834         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
31835         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
31836         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
31837         * NEWS: Mention addition of x86_64 vector logf.
31839         * bits/libm-simd-decl-stubs.h: Added stubs for log.
31840         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
31841         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
31842         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
31843         redirections for log.
31844         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31845         * sysdeps/x86_64/fpu/Versions: New versions added.
31846         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31847         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
31848         build of SSE, AVX2 and AVX512 IFUNC versions.
31849         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
31850         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
31851         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
31852         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
31853         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
31854         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
31855         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
31856         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
31857         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
31858         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
31859         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
31860         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
31861         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
31862         test.
31863         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
31864         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
31865         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
31866         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
31867         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
31868         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
31869         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
31870         * NEWS: Mention addition of x86_64 vector log.
31872 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31874         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
31875         cfi_adjust_cfa_offset argument.
31876         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
31877         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
31879         [BZ #18034]
31880         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
31881         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
31882         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
31883         ordering using ldar.
31884         (_dl_tlsdesc_dynamic): Likewise.
31885         (_dl_tlsdesc_return_lazy): Likewise.
31886         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
31887         relaxed atomics instead of volatile and synchronize with release store.
31888         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
31889         volatile.
31890         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31892 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
31894         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31895         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
31896         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31897         * sysdeps/x86_64/fpu/Versions: New versions added.
31898         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31899         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
31900         build of SSE, AVX2 and AVX512 IFUNC versions.
31901         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
31902         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
31903         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
31904         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
31905         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
31906         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
31907         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
31908         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
31909         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
31910         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
31911         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
31912         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
31913         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
31914         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
31915         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
31916         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
31917         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
31918         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
31919         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
31920         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
31921         * NEWS: Mention addition of x86_64 vector sinf.
31923 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
31925         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
31926         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
31927         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
31928         Remove variable.
31929         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
31930         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
31932 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
31934         [BZ #18530]
31935         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
31936         strong alias of _IO_fputs.  Use libc_hidden_def.
31937         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
31938         and define as weak alias of __fputs_unlocked.  Use
31939         libc_hidden_weak.
31940         * include/stdio.h (__fputs_unlocked): Declare.  Use
31941         libc_hidden_proto.
31942         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
31943         fputs_unlocked.
31945         [BZ #18529]
31946         * resolv/netdb.h [__USE_POSIX]: Change condition to
31947         [__USE_XOPEN2K].
31948         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
31949         not expect.
31950         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
31951         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
31952         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
31953         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
31954         [XPG4 || UNIX98] (AI_ALL): Likewise.
31955         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
31956         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
31957         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
31958         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
31959         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
31960         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
31961         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
31962         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
31963         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
31964         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
31965         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
31966         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
31967         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
31968         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
31969         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
31970         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
31971         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
31972         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
31973         [XPG4 || UNIX98] (gai_strerror): Likewise.
31974         [XPG4 || UNIX98] (getaddrinfo): Likewise.
31975         [XPG4 || UNIX98] (getnameinfo): Likewise.
31977         [BZ #18528]
31978         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
31979         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
31980         __USE_XOPEN2K8].
31981         (getgrent): Likewise.
31982         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
31983         expect.
31984         [XPG3 || POSIX2008] (endgrent): Likewise.
31985         [XPG3] (setgrent): Likewise.
31986         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
31987         variable.
31988         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
31990         [BZ #18527]
31991         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
31992         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
31993         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
31994         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
31995         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
31996         * include/unistd.h (__getlogin_r): Declare.  Use
31997         libc_hidden_proto.
31998         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
31999         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
32000         variable.
32001         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
32002         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
32003         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
32005 2015-06-12  Martin Sebor  <msebor@redhat.com>
32007         [BZ #18512]
32008         * Makerules (check-install-supported): New target.
32009         (install): Add check-install-supported as a dependency.
32010         * manual/install.texi (Installing the C Library): Document
32011         that overriding prefix and exec_prefix is not supported.
32012         Mention DESTDIR.
32013         * INSTALL: Regenerate from the above.
32015 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
32017         [BZ #18519]
32018         * posix/Versions (libc): Export __libc_pread at version
32019         GLIBC_PRIVATE.
32020         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
32021         instead of pread.
32022         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
32023         variable.
32025         [BZ #18522]
32026         * misc/efgcvt_r.c
32027         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
32028         (cvt_symbol): Use weak_alias instead of strong_alias.
32029         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
32030         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
32031         Remove variable.
32032         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
32033         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
32035         [BZ #18520]
32036         * inet/herrno.c (h_errno): Rename to __h_errno.
32037         (__libc_h_errno): Define as alias of __h_errno not h_errno.
32038         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
32039         to __h_errno instead of h_errno.
32040         * nptl/herrno.c (h_errno): Rename to __h_errno.
32041         (__h_errno_location): Refer to __h_errno not h_errno.
32042         * resolv/Versions (h_errno): Rename to __h_errno.
32043         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
32044         Remove variable.
32045         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
32047 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
32049         * configure.ac: More strict check for AVX512 assembler support.
32050         * configure: Regenerated.
32052         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
32053         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
32054         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32055         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
32056         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32057         * sysdeps/x86_64/fpu/Versions: New versions added.
32058         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32059         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32060         Added build of SSE, AVX2 and AVX512 IFUNC versions.
32061         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
32062         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
32063         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
32064         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
32065         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
32066         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
32067         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
32068         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
32069         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
32070         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
32071         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
32072         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
32073         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
32074         test.
32075         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
32076         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32077         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
32078         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32079         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32080         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32081         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
32082         * NEWS: Mention addition of x86_64 vector sin.
32084 2015-06-11  Florian Weimer  <fweimer@redhat.com>
32086         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
32087         comment.
32089 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
32091         [BZ #18479]
32092         * nptl/pt-interp.c: New file.
32093         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
32094         Add pt-interp.
32095         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
32096         $(common-objpfx)runtime-linker.h.
32098 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
32100         * Makeconfig (+interp): Remove unused variable.
32101         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
32102         only.  Depend on $(common-objpfx)runtime-linker.h instead of
32103         $(elf-objpfx)runtime-linker.h.
32104         ($(elf-objpfx)runtime-linker.h): Rename to
32105         $(common-objpfx)runtime-linker.h and move ...
32106         * Makerules [$(build-shared) = yes]: ... here.
32107         * elf/interp.c: Include <runtime-linker.h> instead of
32108         <elf/runtime-linker.h>.
32110 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32112         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
32113         (__gettimeofday_syscall): Remove vsyscall fallback.
32114         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
32115         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
32116         Add syscall fallback function.
32117         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
32118         if vDSO is not present.
32119         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
32120         fallback function.
32121         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
32122         present.
32123         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
32124         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
32126 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
32128         [BZ #18497]
32129         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
32130         of wcscmp.
32131         (wcscmp): Define as weak alias of WCSCMP.
32132         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
32133         wcscoll.
32134         (USE_HIDDEN_DEF): Define.
32135         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
32136         __wcscoll.  Don't use libc_hidden_weak.
32137         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
32138         wcscmp.
32139         * sysdeps/i386/i686/multiarch/wcscmp-c.c
32140         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
32141         __GI_wcscmp.
32142         (weak_alias): Undefine and redefine.
32143         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
32144         __wcscmp and define as weak alias of __wcscmp.
32145         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
32146         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
32147         (__wcscoll): Likewise.
32148         (wcscmp): Don't use libc_hidden_proto.
32149         (wcscoll): Likewise.
32150         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
32151         wcscoll.
32152         * posix/regexec.c (check_node_accept_bytes): Likewise.
32153         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
32154         variable.
32155         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
32156         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
32158         [BZ #18507]
32159         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
32160         __fstatvfs and define as weak alias of __fstatvfs.  Use
32161         libc_hidden_weak.
32162         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
32163         and define as weak alias of __statvfs.  Use libc_hidden_weak.
32164         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
32165         Define as alias of __fstatvfs, not fstatvfs.
32166         (fstatvfs64): Likewise.
32167         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
32168         Define as alias of __statvfs, not statvfs.
32169         (statvfs64): Likewise.
32170         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
32171         Remove variable.
32173 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32176         (HAVE_GETCPU_VSYSCALL): Define.
32177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32178         (HAVE_GETCPU_VSYSCALL): Likewise.
32179         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
32180         * sysdeps/unix/sysv/linux/sched_getcpu.c
32181         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
32182         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
32183         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
32184         prototype.
32185         * sysdeps/unix/sysv/linux/x86_64/init-first.c
32186         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
32187         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
32188         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
32189         Define.
32190         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
32191         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32192         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
32193         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32195 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
32197         * sysdeps/x86_64/fpu/Makefile: New file.
32198         * sysdeps/x86_64/fpu/Versions: New file.
32199         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
32200         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
32201         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
32202         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
32203         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
32204         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
32205         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
32206         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
32207         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
32208         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
32209         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
32210         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
32211         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
32212         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32213         Added build of SSE, AVX2 and AVX512 IFUNC versions.
32214         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
32215         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
32216         * sysdeps/x86_64/configure.ac: Options for libmvec build.
32217         * sysdeps/x86_64/configure: Regenerated.
32218         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
32219         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
32220         * manual/install.texi (Configuring and compiling): Document
32221         --disable-mathvec.
32222         * INSTALL: Regenerated.
32223         * NEWS: Mention addition of libmvec and x86_64 vector cos.
32225         * math/Makefile: Added rules for vector tests.
32226         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
32227         declaration under condition.
32228         * math/test-double-vlen2.h: New file.
32229         * math/test-double-vlen4.h: New file.
32230         * math/test-double-vlen8.h: New file.
32231         * math/test-vec-loop.h: Added initialization macro.
32232         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
32233         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
32234         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
32235         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
32236         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
32237         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
32238         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
32239         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
32240         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
32241         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
32242         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
32244         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32245         * sysdeps/x86_64/fpu/Versions: New versions added.
32246         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
32247         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
32248         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
32249         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
32250         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
32251         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
32252         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
32253         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
32254         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
32255         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
32256         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
32257         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
32258         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
32259         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32260         Added build of SSE, AVX2 and AVX512 IFUNC versions.
32261         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32262         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
32263         * NEWS: Mention addition of x86_64 vector cosf.
32265         * math/Makefile: Added CFLAGS for new tests.
32266         * math/test-float-vlen16.h: New file.
32267         * math/test-float-vlen4.h: New file.
32268         * math/test-float-vlen8.h: New file.
32269         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
32270         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
32271         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32272         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
32273         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
32274         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
32275         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
32276         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
32277         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
32278         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
32279         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
32281 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
32283         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
32284         * locale/programs/ld-ctype.c: Likewise.
32286 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
32288         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
32289         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
32290         bit_ZMM16_31_state): New macro.
32291         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32292         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
32294 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
32296         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
32298 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
32300         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
32302 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
32304         [BZ #18498]
32305         * libio/memstream.c (open_memstream): Rename to __open_memstream
32306         and define as weak alias of __open_memstream.
32307         * include/stdio.h (__open_memstream): Declare.  Use
32308         libc_hidden_proto.
32309         (open_memstream): Don't use libc_hidden_proto.
32310         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
32311         open_memstream.
32312         * posix/getopt.c (_getopt_internal_r): Likewise.
32313         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
32314         variable.
32315         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
32316         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
32317         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
32319         [BZ #18496]
32320         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
32321         instead of wcrtomb.
32323         [BZ #18483]
32324         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
32325         [__USE_XOPEN2K8].  Remove redundant #endif.
32326         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
32327         Remove redundant #if.
32328         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
32329         Remove variable.
32330         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
32331         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
32333         [BZ #18495]
32334         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
32335         (__iswlower): Likewise.
32336         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
32337         (__iswlower): Likewise.
32338         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
32339         instead of towlower.
32340         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
32341         instead of iswlower.  Call __towupper instead of towupper.
32342         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
32343         instead of iswalnum.
32345 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32347         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
32348         errors to stderr.
32350 2015-06-05  Florian Weimer  <fweimer@redhat.com>
32352         [BZ #15661]
32353         [BZ #17322]
32354         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
32355         Check for overflow properly.  Check for O_APPEND.  Ignore large
32356         file system block sizes.  Add comments about problems.
32357         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
32358         * manual/filesys.texi (Storage Allocation): New node.
32360 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32362         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
32363         cancellable syscalls.
32364         (SYS_ify): Add guard to no redefine it.
32365         (INLINE_SYSCALL): Likewise.
32366         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
32367         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
32368         SYSCALL_CANCEL instead.
32369         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
32370         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
32371         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
32372         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
32373         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
32374         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
32375         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
32376         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
32377         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
32378         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
32379         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
32380         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
32381         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
32382         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
32383         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
32384         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
32385         Likewise.
32386         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
32387         (__libc_pread64): Likewise.
32388         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
32389         (__libc_preadv): Likewise.
32390         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
32391         (__libc_readv64): Likewise.
32392         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
32393         (__libc_pwrite): Likewise.
32394         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
32395         (__libc_pwrite64): Likewise.
32396         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
32397         (__libc_pwritev): Likewise.
32398         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
32399         (__libc_pwritev64): Likewise.
32400         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
32401         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
32402         (sync_file_range): Likewise.
32403         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
32404         Likewise.
32405         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
32406         Likewise.
32407         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
32408         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
32409         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
32410         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
32411         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
32412         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
32413         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
32414         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
32415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
32416         Likewise.
32417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32418         (__libc_read64): Likewise.
32419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
32420         Likewise.
32421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
32422         Likewise.
32423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
32424         Likewise.
32425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
32426         Likewise.
32427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32428         (__libc_pread64): Likewise.
32429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
32430         Likewise.
32431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32432         (__libc_pwrite64): Likewise.
32433         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
32434         (sync_file_range): Likewise.
32435         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
32436         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
32437         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
32438         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
32439         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
32440         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
32441         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
32442         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
32443         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
32444         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
32445         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
32446         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
32447         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
32448         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
32449         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
32450         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
32451         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
32452         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
32453         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
32454         Likewise.
32455         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
32456         Likewise.
32457         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
32458         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
32459         Likewise.
32460         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
32461         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
32462         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
32463         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
32464         Likewise.
32465         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
32466         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
32467         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
32468         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
32469         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
32471 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
32473         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
32474         Include dl-vdso.
32475         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
32476         Use VDSO routines for gettimeofday, clock_gettime if
32477         available.
32478         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
32479         Declare VDSO symbols.
32480         * sysdeps/unix/sysv/linux/arm/sysdep.h:
32481         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
32482         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
32483         * sysdeps/unix/sysv/linux/arm/Versions: Add
32484         __vdso_clock_gettime.
32486 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32488         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
32489         be an inline implementation regardless of library is built within.
32490         (open_not_cancel_2): Likewise.
32491         (__read_nocancel): Likewise.
32492         (__write_nocancel): Likewise.
32493         (openat_not_cancel): Likewise.
32494         (openat_not_cancel_3): Likewise.
32495         (openat64_not_cancel): Likewise.
32496         (openat64_not_cancel_3): Likewise.
32497         (__close_nocancel): Likewise.
32498         (pause_not_cancel): Likewise.
32499         (nanosleep_not_cancel): Likewise.
32500         (sigsuspend_not_cancel): Likewise.
32502 2015-06-04  Torvald Riegel  <triegel@redhat.com>
32504         [BZ #14958]
32505         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
32506         wake-up.
32507         (__pthread_rwlock_rdlock_slow): Likewise.
32508         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
32509         Likewise.
32510         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
32511         Likewise.
32512         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
32513         * nptl/tst-rwlock16.c: New file.
32514         * nptl/Makefile (tests): Add new test.
32516 2015-06-04  Torvald Riegel  <triegel@redhat.com>
32518         [BZ #18324]
32519         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
32520         missing wake-up of readers.
32521         * nptl/tst-rwlock15.c: New file.
32522         * nptl/Makefile (tests): Add new test.
32524 2015-06-03  Roland McGrath  <roland@hack.frob.com>
32526         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
32527         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
32528         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
32529         and __nacl_supply_interface_rtld.
32530         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
32531         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
32532         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
32533         Add __nacl_supply_interface_rtld.
32534         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
32536 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
32538         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
32539         isfinite.
32540         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32541         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
32543 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
32545         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
32546         __signbit* with standard C99 macros.
32547         * math/e_exp10l.c: Likewise.
32548         * math/e_exp2l.c: Likewise.
32549         * math/e_scalb.c: Likewise.
32550         * math/e_scalbf.c: Likewise.
32551         * math/e_scalbl.c: Likewise.
32552         * math/s_ldexp.c: Likewise.
32553         * math/s_ldexpf.c: Likewise.
32554         * math/s_ldexpl.c: Likewise.
32555         * math/w_atan2.c: Likewise.
32556         * math/w_atan2f.c: Likewise.
32557         * math/w_atan2l.c: Likewise.
32558         * math/w_cosh.c: Likewise.
32559         * math/w_coshf.c: Likewise.
32560         * math/w_coshl.c: Likewise.
32561         * math/w_exp10.c: Likewise.
32562         * math/w_exp10f.c: Likewise.
32563         * math/w_exp10l.c: Likewise.
32564         * math/w_exp2.c: Likewise.
32565         * math/w_exp2f.c: Likewise.
32566         * math/w_exp2l.c: Likewise.
32567         * math/w_fmod.c: Likewise.
32568         * math/w_fmodf.c: Likewise.
32569         * math/w_fmodl.c: Likewise.
32570         * math/w_hypot.c: Likewise.
32571         * math/w_hypotf.c: Likewise.
32572         * math/w_hypotl.c: Likewise.
32573         * math/w_jnl.c: Likewise.
32574         * math/w_lgamma.c: Likewise.
32575         * math/w_lgamma_r.c: Likewise.
32576         * math/w_lgammaf.c: Likewise.
32577         * math/w_lgammaf_r.c: Likewise.
32578         * math/w_lgammal.c: Likewise.
32579         * math/w_lgammal_r.c: Likewise.
32580         * math/w_pow.c: Likewise.
32581         * math/w_powf.c: Likewise.
32582         * math/w_powl.c: Likewise.
32583         * math/w_remainder.c: Likewise.
32584         * math/w_remainderf.c: Likewise.
32585         * math/w_remainderl.c: Likewise.
32586         * math/w_scalb.c: Likewise.
32587         * math/w_scalbf.c: Likewise.
32588         * math/w_scalbl.c: Likewise.
32589         * math/w_scalbln.c: Likewise.
32590         * math/w_scalblnf.c: Likewise.
32591         * math/w_scalblnl.c: Likewise.
32592         * math/w_sinh.c: Likewise.
32593         * math/w_sinhf.c: Likewise.
32594         * math/w_sinhl.c: Likewise.
32595         * math/w_tgamma.c: Likewise.
32596         * math/w_tgammaf.c: Likewise.
32597         * math/w_tgammal.c: Likewise.
32598         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32599         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
32600         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32601         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32602         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32603         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32604         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
32605         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32606         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32607         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32608         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32609         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
32610         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32611         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32612         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32613         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32614         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32615         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
32616         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32617         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32618         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32619         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32620         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32621         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32622         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
32623         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32624         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
32625         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32626         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32627         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32628         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
32629         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
32630         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
32631         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
32632         * stdio-common/printf_fp.c: Likewise.
32633         * stdio-common/printf_fphex.c: Likewise.
32634         * stdio-common/printf_size.c: Likewise.
32636 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
32638         [BZ #18470]
32639         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
32640         strnlen.
32641         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
32642         Remove variable.
32643         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
32644         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
32645         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
32646         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
32647         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
32648         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
32649         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
32650         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
32651         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
32652         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
32654         [BZ #18468]
32655         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
32656         weak alias of __wmemchr.  Use libc_hidden_weak.
32657         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
32658         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
32659         instead of wmemchr.
32661 2015-06-02  Roland McGrath  <roland@hack.frob.com>
32663         [BZ #18383]
32664         * elf/tst-tlsalign-extern.c: New file.
32665         * elf/tst-tlsalign-extern-static.c: New file.
32666         * elf/tst-tlsalign-vars.c: New file.
32667         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
32668         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
32669         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
32670         ($(objpfx)tst-tlsalign-extern-static): Likewise.
32671         (test-xfail-tst-tlsalign-extern-static): New variable.
32673 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
32675         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
32676         Use variable name _sc_err instead of err.
32677         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
32678         instead of ret.
32679         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
32680         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
32681         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
32682         (INLINE_SYSCALL): Likewise.
32684         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
32685         * include/string.h (__strnlen): Use libc_hidden_proto.
32686         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
32687         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
32688         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
32689         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
32690         (libc_hidden_def): Undefine and redefine.
32691         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
32692         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
32693         __GI_strnlen.
32694         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
32695         libc_hidden_def.
32696         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
32698         [BZ #18469]
32699         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
32700         weak alias of __towlower.  Use libc_hidden_weak.
32701         (towupper): Rename to __towupper and define as weak alias of
32702         __towupper.  Use libc_hidden_weak.
32703         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
32704         (__towupper): Likewise.
32705         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
32706         __towlower instead of towlower.
32708 2015-06-02  Roland McGrath  <roland@hack.frob.com>
32710         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
32711         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
32713 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32715         * sysdeps/aarch64/libm-test-ulps: Update.
32717 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32719         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
32720         Define.
32721         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
32722         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
32723         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
32724         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
32725         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
32726         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
32727         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
32729 2015-06-01  Martin Sebor  <msebor@redhat.com>
32731         [BZ #18116]
32732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32733         (__setcontext): Use extended four-operand version of mtsf whenever
32734         possible.
32735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32736         (__novec_swapcontext): Likewise.
32738 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
32740         * benchtests/scripts/compare_bench.py: New file.
32741         * benchtests/scripts/import_bench.py (mean): New function.
32742         (split_list): Likewise.
32743         (do_for_all_timings): Likewise.
32744         (compress_timings): Likewise.
32746         * benchtests/scripts/import_bench.py: New file.
32747         * benchtests/scripts/validate_benchout.py: Import import_bench
32748         instead of jsonschema.
32749         (validate_bench): Remove function.
32750         (main): Use import_bench.
32752 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
32754         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
32755         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
32757 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32759         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32761 2015-05-28  Roland McGrath  <roland@hack.frob.com>
32763         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
32764         set THREAD_SELF->tid to a magic value and futex-wake it.
32765         Pass its address to the thread_exit system call.
32766         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
32767         bit is clear.
32768         * sysdeps/nacl/lowlevellock.h: New file.
32769         * sysdeps/nacl/lll_timedwait_tid.c: New file.
32771         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
32772         Add TIMEOUT to current time, don't subtract it.
32774 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
32776         [BZ #2981]
32777         [BZ #18422]
32778         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
32779         ($(objpfx)tst-audit2.out): Also depend on
32780         $(objpfx)tst-auditmod9b.so.
32781         * elf/tst-audit2.c: Include <dlfcn.h>.
32782         (calloc_called): New.
32783         (calloc): Allow to be called more than once.
32784         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
32786 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
32788         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
32789         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
32791 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
32793         * stdlib/monetary.h: Fix comment.
32795 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
32797         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
32798         Avoid using variables in #defines that might cause shadowing.
32799         (INTERNAL_VSYSCALL_CALL): Likewise.
32801 2015-05-26  Roland McGrath  <roland@hack.frob.com>
32803         * sysdeps/nacl/lll_timedlock_wait.c: New file.
32805         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
32806         * nptl/lll_timedlock_wait.c: ... to this new file.
32807         * nptl/Makefile (libpthread-routines): Add it.
32808         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
32809         * nptl/lll_timedwait_tid.c: ... to this new file.
32810         * nptl/Makefile (libpthread-routines): Add it.
32811         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
32812         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
32813         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
32814         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
32815         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
32816         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
32817         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
32818         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
32819         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
32820         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
32822 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32824         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
32825         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32826         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
32827         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
32828         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
32829         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
32830         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
32831         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
32832         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
32833         * sysdeps/unix/sysv/linux/tile/sysdep.h
32834         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
32835         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
32836         using vDSO syscall macro.
32838 2015-05-26  Andriy Rysin  <arysin@gmail.com>
32840         [BZ #17293]
32841         * uk_UA: Fix sorting order for Ukrainian locale
32843 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
32845         * stdlib/monetary.h: Fix comment.
32847 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32849         [BZ #18234]
32850         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
32851         st_mtim and st_ctim members.
32852         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
32853         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
32854         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
32855         (struct stat64): Likewise.
32856         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
32857         (struct stat64): Likewise.
32858         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
32859         (struct stat64): Likewise.
32861 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32863         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
32864         Define and include sysdep-vdso.h.
32865         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
32866         Likewise.
32867         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
32868         Likewise.
32869         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
32870         Define with VDSO_SYMBOL and use PTR_MANGLE.
32871         (__vdso_clock_gettime): Likewise.
32872         (__vdso_clock_getres): Likewise.
32873         (_libc_vdso_platform_setup): Likewise.
32874         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
32875         Likewise.
32876         (_libc_vdso_platform_setup): Likewise.
32877         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
32878         Likewise.
32879         (__vdso_clock_gettime): Likewise.
32880         (__vdso_clock_getres): Likewise.
32881         (__vdso_get_tbfreq): Likewise.
32882         (__vdso_getcpu): Likewise.
32883         (__vdso_time): Likewise.
32884         (__vdso_sigtramp_rt64): Likewise.
32885         (__vdso_signtramp32): Likewise.
32886         (__vdso_sigtramp_rt32): Likewise.
32887         (_libc_vdso_platform_setup): Likewise.
32888         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
32889         Likewise.
32890         (__vdso_clock_gettime): Likewise.
32891         (__vdso_clock_getres): Likewise.
32892         (_libc_vdso_platform_setup): Likewise.
32893         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
32894         Likewise.
32895         (__vdso_clock_gettime): Likewise.
32896         (_libc_vdso_platform_setup): Likewise.
32897         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
32898         Likewise.
32899         (__vdso_getcpu): Likewise.
32900         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
32901         Use VDSO_SYMBOL macro to define.
32902         (__vdso_clock_gettime): Likewise.
32903         (__vdso_clock_getres): Likewise.
32904         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
32905         Likewise.
32906         (__vdso_clock_gettime): Likewise.
32907         (__vdso_clock_getres): Likewise.
32908         (__vdso_get_tbfreq): Likewise.
32909         (__vdso_getcpu): Likewise.
32910         (__vdso_time): Likewise.
32911         (__vdso_sigtramp_rt64): Likewise.
32912         (__vdso_signtramp32): Likewise.
32913         (__vdso_sigtramp_rt32): Likewise.
32914         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
32915         Likewise.
32916         (__vdso_clock_gettime): Likewise.
32917         (__vdso_clock_getres): Likewise.
32918         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
32919         Likewise.
32920         (__vdso_clock_gettime): Likewise.
32921         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
32922         Likewise.
32923         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
32924         macro.
32925         (INTERNAL_VSYSCALL): Likewise.
32926         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
32927         Remove macro.
32928         (INTERNAL_VSYSCALL): Likewise.
32929         (INTERNAL_VSYSCALL_NCS): Likewise.
32930         (INTERNAL_VSYSCALL_CALL): New macro.
32931         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
32932         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
32933         Likewise.
32934         (INTERNAL_VSYSCALL): Likewise.
32935         (INTERNAL_VSYSCALL_NCS): Likewise.
32936         (INTERNAL_VSYSCALL_CALL): New macro.
32937         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
32938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32939         (INLINE_VSYSCALL): Remove macro.
32940         (INTERNAL_VSYSCALL): Remove macro.
32941         (INTERNAL_VSYSCALL_NCS): Remove macro.
32942         (INTERNAL_VSYSCALL_CALL): New macro.
32943         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
32944         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
32945         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
32946         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
32947         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
32948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32949         (INLINE_VSYSCALL): Remove macro.
32950         (INTERNAL_VSYSCALL): Likewise.
32951         (INTERNAL_VSYSCALL_NCS): Likewise.
32952         (INTERNAL_VSYSCALL_CALL): New macro.
32953         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
32954         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
32955         PTR_DEMANGLE on vDSO pointer.
32956         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
32957         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
32958         macro.
32959         (INTERNAL_SYSCALL): Likewise.
32960         (INTERNAL_VSYSCALL_NCS): Remove macro.
32961         (INTERNAL_VSYSCALL_CALL): New macro.
32962         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
32963         Remove macro.
32964         (INTERNAL_VSYSCALL): Likewise.
32965         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
32966         sysdep-vdso.h instead of libc-vdso.h.
32967         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
32968         definition.
32969         (INLINE_VSYSCALL): Likewise.
32970         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
32971         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
32972         definition.
32973         (INLINE_VSYSCALL): Likewise.
32974         (INTERNAL_VSYSCALL): Likewise.
32975         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
32976         * sysdeps/unix/sysv/linux/timespec_get.c
32977         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
32978         (timespec_get): Use ANSI prototype.
32979         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
32980         and definition for Linux.
32982 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
32984         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
32985         * include/libc-symbols.h: libmvec_hidden_* macro series added.
32987 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32989         [BZ #2981]
32990         [BZ #18410]
32991         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
32992         for missing DT_PLTRELSZ.
32994 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
32996         Remove obsolete aliases that broke 'locale -a'
32997         [BZ #18412]
32998         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
32999         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
33000         breaking some applications that use 'locale -a' output.
33001         Change the encoding of this file from Latin-1 to ASCII to avoid
33002         other potential problems with people grepping this file.
33004 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33006         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
33007         -fasynchronous-unwind-tables.
33008         (CFLAGS-sendto.c): Likewise.
33009         (CFLAGS-sendmsg.c): Likewise.
33010         (CFLAGS-connect.c): Likewise.
33011         (CFLAGS-recvmsg.c): Likewise.
33012         (CFLAGS-recvfrom.c): Likewise.
33013         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
33014         (SOCKETCALL): New macro: non-cancellable socketcall.
33015         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
33016         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
33017         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
33018         * sysdeps/unix/sysv/linux/accept.c: New file.
33019         * sysdeps/unix/sysv/linux/bind.c: Likewise.
33020         * sysdeps/unix/sysv/linux/connect.c: Likewise.
33021         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
33022         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
33023         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
33024         * sysdeps/unix/sysv/linux/listen.c: Likewise.
33025         * sysdeps/unix/sysv/linux/recv.c: Likewise.
33026         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
33027         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
33028         * sysdeps/unix/sysv/linux/send.c: Likewise.
33029         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
33030         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
33031         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
33032         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
33033         * sysdeps/unix/sysv/linux/socket.c: Likewise.
33034         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
33035         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
33036         prototype.
33037         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
33038         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
33039         instead of __internal_xxx function.
33040         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
33041         prototype.
33042         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
33043         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
33044         instead of __internal_xxx function.
33045         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
33046         prototype.
33047         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
33048         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
33049         instead of __internal_xxx function.
33050         * sysdeps/unix/sysv/linux/accept.S: Remove file.
33051         * sysdeps/unix/sysv/linux/bind.S: Likewise.
33052         * sysdeps/unix/sysv/linux/connect.S: Likewise.
33053         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
33054         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
33055         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
33056         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
33057         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
33058         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
33059         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
33060         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
33061         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
33062         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
33063         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
33064         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
33065         * sysdeps/unix/sysv/linux/listen.S: Likewise.
33066         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
33067         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
33068         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
33069         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
33070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
33071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
33072         * sysdeps/unix/sysv/linux/recv.S: Likewise.
33073         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
33074         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
33075         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
33076         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
33077         * sysdeps/unix/sysv/linux/send.S: Likewise.
33078         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
33079         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
33080         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
33081         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
33082         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
33083         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
33084         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
33085         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
33086         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
33087         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
33088         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
33089         socketcall is implemented in GLIBC.
33091 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
33093         * soft-fp/fmadf4.c: Include <libc-internal.h>.
33094         (__fma): Ignore uninitialized warnings around packing.
33095         * soft-fp/fmasf4.c: Include <libc-internal.h>.
33096         (__fmaf): Ignore uninitialized warnings around packing.
33097         * soft-fp/fmatf4.c: Include <libc-internal.h>.
33098         (__fmal): Ignore uninitialized warnings around packing.
33100         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
33101         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
33102         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
33103         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
33105         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
33106         switch statement into default case.
33107         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
33109         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
33110         a conditional in forcing "inexact".
33111         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
33112         Likewise.
33114 2015-05-22  Roland McGrath  <roland@hack.frob.com>
33116         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
33117         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
33118         for each INTERNAL_SYSCALL use.
33120 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
33122         [BZ #438]
33123         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
33124         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
33125         variable.
33127         [BZ #18444]
33128         * string/basename.c (basename): Rename to __basename and define as
33129         weak alias of __basename.  Use libc_hidden_weak.
33130         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
33131         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
33132         __basename instead of basename.
33133         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
33134         Remove variable.
33135         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
33137 2015-05-18  Florian Weimer  <fweimer@redhat.com>
33139         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
33140         (_IO_JUMPS_FILE_plus): New.
33141         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
33142         _IO_CAST_FIELD_ACCESS.
33143         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
33144         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
33145         * libio/freopen.c (freopen): Likewise.
33146         * libio/freopen64.c (freopen64): Likewise.
33147         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
33148         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
33149         * libio/iofwide.c (_IO_fwide): Likewise.
33150         * libio/memstream.c (open_memstream): Likewise.
33151         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
33152         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
33153         * libio/oldiopopen.c (_IO_old_popen): Likewise.
33155 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
33157         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
33158         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
33159         NADJ.
33160         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
33161         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
33162         NADJ.
33163         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
33164         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
33165         NADJ.
33167         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
33168         (p == 4) case.
33170         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
33171         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
33172         Remove variable.
33173         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
33174         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
33175         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
33177 2015-05-21  Florian Weimer  <fweimer@redhat.com>
33179         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
33180         Adjust jump table label generation macros.
33182 2015-05-21  Florian Weimer  <fweimer@redhat.com>
33184         * stdio-common/vfprintf.c (vfprintf): Move local variables
33185         args_malloced, specs, specs_malloced, and the code after
33186         do_positional to the printf_positional function.
33187         (printf_positional): New function.
33189 2015-05-21  Florian Weimer  <fweimer@redhat.com>
33191         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
33192         function.
33193         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
33194         STEP4_TABLE, process_arg): Move macro definitions
33195         out of the vfprintf function.  (Cosmetic change only.)
33197 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
33199         * benchtests/Makefile (stdio-common-bench): Define.
33200         (benchset): Add stdio-common-bench.
33201         * sprintf-inputs: New file.
33202         * sprintf-source.c: New file.
33204 2015-05-21  Andreas Schwab  <schwab@suse.de>
33206         [BZ #13028]
33207         [BZ #17053]
33208         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
33209         of struct __res_state.
33210         * resolv/res_send.c (__libc_res_nsend): Likewise.
33211         (get_nsaddr): New function.
33212         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
33213         statp directly.
33215 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
33217         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
33218         -D_POSIX_C_SOURCE=199506L.
33220         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
33222         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
33223         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
33224         Do not mention otherwise.
33225         [POSIX] (_XOPEN_VERSION): Do not expect.
33226         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
33227         [POSIX] (_POSIX2_C_BIND): Likewise.
33228         [POSIX] (_POSIX2_VERSION): Likewise.
33229         [POSIX] (_XOPEN_XPG2): Likewise.
33230         [POSIX] (_XOPEN_XPG3): Likewise.
33231         [POSIX] (_XOPEN_XPG4): Likewise.
33232         [POSIX] (_XOPEN_UNIX): Likewise.
33233         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
33234         [POSIX] (_POSIX_BARRIERS): Likewise.
33235         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
33236         [POSIX] (_POSIX_CPUTIME): Likewise.
33237         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
33238         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
33239         [POSIX] (_POSIX_SHELL): Likewise.
33240         [POSIX] (_POSIX_SPAWN): Likewise.
33241         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
33242         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
33243         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
33244         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
33245         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
33246         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
33247         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
33248         [POSIX] (_XBS5_LP64_OFF64): Likewise.
33249         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
33250         [POSIX] (_POSIX_TIMEOUTS): Likewise.
33251         [POSIX] (_POSIX2_PBS): Likewise.
33252         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
33253         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
33254         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
33255         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
33256         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
33257         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
33258         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
33259         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
33260         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
33261         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
33262         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
33263         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
33264         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
33265         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
33266         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
33267         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
33268         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
33269         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
33270         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
33271         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
33272         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
33273         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
33274         [POSIX] (_SC_2_C_BIND): Likewise.
33275         [POSIX] (_SC_2_C_VERSION): Likewise.
33276         [POSIX] (_SC_2_PBS): Likewise.
33277         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
33278         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
33279         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
33280         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
33281         [POSIX] (_SC_2_PBS_TRACK): Likewise.
33282         [POSIX] (_SC_ATEXIT_MAX): Likewise.
33283         [POSIX] (_SC_BARRIERS): Likewise.
33284         [POSIX] (_SC_BASE): Likewise.
33285         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
33286         [POSIX] (_SC_DEVICE_IO): Likewise.
33287         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
33288         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
33289         [POSIX] (_SC_FD_MGMT): Likewise.
33290         [POSIX] (_SC_FIFO): Likewise.
33291         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
33292         [POSIX] (_SC_FILE_LOCKING): Likewise.
33293         [POSIX] (_SC_FILE_SYSTEM): Likewise.
33294         [POSIX] (_SC_IOV_MAX): Likewise.
33295         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
33296         [POSIX] (_SC_NETWORKING): Likewise.
33297         [POSIX] (_SC_PAGE_SIZE): Likewise.
33298         [POSIX] (_SC_PASS_MAX): Likewise.
33299         [POSIX] (_SC_PIPE): Likewise.
33300         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
33301         [POSIX] (_SC_REGEXP): Likewise.
33302         [POSIX] (_SC_SHELL): Likewise.
33303         [POSIX] (_SC_SIGNALS): Likewise.
33304         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
33305         [POSIX] (_SC_SPIN_LOCKS): Likewise.
33306         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
33307         [POSIX] (_SC_USER_GROUPS): Likewise.
33308         [POSIX] (_SC_USER_GROUPS_R): Likewise.
33309         [POSIX] (_SC_STREAMS): Likewise.
33310         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
33311         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
33312         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
33313         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
33314         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
33315         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
33316         [POSIX] (_PC_FILESIZEBITS): Likewise.
33317         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
33318         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
33319         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
33320         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
33321         [POSIX] (uid_t): Likewise.
33322         [POSIX] (gid_t): Likewise.
33323         [POSIX] (off_t): Likewise.
33324         [POSIX] (pid_t): Likewise.
33325         [POSIX] (cuserid): Allow.
33326         (_SC_2_CHAR_TERM): Require constant.
33327         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
33328         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
33329         variable.
33331 2015-05-20  Roland McGrath  <roland@hack.frob.com>
33333         * sysdeps/nacl/pthread-pids.h: New file.
33334         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
33335         (create_thread): Use __nacl_get_tid to initialize PD->tid.
33337         * nptl/pthread-pids.h: New file.
33338         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
33339         * nptl/nptl-init.c: Include <pthread-pids.h>.
33340         (__pthread_initialize_minimal_internal):
33341         Call __pthread_initialize_pids instead of set_tid_address syscall.
33343         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
33344         * sysdeps/posix/usleep.c: ... here.
33346 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33348         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
33349         call_pselect6 object.
33350         [$(subdir) = io]: Remove call_sync_file_range object.
33351         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
33352         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
33353         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
33354         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
33356 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
33358         * math/s_cproj.c: Add include "math_private.h".
33359         * math/s_cprojf.c: Likewise.
33360         * math/s_cprojl.c: Likewise.
33362 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
33364         [BZ #18244]
33365         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
33366         high mantissa bit when testing whether P is a NaN.
33367         * math/libm-test.inc (remainder_test_data): Add more tests.
33368         (remquo_test_data): Likewise.
33370         [BZ #18049]
33371         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
33372         below -32, return the argument, with underflow if subnormal.
33373         * math/auto-libm-test-in: Add more tests of atanh.
33374         * math/auto-libm-test-out: Regenerated.
33376 2015-05-19  Roland McGrath  <roland@hack.frob.com>
33378         [BZ #18434]
33379         * nptl/tst-sem15.c: New file.
33380         * nptl/Makefile (tests): Add it.
33381         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
33382         s/<</>>/ to fix typo in EOVERFLOW check.
33383         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
33385 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33387         * manual/strings.texi (envz_remove): Fix typo in safety
33388         annotations.
33390 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
33391             Steve Ellcey  <sellcey@imgtec.com>
33393         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
33394         in order to avoid strict alias warnings.
33395         (iruserok_af): Ditto for ra.
33397 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
33399         [BZ #17581]
33400         * malloc/hooks.c
33401         (magicbyte): Convert to a function and avoid returning 0x01.
33402         (mem2mem_check): Avoid using a length byte equal to the magic byte.
33403         (mem2chunk_check): Fix unsigned comparisons to zero.
33404         Hoist defs of sz and magic.
33406 2015-05-19  Richard Henderson  <rth@redhat.com>
33408         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
33410         * sysdeps/alpha/fpu/libm-test-ulps: Update.
33412 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33414         [BZ #16159]
33415         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
33416         * malloc/arena.c (arena_lock): Check if arena is corrupt.
33417         (reused_arena): Find a non-corrupt arena.
33418         (heap_trim): Pass arena to unlink.
33419         * malloc/hooks.c (malloc_check_get_size): Pass arena to
33420         malloc_printerr.
33421         (top_check): Likewise.
33422         (free_check): Likewise.
33423         (realloc_check): Likewise.
33424         * malloc/malloc.c (malloc_printerr): Add arena argument.
33425         (unlink): Likewise.
33426         (munmap_chunk): Adjust.
33427         (ARENA_CORRUPTION_BIT): New macro.
33428         (arena_is_corrupt): Likewise.
33429         (set_arena_corrupt): Likewise.
33430         (sysmalloc): Use mmap if there are no usable arenas.
33431         (_int_malloc): Likewise.
33432         (__libc_malloc): Don't fail if arena_get returns NULL.
33433         (_mid_memalign): Likewise.
33434         (__libc_calloc): Likewise.
33435         (__libc_realloc): Adjust for additional argument to
33436         malloc_printerr.
33437         (_int_free): Likewise.
33438         (malloc_consolidate): Likewise.
33439         (_int_realloc): Likewise.
33440         (_int_memalign): Don't touch corrupt arenas.
33441         * malloc/tst-malloc-backtrace.c: New test case.
33443         * Makefile (summarize-tests): Fix return value on success.
33445         * manual/string.texi (Envz Functions): Add envz_remove.
33447 2015-05-18  Roland McGrath  <roland@hack.frob.com>
33449         * sysdeps/posix/opendir.c: Include <stdbool.h>.
33450         (invalid_name): New function, broken out of ...
33451         (__opendirat): ... here.  Call it.
33452         (need_isdir_precheck): New function, broken out of ...
33453         (__opendirat): ... here.  Call it.
33454         Use __fxstatat64, not __xstatat64.
33455         (opendir_oflags): New function, broken out of ...
33456         (__opendirat): ... here.  Call it.
33457         (opendir_tail): New function, broken out of ...
33458         (__opendirat): ... here.  Call it.
33459         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
33460         opendir_tail, rather than punting to __opendirat.
33461         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
33463 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33465         * .gitignore: Ignore generated *.pyc.
33467 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
33469         * include/stdio.h: Define __need_wint_t.
33470         * test-skeleton.c: Avoid `for' loop initial declaration.
33471         * nptl/tst-initializers1.c: Use test-skeleton.c.
33473 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33475         [BZ #18418]
33476         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
33478 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
33480         [BZ #16352]
33481         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
33482         (__ieee754_atanh): Force underflow exception for results with
33483         small absolute value.
33484         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
33485         (__ieee754_atanhf): Force underflow exception for results with
33486         small absolute value.
33487         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
33488         (__ieee754_atanh): Force underflow exception for results with
33489         small absolute value.
33490         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
33491         (__ieee754_atanhf): Force underflow exception for results with
33492         small absolute value.
33493         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
33494         (__ieee754_atanhl): Force underflow exception for results with
33495         small absolute value.
33496         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
33497         (__ieee754_atanhl): Force underflow exception for results with
33498         small absolute value.
33499         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
33500         (__ieee754_atanhl): Force underflow exception for results with
33501         small absolute value.
33502         * math/auto-libm-test-in: Do not allow missing underflow
33503         exceptions from atanh.
33504         * math/auto-libm-test-out: Regenerated.
33506         [BZ #18221]
33507         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
33508         2**-28 as threshold for returning x or +/- 1/x.
33509         * math/auto-libm-test-in: Add more tests of tan.
33510         * math/auto-libm-test-out: Regenerated.
33512         [BZ #18220]
33513         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
33514         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
33515         * math/auto-libm-test-in: Add another test of lgamma.
33516         * math/auto-libm-test-out: Regenerated.
33518 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
33520         * stdio-common/printf_fp.c (___printf_fp): Use abs.
33521         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
33522         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
33523         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
33524         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
33525         (ADD2A): Use fabs.  (SUB2A): Use fabs.
33526         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
33527         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
33528         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
33529         (log1): Use fabs.  (my_log2): Use fabs.
33530         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
33531         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
33532         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
33533         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
33534         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
33535         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
33536         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
33537         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
33538         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
33539         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
33540         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
33542 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
33544         [BZ #18217]
33545         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
33546         as threshold for returning 1 - x.
33547         * math/auto-libm-test-in: Add more tests of erfc.
33548         * math/auto-libm-test-out: Regenerated.
33550 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
33552         [BZ #18196]
33553         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
33554         threshold for large arguments.
33555         * math/auto-libm-test-in: Add another test of atan.
33556         * math/auto-libm-test-out: Regenerated.
33558         [BZ #16339]
33559         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
33560         (__log1p): Force underflow exception for results with small
33561         absolute value.
33562         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
33563         (__log1pf): Force underflow exception for results with small
33564         absolute value.
33565         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
33566         (__log1p): Force underflow exception for results with small
33567         absolute value.
33568         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
33569         (__log1pf): Force underflow exception for results with small
33570         absolute value.
33571         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
33572         (__log1pl): Force underflow exception for results with small
33573         absolute value.
33574         * math/auto-libm-test-in: Do not allow missing underflow
33575         exceptions from log1p.
33576         * math/auto-libm-test-out: Regenerated.
33578 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
33579             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33581         [BZ #16704]
33582         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
33584 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
33586         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
33587         (libmvec): New variable.
33588         * configure.ac: Added option for mathvec build.
33589         * configure: Regenerated.
33590         * mathvec/Depend: New file.
33591         * mathvec/Makefile: New file.
33592         * shlib-versions: Added libmvec.
33593         * math/Makefile: Added rule for libm.so installation.
33595         * bits/math-vector.h: New file.
33596         * bits/libm-simd-decl-stubs.h: New header.
33597         * math/Makefile (headers): Added new header
33598         libm-simd-decl-stubs.h.
33599         * math/math.h (__MATHCALL_VEC): New macro.
33601         * math/gen-libm-have-vector-test.sh: Script generates series of macros
33602         for conditions in testing functions.
33603         * math/Makefile: Added call of libm-have-vector-test.sh.
33604         * math/libm-test.inc (HAVE_VECTOR): New macros.
33606         * math/libm-test.inc: START refactored.
33607         * math/test-double.c (TEST_MATHVEC): Add define.
33608         * math/test-float.c: Likewise.
33609         * math/test-idouble.c: Likewise.
33610         * math/test-ifloat.c: Likewise.
33611         * math/test-ildoubl.c: Likewise.
33612         * math/test-ldouble.c: Likewise.
33613         * sysdeps/generic/math-tests-arch.h
33614         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
33615         architecture check.
33617         * math/test-double.c (FUNC_TEST): New macro.
33618         * math/test-float.c: Likewise.
33619         * math/test-idouble.c: Likewise.
33620         * math/test-ifloat.c: Likewise.
33621         * math/test-ildoubl.c: Likewise.
33622         * math/test-ldouble.c: Likewise.
33623         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
33625 2015-05-13  Roland McGrath  <roland@hack.frob.com>
33627         * sysdeps/nacl/fdopendir.c: New file.
33629         * dirent/scandir-tail.c: New file.
33630         * dirent/scandir64-tail.c: New file.
33631         * dirent/Makefile (routines): Add them.
33632         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
33633         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
33634         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
33635         [!SCANDIR] (SCANDIR_TAIL): New macro.
33636         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
33637         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
33638         (SCANDIRAT): Macro removed.
33639         (SCANDIR_TAIL): New macro.
33640         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
33641         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
33642         (SCANDIRAT): Just call __opendirat and __scandir_tail.
33643         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
33644         (READDIR): Macro removed.
33645         (SCANDIR_TAIL): New macro.
33646         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
33647         (SCANDIR_TAIL): New macro.
33649         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
33650         * dirent/scandir-cancel.c: ... to this new file.
33651         * dirent/Makefile (routines): Add it.
33652         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
33653         * sysdeps/unix/sysv/linux/i386/scandir64.c
33654         (SKIP_SCANDIR_CANCEL): Macro removed.
33655         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
33657         * dirent/tst-scandir.c: New file.
33658         * dirent/tst-scandir64.c: New file.
33659         * dirent/Makefile (tests): Add them.
33661 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
33663         [BZ #18409]
33664         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
33666 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33668         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
33669         list.
33671 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
33673         * benchtests/bench-strcoll.c: New benchmark.
33674         * benchtests/Makefile: Generate locales and run benchmark.
33675         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
33676         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
33677         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
33678         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
33679         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
33680         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
33681         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
33682         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
33683         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
33684         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
33685         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
33686         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
33687         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
33688         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
33689         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
33690         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
33691         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
33692         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
33693         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
33694         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
33695         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
33696         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
33697         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
33698         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
33700 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
33702         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
33703         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33705 2015-05-12  Roland McGrath  <roland@hack.frob.com>
33707         * posix/uname-values.h: New file.
33708         * posix/uname.c: Include that instead of <config-name.h>.
33709         * sysdeps/nacl/uname-values.h: New file.
33710         * sysdeps/arm/nacl/uname-values.h: New file.
33712 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
33714         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
33715         splitting into fields.
33717 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
33719         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
33720         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
33721         * locale/localeinfo.h: Add enum collation_encoding_type.
33722         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
33723         * programs/ld-collate.c (collate_output): Add encoding type info.
33724         * string/strcoll_l.c (STRDIFF): New function.
33725         * (STRCOLL): Use STRDIFF to skip over equal prefix.
33726         * wcsmbs/wcscoll_l.c: Define STRDIFF.
33728 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
33730         [BZ #18397]
33731         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
33732         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
33733         <fpu_control.h> instead of <math/fpu_control.c>.
33734         * sysdeps/mips/mips32/fpu/Makefile: New file.
33736 2015-05-11  Andreas Schwab  <schwab@suse.de>
33738         [BZ #18007]
33739         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
33740         nss_endgrent.
33741         (_nss_compat_endgrent): Call nss_endgrent.
33742         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
33743         nss_endpwent.
33744         (_nss_compat_endpwent): Call nss_endpwent.
33745         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
33746         needent, call nss_setspent only if non-zero.
33747         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
33748         (internal_endspent): Don't call nss_endspent.
33749         (_nss_compat_endspent): Call nss_endspent.
33750         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
33751         Remove.  All uses removed.
33752         (internal_setent): Remove parameter stayopen, add parameter
33753         stream.  Use it instead of global variable.
33754         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
33755         (internal_endent, internal_getent): Add parameter stream.  Use it
33756         instead of global variable.
33757         (CONCAT(_nss_files_end,ENTNAME))
33758         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
33759         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
33760         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
33761         uses removed.
33762         (internal_setent, internal_endent): Add parameter stream.  Use it
33763         instead of global variable.
33764         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
33765         stream.
33766         (get_next_alias): Add parameter stream.
33767         (_nss_files_getaliasent_r): Pass global stream.
33768         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
33769         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
33770         (_nss_files_gethostbyname4_r): Pass local stream to
33771         internal_setent, internal_getent and internal_endent.  Remove
33772         locking.
33774 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33776         * tst-strfmon1.c (tests): Update expected currency symbol.
33778 2015-05-08  Roland McGrath  <roland@hack.frob.com>
33780         * sysdeps/nacl/gethostname.c: New file.
33782 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
33784         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
33785         and sinh.
33786         * math/auto-libm-test-out: Regenerated.
33787         * sysdeps/i386/fpu/libm-test-ulps: Update.
33788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33790 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
33792         [BZ #18125]
33793         * stdlib/tst-setcontext3.c: New file.
33794         * stdlib/tst-setcontext3.sh: New file.
33795         * stdlib/Makefile (tests): Add tst-setcontext3.
33796         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
33797         to verify test program created output file.
33798         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
33799         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
33800         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
33801         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
33803 2015-05-06  Roland McGrath  <roland@hack.frob.com>
33805         [BZ #18383]
33806         * elf/tst-tlsalign.c: New file.
33807         * elf/tst-tlsalign-static.c: New file.
33808         * elf/tst-tlsalign-lib.c: New file.
33809         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
33810         (tests-static): Add tst-tlsalign-static.
33811         (modules-names): Add tst-tlsalign-lib.
33812         (test-xfail-tst-tlsalign): New variable.
33813         (test-xfail-tst-tlsalign-static): New variable.
33815         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
33816         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
33818 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
33820         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
33821         csqrt, erfc, sin and sincos.
33822         * math/auto-libm-test-out: Regenerated.
33823         * sysdeps/i386/fpu/libm-test-ulps: Update.
33824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33826 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33828         * sysdeps/aarch64/libm-test-ulps: Update.
33830 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
33832         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
33833         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
33834         * math/auto-libm-test-out: Regenerated.
33835         * sysdeps/i386/fpu/libm-test-ulps: Update.
33836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33838 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
33840         [BZ #18265]
33841         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
33842         (wcsncpy): Likewise.
33844 2015-05-05  Florian Weimer  <fweimer@redhat.com>
33846         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
33847         Assume __ASSUME_FALLOCATE is always true.
33848         * sysdeps/unix/sysv/linux/posix_fallocate64.c
33849         (__posix_fallocate64_l64): Likewise.
33850         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
33851         (posix_fallocate): Likewise.
33852         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
33853         (__posix_fallocate64_l64): Likewise.
33854         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33855         [!__ASSUME_FALLOCATE]: Add comment.
33857 2015-05-05  Florian Weimer  <fweimer@redhat.com>
33859         * sysdeps/unix/sysv/linux/i386/Makefile
33860         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
33861         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
33862         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
33863         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33864         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33865         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
33866         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
33868 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
33870         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
33871         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
33872         tgamma.
33873         * math/auto-libm-test-out: Regenerated.
33874         * sysdeps/i386/fpu/libm-test-ulps: Update.
33875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33877 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
33879         * math/auto-libm-test-in: Add more tests of tgamma.
33880         * math/auto-libm-test-out: Regenerated.
33881         * sysdeps/i386/fpu/libm-test-ulps: Update.
33882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33884         * math/auto-libm-test-in: Add more tests of tanh.
33885         * math/auto-libm-test-out: Regenerated.
33886         * sysdeps/i386/fpu/libm-test-ulps: Update.
33887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33889         * math/auto-libm-test-in: Add more tests of tan.
33890         * math/auto-libm-test-out: Regenerated.
33891         * sysdeps/i386/fpu/libm-test-ulps: Update.
33892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33894         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
33895         * math/auto-libm-test-out: Regenerated.
33896         * sysdeps/i386/fpu/libm-test-ulps: Update.
33897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33899         * math/auto-libm-test-in: Add another test of pow.
33900         * math/auto-libm-test-out: Regenerated.
33901         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33903         * math/auto-libm-test-in: Add more tests of lgamma.
33904         * math/auto-libm-test-out: Regenerated.
33905         * sysdeps/i386/fpu/libm-test-ulps: Update.
33906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33908         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
33909         log1p.
33910         * math/auto-libm-test-out: Regenerated.
33911         * sysdeps/i386/fpu/libm-test-ulps: Update.
33912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33914 2015-05-01  Mark Wielaard  <mjw@redhat.com>
33916         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
33917         Elf64_Chdr structs and ELFCOMPRESS constants.
33919 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
33921         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
33922         expm1.
33923         * math/auto-libm-test-out: Regenerated.
33924         * sysdeps/i386/fpu/libm-test-ulps: Update.
33925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33927         * math/auto-libm-test-in: Add more tests of erf and erfc.
33928         * math/auto-libm-test-out: Regenerated.
33929         * sysdeps/i386/fpu/libm-test-ulps: Update.
33930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33932 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33934         * config.h.in (HAVE_AARCH64_BE): Add.
33936 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
33938         * math/auto-libm-test-in: Add more tests of csqrt.
33939         * math/auto-libm-test-out: Regenerated.
33940         * sysdeps/i386/fpu/libm-test-ulps: Update.
33941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33943         * math/auto-libm-test-in: Add more tests of cosh and sinh.
33944         * math/auto-libm-test-out: Regenerated.
33945         * sysdeps/i386/fpu/libm-test-ulps: Update.
33946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33948         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
33950 2015-04-29  Roland McGrath  <roland@hack.frob.com>
33952         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
33953         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
33955         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
33956         (euidaccess, eaccess): Define as weak aliases.
33958         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
33959         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
33960         but __suseconds_t is often 'long int' so some sources assume that
33961         type is being used (e.g. they use %ld to print tv_usec).
33963 2015-04-29  Florian Weimer  <fweimer@redhat.com>
33965         [BZ #18007]
33966         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
33967         (CVE-2014-8121)
33968         * nss/tst-nss-getpwent.c: New file.
33969         * nss/Makefile (tests): Add new test.
33971 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
33973         [BZ #18346]
33974         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
33975         exponents less than 48 as cases where high part of mantissa needs
33976         examining to determine whether argument is integral.
33977         * math/libm-test.inc (round_test_data): Add more tests.
33979 2015-04-28  Mark Wielaard  <mjw@redhat.com>
33981         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
33983 2015-04-27  David S. Miller  <davem@davemloft.net>
33985         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
33986         __tls_get_addr.
33987         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
33989 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
33991         [BZ #18333]
33992         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
33994 2015-04-27  Florian Weimer  <fweimer@redhat.com>
33996         [BZ #18333]
33997         * time/tzset.c (parse_tzname): Return error on memory allocation
33998         failure.
33999         * test-skeleton.c (struct temp_name_list): Change type of name
34000         member to non-const.
34001         (add_temp_file): Create a copy of the file name.
34002         (delete_temp_files): Deallocate memory.
34003         (create_temp_file): Add comment.
34005 2015-04-24  Florian Weimer  <fweimer@redhat.com>
34007         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
34008         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
34010 2015-04-24  Roland McGrath  <roland@hack.frob.com>
34012         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
34013         * sysdeps/arm/configure: Regenerated.
34015 2015-04-24  Florian Weimer  <fweimer@redhat.com>
34017         [BZ #17715]
34018         * time/tzfile.c (__tzfile_read): Check for large values of
34019         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
34020         * time/tzset.c (__tzstring_len): New function, based on the old
34021         __tzstring function.
34022         (__tzstring): Call __tzstring_len.
34023         (parse_tzname): New helper function extracted from
34024         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
34025         the input string.
34026         (parse_offset): New helper function extracted from
34027         __tzset_parse_tz.  Replace switch with fallthrough with
34028         initialization before sscanf.
34029         (parse_rule): Likewise.
34030         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
34031         new-style function definition.
34032         * timezone/Makefile (tests): Add tst-tzset.
34033         (tst-tzset.out): Dependencies on time zone files.
34034         (tst-tzset-ENV): Set TZDIR.
34035         (testdata/XT%): Copy crafted time zone files.
34036         * timezone/README: Mention crafted time zone files.
34037         * timezone/testdata/XT1, timezone/testdata/XT2,
34038         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
34039         files.
34040         * timezone/tst-tzset.c: New test.
34042 2015-04-24  Florian Weimer  <fweimer@redhat.com>
34044         * Makeconfig (+gccwarn): Remove -Winline.
34046 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
34048         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
34050 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
34052         * NEWS: Mention sysconf() cache information support for s390.
34053         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
34055 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
34057         * math/k_casinh.c (__kernel_casinh): Use __copysign.
34058         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
34059         (__nearbyint): Likewise.
34060         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
34061         (copysignl): Likewise.
34063 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
34065         [BZ #18287]
34066         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
34067         based on padding.  (CVE-2015-1781)
34069 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34071         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
34072         libc-vdso.h.
34073         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
34074         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
34075         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
34076         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
34077         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
34078         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
34079         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
34080         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34081         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
34082         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
34083         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
34084         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
34085         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
34086         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
34087         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
34088         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
34089         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
34090         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
34091         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
34092         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
34093         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
34094         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
34095         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
34097 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
34099         * stdlib/setenv.c (__add_to_environ):
34100         Dump core quickly if setenv (..., NULL, ...) is called.
34101         This time, do it the right way, and pacify GCC with a pragma.
34103 2015-04-17  Roland McGrath  <roland@hack.frob.com>
34105         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
34106         IMAP->l_prev cannot be null, and #if out the code for the contrary
34107         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
34108         believe that NS (&_dl_ns[NSID]) could point outside the array.
34110         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
34111         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
34112         before using NSID as an index.
34114 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
34116         [BZ #17825]
34117         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
34118         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
34119         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
34121 2015-04-17  Roland McGrath  <roland@hack.frob.com>
34123         Add preliminary port to Google Native Client on ARM.
34124         * abi-tags (.*-.*-nacl.*): New entry.
34125         * sysdeps/arm/nacl: New directory.
34126         * sysdeps/nacl: New directory.
34128 2015-04-16  David S. Miller  <davem@davemloft.net>
34130         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
34131         lowlevellock-futex.h
34133 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
34135         * sysdeps/tile/configure.ac: New file.
34136         * sysdeps/tile/configure: Regenerated.
34138 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34140         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
34141         conditionals for weak_alias and libc_hidden_weak.
34142         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
34143         libc_hidden_weak and weak_alias.
34144         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
34145         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
34146         and weak_alias for static one.
34148 2015-04-15  David S. Miller  <davem@davemloft.net>
34150         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
34152 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
34154         [BZ #18206]
34155         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
34156           Use signed comparision instead of substraction to avoid
34157           overflow bug.
34158         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
34159           Take the sign of ret.
34160         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
34161           Do not expect precise return values. Only the sign matters.
34162         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
34163         * wcsmbs/test-wcsncmp.c: New File.
34164         * string/test-strncmp.c: Add wcsncmp support.
34166 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
34168         [BZ #6792]
34169         * math/w_log1p.c: New file.
34170         * math/w_log1pf.c: Likewise.
34171         * math/w_log1pl.c: Likewise.
34172         * math/Makefile (libm-calls): Add w_log1p.
34173         * math/s_log1pl.c (log1pl): Remove weak_alias.
34174         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
34175         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
34176         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
34177         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
34178         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
34179         [NO_LONG_DOUBLE] (log1pl): Likewise.
34180         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
34181         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
34182         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
34183         (log1p): Remove long_double_symbol.
34184         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
34185         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
34186         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
34187         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
34188         remove weak_alias for corresponding log1p function.
34189         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
34190         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
34191         * sysdeps/ia64/fpu/w_log1p.c: New file.
34192         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
34193         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
34194         * math/libm-test.inc (log1p_test_data): Add errno expectations.
34196 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
34198         [BZ #18247]
34199         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
34200         decimal exponent by 1.
34201         * stdlib/tst-strtod-round-data: Add more tests.
34202         * stdlib/tst-strtod-round.c (tests): Regenerated.
34204 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
34206         * math/auto-libm-test-in: Add more tests of clog and clog10.
34207         * math/auto-libm-test-out: Regenerated.
34208         * sysdeps/i386/fpu/libm-test-ulps: Update.
34209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34211 2015-04-09  Roland McGrath  <roland@hack.frob.com>
34213         * Makeconfig (module-cppflags): Exclude all .v.i files.
34214         (skip-module-cppflags): Variable removed.
34216         * configure.ac (libc_config_ok): Initialize before reading
34217         preconfigure scripts, not after.
34218         * configure: Regenerated.
34220         * test-skeleton.c (TIMEOUT): Move #define to top level.
34221         (main): Grok environment variable TEST_DIRECT.  If set, print
34222         test expectation details into that file and then behave as if
34223         given --direct.
34225 2015-04-09  Florian Weimer  <fweimer@redhat.com>
34227         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
34228         warning on 32-bit.
34230 2015-04-08  David S. Miller  <davem@davemloft.net>
34232         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34234 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
34236         * math/auto-libm-test-in: Add more tests of atanh.
34237         * math/auto-libm-test-out: Regenerated.
34238         * sysdeps/i386/fpu/libm-test-ulps: Update.
34239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34241         * math/auto-libm-test-in: Add more tests of atan.
34242         * math/auto-libm-test-out: Regenerated.
34243         * sysdeps/i386/fpu/libm-test-ulps: Update.
34244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34246 2015-04-08  Florian Weimer  <fweimer@redhat.com>
34248         * elf/pldd.c (main): Rewrite to use struct
34249         scratch_buffer instead of extend_alloca.
34250         * elf/pldd-xx.c (find_maps): Likewise.
34251         * grp/initgroups.c: Include <scratch_buffer.h> instead of
34252         <alloca.h>.
34253         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
34254         scratch_buffer instead of extend_alloca.
34255         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
34256         grp/compat-initgroups.c.
34257         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
34258         Rewrite to use struct scratch_buffer instead of extend_alloca.
34259         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
34260         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34262 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
34264         * math/auto-libm-test-in: Add more tests of cbrt.
34265         * math/auto-libm-test-out: Regenerated.
34266         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34268         * math/auto-libm-test-in: Add more tests of cabs.
34269         * math/auto-libm-test-out: Regenerated.
34270         * sysdeps/i386/fpu/libm-test-ulps: Update.
34271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34273         [BZ #18210]
34274         [BZ #18211]
34275         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
34276         (__ieee754_atan2): Set FE_TONEAREST mode for internal
34277         computations.
34278         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
34279         clog10.
34280         * math/auto-libm-test-out: Regenerated.
34281         * sysdeps/i386/fpu/libm-test-ulps: Update.
34282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34284         [BZ #18197]
34285         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
34286         (atan): Set FE_TONEAREST mode for internal computations.
34287         * math/auto-libm-test-in: Add more tests of atan.
34288         * math/auto-libm-test-out: Regenerated.
34290 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
34292         [BZ #17930]
34293         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
34295 2015-04-07  Florian Weimer  <fweimer@redhat.com>
34297         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
34299 2015-04-07  Florian Weimer  <fweimer@redhat.com>
34301         * include/scratch_buffer.h: New file.
34302         * malloc/scratch_buffer_grow.c: Likewise.
34303         * malloc/scratch_buffer_grow_preserve.c: Likewise.
34304         * malloc/scratch_buffer_set_array_size.c: Likewise.
34305         * malloc/tst-scratch_buffer.c: Likewise.
34306         * malloc/Makefile (routines): Add scratch_buffer_grow.
34307         (tests): Add test case.
34308         * malloc/Versions (GLIBC_PRIVATE): Export
34309         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
34310         __libc_scratch_buffer_set_array_size.
34312 2015-04-06  Richard Henderson  <rth@redhat.com>
34314         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
34315         * sysdeps/alpha/fpu/libm-test-ulps: Update.
34317         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
34318         unsigned int before printing.
34320 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34322         [BZ #17596]
34323         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
34324         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
34326 2015-04-02  Florian Weimer  <fweimer@redhat.com>
34328         * include/libc-internal.h (libc_max_align_t): Define.
34330 2015-04-02  Andreas Schwab  <schwab@suse.de>
34332         [BZ #16850]
34333         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
34335 2015-04-02  Mel Gorman  <mgorman@suse.de>
34337         [BZ #17195]
34338         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
34339         as well as the main arena.
34341 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
34343         [BZ #18185]
34344         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
34345         sharing L2 cache to 2 for Silvermont/Knights Landing.
34347 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
34349         [BZ #17711]
34350         * config.make.in (have-protected-data): New.
34351         * configure.ac: Check linker support for protected data symbol.
34352         * configure: Regenerated.
34353         * elf/Makefile (modules-names): Add tst-protected1moda and
34354         tst-protected1modb if $(have-protected-data) is yes.
34355         (tests): Add tst-protected1a and tst-protected1b if
34356         $(have-protected-data) is yes.
34357         ($(objpfx)tst-protected1a): New.
34358         ($(objpfx)tst-protected1b): Likewise.
34359         (tst-protected1modb.so-no-z-defs): Likewise.
34360         * elf/tst-protected1a.c: New file.
34361         * elf/tst-protected1b.c: Likewise.
34362         * elf/tst-protected1mod.h: Likewise.
34363         * elf/tst-protected1moda.c: Likewise.
34364         * elf/tst-protected1modb.c: Likewise.
34366 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
34368         [BZ #17711]
34369         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
34370         indicates it is called from do_lookup_x on relocation against
34371         protected data, skip the data definion in the executable from
34372         copy reloc.
34373         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
34374         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
34375         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
34376         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
34377         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
34378         otherwise to 0.
34379         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
34380         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
34381         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
34382         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
34383         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
34384         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
34386 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
34388         * sysdeps/nptl/pthread.h: Remove duplicate definition of
34389         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
34391 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
34393         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
34394         THREAD_SETMEM_NC.
34395         * sysdeps/x86_64/nptl/tls.h: Ditto.
34397 2015-03-27  Roland McGrath  <roland@hack.frob.com>
34399         * dlfcn/tststatic.c (main): Converted to ...
34400         (do_test): ... this.
34401         (TEST_FUNCTION): New macro.
34402         Include test-skeleton.c.
34404 2015-03-26  Alan Modra  <amodra@gmail.com>
34406         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
34407         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
34408         zero for undefined weak.
34409         (elf_machine_plt_conflict): Similarly.
34411 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
34413         * math/auto-libm-test-in: Add more tests of acosh, asinh and
34414         atanh.
34415         * math/auto-libm-test-out: Regenerated.
34416         * sysdeps/i386/fpu/libm-test-ulps: Update.
34417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34419         * math/auto-libm-test-in: Add another test of asin.
34420         * math/auto-libm-test-out: Regenerated.
34421         * sysdeps/i386/fpu/libm-test-ulps: Update.
34422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34424         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
34425         Remove macro.
34426         (LLL_EBX_REG): Likewise.
34427         (LLL_ENTER_KERNEL): Likewise.
34429         * math/auto-libm-test-in: Add more tests of asin.
34430         * math/auto-libm-test-out: Regenerated.
34431         * sysdeps/i386/fpu/libm-test-ulps: Update.
34432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34434         [BZ #18138]
34435         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
34436         libc_do_syscall_args): New structure.
34437         (INTERNAL_SYSCALL_MAIN_0): New macro.
34438         (INTERNAL_SYSCALL_MAIN_1): Likewise.
34439         (INTERNAL_SYSCALL_MAIN_2): Likewise.
34440         (INTERNAL_SYSCALL_MAIN_3): Likewise.
34441         (INTERNAL_SYSCALL_MAIN_4): Likewise.
34442         (INTERNAL_SYSCALL_MAIN_5): Likewise.
34443         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
34444         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
34445         Replace conditional definitions by conditional definitions of ....
34446         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
34447         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
34448         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
34449         (libpthread-sysdep_routines): Add libc-do-syscall.
34450         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
34451         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
34452         to __NR_futex not 240.
34454 2015-03-25  Alan Modra  <amodra@gmail.com>
34456         * NEWS: Advertise TLS optimization.
34457         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
34458         (DT_PPC_NUM): Increment.
34459         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
34460         (CHECK_STATIC_TLS): Use here.
34461         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
34462         TLS descriptors.
34463         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
34464         * sysdeps/powerpc/dl-tls.c: New file.
34465         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
34466         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
34467         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
34468         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
34469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
34470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
34471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
34473 2015-03-25  Alan Modra  <amodra@gmail.com>
34475         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
34476         for overlapping .opd entries" to "support...".
34477         * sysdeps/powerpc/powerpc64/configure: Regenerate
34479 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
34481         * math/auto-libm-test-in: Add more tests of acos.
34482         * math/auto-libm-test-out: Regenerated.
34483         * sysdeps/i386/fpu/libm-test-ulps: Update.
34484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34486         * math/auto-libm-test-in: Add more tests of expm1.
34487         * math/auto-libm-test-out: Regenerated.
34488         * sysdeps/i386/fpu/libm-test-ulps: Update.
34489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34491 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
34493         * math/auto-libm-test-in: Add more tests of cosh and sinh.
34494         * math/auto-libm-test-out: Regenerated.
34495         * sysdeps/i386/fpu/libm-test-ulps: Update.
34496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34498         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
34499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34501         * math/auto-libm-test-in: Add more tests of log2.
34502         * math/auto-libm-test-out: Regenerated.
34503         * sysdeps/i386/fpu/libm-test-ulps: Update.
34504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34506 2015-03-23  Roland McGrath  <roland@hack.frob.com>
34508         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
34509         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
34510         _IO_IS_APPENDING bit in READ_WRITE instead.
34512 2015-03-23  Florian Weimer  <fweimer@redhat.com>
34514         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
34515         (__determine_cpumask_size): Replace extend_alloca with a
34516         variable-length array.  Do not treat res == 0 as an error.
34518 2015-03-23  Florian Weimer  <fweimer@redhat.com>
34520         [BZ #18100]
34521         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
34522         and integer overflow.
34523         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
34524         (main): Add integer overflow tests.
34525         * manual/pattern.texi (Calling Wordexp): Document additional use
34526         for WRDE_SYNTAX.
34528 2015-03-23  Alan Modra  <amodra@gmail.com>
34530         * config.h.in: Remove HAVE_ASM_PPC_REL16.
34531         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
34532         and false branch of conditional.
34533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
34534         Likewise.
34536 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
34538         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
34539         libc-modules.h
34540         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
34541         unused declaration of _hurd_intr_rpc_msg_in_trap.
34542         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
34543         defined instead of whether it is non-zero.
34544         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
34545         input constraint instead of both input and output constraint.  Use ecx
34546         clobber instead of %ecx.
34547         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
34548         mutex_unlock): Use a statement expression instead of an expression list.
34549         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
34550         type to vm_size_t instead of vm_address_t.
34551         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
34552         defined instead of whether it is non-zero.
34553         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
34554         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
34555         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
34556         comparisons with mapaddr.
34557         * nscd/nscd-client.h: Include <time.h>.
34558         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
34559         9th parameter to __vm_region instead of int.
34560         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
34561         * scripts/check-local-headers.sh (exclude): Add device/,
34562         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
34563         cthreads.h.
34565 2015-03-19  Roland McGrath  <roland@hack.frob.com>
34567         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
34568         to account for alignment padding.
34569         * sysdeps/arm/memmove.S: Likewise.
34571 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
34573         * sysdeps/unix/sysv/linux/generic/README: New file.
34575 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
34577         [BZ #18138]
34578         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
34579         (futex_abstimed_wait)
34580         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
34581         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
34582         of lll_futex_timed_wait.
34584 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
34586         [BZ #17542]
34587         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
34589 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
34591         [BZ #17090]
34592         [BZ #17620]
34593         [BZ #17621]
34594         [BZ #17628]
34595         * NEWS: Update.
34596         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
34597         entries with Static TLS too.  Skip entries past the end of the
34598         allocated DTV, from Alan Modra.
34599         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
34600         Static TLS DTV entry set up from...
34601         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
34602         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
34603         * nptl/allocatestack.c (init_one_static_tls): ... and here...
34604         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
34605         for Static TLS.
34606         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
34607         that the slot we find is associated with the given map before
34608         using its generation count.
34609         * nptl_db/db_info.c: Include ldsodefs.h.
34610         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
34611         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
34612         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
34613         (link_map::l_tls_offset): New struct field.
34614         (dtv_t::counter): Likewise.
34615         (rtld_global): New struct.
34616         (_rtld_global): New rtld variable.
34617         (dl_tls_dtv_slotinfo_list): New rtld global field.
34618         (dtv_slotinfo_list): New struct.
34619         (dtv_slotinfo): Likewise.
34620         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
34621         (td_lookup): Rename to...
34622         (td_mod_lookup): ... this.  Use new mod parameter instead of
34623         LIBPTHREAD_SO.
34624         * nptl_db/td_thr_tlsbase.c: Include link.h.
34625         (dtv_slotinfo_list, dtv_slotinfo): New functions.
34626         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
34627         addresses even if the DTV is out of date or missing them.
34628         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
34629         index zero-length arrays.
34630         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
34631         (td_lookup): Make it a macro implemented in terms of...
34632         (td_mod_lookup): ... this declaration.
34633         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
34634         (DB_MAIN_VARIABLE): Likewise.
34636 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34638         [BZ #18134]
34639         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
34641 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
34643         * stdlib/setenv.c (__add_to_environ): Revert previous change.
34645 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
34647         [BZ #18128]
34648         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
34649         (atomic_add, atomic_increment_and_test)
34650         (atomic_decrement_and_test): Fix 64-bit arithmetic.
34652 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
34654         * stdlib/setenv.c (__add_to_environ):
34655         Dump core quickly if setenv (..., NULL, ...) is called.
34657 2015-03-13  Roland McGrath  <roland@hack.frob.com>
34659         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
34660         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
34661         all the necessary asm magic in one place.
34662         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
34663         using those.
34665 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
34667         [BZ #14906]
34668         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
34669         traced file mtime. Use consistent log message.
34670         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
34671         (register_traced_file): Call install_watches. Always set mtime.
34672         (invalidate_cache): Iterate over all trace files. Call install_watches.
34673         (inotify_check_files): Don't inline. Handle watching parent
34674         directories and configuration file movement in and out.
34675         (handle_inotify_events): New function.
34676         (main_loop_poll): Call handle_inotify_events.
34677         (main_loop_epoll): Likewise.
34678         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
34679         (struct traced_file): Use array of inotify fds. Add parent directory,
34680         and basename.
34681         (struct database_dyn): Remove unused file_mtime.
34682         (init_traced_file): New inline function.
34683         (define_traced_file): New macro.
34684         * nss/nss_db/db-init.c: Use define_traced_file.
34685         (_nss_db_init): Use init_traced_file.
34686         * nss/nss_files/files-init.c: Use define_traced_file.
34687         (_nss_files_init): Use init_traced_file.
34689 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
34691         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
34692         [_LIBC]: Do not include <stdlib.h>.
34693         [!_LIBC] (abort): Remove declaration.
34694         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
34695         _FP_STATIC_ASSERT instead of conditionally calling abort.
34696         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
34697         (_FP_EXTEND_CNAN): Likewise.
34698         (FP_TRUNC): Likewise.
34699         (__FP_CLZ): Likewise.
34700         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
34702 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
34704         * manual/string.texi (XPG basename): Fix prototype.
34706 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34708         [BZ #18080]
34709         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
34710         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
34711         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
34712         (__setcontext): Likewise.
34713         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
34714         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
34715         Call rt_sigprocmask syscall one time to set new signal mask
34716         and retrieve the current signal mask instead of two calls.
34717         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
34718         (__swapcontext): Likewise.
34719         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
34720         * stdlib/tst-setcontext2.c: New file.
34722 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34724         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34726 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
34728         [BZ #18093]
34729         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
34730         the wrong size.
34732 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
34734         [BZ #18043]
34735         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
34737 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
34739         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
34740         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
34741         Remove define.
34742         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
34743         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
34744         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
34745         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
34746         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
34747         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
34748         define.
34749         * nptl_db/td_symbol_list.c (td_lookup): Remove
34750         HAVE_ASM_GLOBAL_DOT_NAME code.
34751         * sysdeps/powerpc/powerpc64/configure.ac: Remove
34752         HAVE_ASM_GLOBAL_DOT_NAME check.
34753         * sysdeps/powerpc/powerpc64/configure: Regenerate.
34754         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
34755         (DOT_LABEL): Remove define.
34756         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
34757         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
34758         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
34759         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
34760         (__TLS_GET_ADDR): Likewise.
34761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
34762         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
34764 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
34766         [BZ #18111]
34767         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
34768         (_FPU_SETCW): Initialize cw from fpsr before storing.
34769         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
34770         (fesetexceptflag): Rewrite using fpu_control.h.
34771         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
34773 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
34775         [BZ #18110]
34776         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
34777         asms.
34778         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
34780 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
34782         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
34783         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
34784         abort.
34785         (_FP_FMA): Likewise.
34786         (_FP_DIV): Likewise.
34788 2015-03-10  Roland McGrath  <roland@hack.frob.com>
34790         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
34791         with 0 in that case.
34792         * Makefile (summarize-tests): New canned sequence, factored out of
34793         commands for targets tests and xtests.  Display summary lines that
34794         don't start with PASS: or XFAIL: rather than ones that do start with
34795         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
34796         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
34797         do start with ERROR: or FAIL:.
34798         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
34799         (except for [$(build-shared) = yes]).
34800         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
34801         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
34802         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
34803         * nptl/Makefile: Revert 2015-03-04 changes.
34804         [$(CXX) empty] (tests-unsupported): New variable.
34805         * debug/Makefile: Likewise.
34807         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
34808         gnulib file.  Replace __attribute with __attribute__ throughout.
34810 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
34812         * sysdeps/hppa/fpu/libm-test-ulps: Update.
34814 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
34816         [BZ #18104]
34817         * math/auto-libm-test-in: Add another test of pow.
34818         * math/auto-libm-test-out: Regenerated.
34820 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34822         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
34823         $(config-cflags-nofma).
34825 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
34827         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
34828         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
34829         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
34830         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
34831         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
34832         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
34833         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
34834         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
34835         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
34836         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
34837         Add comment on closing #endif.
34839 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
34841         * posix/wordexp.c (CHAR_IN_SET): New macro.
34842         (parse_param): Use it.
34844 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34846         * sysdeps/powerpc/fpu/libm-test-ulps: update.
34848 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
34850         [BZ #18043]
34851         * posix/wordexp.c (parse_param): Fix buffer overflow.
34852         * posix/wordexp-test.c (test_case): Add test case.
34854 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
34856         [BZ #18042]
34857         * posix/wordexp.c (parse_backtick): Fix off-by-one.
34858         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
34860 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
34862         [BZ #18043]
34863         * posix/wordexp-test.c (test_case): Add test for BZ #18043
34864         (do_bz18043): Delete.
34865         (at_page_end): New.
34866         (testit): Refactor to have words at the edge of unreadable page.
34868 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
34870         [BZ #16734]
34871         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
34872         Cleanup read-only streams as well.
34873         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
34875 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34877         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
34878         <bits/libc-lockP.h>
34880 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
34882         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
34883         on [__KERNEL__].
34884         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
34885         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
34886         * soft-fp/op-common.h (_FP_DECL): Likewise.
34888 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
34890         * elf/ifuncdep2.c (global): Replace
34891         __attribute__((visibility("protected"))) with
34892         asm (".protected global").
34893         * elf/ifuncmod1.c (global): Likewise.
34894         * elf/ifuncmod5.c (global): Likewise.
34896 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
34898         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
34899         <asm/sfp-machine.h> instead of <sfp-machine.h>.
34901 2015-03-06  Roland McGrath  <roland@hack.frob.com>
34903         * manual/install.texi (Configuring and compiling):
34904         Document test-wrapper-env-only.
34905         * INSTALL: Regenerated.
34907 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
34909         [BZ #18043]
34910         * posix/wordexp.c (parse_param): Fix buffer overflow.
34911         * posix/wordexp-test.c (do_bz18043): Add test case.
34913 2015-03-06  Vincent Bernat  <vincent@bernat.im>
34915         * time/tst-strptime2.c (do_test): Ensure failing tests are
34916         reported correctly.
34917         * time/tst-strptime3.c (do_test): Likewise.
34919 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
34921         Fix aio_error thread-safety.
34922         * sysdeps/pthread/aio_error.c: New file
34923         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
34924         synchronization.
34926 2015-03-06  Florian Weimer  <fweimer@redhat.com>
34928         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
34929         (group_number, vfprintf): Use it.
34930         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
34931         (JUMP, REF): Use it.
34932         (WORK_BUFFER_SIZE): New enum constant.
34933         (process_arg, vfprintf): Use it.
34935 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
34937         * manual/errno.texi (Error Messages): Complete example function
34938         by adding missing #define.
34939         (program_invocation_name): Add statement indicating GNU
34940         extension and reference which header file declares the variable.
34941         (program_invocation_short_name): Likewise.
34943 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
34945         * manual/errno.texi (Error Messages): Delete strerror ISO C89
34946         compatibility note.
34948 2015-03-05  Roland McGrath  <roland@hack.frob.com>
34950         * Makeconfig (test-wrapper-env-only): New variable.
34951         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
34952         then use that with $(test-wrapper-env-only) rather than using
34953         $(test-wrapper-env) $(run-program-env) $($*-ENV).
34955 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
34957         [BZ #18082]
34958         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
34959         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
34960         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
34961         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
34962         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
34963         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
34964         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
34965         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
34966         Likewise.
34967         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
34968         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
34969         Likewise.
34970         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
34971         Likewise.
34972         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
34973         Likewise.
34974         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
34975         Likewise.
34976         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
34977         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
34978         Likewise.
34979         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
34980         Likewise.
34981         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
34982         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
34984 2015-03-04  Roland McGrath  <roland@hack.frob.com>
34986         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
34987         (ETH_ALEN): New macro.
34988         (struct ether_addr): Use it for length of ether_addr_octet.
34990         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
34991         (setdb): Don't call __nss_configure_lookup for "rpc".
34992         (do_test): Don't call test_rpc.
34993         (output_rpcent, test_rpc): Functions moved ...
34994         * sunrpc/test-rpcent.c: ... to this new file.
34995         * sunrpc/Makefile (tests): Add it.
34997         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
34998         __xpg_sigpause.
34999         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
35000         * nptl/tst-signal6.c: Likewise.
35001         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
35002         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
35004         * configure.ac (libc_cv_cxx_link_ok): New check.
35005         Reset CXX to empty if it fails to link.
35006         * configure: Regenerated.
35007         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
35008         bug-atexit3-lib only if $(CXX) is nonempty.
35009         * nptl/Makefile (tests): Likewise for tst-cancel24.
35010         (tests, tests-static): Likewise for tst-cancel24-static.
35011         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
35012         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
35013         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
35014         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
35016 2015-03-04  Andreas Schwab  <schwab@suse.de>
35018         [BZ #17631]
35019         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
35020         for non-GCC compilers.
35021         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
35022         Likewise.
35024 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
35026         [BZ #17776]
35027         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
35028         integer before bitwise and assembly operations.
35029         (feclearexcept): Likewise.
35030         * math/test-fenvinline.c: New file.
35031         * math/Makefile: Add test-fenvinline test.
35033 2015-03-03  Alan Modra  <amodra@gmail.com>
35035         [BZ #16512]
35036         * scripts/localplt.awk: Strip off symbol version.
35037         * NEWS: Mention bug fix.
35039 2015-03-02  Roland McGrath  <roland@hack.frob.com>
35041         * sysdeps/pthread/timer_routines.c
35042         (timer_free_list, thread_free_list, thread_active_list): Make static.
35044 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
35046         [BZ #17779]
35047         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
35048         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
35049         Undefine.
35050         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35051         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
35052         Likewise.
35053         * sysdeps/unix/sysv/linux/sh/kernel-features.h
35054         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
35055         Likewise.
35057 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
35059         [BZ #18036]
35060         * posix/fnmatch_loop.c (END): Detect invalid pattern.
35061         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
35063 2015-03-02  Andreas Schwab  <schwab@suse.de>
35065         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
35066         variable name.
35068 2015-03-02  Florian Weimer  <fweimer@redhat.com>
35070         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
35071         Return error status.
35073 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
35075         [BZ #15969]
35076         * locale/findlocale.c (_nl_find_locale): Introduce const
35077         version of loc_name and drop unsafe type casts.
35079 2015-02-27  Roland McGrath  <roland@hack.frob.com>
35081         * dlfcn/tststatic2.c (main): Converted to ...
35082         (do_test): ... this.
35083         (TEST_FUNCTION): New macro.
35084         Include test-skeleton.c.
35086 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
35088         [BZ #17711]
35089         * elf/Makefile (tests): Add vismain only if PIE is enabled.
35090         (tests-pie): Add vismain.
35091         (CFLAGS-vismain.c): New.
35092         * elf/vismain.c: Add comments for PIE requirement.
35094 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
35096         [BZ #18046]
35097         [BZ #18047]
35098         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
35099         0x1p-56L as threshold for just returning the argument.
35100         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
35101         0x1p-32L as threshold for just returning the argument.
35102         * math/auto-libm-test-in: Add more tests of atanh.
35103         * math/auto-libm-test-out: Regenerated.
35104         * sysdeps/i386/fpu/libm-test-ulps: Update.
35105         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
35107 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
35109         * string/bcopy.c (bcopy): Call memmove for performance.
35111 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
35113         * string/bzero.c (__bzero): Call memset for performance.
35115 2015-02-27  John David Anglin  <dave.anglin@bell.net>
35117         [BZ #18068]
35118         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
35119         to 00100000.
35121 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
35123         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
35125 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
35127         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
35128         (__kernel_standard): Use CSTR macro when setting exc.name.
35129         * sysdeps/ieee754/Makefile [$(subdir) = math]
35130         (CFLAGS-k_standard.c): Remove variable.
35132         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
35133         setting p and q from "else if" to "else".
35134         (qzero): Likewise.
35135         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
35136         (qone): Likewise.
35137         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
35138         (qzerof): Likewise.
35139         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
35140         (qonef): Likewise.
35141         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
35142         (qzero): Likewise.
35143         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
35144         (qone): Likewise.
35146         [BZ #18038]
35147         [BZ #18039]
35148         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
35149         return pi/2 for arguments below 0x1p-113L.
35150         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
35151         return pi/2 for arguments below 0x1p-106L.
35152         * math/auto-libm-test-in: Add more tests of acos.
35153         * math/auto-libm-test-out: Regenerated.
35155         [BZ #16351]
35156         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
35157         (MO): New macro.
35158         (__ieee754_asin): Force underflow exception for results with small
35159         absolute value.
35160         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
35161         (MO): New macro.
35162         (__ieee754_asinf): Force underflow exception for results with
35163         small absolute value.
35164         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
35165         (__ieee754_asin): Force underflow exception for results with small
35166         absolute value.
35167         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
35168         (__ieee754_asinf): Force underflow exception for results with
35169         small absolute value.
35170         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
35171         (__ieee754_asinl): Force underflow exception for results with
35172         small absolute value.
35173         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
35174         (__ieee754_asinl): Force underflow exception for results with
35175         small absolute value.
35176         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
35177         (__ieee754_asinl): Force underflow exception for results with
35178         small absolute value.
35179         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
35180         Include <math.h>.
35181         * math/auto-libm-test-in: Do not mark underflow exceptions as
35182         possibly missing for bug 16351.
35183         * math/auto-libm-test-out: Regenerated.
35185         [BZ #18030]
35186         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
35187         of power of 2 down when low part has opposite sign.
35188         * math/libm-test.inc (logb_test_data): Add more tests.
35190 2015-02-26  Andreas Schwab  <schwab@suse.de>
35192         [BZ #18032]
35193         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
35194         over collating symbol inside a bracket expression.  Minor cleanup.
35195         * posix/tst-fnmatch3.c (do_test): Add test case.
35197 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
35199         [BZ #18029]
35200         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
35201         Adjust exponent of power of 2 down when low part has opposite
35202         sign.
35203         * math/libm-test.inc (ilogb_test_data): Add more tests.
35205 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
35207         [BZ #15969]
35208         * locale/findlocale.c (_nl_find_locale): Fix constness error in
35209         the previous change.
35211         [BZ #15969]
35212         * locale/findlocale.c (_nl_find_locale): Retry archive search
35213         after alias expansion.
35215 2015-02-25  Roland McGrath  <roland@hack.frob.com>
35217         * iconv/tst-iconv3.c (main): Converted to ...
35218         (do_test): ... this.
35219         (TEST_FUNCTION): New macro.
35220         Include test-skeleton.c.
35222         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
35223         (convert): Make function static.
35224         (test_unalign): Likewise.  Add const to argument pointee types.
35225         (main): Replace with static function do_test.
35226         Print "Succeeded." only if RET is zero.
35227         (TEST_FUNCTION): New macro.
35228         Include test-skeleton.c.
35230         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
35231         returns a null pointer.
35233 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35235         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
35236         to __memcpy_ppc only for static builds.
35238 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
35240         [BZ #18020]
35241         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
35242         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
35243         * math/auto-libm-test-in: Add more tests of asinh.
35244         * math/auto-libm-test-out: Regenerated.
35245         * sysdeps/i386/fpu/libm-test-ulps: Update.
35246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35248 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
35250         [BZ #15850]
35251         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
35252         and ip6_mtuinfo definitions here.
35253         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
35254         in this define too.  Update comment.
35256 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
35258         * elf/sprof.c (load_shobj): Tweak error message to match others.
35260 2015-02-24  Kevin Easton  <kevin@guarana.org>
35262         [BZ #16145] (partial fix)
35263         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
35264         to reduce lock contention.
35266 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
35268         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
35269         (struct timex): Update time comment.
35270         (ADJ_SETOFFSET): Define.
35272 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
35274         [BZ #18019]
35275         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
35276         2**56 not 2**28 as threshold for log (2x) formula.
35277         * math/auto-libm-test-in: Add more tests of acosh.
35278         * math/auto-libm-test-out: Regenerated.
35279         * sysdeps/i386/fpu/libm-test-ulps: Update.
35280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35282 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
35284         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
35285         parenthesis around the buf assignment.
35286         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
35288 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
35290         [BZ #16783]
35291         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
35292         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
35293         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
35294         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
35295         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
35296         * math/libm-test.inc (scalb_test_data): Add more tests.
35298 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
35300         [BZ #17916]
35301         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
35302         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
35304 2015-02-24  Eric Rannaud  <e@nanocritical.com>
35306         [BZ #17523]
35307         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
35308         * io/bits/fcntl2.h (open): Use it.
35309         (openat): Likewise.
35310         * io/open.c (__libc_open): Likewise.
35311         * io/open64.c (__libc_open64): Likewise.
35312         * io/open64_2.c (__open64_2): Likewise.
35313         * io/open_2.c (__open_2): Likewise.
35314         * io/openat.c (__openat): Likewise.
35315         * io/openat64.c (__openat64): Likewise.
35316         * io/openat64_2.c (__openat64_2): Likewise.
35317         * io/openat_2.c (__openat_2): Likewise.
35318         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
35319         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
35320         * sysdeps/posix/open64.c (__libc_open64): Likewise.
35321         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
35322         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
35323         (__open_nocancel): Likewise.
35324         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
35325         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
35326         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
35328 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35330         [BZ #14841]
35331         * resolv/gethnamaddr.c (getanswer): Skip logging if
35332         RES_USE_DNSSEC is set.
35333         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
35335 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
35337         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
35339 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
35341         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
35342         201304L, for Unicode 7.
35344 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
35346         [BZ #17836]
35347         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
35348         shared library.  Add gmon-start.os otherwise.
35349         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
35350         $(objpfx)gmon-start.os if builing shared library.
35351         ($(objpfx)g$(static-start-installed-name)): Likewise.
35353 2015-02-23  Andreas Schwab  <schwab@suse.de>
35355         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
35357 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
35359         [BZ #17269]
35360         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
35361         (enlarge_userbuf): Likewise.
35363 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
35365         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
35366         * math/atest-exp.c (TIMEOUT): Adjust to 200.
35367         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
35368         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
35370 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
35372         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
35373         expression inside statement expression.
35375 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
35377         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
35378         <sysdeps/nptl/lowlevellock.h> and remove macros and
35379         functions that are now defined there.
35380         (SYS_futex): Remove.
35381         (lll_compare_and_swap): Remove.
35382         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
35384 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
35386         [BZ #17999]
35387         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
35388         instead of scandirat.
35389         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
35390         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
35391         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
35392         __scandirat.
35393         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
35394         (__scandirat): Declare.  Use libc_hidden_proto.
35395         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
35396         Remove variable.
35397         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
35399 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
35401         [BZ #15319]
35402         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
35403         (MO): New macro.
35404         (__ieee754_atan2): For results with small absolute value, force
35405         underflow exception and remove excess range and precision from
35406         return value.
35407         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
35408         (MO): New macro.
35409         (__ieee754_atan2f): For results with small absolute value, force
35410         underflow exception and remove excess range and precision from
35411         return value.
35412         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
35413         (MO): New macro.
35414         (__atan): For results with small absolute value, force underflow
35415         exception and remove excess range and precision from return value.
35416         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
35417         (MO): New macro.
35418         (__atanf): For results with small absolute value, force underflow
35419         exception and remove excess range and precision from return value.
35420         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
35421         <math.h>.
35422         (__ieee754_atan2): Force underflow exception for results with
35423         small absolute value.
35424         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
35425         <math_private.h>.
35426         (atan): Force underflow exception for results with small absolute
35427         value.
35428         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
35429         (__atanf): Force underflow exception for results with small
35430         absolute value.
35431         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
35432         <math.h>.
35433         (__atanl): Force underflow exception for results with small
35434         absolute value.
35435         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
35436         (__atanl): Force underflow exception for results with small
35437         absolute value.
35438         * sysdeps/x86/fpu/bits/mathinline.h
35439         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
35440         (__ieee754_atan2): Only define inline for long double.
35441         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
35442         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
35443         * math/auto-libm-test-in: Do not mark underflow exceptions as
35444         possibly missing for bug 15319.  Add more tests of atan2.
35445         * math/auto-libm-test-out: Regenerated.
35446         * math/libm-test.inc (casin_test_data): Do not mark underflow
35447         exceptions as possibly missing for bug 15319.
35448         (casinh_test_data): Likewise.
35449         * sysdeps/i386/fpu/libm-test-ulps: Update.
35451 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
35453         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
35454         * sysdeps/mips/bits/endian.h: Fix comments.
35456 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
35458         [BZ #17996]
35459         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
35460         (hdestroy_r): Likewise.
35461         (hsearch_r): Likewise.
35462         (__hcreate_r): Declare and use libc_hidden_proto.
35463         (__hdestroy_r): Likewise.
35464         (__hsearch_r): Likewise.
35465         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
35466         (hcreate): Call __hcreate_r instead of hcreate_r.
35467         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
35468         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
35469         as weak alias of __hcreate_r.
35470         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
35471         __hdestroy_r.
35472         (hsearch_r): Rename to __hsearch_r and define as weak alias of
35473         __hsearch_r.
35474         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
35475         Remove variable.
35476         (test-xfail-XPG4/search.h/linknamespace): Likewise.
35477         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
35478         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
35479         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
35481 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35483         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
35484         arena_lock into a single arena_get.
35486 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
35488         * dl-reloc.c: Inlucde libc-internal.h.
35489         (_dl_try_allocate_static_tls): Call ALIGN_UP.
35490         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
35491         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
35492         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
35493         (grow_heap): Likewise.
35494         * malloc/malloc.c: Include libc-internal.h.
35495         (do_check_malloc): Call powerof2.
35496         (sysmalloc): Use pagesize. Call ALIGN_UP.
35497         (systrim): Use pagesize.
35498         (mremap_chunk): Use pagesize. Call ALIGN_UP.
35499         (__libc_valloc): Use pagesize.
35500         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
35502 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
35504         [BZ #17991]
35505         * include/sys/resource.h (__getrlimit64): Declare.  Use
35506         libc_hidden_proto.
35507         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
35508         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
35509         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
35510         getrlimit64.
35511         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
35512         __getrlimit64.
35513         [!getrlimit64] (getrlimit64): Define as weak alias of
35514         __getrlimit64.  Use libc_hidden_weak.
35515         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
35516         using __getrlimit64 not __new_getrlimit64.
35517         (__GI_getrlimit64): Likewise.
35518         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
35519         Likewise.
35520         (__GI_getrlimit64): Likewise.
35521         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
35522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
35523         (getrlimit): Add __getrlimit64 alias.
35524         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
35525         Likewise.
35526         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
35527         Remove variable.
35528         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
35529         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
35531 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
35533         * libio/fileops.c: Add missing sys/mman.h
35534         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
35536 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
35538         * manual/math.texi (Errors in Math Functions): Clarify goals
35539         regarding inexact and underflow exceptions.
35541 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
35543         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
35544         * sysdeps/mips/memset.S: Ditto.
35546 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
35548         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
35550 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
35552         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
35553         (__v1longjmp): Remove versioned symbol.
35554         (__v1siglongjmp): Remove alias and versioned symbol.
35555         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
35556         (__v2siglongjmp): Likewise.
35558 2015-02-16  Torvald Riegel  <triegel@redhat.com>
35560         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
35562 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
35564         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
35566 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
35568         [BZ #17987]
35569         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
35570         zero result does not depend on the sign resulting from
35571         subtraction.
35572         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
35573         Likewise.
35574         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
35575         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
35576         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
35577         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
35578         * math/libm-test.inc (remquo_test_data): Add more tests.
35580 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
35582         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
35583         Problem reported by J William Piggott.
35585 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
35587         [BZ #17978]
35588         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
35589         products 4 * y and 2 * y where those would overflow.
35590         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
35591         Likewise.
35592         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
35593         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
35594         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
35595         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
35596         * math/libm-test.inc (remquo_test_data): Add more tests.
35598         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
35600         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
35601         [defined _COMPILING_NEWLIB].
35602         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
35603         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
35605         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
35606         [!defined __mips_isa_rev || __mips_isa_rev < 6].
35608 2015-02-16  Torvald Riegel  <triegel@redhat.com>
35610         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
35611         acquired.
35613 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
35615         [BZ #17792]
35616         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
35617         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
35618         HOST_STACK_END_ADDR): Likewise.
35620 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
35622         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
35623         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
35624         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
35626 2015-02-13  Roland McGrath  <roland@hack.frob.com>
35628         * sysdeps/generic/c++-types.data: New file.
35629         * sysdeps/generic/ld.abilist: New file.
35630         * sysdeps/generic/libBrokenLocale.abilist: New file.
35631         * sysdeps/generic/libanl.abilist: New file.
35632         * sysdeps/generic/libc.abilist: New file.
35633         * sysdeps/generic/libcrypt.abilist: New file.
35634         * sysdeps/generic/libdl.abilist: New file.
35635         * sysdeps/generic/libm.abilist: New file.
35636         * sysdeps/generic/libpthread.abilist: New file.
35637         * sysdeps/generic/libresolv.abilist: New file.
35638         * sysdeps/generic/librt.abilist: New file.
35640 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
35642         [BZ #17569]
35643         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
35644         Compute absolute value of x as modified by fmod, not original
35645         value of x.
35646         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
35647         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
35648         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
35649         RUN_TEST_ffI_f1_mod8.
35650         (remquo_test_data): Add more tests.
35652 2015-02-13  Roland McGrath  <roland@hack.frob.com>
35654         * sysdeps/init_array/pt-crti.S: New file.
35656 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
35658         [BZ #17967]
35659         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
35660         __builtin_fmaf instead of relying on contraction of a * b + c.
35662 2015-02-12  J William Piggott  <elseifthen@gmx.com>
35664         [BZ #17969]
35665         * manual/time.texi: correct the zoneinfo path in the TZ Variable
35666         node.
35668 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
35670         [BZ #17964]
35671         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
35672         __builtin_fma instead of relying on contraction of a * b + c.
35674 2015-02-12  Roland McGrath  <roland@hack.frob.com>
35676         * Makeconfig (ASFLAGS): Add -Werror=undef.
35677         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
35678         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
35679         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
35681         * Makeconfig (after-link): New variable.
35682         (+link-pie, +link-pie-tests): Use it.
35683         (+link-static, +link-static-tests): Likewise.
35684         (+link, +link-tests): Likewise.
35685         * Makerules (build-module, build-module-asneeded): Likewise.
35686         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
35687         Likewise.
35688         * elf/Makefile ($(objpfx)ld.so): Likewise.
35690 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
35692         [BZ #17965]
35693         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
35694         both struct timeval and struct timespec.
35696 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
35698         [BZ #16560]
35699         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35700         and redefine.
35701         (__ieee754_exp2l): Do not multiply small fractional parts by
35702         M_LN2l.
35703         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
35704         small argument.
35705         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
35706         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
35707         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
35708         * math/auto-libm-test-in: Add more tests of exp2.
35709         * math/auto-libm-test-out: Regenerated.
35711 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35713         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
35714         unaligned path.
35716 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35718         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
35719         little endian.
35721 2015-02-12  Andreas Schwab  <schwab@suse.de>
35723         [BZ #15790]
35724         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
35725         Filter out elision flags from value returned in kind.
35726         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
35727         * nptl/tst-pthread-mutexattr.c: New file.
35729 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35731         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
35732         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
35733         into gnu-gnu, and update comment to refer to abi-tags.
35735 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
35737         [BZ #15467]
35738         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
35739         (__sincos): Set errno to EDOM for infinite argument.
35740         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
35741         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
35742         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
35743         (__sincosl): Set errno to EDOM for infinite argument.
35744         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
35745         (__sincosl): Set errno to EDOM for infinite argument.
35746         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
35747         (__sincosl): Set errno to EDOM for infinite argument.
35748         * math/libm-test.inc (sincos_test_data): Test errno setting.
35750 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
35752         * string/strxfrm_l.c: Remove #define STRCMP.
35753         * string/strcoll_l.c: Remove #define STRLEN.
35754         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
35755         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
35757 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
35759         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
35760         * sysdeps/mips/mips32/sfp-machine.h: ... here.
35761         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
35762         * sysdeps/mips/mips64/Makefile: ... here.
35763         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
35764         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
35765         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
35766         * sysdeps/mips/mips64/sfp-machine.h: ... here.
35767         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
35768         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
35769         * sysdeps/mips/mips64/n64/Implies: Likewise.
35771 2015-02-10  Roland McGrath  <roland@hack.frob.com>
35773         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
35774         <sys/time.h>, <string.h>, and <errno.h>.
35775         (dest_offset, dest_address, value, zero): Remove unused variables.
35776         (ldouble): Remove typedef.
35777         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
35778         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
35779         1).  Fix code style.
35780         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
35781         (check): Function removed.
35782         (CHECK): New macro.
35783         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
35784         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
35785         Don't call set_sigaction_FP and remove_sigaction_FP here.
35786         (ldouble_test): Just use 'long double' as macro argument, no need for
35787         the 'ldouble' typedef.
35788         (do_test): Set up SIGFPE handler at start, using plain signal rather
35789         than sigaction.  Fix code style.
35791 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
35793         [BZ #17949]
35794         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
35795         jump label.
35797 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
35799         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
35800         * sysdeps/powerpc/powerpc32/configure: Regenerated.
35802         * sysdeps/powerpc/configure.ac: Remove file.
35803         * sysdeps/powerpc/configure: Likewise.
35805         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
35806         [sysdep_routines]: Remove wordcopy-power6 object.
35807         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
35808         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
35809         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
35810         (__memmove_ppc32): Likewise.
35811         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
35812         file.
35813         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
35814         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
35815         Remove preprocessor.
35817         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
35818         [sysdep_routines]: Remove wide chars objects.
35819         [wcsmbs]: New rule for wide char objects.
35821         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35822         Remove wordcopy-power6 obejct.
35823         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
35824         Use local call for wordcopy and memcpy symbols.
35825         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
35826         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
35827         implementation for loader.
35828         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
35830         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35831         Remove wordcopy-power7 object.
35832         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
35833         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
35834         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
35835         (_wordcopy_fwd_dest_aligned): Likewise.
35836         (_wordcopy_bwd_aligned): Likewise.
35837         (_wordcopy_bwd_dest_aligned): Likewise.
35839         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
35840         Rewrite to call __memmove_ppc instead of include default
35841         implementation.
35843         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35844         Remove wide chars objects.
35845         [wcsmbs]: New rule for wide char objects.
35847 2015-02-09  Andreas Schwab  <schwab@suse.de>
35849         [BZ #17912]
35850         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
35851         in terms of __O_DIRECTORY.
35853 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35855         * time/getdate.c: Include <stdbool.h>.
35856         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
35857         call PTR_MANGLE.
35858         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
35859         PTR_DEMANGLE.
35861 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
35863         Add ersatz _Static_assert on older C hosts
35864         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
35865         pre-C11 C platform that is not known to support _Static_assert.
35867 2015-02-07  Richard Braun  <rbraun@sceen.net>
35869         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
35870         sigstate.
35871         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
35873 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35875         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
35876         priority against unexistent AIO_PRIO_DELTA_MAX.
35877         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
35878         instead of int.
35879         * misc/fchflags.c (fchflags): Likewise.
35880         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
35881         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
35882         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
35883         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
35884         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
35885         Declare macros.
35886         [__USE_MISC] (chflags, fchflags): Declare functions.
35887         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
35888         EINVAL when nfds is greater than FD_SETSIZE.
35889         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
35890         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
35891         45.
35892         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
35893         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
35894         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
35895         MACH_RCV_TIMED_OUT.
35896         * hurd/hurd/signal.h (_hurd_self_sigstate,
35897         _hurd_critical_section_lock, _hurd_critical_section_unlock):
35898         Explicit casts from void *.
35899         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
35900         * abi-tags: Rename gnu-gnu os into gnu.
35902         [BZ #4719]
35903         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
35904         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
35905         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
35906         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
35907         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
35908         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
35910         [BZ #17944]
35911         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
35912         duplicates ADDR->sun_path with sockaddr LEN limitation.
35913         * sysdeps/mach/hurd/connect.c: Include <string.h>
35914         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
35915         * sysdeps/mach/hurd/sendmsg.c: Likewise.
35916         * sysdeps/mach/hurd/sendto.c: Likewise.
35917         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
35918         implementing it by hand.
35920 2015-02-06  Roland McGrath  <roland@hack.frob.com>
35922         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
35923         Use sfi_breg on ldr.
35924         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
35925         Likewise.
35927         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
35928         it's defined.
35929         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
35930         Test SIGSETXID only if it's defined.
35932         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
35934         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
35935         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
35937         * nptl/tst-align2.c: Moved ...
35938         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
35939         * nptl/Makefile (tests): Remove tst-align2.
35940         * sysdeps/unix/sysv/linux/Makefile
35941         [$(subdir) = nptl] (tests): Add tst-align-clone.
35942         * nptl/tst-getpid1.c: Moved ...
35943         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
35944         * nptl/tst-getpid2.c: Moved ...
35945         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
35946         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
35947         * sysdeps/unix/sysv/linux/Makefile
35948         [$(subdir) = nptl] (tests): ... here.
35949         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
35950         * sysdeps/unix/sysv/linux/Makefile
35951         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
35953         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
35954         Drop trailing \n from perror argument.  Use return rather than exit.
35956         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
35957         on [SA_SIGINFO].
35958         * nptl/tst-cancel21.c (do_test): Likewise.
35959         * debug/tst-backtrace6.c: Include <signal.h> first thing.
35960         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
35961         [!SA_SIGINFO]: Make it a stub test.
35963         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
35964         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
35966         * posix/tst-getlogin.c: Move to ...
35967         * login/tst-getlogin.c: ... here.
35968         * posix/Makefile (tests): Move tst-getlogin to ...
35969         * login/Makefile (tests): ... here.
35971         * libio/tst-atime.c (do_test): Move local variables SV and E
35972         inside [ST_NOATIME] conditional.
35974         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
35976         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
35978         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
35979         (wait_code): New function replaces macro.
35980         Call nanosleep rather than syscall.
35982         * nptl/pt-system.c: Rewritten.  Put everything under
35983         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
35984         Use IFUNC to redirect when possible.
35986         * nptl/pt-longjmp.c: Rewritten.  Put everything under
35987         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
35988         Use IFUNC to redirect when possible.
35990         * nptl/pt-fork.c: Rewritten.  Put everything under
35991         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
35992         Use IFUNC to redirect when possible.
35993         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
35995         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
35996         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
35997         unconditionally nowadays.  This included the only reference to
35998         __vdso_clock_gettime that appears outside libc proper.
35999         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
36000         Remove version set (containing only __vdso_clock_gettime).
36001         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
36002         Add attribute_hidden.
36003         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
36004         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
36005         libc_hidden_data_def.
36006         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36007         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36009         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
36010         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
36011         setrpcent, and getrpcport to ...
36012         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
36013         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
36014         getrpcbynumber_r, and getrpcent_r to ...
36015         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
36016         * inet/getrpcbyname.c: Moved ...
36017         * sunrpc/getrpcbyname.c: ... here.
36018         * inet/getrpcbyname_r.c: Moved ...
36019         * sunrpc/getrpcbyname_r.c: ... here.
36020         * inet/getrpcbynumber.c: Moved ...
36021         * sunrpc/getrpcbynumber.c: ... here.
36022         * inet/getrpcbynumber_r.c: Moved ...
36023         * sunrpc/getrpcbynumber_r.c: ... here.
36024         * inet/getrpcent.c: Moved ...
36025         * sunrpc/getrpcent.c: ... here.
36026         * inet/getrpcent_r.c: Moved ...
36027         * sunrpc/getrpcent_r.c: ... here.
36028         * inet/Makefile (routines): Move those to ...
36029         * sunrpc/Makefile (routines): ... here.
36030         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
36031         the $(subdirs) list.
36032         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
36033         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
36034         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
36035         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
36037         * elf/Makefile (routines): Include $(all-dl-routines), not just
36038         $(dl-routines).
36039         (rtld-routines): Likewise.  Use = rather than :=.
36040         * sysdeps/aarch64/Makefile [$(subdir) = elf]
36041         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
36042         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
36043         * sysdeps/arm/Makefile: Likewise.
36044         * sysdeps/i386/Makefile: Likewise.
36045         * sysdeps/x86_64/Makefile: Likewise.
36046         * sysdeps/hppa/Makefile [$(subdir) = elf]
36047         (sysdep_routines, sysdep-rtld-routines): Don't add
36048         $(sysdep-dl-routines) to these.
36049         * sysdeps/ia64/Makefile: Likewise.
36050         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
36051         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
36052         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
36053         Don't add dl-static to these; sysdep-dl-routines alone is enough.
36054         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
36055         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
36056         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
36057         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
36058         * sysdeps/powerpc/Makefile [$(subdir) = elf]
36059         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
36060         these; sysdep-dl-routines alone is enough.
36062 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
36064         [BZ #17932]
36065         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
36066         where multiplication results in zero and third argument is finite
36067         and nonzero.
36068         * math/auto-libm-test-in: Add more tests of fma.
36069         * math/auto-libm-test-out: Regenerated.
36071         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
36072         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
36073         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
36074         (_FP_CMP_EQ): Likewise.
36075         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
36077         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
36078         extra argument CHECK_NAN.  Redefine as wrapper around
36079         _FP_EXTEND_CNAN.
36081 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
36083         * version.h (RELEASE): Set to "stable".
36084         (VERSION): Set to "2.21"
36085         * include/features.h (__GLIBC_MINOR__): Set to 21.
36087         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
36089 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36090             Paul Eggert  <eggert@cs.ucla.edu>
36092         [BZ #16618]
36093         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
36094         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
36095         size in bytes. Store needed elements in wpmax. Use needed size
36096         in bytes for extend_alloca.
36098 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
36100         * manual/install.texi: Latest tested versions are GCC 4.9.2,
36101         binutls 2.25, and texinfo 5.2.
36102         * INSTALL: Regenerate.
36103         * sysdeps/nios2/configure: Regenerate.
36104         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
36105         * manual/contrib.texi: Update.
36106         * po/be.po: Update.
36107         * po/bg.po: Update.
36108         * po/ca.po: Update.
36109         * po/cs.po: Update.
36110         * po/da.po: Update.
36111         * po/de.po: Update.
36112         * po/el.po: Update.
36113         * po/eo.po: Update.
36114         * po/es.po: Update.
36115         * po/fi.po: Update.
36116         * po/fr.po: Update.
36117         * po/gl.po: Update.
36118         * po/hr.po: Update.
36119         * po/hu.po: Update.
36120         * po/ia.po: Update.
36121         * po/id.po: Update.
36122         * po/it.po: Update.
36123         * po/ja.po: Update.
36124         * po/ko.po: Update.
36125         * po/lt.po: Update.
36126         * po/nb.po: Update.
36127         * po/nl.po: Update.
36128         * po/pl.po: Update.
36129         * po/pt_BR.po: Update.
36130         * po/ru.po: Update.
36131         * po/rw.po: Update.
36132         * po/sk.po: Update.
36133         * po/sl.po: Update.
36134         * po/sv.po: Update.
36135         * po/tr.po: Update.
36136         * po/uk.po: Update.
36137         * po/vi.po: Update.
36138         * po/zh_CN.po: Update.
36139         * po/zh_TW.po: Update.
36141         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
36142         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
36143         * sysdeps/hppa/dl-irel.h: Remove #warning.
36144         * sysdeps/hppa/entry.h: Provide prototype for
36145         __canonicalize_funcptr_for_compare and cast argument.
36146         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
36147         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
36148         * sysdeps/hppa/sotruss-lib.c: New file.
36149         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
36150         (atomic_compare_and_exchange_val_acq): Use __typeof__.
36151         (atomic_compare_and_exchange_bool_acq): Likewise.
36152         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
36153         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
36155         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
36156         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
36157         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
36159 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
36161         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
36162         called function in non-PIC case.
36164 2015-01-31  David S. Miller  <davem@davemloft.net>
36166         * sysdeps/sparc/sparc32/bits/atomic.h
36167         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
36168         unlock not after it.
36169         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
36170         volatile register usage warnings from the compiler.
36172         * sysdeps/sparc/nptl/sem_init.c: Delete.
36173         * sysdeps/sparc/nptl/sem_post.c: Delete.
36174         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
36175         * sysdeps/sparc/nptl/sem_wait.c: Delete.
36176         * sysdeps/sparc/sparc32/sem_init.c: New file.
36177         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
36178         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
36179         padding explicitly initialized.
36180         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
36181         padding for in-semaphore spinlock.
36182         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
36183         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
36184         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
36185         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
36186         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
36187         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
36188         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
36189         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
36190         version.
36191         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
36192         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
36194 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
36196         [BZ #17801]
36197         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36198         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
36199         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
36200         New.
36201         (index_AVX_Fast_Unaligned_Load): Likewise.
36202         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
36203         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
36204         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
36205         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
36206         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
36207         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
36208         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
36209         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
36210         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
36212 2015-01-29  Andreas Schwab  <schwab@suse.de>
36214         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
36216 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
36218         [BZ #17892]
36219         * nscd/nscd_stat.c (send_stats): Initialize DATA.
36221 2015-01-28  Martin Sebor  <msebor@redhat.com>
36223         * math/README.libm-test: Clarify. Add "How to read the test output."
36225 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
36227         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
36228         Define to 0.
36230 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
36232         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
36233         (__HAVE_64B_ATOMICS): Define to 0.
36235 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
36237         [BZ #17885]
36238         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
36239         value to set as new flag.
36241         [BZ #16576]
36242         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
36243         and use _ARCH_PPCSQ instead.
36244         (__ieee754_sqrt): Likewise.
36245         (__ieee754_sqrtf): Likewise.
36246         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
36247         _ARCH_PPCSQ is defined.
36248         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
36249         fsqrt instruction.
36250         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
36251         _ARCH_PPCSQ is defined.
36252         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
36253         fsqrts instruction.
36254         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
36256 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36258         * iconv/loop.c: Suppress array out of bound warning caused by GCC
36259         bug (GCC BZ #64739).
36261 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
36263         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
36264         Mark _retval as used.
36265         (lll_futex_wake_unlock): Likewise.
36266         (lll_futex_timed_wait_requeue_pi): Likewise.
36268         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
36269         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
36270         register variables.
36272         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
36273         libm_hidden_def.
36275         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
36276         (__bswap_64): Mark as __always_inline.
36278 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
36280         [BZ #15378]
36281         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
36282         when none of the search directories exist.
36284 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
36286         [BZ #17869]
36287         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
36288         power8 in .machine directive.
36290         [BZ #17868]
36291         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
36292         set dependency from opd value.
36294 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
36296         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36297         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
36298         architecture.
36300 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
36302         [BZ #17870]
36303         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
36304         with uint64_t.
36305         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
36306         (uint64_t) 1.
36307         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
36308         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
36309         Replace 1UL with (uint64_t) 1.
36310         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
36311         int with uint64_t.
36313 2015-01-23  Roland McGrath  <roland@hack.frob.com>
36315         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
36316         (if_freenameindex): Likewise.
36318         * resource/getrlimit64.c: Add missing libc_hidden_def.
36320 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
36322         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
36323         __label__.
36324         (_FP_FMA): Likewise.
36325         (_FP_TO_INT_ROUND): Likewise.
36326         (_FP_FROM_INT): Likewise.
36328 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36330         [BZ #16418]
36331         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
36332         Make code racy and cancel safe.
36334 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
36336         * sysdeps/arm/unwind-resume.h: Fix copyright year.
36337         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
36338         attribution.
36340         * pwd/tst-getpw.c: Rewrite.
36342         [BZ #17702]
36343         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
36344         (modules-names): Add moddummy1 and moddummy2.
36345         ($(objpfx)tst-rec-dlopen): Define.
36346         * dlfcn/moddummy1.c: New file.
36347         * dlfcn/moddummy2.c: New file.
36348         * dlfcn/tst-rec-dlopen.c: New file.
36349         * elf/dl-cache.c (_dl_load_cache_lookup):
36350         Return char*. Copy result with alloca/strcpy/strdup.
36351         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
36352         returns char*. Free cached. If not saving realname
36353         free cached.
36354         * elf/dl-open.c (dl_open_worker): Do not assert that
36355         _r_debug->r_state is RT_CONSISTENT.
36356         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
36357         returns char*.
36359 2015-01-21  Torvald Riegel  <triegel@redhat.com>
36360             Carlos O'Donell  <carlos@redhat.com>
36362         [BZ #12674]
36363         * nptl/sem_waitcommon.c: New file.
36364         * nptl/sem_wait.c: Include sem_waitcommon.c.
36365         (__sem_wait_cleanup, do_futex_wait): Remove.
36366         (__new_sem_wait): Adapt.
36367         (__new_sem_trywait): New function.
36368         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
36369         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
36370         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
36371         (sem_timedwait): Adapt.
36372         * nptl/sem_post.c (__new_sem_post): Adapt.
36373         (futex_wake): New function.
36374         (__old_sem_post): Add release MO fence.
36375         * nptl/sem_open.c (sem_open): Adapt.
36376         * nptl/sem_init.c (__new_sem_init): Adapt.
36377         (futex_private_if_supported): New function.
36378         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
36379         (__old_sem_getvalue): Add using previous code.
36380         * sysdeps/nptl/internaltypes.h: Adapt.
36381         * nptl/tst-sem13.c (do_test): Adapt.
36382         * nptl/tst-sem11.c (main): Adapt.
36383         * nptl/sem_trywait.c: Remove.
36384         * nptl/DESIGN-sem.txt: Remove.
36385         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
36386         (gen-as-const-headers): Remove structsem.sym.
36387         * nptl/structsem.sym: Remove.
36388         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
36389         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
36390         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
36391         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
36392         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
36393         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
36394         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
36395         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
36396         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
36397         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
36398         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
36399         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
36400         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
36401         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
36402         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
36403         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
36404         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
36405         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
36406         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
36407         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
36408         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
36409         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
36411 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
36413         * INSTALL: Regenerated.
36415         * po/libc.pot: Regenerated.
36417 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
36418             Sandra Loosemore  <sandra@codesourcery.com>
36419             Andrew Jenner  <andrew@codesourcery.com>
36420             Joseph Myers  <joseph@codesourcery.com>
36421             Nathan Sidwell  <nathan@codesourcery.com>
36423         * NEWS: Mention new Nios II port.
36424         * sysdeps/nios2/Implies: New file.
36425         * sysdeps/nios2/Makefile: New file.
36426         * sysdeps/nios2/Subdirs: New file.
36427         * sysdeps/nios2/Versions: New file.
36428         * sysdeps/nios2/__longjmp.S: New file.
36429         * sysdeps/nios2/abort-instr.h: New file.
36430         * sysdeps/nios2/backtrace.c: New file.
36431         * sysdeps/nios2/bits/endian.h: New file.
36432         * sysdeps/nios2/bits/fenv.h: New file.
36433         * sysdeps/nios2/bits/link.h: New file.
36434         * sysdeps/nios2/bits/setjmp.h: New file.
36435         * sysdeps/nios2/bsd-_setjmp.S: New file.
36436         * sysdeps/nios2/bsd-setjmp.S: New file.
36437         * sysdeps/nios2/configure: New generated file.
36438         * sysdeps/nios2/configure.ac: New file.
36439         * sysdeps/nios2/crti.S: New file.
36440         * sysdeps/nios2/crtn.S: New file.
36441         * sysdeps/nios2/dl-init.c: New file.
36442         * sysdeps/nios2/dl-machine.h: New file.
36443         * sysdeps/nios2/dl-sysdep.h: New file.
36444         * sysdeps/nios2/dl-tls.h: New file.
36445         * sysdeps/nios2/dl-trampoline.S: New file.
36446         * sysdeps/nios2/gccframe.h: New file.
36447         * sysdeps/nios2/gmp-mparam.h: New file.
36448         * sysdeps/nios2/jmpbuf-offsets.h: New file.
36449         * sysdeps/nios2/jmpbuf-unwind.h: New file.
36450         * sysdeps/nios2/ldsodefs.h: New file.
36451         * sysdeps/nios2/libc-tls.c: New file.
36452         * sysdeps/nios2/libm-test-ulps: New file.
36453         * sysdeps/nios2/machine-gmon.h: New file.
36454         * sysdeps/nios2/math-tests.h: New file.
36455         * sysdeps/nios2/math_private.h: New file.
36456         * sysdeps/nios2/memusage.h: New file.
36457         * sysdeps/nios2/nptl/Makefile: New file.
36458         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
36459         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
36460         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
36461         * sysdeps/nios2/nptl/pthreaddef.h: New file.
36462         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
36463         * sysdeps/nios2/nptl/tls.h: New file.
36464         * sysdeps/nios2/preconfigure: New file.
36465         * sysdeps/nios2/s_fma.c: New file.
36466         * sysdeps/nios2/s_fmaf.c: New file.
36467         * sysdeps/nios2/setjmp.S: New file.
36468         * sysdeps/nios2/sfp-machine.h: New file.
36469         * sysdeps/nios2/sotruss-lib.c: New file.
36470         * sysdeps/nios2/stackguard-macros.h: New file.
36471         * sysdeps/nios2/stackinfo.h: New file.
36472         * sysdeps/nios2/start.S: New file.
36473         * sysdeps/nios2/sysdep.h: New file.
36474         * sysdeps/nios2/tls-macros.h: New file.
36475         * sysdeps/nios2/tst-audit.h: New file.
36476         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
36477         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
36478         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
36479         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
36480         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
36481         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
36482         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
36483         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
36484         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
36485         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
36486         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
36487         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
36488         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
36489         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
36490         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
36491         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
36492         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
36493         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
36494         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
36495         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
36496         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
36497         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
36498         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
36499         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
36500         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
36501         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
36502         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
36503         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
36504         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
36505         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
36506         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
36507         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
36508         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
36509         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
36510         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
36511         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
36512         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
36513         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
36514         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
36515         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
36516         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
36517         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
36518         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
36519         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
36521 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
36523         [BZ #17844]
36524         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
36525         (getutent): Use weak_alias in non SHARED case
36526         and default_symbol_version in SHARED case.
36527         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
36528         (getutent_r, pututline): Likewise.
36529         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
36530         (getutid): Likewise.
36531         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
36532         (getutid_r): Likewise.
36533         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
36534         (getutline): Likewise.
36535         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
36536         (getutline_r): Likewise.
36537         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
36538         (updwtmp): Likewise.
36540 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
36542         [BZ #17848]
36543         * sysdeps/s390/s390-32/memcmp.S
36544         (memcmp_g5): Rename to __memcmp_g5.
36545         * sysdeps/s390/s390-32/memcpy.S
36546         (memcpy_g5): Rename to __memcpy_g5.
36547         Jump to __memcpy_mvcle instead of memcpy_mvcle.
36548         (memcpy_mvcle) Rename to __memcpy_mvcle.
36549         * sysdeps/s390/s390-32/memset.S
36550         (memset_g5): Rename to __memset_g5.
36551         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
36552         (IFUNC_RESOLVE): Prefix ifunc-resolve function
36553         and use prefixed functions.
36554         * sysdeps/s390/s390-32/multiarch/memcmp.S
36555         (memcmp_z196): Rename to __memcmp_z196.
36556         (memcmp_z10): Rename to __memcmp_z10.
36557         (memcmp): Set alias to __memcmp_g5.
36558         (bcmp): Set alias to __memcmp_g5.
36559         * sysdeps/s390/s390-32/multiarch/memcpy.S
36560         (memcpy_z196): Rename to __memcpy_z196.
36561         Jump to __memcpy_mvcle instead of memcpy_mvcle.
36562         (memcpy_z10): Rename to __memcpy_z10.
36563         Jump to __memcpy_mvcle instead of memcpy_mvcle.
36564         (memcpy): Set alias to __memcpy_g5.
36565         * sysdeps/s390/s390-32/multiarch/memset.S
36566         (memset_z196): Rename to __memset_z196.
36567         Jump to __memset_mvcle instead of memset_mvcle.
36568         (memset_z10): Rename to __memset_z10.
36569         Jump to __memset_mvcle instead of memset_mvcle.
36570         (memset_mvcle) Rename to __memset_mvcle.
36571         (memset): Set alias to __memset_g5.
36572         * sysdeps/s390/s390-64/memcmp.S
36573         (memcmp_z900): Rename to __memcmp_z900.
36574         * sysdeps/s390/s390-64/memcpy.S
36575         (memcpy_z900): Rename to __memcpy_z900.
36576         Jump to __memcpy_mvcle instead of memcpy_mvcle.
36577         (memcpy_mvcle) Rename to __memcpy_mvcle.
36578         * sysdeps/s390/s390-64/memset.S
36579         (memset_z900): Rename to __memset_z900.
36580         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
36581         (IFUNC_RESOLVE): Prefix ifunc-resolve function
36582         and use prefixed functions.
36583         * sysdeps/s390/s390-64/multiarch/memcmp.S
36584         (memcmp_z196): Rename to __memcmp_z196.
36585         (memcmp_z10): Rename to __memcmp_z10.
36586         (memcmp): Set alias to __memcmp_z900.
36587         (bcmp): Set alias to __memcmp_z900.
36588         * sysdeps/s390/s390-64/multiarch/memcpy.S
36589         (memcpy_z196): Rename to __memcpy_z196.
36590         Jump to __memcpy_mvcle instead of memcpy_mvcle.
36591         (memcpy_z10): Rename to __memcpy_z10.
36592         Jump to __memcpy_mvcle instead of memcpy_mvcle.
36593         (memcpy): Set alias to __memcpy_z900.
36594         * sysdeps/s390/s390-64/multiarch/memset.S
36595         (memset_z196): Rename to __memset_z196.
36596         Jump to __memset_mvcle instead of memset_mvcle.
36597         (memset_z10): Rename to __memset_z10.
36598         Jump to __memset_mvcle instead of memset_mvcle.
36599         (memset_mvcle) Rename to __memset_mvcle.
36600         (memset): Set alias to __memset_z900.
36602 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
36604         [BZ #17748]
36605         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
36606         __fesetenv instead of fesetenv.
36608 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36610         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
36611         macro.
36613 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36615         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
36616         regression on LE.
36618         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
36619         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
36620         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
36621         strncmp-power8 object.
36622         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36623         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
36624         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
36625         * NEWS: Update.
36627 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36628             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36630         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
36631         trailing byte check.
36633 2015-01-13  David S. Miller  <davem@davemloft.net>
36635         * include/signal.h (__sigreturn): Guard with __USE_MISC.
36637 2015-01-13  Roland McGrath  <roland@hack.frob.com>
36639         * login/logout.c (logout): Use memset rather than bzero.
36640         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
36641         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
36642         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
36643         (_gethtbyaddr): Likewise.
36644         * locale/programs/simple-hash.c (bcopy): Macro removed.
36646 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36648         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36649         Add strcmp-power8 object.
36650         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36651         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
36652         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
36653         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
36654         __strcmp_power8 implementation.
36655         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
36656         * NEWS: Update.
36658         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36659         Add strncpy-power8 and stpncpy-power8 objects.
36660         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36661         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
36662         implementations.
36663         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
36664         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
36665         __stpncpy_power8 implementation.
36666         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
36667         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
36668         __strncpy_power8 implementation.
36669         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
36670         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
36671         * NEWS: Update.
36673         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
36674         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
36675         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
36677         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
36678         strncat-power8 object.
36679         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
36680         __strcat_power8 implementation.
36681         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36682         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
36683         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
36684         optimized strcat for power8.
36686         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
36687         strcpy-power8 and stpcpy-power8 objects.
36688         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36689         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
36690         implementations.
36691         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
36692         multiarch stpcpy implementation for POWER8.
36693         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
36694         multiarch strcpy implementation for POWER8.
36695         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
36696         __strcpy_power8 function.
36697         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
36698         stpcpy for POWER8.
36699         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
36700         strcpy for POWER8.
36701         * NEWS: Update.
36703 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
36705         [BZ #16009]
36706         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
36707         weights and rules. Use do_xfrm_cached if data fits in cache,
36708         do_xfrm otherwise.  Moved former main loop to...
36709         * (do_xfrm_cached): New function.
36710         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
36711         find_idx, find_position and stack_push.
36712         * (find_idx): New function.
36713         * (find_position): Likewise.
36714         * localedata/sort-test.sh: Added test run for do_xfrm.
36715         * localedata/xfrm-test.c (main): Added command line option
36716         -nocache to run the test with strings that are too large for
36717         the STRXFRM cache.
36719 2015-01-13  Torvald Riegel  <triegel@redhat.com>
36721         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
36722         variable to lll_futex_wake call, not the value itself.
36724 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
36726         [BZ #17803]
36727         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
36728         twom64.  Adjust value to 0x1p-64L.
36729         (__scalblnl): Only return standard underflowing result for K <=
36730         -64 not K <= -63; adjust exponent for underflowing result by 64
36731         not 63.
36732         * math/libm-test.inc (scalbn_test_data): Add more tests.
36733         (scalbln_test_data): Likewise.
36735         [BZ #17834]
36736         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
36737         0x1p63L.
36738         (__scalblnl): Get new exponent of adjusted subnormal value from ES
36739         not HX.
36740         * math/libm-test.inc (scalbn_test_data): Add more tests.
36741         (scalbln_test_data): Likewise.
36743 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36744             Stefani Seibold  <stefani@seibold.net>
36746         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
36747         (sysdep_routines): Add dl-vdso here, ...
36748         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
36749         (sysdep_routines): ... not here.
36750         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
36751         fallback when vDSO is not presented.
36752         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
36753         Define with libc_hidden_proto/libc_hidden_data_def definitions.
36754         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
36755         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
36756         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
36757         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
36758         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
36759         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
36760         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
36761         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
36762         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
36763         fallback configurable symbol when vDSO is not available.
36764         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
36765         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
36766         be able to redefine fallback symbol when vDSO is not available.
36767         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
36768         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
36770 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36772         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
36773         (TLS_INIT_TP): Add tm_capable initialization.
36774         (TLS_DEFINE_INIT_TP): Likewise.
36775         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
36776         TCB.
36777         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
36778         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
36779         calculation.
36780         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
36781         transactoion is lock elision is built and TCB tm_capable is set.
36782         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
36783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36784         (INTERNAL_SYSCALL_NCS): Likewise.
36785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36786         (INTERNAL_SYSCALL_NCS): Likewise.
36787         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
36789         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
36790         for powerpc.
36791         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
36792         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
36793         and remove it for 32 bits case.
36794         [pthread_rwlock_t] (__rwelision): New field for lock elision.
36795         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
36796         initialization.
36797         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
36798         Disable lock elision with rdlocks if elision is not available.
36800         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
36801         (sysdep_routines): Add lock elision objects.
36802         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
36803         [pthread_mutex_t] (__spins): Rework to add lock elision field.
36804         [pthread_mutex_t] (__elision): Add field.
36805         [__PTHREAD_SPINS]: Adjust to init lock elision field.
36806         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
36807         elision definitions for powerpc.
36808         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
36809         implementation of lock elision for powerpc.
36810         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
36811         implementation of timed lock elision for powerpc.
36812         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
36813         implementation of trylock with lock elision for powerpc.
36814         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
36815         implementaion of unlock for lock elision for powerpc.
36816         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
36817         automatic enable lock elision for mutexes.
36818         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
36819         transaction execution definitions for powerpc.
36820         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
36821         definitions.
36822         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
36823         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
36824         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
36825         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
36826         * NEWS: Update.
36828 2015-01-09  Roland McGrath  <roland@hack.frob.com>
36830         * sysdeps/posix/shm-directory.c: Use <> rather than ""
36831         for #include of <shm-directory.h>.
36833 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
36835         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
36836         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
36838 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
36840         [BZ #17791]
36841         * NEWS: Mention bug fix.
36842         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
36843         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
36844         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
36846 2015-01-09  Torvald Riegel <triegel@redhat.com>
36848         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
36850 2015-01-09  Torvald Riegel <triegel@redhat.com>
36852         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
36854 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
36856         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
36857         pointer and cast to uintptr_t.
36859 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
36861         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
36862         removed.
36863         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
36865 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
36867         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
36868         of 0.
36870 2015-01-08  Roland McGrath  <roland@hack.frob.com>
36872         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
36873         <nptl/pthreadP.h> instead.
36874         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
36876         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
36877         already defined.
36878         [__SIGRTMIN] (init): Function removed.
36879         [__SIGRTMIN] (initialized): Variable removed.
36880         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
36881         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
36882         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
36883         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
36884         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
36885         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
36886         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
36887         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
36888         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
36889         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
36890         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
36891         * sysdeps/nptl/allocrtsig.c: New file.
36892         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
36893         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
36894         * sysdeps/generic/testrtsig.h: File removed.
36896         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
36897         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
36899         * nptl/nptl-init.c (pthread_functions): Conditionalize
36900         .ptr__nptl_setxid initialization on [SIGSETXID].
36902         * sysdeps/nptl/sys/procfs.h: New file.
36903         * nptl_db/Makefile (headers): Add it.
36904         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
36906         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
36907         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
36908         * nptl/pthread_attr_setaffinity.c: Include it.
36909         * nptl/pthread_setattr_default_np.c: Likewise.
36910         * nptl/check-cpuset.h: New file.
36912 2015-01-08  Richard Henderson  <rth@redhat.com>
36914         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
36915         (CFLAGS-tst-execstack-prog.c): Likewise.
36916         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
36918 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
36919             Sandra Loosemore  <sandra@codesourcery.com>
36920             Andrew Jenner  <andrew@codesourcery.com>
36921             Joseph Myers  <joseph@codesourcery.com>
36922             Nathan Sidwell  <nathan@codesourcery.com>
36924         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
36925         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
36926         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
36927         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
36928         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
36929         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
36930         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
36931         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
36932         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
36933         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
36934         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
36935         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
36936         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
36937         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
36938         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
36939         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
36940         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
36942 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36944         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
36945         timespec struct member in syscall macro.
36946         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
36947         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
36948         first timeval struct member in syscall macro.
36949         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
36951 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
36953         [BZ #17748]
36954         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
36955         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
36956         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
36957         __feupdateenv and define as weak alias of __feupdateenv.  Use
36958         libm_hidden_weak.
36959         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
36960         libm_hidden_def.
36961         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
36962         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
36963         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
36964         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
36965         libm_hidden_def.
36966         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
36967         __feupdateenv and define as weak alias of __feupdateenv.  Use
36968         libm_hidden_weak.
36969         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
36970         libm_hidden_def.
36971         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
36972         __feupdateenv and define as weak alias of __feupdateenv.  Use
36973         libm_hidden_weak.
36974         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
36975         libm_hidden_def.
36976         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
36977         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
36978         (__feupdateenv): Likewise.
36979         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
36980         __feupdateenv and define as weak alias of __feupdateenv.  Use
36981         libm_hidden_weak.
36982         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36983         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
36984         libm_hidden_def.
36985         * sysdeps/tile/math_private.h (__feupdateenv): New inline
36986         function.
36987         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
36988         libm_hidden_def.
36989         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
36990         __feupdateenv instead of feupdateenv.
36991         (default_libc_feupdateenv_test): Likewise.
36992         (libc_feresetround_ctx): Likewise.
36994 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36996         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
36997         prototype.
36999 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
37001         * posix/regcomp.c (parse_bracket_exp): Initialize type to
37002         COLL_SYM in a couple of places to avoid uninitialized variable
37003         wanings on tilegx gcc 4.8.2.
37005 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
37007         * sysdeps/aarch64/strcpy.S: New file.
37008         * sysdeps/aarch64/stpcpy.S: New file.
37009         * NEWS: Updated.
37011 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
37013         * sysdeps/aarch64/strrchr.S: New file.
37014         * NEWS: Updated.
37016 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
37018         [BZ #17658]
37019         * stdlib/setenv.c: Fix memory leak when setting large,
37020         duplicate string.
37022 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
37024         [BZ #17273]
37025         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
37026         and tabs from buffer before parsing fstab entry.
37027         * misc/tst-mntent.c (main): Add test for mount entry with
37028         trailing spaces and tabs.
37030 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
37032         [BZ #17748]
37033         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
37034         * math/fesetround.c (fesetround): Rename to __fesetround and
37035         define as weak alias of __fesetround.  Use libm_hidden_weak.
37036         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
37037         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
37038         * sysdeps/arm/fesetround.c (fesetround): Likewise.
37039         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
37040         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
37041         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
37042         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
37043         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
37044         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
37045         __fesetround_inline.
37046         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
37047         __fesetround_inline instead of __fesetround.
37048         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
37049         __fesetround and define as weak alias of __fesetround.  Use
37050         libm_hidden_weak.  Call __fesetround_inline instead of
37051         __fesetround.
37052         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
37053         __fesetround and define as weak alias of __fesetround.  Use
37054         libm_hidden_weak.
37055         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
37056         Likewise.
37057         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
37058         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37059         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
37060         * sysdeps/tile/math_private.h (__fesetround): New inline function.
37061         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
37062         __fesetround and define as weak alias of __fesetround.  Use
37063         libm_hidden_weak.
37064         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
37065         __fesetround instead of fesetround.
37066         (default_libc_feholdexcept_setround): Likewise.
37067         (libc_feholdsetround_ctx): Likewise.
37068         (libc_feholdsetround_noex_ctx): Likewise.
37070         [BZ #17748]
37071         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
37072         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
37073         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
37074         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
37075         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
37076         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
37077         define as weak alias of __fesetenv.  Use libm_hidden_weak.
37078         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
37079         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
37080         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
37081         define as weak alias of __fesetenv.  Use libm_hidden_weak.
37082         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
37083         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
37084         define as weak alias of __fesetenv.  Use libm_hidden_weak.
37085         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
37086         libm_hidden_def.
37087         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
37088         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
37089         Likewise.
37090         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
37091         define as weak alias of __fesetenv.  Use libm_hidden_weak.
37092         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
37093         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
37094         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
37095         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
37096         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
37097         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
37098         __fesetenv instead of fesetenv.
37099         (libc_feresetround_noex_ctx): Likewise.
37100         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
37101         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
37102         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
37103         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
37104         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
37105         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
37106         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
37107         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
37108         (__feupdateenv): Likewise.
37109         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37110         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
37111         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
37112         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
37114 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
37116         [BZ #17806]
37117         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
37118         addresses have been freed.
37120 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
37122         * resolv/res_init.c (__res_vinit): Improve comments about nserv
37123         and nservall.
37125 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
37127         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
37128         Clean up check_pf allocation pattern. addresses
37130 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37132         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
37133         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
37134         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
37135         * nptl/pthread_exit.c (__pthread_exit): Likewise.
37136         * nptl/pthread_join.c (pthread_join): Likewise.
37137         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
37138         * sysdeps/posix/waitid.c (__waitid): Likewise.
37139         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
37140         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
37141         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
37142         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
37143         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
37144         Likewise.
37145         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
37146         (__libc_pread64): Likewise.
37147         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
37148         (__libc_pwrite): Likewise.
37149         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
37150         (__libc_pwrite64): Likewsie.
37151         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
37152         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
37153         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
37154         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
37155         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
37156         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
37157         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
37158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
37159         Likewise.
37160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
37161         (__libc_pread64): Likewise.
37162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
37163         Likewise.
37164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
37165         (__libc_pwrite64): Likewise.
37166         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
37167         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
37168         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
37169         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
37170         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
37171         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
37172         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
37173         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
37174         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
37175         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
37176         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
37177         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
37178         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
37179         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
37180         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
37181         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
37182         Likewise.
37184 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
37186         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
37187         (CFLAGS-test-double.c): Likewise.
37188         (CFLAGS-test-ldouble.c): Likewise.
37189         (CPPFLAGS-test-ifloat.c): Likewise.
37190         (CPPFLAGS-test-idouble.c): Likewise.
37191         (CPPFLAGS-test-ildoubl.c): Likewise.
37192         (CFLAGS-test-test-fenv.c): Remove variable.
37193         (CFLAGS-test-misc.c): Likewise.
37195 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
37197         [BZ #17797]
37198         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
37199         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
37200         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
37201         CLOCKS_PER_SEC == 1000000.
37202         * time/clocktest.c (main): Replace %ld with %jd and cast to
37203         intmax_t.
37205 2015-01-05  Roland McGrath  <roland@hack.frob.com>
37207         * sysdeps/generic/unwind-resume.h: New file.
37208         * sysdeps/gnu/unwind-resume.c: Include it.
37209         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
37210         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
37211         argument list.
37212         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
37213         global rather than static.
37214         (_Unwind_Resume): Update user.
37215         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
37216         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
37217         rather than static.  Add __attribute__ ((cold)).
37218         (_Unwind_Resume, __gcc_personality_v0): Update callers.
37219         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
37220         * sysdeps/arm/arm-unwind-resume.S: New file.
37221         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
37222         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
37223         * sysdeps/arm/Makefile [$(subdir) = csu]
37224         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
37225         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
37226         Add rt-arm-unwind-resume.
37227         [$(subdir) = nptl]
37228         (libpthread-sysdep_routines, libpthread-shared-only-routines):
37229         Add pt-arm-unwind-resume.
37230         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
37231         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
37233 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
37235         [BZ #17748]
37236         * include/fenv.h (__feholdexcept): Declare.  Use
37237         libm_hidden_proto.
37238         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
37239         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
37240         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37241         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
37242         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
37243         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
37244         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
37245         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37246         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
37247         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
37248         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
37249         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
37250         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
37251         (feholdexcept): Likewise.
37252         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
37253         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
37254         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
37255         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37256         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
37257         __feholdexcept instead of feholdexcept.
37258         (default_libc_feholdexcept_setround): Likewise.
37260 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
37262         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
37263         to avoid using stl/str to align destination.
37265 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
37267         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
37269 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
37271         [BZ #17796]
37272         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
37273         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
37274         Define as weak alias not strong alias.
37276 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
37278         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
37279         bltzal with addiupc.
37280         (RTLD_START): Ditto.
37282 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
37284         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
37285         for __vdso_* functions in declarations.
37286         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
37287         definitions.
37288         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
37289         INTERNAL_VSYSCALL): Use struct return types to check for error.
37291         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
37292         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
37293         function with cast from llround().
37294         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
37295         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
37296         Define.
37298 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
37300         [BZ #17793]
37301         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
37302         Define as weak alias not strong alias.
37304         [BZ #17635]
37305         * ctype/ctype-c99.c: New file.  isblank implementation moved from
37306         ...
37307         * ctype/ctype-extn.c: ... here.
37308         (__isblank_l): Move to ...
37309         * ctype/ctype-c99_l.c: ... here.  New file.
37310         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
37311         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
37312         Remove variable.
37313         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
37314         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
37315         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
37316         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
37317         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
37319         [BZ #17777]
37320         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
37321         (posix_fadvise64): Define as weak alias not strong alias.
37322         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37323         (posix_fallocate64): Likewise.
37324         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
37325         Remove variable.
37326         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
37327         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
37328         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
37329         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
37330         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
37332 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
37334         [BZ #16191]
37335         * NEWS: Mention bug fix.
37336         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
37337         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
37338         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
37339         (HOST_STACK_END_ADDR): Likewise.
37341 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
37343         [BZ #17748]
37344         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
37345         * math/fegetround.c (fegetround): Rename to __fegetround and
37346         define as weak alias of __fegetround.  Use libm_hidden_weak.
37347         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
37348         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
37349         * sysdeps/arm/fegetround.c (fegetround): Likewise.
37350         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
37351         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
37352         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
37353         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
37354         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
37355         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
37356         Undefine after rather than before function definition; use
37357         parentheses around function name in definition.
37358         (__fegetround): Also undefine macro after function definition.
37359         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
37360         __fegetround and define as weak alias of __fegetround.  Use
37361         libm_hidden_weak.  Do not undefine as macro.
37362         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
37363         Likewise.
37364         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
37365         __fegetround and define as weak alias of __fegetround.  Use
37366         libm_hidden_weak.
37367         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
37368         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
37369         * sysdeps/tile/math_private.h (__fegetround): New inline function.
37370         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
37371         __fegetround and define as weak alias of __fegetround.  Use
37372         libm_hidden_weak.
37373         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
37374         __fegetround instead of fegetround.
37376         [BZ #17782]
37377         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
37378         Condition macro definition on [__USE_MISC].
37380         [BZ #17781]
37381         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
37382         (struct sigaction): Change type of sa_flags field to int.
37384         [BZ #17780]
37385         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
37386         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
37387         __glibc_reserved0.
37389         * nptl/version.c (banner): Use single year in copyright notice.
37391         * NEWS: Update copyright dates.
37392         * catgets/gencat.c (print_version): Likewise.
37393         * csu/version.c (banner): Likewise.
37394         * debug/catchsegv.sh: Likewise.
37395         * debug/pcprofiledump.c (print_version): Likewise.
37396         * debug/xtrace.sh (do_version): Likewise.
37397         * elf/ldconfig.c (print_version): Likewise.
37398         * elf/ldd.bash.in: Likewise.
37399         * elf/pldd.c (print_version): Likewise.
37400         * elf/sotruss.sh: Likewise.
37401         * elf/sprof.c (print_version): Likewise.
37402         * iconv/iconv_prog.c (print_version): Likewise.
37403         * iconv/iconvconfig.c (print_version): Likewise.
37404         * locale/programs/locale.c (print_version): Likewise.
37405         * locale/programs/localedef.c (print_version): Likewise.
37406         * login/programs/pt_chown.c (print_version): Likewise.
37407         * malloc/memusage.sh (do_version): Likewise.
37408         * malloc/memusagestat.c (print_version): Likewise.
37409         * malloc/mtrace.pl: Likewise.
37410         * manual/libc.texinfo: Likewise.
37411         * nptl/version.c (banner): Likewise.
37412         * nscd/nscd.c (print_version): Likewise.
37413         * nss/getent.c (print_version): Likewise.
37414         * nss/makedb.c (print_version): Likewise.
37415         * posix/getconf.c (main): Likewise.
37416         * scripts/test-installation.pl: Likewise.
37417         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
37419 2015-01-02  Will Newton  <will.newton@linaro.org>
37421         * sysdeps/arm/armv7/configure: Removed.
37422         * sysdeps/arm/armv7/configure.ac: Likewise.
37424 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
37426         * All files with FSF copyright notices: Update copyright dates
37427         using scripts/update-copyrights.
37428         * intl/plural.c: Regenerated.
37429         * locale/programs/charmap-kw.h: Likewise.
37430         * locale/programs/locfile-kw.h: Likewise.
37432 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37434         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
37436 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
37438         [BZ #17748]
37439         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
37440         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
37441         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
37442         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
37443         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
37444         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
37445         define as weak alias of __fegetenv.  Use libm_hidden_weak.
37446         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
37447         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
37448         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
37449         define as weak alias of __fegetenv.  Use libm_hidden_weak.
37450         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
37451         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
37452         define as weak alias of __fegetenv.  Use libm_hidden_weak.
37453         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
37454         libm_hidden_def.
37455         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
37456         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
37457         Likewise.
37458         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
37459         define as weak alias of __fegetenv.  Use libm_hidden_weak.
37460         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
37461         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
37462         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
37463         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
37464         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
37465         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
37466         __fegetenv instead of fegetenv.
37467         (libc_feholdsetround_noex_ctx): Likewise.
37469 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
37471         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
37472         (Elf_MIPS_ABIFlags_v0): New structure.
37473         (EF_MIPS_FP64): Define.
37474         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
37475         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
37476         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
37477         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
37478         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
37479         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
37480         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
37481         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
37482         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
37483         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
37484         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
37485         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
37486         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
37487         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
37488         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
37489         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
37490         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
37491         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
37492         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
37493         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
37494         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
37495         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
37496         field.
37497         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
37498         EF_MIPS_FP64.
37499         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
37500         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
37501         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
37502         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
37503         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
37504         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
37505         * sysdeps/mips/tst-abi-interlink.c: Likewise.
37506         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
37507         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
37508         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
37509         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
37510         record the current FP ABI extension.
37511         (mips-mode-switch): Define to show if kernel headers support mode
37512         switching.
37513         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
37514         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
37515         supported SYSV ABI version to 3.
37516         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
37517         feature.
37519 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37520             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37522         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
37523         path.
37524         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
37526 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
37528         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
37529         __fegetround and redefine to call __fegetround.  Remove condition
37530         on [!__NO_MATH_INLINES].
37531         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
37532         function.
37533         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
37534         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
37535         Remove macro.
37536         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
37537         instead of <fenv_libc.h>.
37538         (__llrintl): Call fegetround instead of __fegetround.
37539         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
37540         instead of <fenv_libc.h>.
37541         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37542         (__lrintl): Call fegetround instead of __fegetround.
37543         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
37544         instead of <fenv_libc.h>.
37545         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37546         (__rintl): Call fegetround instead of __fegetround.
37548 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37550         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
37551         arrays.
37553 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
37555         [BZ #17775]
37556         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
37557         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
37558         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
37560 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
37562         * sysdeps/i386/tls-macros.h: Include <features.h>.
37563         (TLS_LE): Use non-PIC version for GCC >= 5.0.
37564         (TLS_IE): Likewise.
37565         (TLS_LD): Likewise.
37566         (TLS_GD): Likewise.
37567         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
37568         define for GCC >= 5.0.
37570 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
37572         * math/test-fenv.c (test_single_exception, set_single_exc,
37573         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
37574         feexcp_mask_test, feenable_test, fe_single_test): Add
37575         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
37576         case where they are not used.
37577         * math/libm-test.inc: Likewise.
37578         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
37579         unused in the absence of FP rounding/exception support.
37580         * stdio-common/tst-printf-round.c: Likewise.
37581         * stdlib/tst-strtod-round.c: Likewise.
37582         * stdlib/tst-strtod-underflow.c: Likewise.
37584 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
37586         [BZ #17723]
37587         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
37588         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
37589         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
37590         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
37591         libm_hidden_weak.
37592         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
37593         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
37594         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
37595         libm_hidden_def.
37596         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
37597         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
37598         libm_hidden_weak.
37599         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
37600         Likewise.
37601         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
37602         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
37603         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
37604         libm_hidden_weak.
37605         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
37606         libm_hidden_def.
37607         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
37608         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
37609         (__feraiseexcept): Likewise.
37610         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
37611         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
37612         libm_hidden_weak.
37613         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
37614         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
37615         libm_hidden_def.
37616         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
37617         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
37618         Use libm_hidden_def.
37619         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
37620         libm_hidden_def.
37621         (feraiseexcept): Define as weak not strong alias.  Use
37622         libm_hidden_weak.
37623         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
37624         New inline function.  Factored out of ...
37625         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
37626         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
37627         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
37628         feraiseexcept.
37629         * math/w_acos.c (__acos): Likewise.
37630         * math/w_asin.c (__asin): Likewise.
37631         * math/w_ilogb.c (__ilogb): Likewise.
37632         * math/w_j0.c (y0): Likewise.
37633         * math/w_j1.c (y1): Likewise.
37634         * math/w_jn.c (yn): Likewise.
37635         * math/w_log.c (__log): Likewise.
37636         * math/w_log10.c (__log10): Likewise.
37637         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
37638         * sysdeps/aarch64/fpu/math_private.h
37639         (libc_feupdateenv_test_aarch64): Likewise.
37640         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
37641         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
37642         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
37643         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
37644         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
37645         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
37646         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
37647         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37648         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
37649         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
37651 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
37653         [BZ #17732]
37654         * io/test-utime.c (main): Replace %ld with %jd and cast to
37655         intmax_t.
37656         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
37657         * nptl/tst-mutex5.c: Include <stdint.h>.
37658         (do_test): Replace %ld with %jd and cast to intmax_t.
37659         * posix/tst-regex.c (run_test): Likewise.
37660         (run_test_backwards): Likewise.
37661         * rt/tst-clock.c: Include <stdint.h>.
37662         (clock_test): Replace %ld with %jd and cast to intmax_t.
37663         * rt/tst-cpuclock1.c: Include <stdint.h>.
37664         (do_test): Replace %lu with %ju and cast to uintmax_t.
37665         * rt/tst-cpuclock2.c: Include <stdint.h>.
37666         (do_test): Replace %lu with %ju and cast to uintmax_t.
37667         * rt/tst-mqueue1.c: Include <stdint.h>.
37668         (check_attrs): Replace %ld with %jd and cast to intmax_t.
37669         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
37670         intmax_t.
37671         * rt/tst-mqueue4.c (do_test): Likewise.
37672         * rt/tst-timer4.c: Include <stdint.h>.
37673         (check_ts): Replace %ld with %jd and cast to intmax_t.
37674         (do_test): Likewise.
37675         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
37676         and cast to intmax_t.
37677         * sysdeps/pthread/tst-timer.c (main): Likewise.
37678         * time/clocktest.c (main): Likewise.
37679         * time/tst-posixtz.c (do_test): Likewise.
37680         * timezone/tst-timezone.c (main): Likewise.
37682 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
37683             H.J. Lu  <hongjiu.lu@intel.com>
37685         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
37686         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
37687         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
37688         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
37689         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
37690         version if bit_Fast_Unaligned_Load is set.
37691         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37692         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37693         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37694         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37695         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37696         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37697         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37698         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
37699         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
37700         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
37701         to 4.
37702         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
37703         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
37704         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
37705         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
37707 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
37709         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
37710         instead of #if to avoid a Wundef warning.
37711         * stdlib/tst-limits.c (do_test): Likewise.
37713         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
37714         parallel other exception macros.
37715         (fegetenv): Convert from macro to extern inline so that it applies
37716         retroactively to inline functions already seen by the compiler.
37717         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
37719         * posix/Makefile (before-compile): Use $(objpfx) for
37720         posix-conf-vars-def.h.
37722 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37724         * posix/getconf.c (main): Use size_t for type of I.
37725         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
37726         NSPEC.
37728         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
37729         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
37730         * posix/posix-envs.def: Likewise.
37731         * sysdeps/posix/sysconf.c: Likewise.
37732         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
37733         (specs): Remove array.
37734         * scripts/gen-posix-conf-vars.awk: Support generation of specs
37735         array.
37737         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
37738         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
37739         (__sysconf): Use CONF_IS_* macros.
37741         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
37742         ($(objpfx)posix-conf-vars-def.h): New target.
37743         * posix/posix-conf-vars.list: New file.
37744         * posix/posix-conf-vars.h: New file.
37745         * posix/confstr.c: Include posix-conf-vars.h.
37746         (confstr): Use CONF_IS_* macros.
37747         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
37748         CONF_IS_* macros.
37749         * scripts/gen-posix-conf-vars.awk: New file.
37751 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
37753         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
37754         fegetround): Add no-op macros to avoid linknamespace issues.
37756         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
37757         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
37759         * sysdeps/unix/sysv/linux/tile/sysdep.h
37760         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
37761         assembly-specific section to avoid a redefinition warning.
37763         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
37764         long before casting to pointer to avoid a cast warning.
37766 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
37768         * sysdeps/tile/tilegx/Implies: New file.
37770 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
37772         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
37774 2014-12-23  Florian Weimer  <fweimer@redhat.com>
37776         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
37778 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
37780         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
37781         not define.
37782         * sysdeps/unix/sysv/linux/utimes.c: Do not include
37783         <kernel-features.h>.
37784         (__utimes) [__NR_utimes]: Make code unconditional.
37785         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
37786         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37787         (__ASSUME_UTIMES): Do not undefine.
37788         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37789         (__ASSUME_UTIMES): Likewise.
37790         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
37791         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
37792         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
37793         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
37795 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
37797         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
37799 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
37801         [BZ #17747]
37802         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
37803         alias to weak alias for j0l, y0l.
37804         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
37805         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
37807         [BZ #17746]
37808         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
37809         conversion.
37811 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
37813         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
37814         to zero if not already defined.
37816 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
37818         [BZ #17724]
37819         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
37820         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
37821         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
37822         (char *) casts added.
37823         * sysdeps/ieee754/k_standardf.c: New file.
37824         * sysdeps/ieee754/k_standardl.c: Likewise.
37825         * math/Makefile (libm-support): Remove k_standard.
37826         (libm-calls): Add k_standard.
37828 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
37830         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
37831         Optimize to avoid an unnecessary FPCR read.
37833 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
37835         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
37836         Optimize to reduce FPCR/FPSR accesses.
37838 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
37840         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
37841         Call libc_fetestexcept_aarch64.
37843 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
37845         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
37846         Call libc_fesetround_aarch64.
37848 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
37850         [BZ #17733]
37851         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
37852         (__bind): Do not define as weak alias.
37853         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
37854         define.
37855         (__getsockname): Do not define as weak alias.
37857 2014-12-22  Will Newton  <will.newton@linaro.org>
37859         * manual/install.texi: Document that we require bison 2.7
37860         or above.
37861         * INSTALL: Regenerate.
37862         * configure.ac: Use AC_CHECK_PROG_VER instead of
37863         AC_PATH_PROG when checking for bison and check for
37864         version 2.7 or above.
37865         * configure: Regenerate.
37867 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
37869         [BZ #17745]
37870         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
37871         * sysdeps/tile/ffsll.c (ffsll): To here.
37873         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
37875 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
37877         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
37878         if not defined.
37879         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
37880         definition.
37881         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
37882         hidden ___tls_get_addr.
37883         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
37884         hidden __tls_get_addr.
37885         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
37886         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
37887         Likewise.
37889 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
37891         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
37892         _dl_init call.
37894 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
37896         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
37897         from "call _dl_init@PLT".
37898         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
37900 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
37902         * manual/search.texi: (Array Sort Function): Clarify stable sorting
37903         guarantees.
37905 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
37907         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
37909 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
37911         [BZ #17744]
37912         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
37913         strnlen.
37915 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
37917         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
37918         of multu on MIPSr6.
37919         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
37920         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
37921         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
37922         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
37923         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
37925 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
37927         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
37928         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
37929         (PTR_SUBU): Use subu for mips32r6/mips64r6.
37930         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
37931         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
37932         mips32r6/mips64r6.
37933         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
37935 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
37937         * string/strncat.c (STRNCAT): Simplify implementation.
37939 2014-12-19  David S. Miller  <davem@davemloft.net>
37941         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
37942         access the quad as both a long double and as a series of 4 words.
37944         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
37945         link_map->l_info array access.
37947 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
37949         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
37951         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
37952         * math/atest-exp2.c (TIMEOUT): Likewise.
37953         * math/atest-sincos.c (TIMEOUT): Likewise.
37955 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
37957         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
37958         -Wno-error with -fno-builtin-lround.
37960 2014-12-19  Torvald Riegel  <triegel@redhat.com>
37962         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
37963         Contains futex constants and functions moved over from ...
37964         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
37965         <lowlevellock-futex.h>.
37966         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
37967         (lll_timedwait_tid): Add comments and parentheses around macro
37968         arguments.
37970 2014-12-19  Torvald Riegel  <triegel@redhat.com>
37972         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
37973         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
37974         (__lll_private_flag): Remove.
37975         (lll_futex_wait): Likewise.
37976         (lll_futex_timed_wait): Likewise.
37977         (lll_futex_wake): Likewise.
37978         (lll_futex_requeue): Likewise.
37979         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
37980         (__lll_timedwait_tid): Spell out argument names.
37981         (lll_timedwait_tid): Add comments and parentheses around macro
37982         arguments.
37983         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
37984         LLL_SHARED and LLL_PRIVATE usable from assembly code.
37986 2014-12-19  Torvald Riegel  <triegel@redhat.com>
37988         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
37989         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
37990         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
37991         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
37992         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
37993         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
37994         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
37995         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
37996         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
37997         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
37998         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
37999         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
38000         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
38001         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
38002         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
38003         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
38004         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
38005         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
38006         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
38008 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
38010         * sysdeps/x86_64/x32/Makefile: New file.
38012 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
38014         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
38015         1L with (mp_limb_t) 1.
38017 2014-12-17  Roland McGrath  <roland@hack.frob.com>
38019         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
38020         * nptl/libc_pthread_init.c: ... here.
38021         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
38022         * nptl/register-atfork.c: ... here.
38024         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
38025         Use pthread_sigmask rather than INTERNAL_SYSCALL.
38026         Use assert_perror to check its return value.
38027         (__gai_create_helper_thread): Likewise.
38029         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
38031         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
38033 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
38035         [BZ #17725]
38036         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
38037         __profil_counter.
38038         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
38039         Likewise.
38040         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
38041         Likewise.
38042         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
38043         Likewise.
38044         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
38045         (profil_counter): Likewise.
38046         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
38047         (profil_counter): Likewise.
38048         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
38049         Likewise.
38050         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
38051         Likewise.
38052         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
38053         (profil_counter): Likewise.
38054         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
38055         Likewise.
38056         [!__profil_counter] (profil_counter): Define as weak alias of
38057         __profil_counter.
38058         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
38059         (profil_counter): Rename to __profil_counter.
38060         [!__profil_counter] (profil_counter): Define as weak alias of
38061         __profil_counter.
38062         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
38063         (profil_counter): Rename to __profil_counter.
38064         [!__profil_counter] (profil_counter): Define as weak alias of
38065         __profil_counter.
38066         * sysdeps/posix/profil.c: Update comment referring to
38067         profil_counter.
38068         (__profil): Use __profil_counter instead of profil_counter.
38069         * sysdeps/posix/sprofil.c (profil_counter): Rename to
38070         __profil_counter.  Use __profil_counter_ushort and
38071         __profil_counter_uint in definitions.
38072         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
38073         instead of profil_counter_uint and profil_counter_ushort.
38075         [BZ #17722]
38076         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
38077         define as weak alias of __inet_makeaddr.
38078         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
38079         as weak alias of __inet_addr.
38080         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
38081         as weak alias of __inet_pton.  Use libc_hidden_weak.
38082         * include/arpa/inet.h (__inet_pton): Declare.  Use
38083         libc_hidden_proto.
38084         (inet_makeaddr): Don't use libc_hidden_proto.
38085         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
38086         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
38087         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
38088         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
38089         Remove variable.
38090         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
38091         (test-xfail-POSIX/time.h/linknamespace): Likewise.
38093 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
38095         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
38097 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
38099         * stdio-common/bug-vfprintf-nargs.c (do_test):
38100         Cast value to intptr_t to avoid format warning
38101         for usage with PRIdPTR printing macro.
38103 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
38105         * libio/tst-widetext.c (do_test):
38106         Use format type %td instead of %Zd for ptrdiff_t
38107         in order to avoid format warning.
38109 2014-12-17  Andreas Schwab  <schwab@suse.de>
38111         * nscd/mem.c (gc): Add size_t cast to match printf format.
38113 2014-12-16  Roland McGrath  <roland@hack.frob.com>
38115         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
38116         (init): Apply PTR_MANGLE to pointers before storing them.
38117         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
38118         before using them.
38120 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
38122         [BZ #17719]
38123         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
38124         define as weak alias of __memrchr.
38125         (__memrchr): Do not define as strong alias of memrchr.
38126         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
38127         Remove variable.
38128         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
38129         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
38130         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
38132         [BZ #17717]
38133         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
38134         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
38135         (if_indextoname): Rename to __if_indextoname and define as weak
38136         alias of __if_indextoname.  Use libc_hidden_weak.
38137         (if_freenameindex): Rename to __if_freenameindex and define as
38138         weak alias of __if_freenameindex.
38139         (if_nameindex): Rename to __if_nameindex and define as weak alias
38140         of __if_nameindex.
38141         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
38142         __if_nametoindex and define as weak alias of __if_nametoindex.
38143         Use libc_hidden_weak.
38144         (if_freenameindex): Rename to __if_freenameindex and define as
38145         weak alias of __if_freenameindex.
38146         (if_nameindex): Rename to __if_nameindex and define as weak alias
38147         of __if_nameindex.
38148         (if_indextoname): Rename to __if_indextoname and define as weak
38149         alias of __if_indextoname.  Use libc_hidden_weak.
38150         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
38151         __if_nametoindex and define as weak alias of __if_nametoindex.
38152         Use libc_hidden_weak.
38153         (if_freenameindex): Rename to __if_freenameindex and define as
38154         weak alias of __if_freenameindex.  Use libc_hidden_weak.
38155         (if_nameindex_netlink): Use __if_freenameindex instead of
38156         if_freenameindex.
38157         (if_nameindex): Rename to __if_nameindex and define as weak alias
38158         of __if_nameindex.  Use libc_hidden_weak.
38159         (if_indextoname): Rename to __if_indextoname and define as weak
38160         alias of __if_indextoname.  Use libc_hidden_weak.
38161         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
38162         libc_hidden_proto.
38163         [!_ISOMAC] (__if_freenameindex): Likewise.
38164         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
38165         if_nametoindex.
38166         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
38167         variable.
38168         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
38169         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
38170         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
38171         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
38172         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
38173         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
38174         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
38176         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
38177         Remove variable.
38178         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
38179         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
38181 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38183         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
38184         subscript above bounds'
38186         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
38187         bounds.
38189 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
38191         * libio/tst-fopenloc.c: Use test-skeleton.c.
38193         * stdlib/tst-bsearch.c: Use test-skeleton.c.
38194         (entry): Rename to ITEM.
38195         (do_test, comp): Adjust.
38197         * stdio-common/tst-fseek.c: Use test-skeleton.c.
38199 2014-12-16  Torvald Riegel  <triegel@redhat.com>
38201         * string/tester.c: Include <libc-internal.h>.
38202         (test_memset): Ignore -Wmemset-transposed-args.
38204 2014-12-16  Torvald Riegel  <triegel@redhat.com>
38206         * misc/tst-mntent2.c (do_test): Fix warning.
38208 2014-12-16  Torvald Riegel  <triegel@redhat.com>
38210         * elf/tst-unique4lib.cc(a): Mark as used.
38212 2014-12-16  Florian Weimer  <fweimer@redhat.com>
38214         [BZ #17630]
38215         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
38216         names.
38218 2014-12-16  Allan McRae  <allan@archlinux.org>
38220         * stdio-common/Makefile (tests): Re-add bug26.
38222 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
38224         [BZ #17657]
38225         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
38226         static array.
38228 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
38230         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
38231         (__lll_lock_wait): Likewise.
38232         (__lll_timedlock_wait): Likewise.
38233         (__lll_timedwait_tid): Likewise.
38234         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
38235         (__lll_robust_timedlock_wait): Likewise.
38236         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
38237         (lll_cond_trylock): Likewise.
38238         (__lll_lock): Likewise.
38239         (__lll_robust_lock): Likewise.
38240         (__lll_cond_lock): Likewise.
38241         (lll_robust_cond_lock): Likewise.
38242         (__lll_timedlock): Likewise.
38243         (__lll_robust_timedlock): Likewise.
38244         (__lll_unlock): Likewise.
38245         (__lll_robust_unlock): Likewise.
38246         (lll_wait_tid): Likewise.
38247         (lll_timedwait_tid): Likewise.
38249 2014-12-15  Torvald Riegel  <triegel@redhat.com>
38251         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
38253 2014-12-15  Torvald Riegel  <triegel@redhat.com>
38255         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
38257 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
38259         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
38260         * stdio-common/tst-sprintf.c: Likewise.
38262 2014-12-15  Torvald Riegel  <triegel@redhat.com>
38264         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
38266 2014-12-15  Jeff Law  <law@redhat.com>
38268         [BZ #16617]
38269         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
38270         on the heap.  (CVE-2012-3406)
38271         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
38272         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
38273         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
38275 2014-12-15  Will Newton  <will.newton@linaro.org>
38277         * manual/install.texi: Bump required version of texinfo
38278         to 4.7 from 4.5.
38279         * INSTALL: Regenerated.
38280         * configure.ac: Check for makeinfo version 4.7 and above.
38281         * configure: Regenerated.
38283 2014-12-12  Roland McGrath  <roland@hack.frob.com>
38285         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
38286         PREFIX, string constant to insert between directory and name.
38287         * sysdeps/posix/shm_open.c: Update caller.
38288         * sysdeps/posix/shm_unlink.c: Likewise.
38289         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
38290         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
38291         (SEM_SHM_PREFIX): New macro.
38292         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
38293         [$(have-thread-library) = no].
38294         * nptl/Makefile (libpthread-routines): Add shm-directory.
38295         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
38296         * sysdeps/nptl/shm-directory.h: New file.
38297         * sysdeps/posix/shm-directory.c
38298         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
38299         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
38300         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
38301         INTERNAL_SYSCALL.
38302         (__where_is_shmfs): Function removed.
38303         (mountpoint, defaultmount, defaultdir, __namedsem_once):
38304         Variables removed.
38305         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
38306         Use SHM_GET_NAME.
38307         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
38309         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
38310         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
38311         unconditional for use inside libpthread.
38312         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
38314 2014-12-12  Roland McGrath  <roland@hack.frob.com>
38316         * nptl/pthread_getaffinity.c: New file.
38317         * nptl/pthread_setaffinity.c: New file.
38318         * nptl/pthread_getname.c: New file.
38319         * nptl/pthread_setname.c: New file.
38321         * nptl/pthread_create.c (START_THREAD_DEFN)
38322         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
38324 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
38325             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38327         * resolv/res_send.c (send_vc): Disable warning resplen may
38328         be used uninitialized.
38330 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
38332         * nptl/tst-mutex6.c
38333         (ATTR_NULL): New define checks ATTR against NULL.
38334         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
38335         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
38337 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
38339         [BZ #17581]
38340         * malloc/hooks.c
38341         (mem2mem_check): Revert my previous change.
38342         (malloc_check_get_size): Revert my previous change.
38343         (mem2chunk_check): Revert my previous change.
38345 2014-12-11  Roland McGrath  <roland@hack.frob.com>
38347         * sysdeps/posix/shm-directory.c: New file.
38348         * sysdeps/posix/shm-directory.h: New file.
38349         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
38350         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
38351         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
38352         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
38353         Transmute EPERM to EACCES.
38354         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
38355         from ...
38356         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
38357         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
38359 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38361         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
38362         pointer and cast to uintptr_t.
38363         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
38364         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
38365         Add cast to avoid warning.
38366         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
38368 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
38370         * nptl/semaphore.h: Move to ...
38371         * sysdeps/pthread/semaphore.h: ... here.
38372         * Makefile (installed-headers): Change nptl/semaphore.h to
38373         sysdeps/pthread/semaphore.h.
38375 2014-12-11  Roland McGrath  <roland@hack.frob.com>
38377         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
38378         generated error format strings.
38380         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
38381         -Wformat-extra-args warnings for scanf formats.
38382         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
38383         test of zero-length format (duh).
38384         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
38385         corner-case scanf format test.
38386         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
38387         generated fprintf format string.
38388         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
38389         corner-case sprintf format tests.
38390         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
38391         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
38392         -Wformat-extra-args warnings throughout.
38393         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
38394         (CFLAGS-scanf4.c): Likewise.
38395         (CFLAGS-scanf7.c): Likewise.
38396         (CFLAGS-tst-sprintf.c): Likewise.
38397         (CFLAGS-tst-printf.c): Likewise.
38398         (CFLAGS-tst-printfsz.c): Likewise.
38400 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
38402         * include/cpio.h: New file.
38403         * include/fmtmsg.h: Likewise.
38405         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
38406         corresponding format argument to size_t.
38407         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
38408         arguments.
38409         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
38410         corresponding format argument to size_t.
38411         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
38412         arguments.
38413         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
38414         corresponding format argument to size_t.
38415         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
38416         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
38417         (CFLAGS-tst-mbswcs2.c): Likewise.
38418         (CFLAGS-tst-mbswcs3.c): Likewise.
38419         (CFLAGS-tst-mbswcs4.c): Likewise.
38420         (CFLAGS-tst-mbswcs5.c): Likewise.
38421         (CFLAGS-tst-trans.c): Likewise.
38423 2014-12-11  Roland McGrath  <roland@hack.frob.com>
38425         * posix/regexbug1.c (main): Use "%s" format with regerror results,
38426         rather than assuming they won't contain any '%'s.
38428 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
38430         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
38431         inhibit_loop_to_libcall to avoid recursive calls.
38432         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
38433         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
38435 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
38437         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
38438         prototype.
38440 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
38442         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
38443         integer value instead of boolean.
38445 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
38447         * malloc/malloc.c: Fix powerof2 check.
38449 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
38451         * locale/programs/locfile.h (maybe_swap_uint32):
38452         Remove inline and add unused attribute.
38454 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
38456         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
38457         Truncating assembler expression to a .long expression.
38459 2014-12-11  Andreas Schwab  <schwab@suse.de>
38461         * elf/rtld.c (struct map_args): Constify str member.
38462         (do_preload): Constify fname argument.
38464 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38466         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
38467         constants definition.
38469 2014-12-11  Andreas Schwab  <schwab@suse.de>
38471         [BZ #16657]
38472         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
38473         FORCE_ELISION instead of DO_ELISION.
38474         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
38475         Remove.
38476         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
38477         Likewise.
38479         * iconvdata/gconv-modules: Remove duplicate entry.
38481 2014-12-11  Will Newton  <will.newton@linaro.org>
38483         Merge gettext 0.19.3 into intl/.
38485         This involves a number of cosmetic changes to comments
38486         and ANSI function definitions and prototypes throughout
38487         all the files. The gettext copyright header is used but
38488         with the date ranges taken from the glibc copy.
38490         * NEWS: Add gettext merge to 2.21.
38491         * intl/bindtextdom.c: Switch to gettext copyright.
38492         Use ANSI definitions and prototypes.
38493         Use gl_* locking primitives rather than __libc_* ones.
38494         Use __builtin_expect rather than __glibc_likely/unlikely.
38495         * intl/dcgettext.c: Switch to gettext copyright.
38496         Use ANSI definitions and prototypes.
38497         * intl/dcigettext.c: Switch to gettext copyright.
38498         Use ANSI definitions and prototypes.
38499         (INTDIV0_RAISES_SIGFPE): New define.
38500         Use gl_* locking primitives rather than __libc_* ones.
38501         Include eval-plural.h instead of plural-eval.c.
38502         Use __builtin_expect rather than __glibc_likely/unlikely.
38503         * intl/dcngettext.c: Switch to gettext copyright.
38504         Use ANSI definitions and prototypes.
38505         * intl/dgettext.c: Likewise.
38506         * intl/dngettext.c: Likewise.
38507         * intl/plural-eval.c: Renamed to...
38508         * intl/eval-plural.h: ...this.
38509         * intl/explodename.c: Switch to gettext copyright.
38510         Use ANSI definitions and prototypes.
38511         (_nl_explode_name): Use strchr instead of __rawmemchr.
38512         * intl/finddomain.c: Switch to gettext copyright.
38513         Use ANSI definitions and prototypes.
38514         Use gl_* locking primitives rather than __libc_* ones.
38515         (_nl_find_domain): Use malloc rather than alloca for
38516         allocation of temporary locale name.
38517         * intl/gettext.c: Switch to gettext copyright.
38518         Use ANSI definitions and prototypes.
38519         * intl/gettextP.h: Switch to gettext copyright.
38520         Use ANSI definitions and prototypes.
38521         Use gl_* locking primitives rather than __libc_* ones.
38522         * intl/gmo.h: Switch to gettext copyright.
38523         (struct sysdep_string): Move struct segment_pair outside of
38524         struct definition.
38525         * intl/hash-string.c: Use ANSI definitions and prototypes.
38526         * intl/hash-string.h: Switch to gettext copyright.
38527         Use ANSI definitions and prototypes.
38528         * intl/l10nflist.c: Switch to gettext copyright.
38529         Use ANSI definitions and prototypes.
38530         (_nl_normalize_codeset): Avoid integer overflow.
38531         * intl/loadinfo.h: Switch to gettext copyright.
38532         Use ANSI definitions and prototypes.
38533         (LIBINTL_DLL_EXPORTED): New define.
38534         (PATH_SEPARATOR): New define.
38535         * intl/loadmsgcat.c: Switch to gettext copyright.
38536         * intl/localealias.c: Switch to gettext copyright.
38537         Use ANSI definitions and prototypes.
38538         (_nl_expand_alias): Use PATH_SEPARATOR.
38539         * intl/ngettext.c: Switch to gettext copyright.
38540         Use ANSI definitions and prototypes.
38541         * intl/plural-exp.c: Likewise.
38542         * intl/plural-exp.h: Switch to gettext copyright.
38543         Use ANSI definitions and prototypes.
38544         (struct expression): Move definition of enum operator outside
38545         of struct definition.
38546         * intl/plural.c: Regenerate.
38547         * intl/plural.y: Switch to gettext copyright.
38548         Use ANSI definitions and prototypes.
38549         Port to bison 3.0.
38550         * intl/textdomain.c: Switch to gettext copyright.
38551         Use ANSI definitions and prototypes.
38552         Use gl_* locking primitives rather than __libc_* ones.
38554 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
38556         * debug/warning-nop.c: Add used atrribute.
38558 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
38560         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
38562         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
38563         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
38564         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
38566 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
38567             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38569         [BZ #17634]
38570         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
38571         Undefine after defining function.  Define as weak alias of
38572         __wcschr.  Use libc_hidden_weak.
38573         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
38574         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
38575         (libc_hidden_def): Also define __GI___wcschr alias.
38576         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
38577         __wcschr and define as weak alias of __wcschr.
38578         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
38579         __wcschr.
38580         [!WCSCHR] (DEFAULT_WCSCHR): Define.
38581         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
38582         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
38583         libc_hidden_weak.  Do not use libc_hidden_def.
38584         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
38585         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
38586         __GI___wcschr alias.
38587         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
38588         [IS_IN (libc)] (wcschr): Define as macro expanding to
38589         __redirect_wcschr.
38590         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
38591         [IS_IN (libc)] (__wcschr_power6): Likewise.
38592         [IS_IN (libc)] (__wcschr_power7): Likewise.
38593         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
38594         instead of wcschr.
38595         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
38596         __libc_wcschr.
38597         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
38598         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
38599         __wcschr and define as weak alias of __wcschr.  Use
38600         libc_hidden_builtin_def.
38601         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
38602         as weak alias of __wcschr.  Use libc_hidden_weak.
38603         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
38604         wcschr.
38605         * time/era.c (_nl_init_era_entries): Likewise.
38606         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
38607         variable.
38608         (test-xfail-XPG3/time.h/linknamespace): Likewise.
38609         (test-xfail-XPG4/time.h/linknamespace): Likewise.
38611 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
38613         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
38614         format for long int variable.
38616 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
38618         [BZ #10672]
38619         * manual/search.texi: (Array Sort Function): Remove claim how to make
38620         qsort stable.
38622 2014-12-10  Andreas Schwab  <schwab@suse.de>
38624         [BZ #12847]
38625         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
38626         user-controlled locks.
38628 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
38630         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
38631         register.
38633 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
38635         * configure.ac (--disable-werror): New configure option.
38636         (enable_werror): New AC_SUBST.
38637         * configure: Regenerated.
38638         * config.make.in (enable-werror): New variable.
38639         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
38640         -Wno-error=undef.
38641         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
38642         * manual/install.texi (Configuring and compiling): Document
38643         --disable-werror.
38644         * INSTALL: Regenerated.
38645         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
38646         (CFLAGS-tst-chk2.c): Likewise.
38647         (CFLAGS-tst-chk3.c): Likewise.
38648         (CFLAGS-tst-chk4.cc): Likewise.
38649         (CFLAGS-tst-chk5.cc): Likewise.
38650         (CFLAGS-tst-chk6.cc): Likewise.
38651         (CFLAGS-tst-lfschk1.c): Likewise.
38652         (CFLAGS-tst-lfschk2.c): Likewise.
38653         (CFLAGS-tst-lfschk3.c): Likewise.
38654         (CFLAGS-tst-lfschk4.cc): Likewise.
38655         (CFLAGS-tst-lfschk5.cc): Likewise.
38656         (CFLAGS-tst-lfschk6.cc): Likewise.
38658         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
38659         (main): Disable -Wdeprecated-declarations around calls to
38660         register_printf_function.
38662         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
38663         (do_test): Disable -Wdiv-by-zero around some calls to
38664         fwrite_unlocked and fread_unlocked.
38666         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
38667         (DIAG_POP_NEEDS_COMMENT): Likewise.
38668         (_DIAG_STR1): Likewise.
38669         (_DIAG_STR): Likewise.
38670         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
38671         * stdio-common/bug21.c: Include <libc-internal.h>.
38672         (do_test): Disable -Wformat around call to sscanf.
38673         * stdio-common/scanf14.c: Include <libc-internal.h>.
38674         (main): Disable -Wformat around some calls to scanf functions.
38676 2014-12-09  Torvald Riegel  <triegel@redhat.com>
38678         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
38680 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38682         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
38683         stack variable alignment.
38685 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
38687         [BZ #17682]
38688         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
38689         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
38690         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
38691         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
38692         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
38693         __getrlimit instead of getrlimit.
38694         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
38695         __gettimeofday instead of gettimeofday.
38696         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
38697         Likewise.
38698         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
38699         Likewise.
38700         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38701         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
38702         Remove variable.
38703         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
38704         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
38706 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38708         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
38709         for wide-character tests.
38711 2014-12-04  Roland McGrath  <roland@hack.frob.com>
38713         * io/openat64.c: #include <libc-internal.h>
38714         (__openat64): Prototypify.  Use ignore_value on MODE.
38715         * io/openat.c: Likewise.
38716         * misc/reboot.c: #include <libc-internal.h>
38717         (reboot): Prototypify.  Use ignore_value on HOWTO.
38718         * misc/ptrace.c: #include <libc-internal.h>
38719         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
38721 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
38723         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
38724         XPG4, UNIX98 and XOPEN2K.
38725         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
38726         Remove variable.
38727         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
38729 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38731         * libio/fileops.c: Use ISO C style for function definitions.
38732         * libio/iofopen.c: Likewise.
38733         * libio/wfileops.c: Likewise.
38735         [BZ #17653]
38736         * libio/fileops.c (_IO_new_file_underflow): Unset cached
38737         offset on EOF.
38738         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
38739         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
38740         (fgets_func): Function pointer to fgets and fgetws.
38741         (do_ftell_test): Add test to verify ftell value after read
38742         EOF.
38743         (do_test): Set fgets_func.
38745         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
38746         O_TRUNC flag for w and w+ modes.
38747         (do_rewind_test): Likewise.
38748         (do_ftell_test): Likewise.
38749         (do_write_test): Likewise.
38751         [BZ #17647]
38752         * libio/fileops.c (do_ftell): Seek only when there are
38753         unflushed writes.
38754         * libio/wfileops.c (do_ftell_wide): Likewise.
38755         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
38756         test case.
38757         (do_one_test): Call it.
38759 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
38761         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
38762         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
38763         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
38764         Remove variable.
38765         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
38766         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
38767         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
38769 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
38771         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
38772         Remove variable.
38773         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
38775         [BZ #17668]
38776         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
38777         as weak alias of __getifaddrs.  Use libc_hidden_weak.
38778         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
38779         __freeifaddrs.  Use libc_hidden_weak.
38780         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
38781         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
38782         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
38783         __freeifaddrs.  Use libc_hidden_weak.
38784         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
38785         __getifaddrs and define as weak alias of __getifaddrs.  Use
38786         libc_hidden_weak.
38787         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
38788         __freeifaddrs.  Use libc_hidden_weak.
38789         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
38790         Remove variable.
38791         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
38792         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
38794 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
38796         [BZ #17601]
38797         * sysdeps/mips/start.S (__start): Use indirect jump to call
38798         __libc_start_main.
38800 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
38802         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
38804         * nptl/tst-mutex1.c: Include <stdbool.h>.
38805         [!ATTR] (ATTR_NULL): New macro.
38806         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
38807         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
38808         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
38810         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
38811         to char *.
38813         [BZ #17665]
38814         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
38815         Change conditional to [__USE_MISC].
38817         [BZ #17664]
38818         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
38819         fgets_unlocked.
38820         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
38821         __fgets_unlocked.
38822         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
38823         fgets_unlocked.
38824         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
38825         Remove variable.
38826         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
38827         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
38828         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
38829         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
38830         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
38831         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
38832         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
38833         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
38834         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
38836         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
38838 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38840         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38841         Remove strpbrk objects.
38842         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38843         (__libc_ifunc_impl_list): Remove strpbrk implementation.
38844         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
38845         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
38846         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
38847         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
38849         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38850         Remove strcspn objects.
38851         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38852         (__libc_ifunc_impl_list): Remove strcspn implementation.
38853         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
38854         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
38855         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
38856         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
38858         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38859         Remove strspn objetcs.
38860         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38861         (__libc_ifunc_impl_list): Remove strspn implementation.
38862         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
38863         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
38864         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
38865         * sysdeps/powerpc/powerpc64/strspn.S: New file.
38867 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
38869         [BZ #17581]
38870         * malloc/hooks.c
38871         (mem2mem_check): Add a terminator to the chain of checking blocks.
38872         (malloc_check_get_size): Use it here.
38873         (mem2chunk_check): Ditto.
38875 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38877         * sysdeps/powerpc/powerpc64/strtok.S: New file.
38878         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
38880 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
38882         * bits/ioctl-types.h: Indent preprocessor directives correctly.
38884         * nptl/nptl-init.c: Include libc-internal.h.
38885         (__pthread_initialize_minimal_internal): Use ROUND_UP.
38887         * elf/ldconfig.c (search_dir): Expand comment.
38889 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
38891         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
38892         variable.
38893         (linknamespace-symlist-stdlibs-tests): Likewise.
38894         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
38895         instead of $(objpfx)symlist-stdlibs.
38896         (linknamespace-libs-isoc): New variable.
38897         (linknamespace-libs): Use $(linknamespace-libs-isoc).
38898         (linknamespace-libs-ISO): New variable.
38899         (linknamespace-libs-ISO99): Likewise.
38900         (linknamespace-libs-ISO11): Likewise.
38901         (linknamespace-libs-XPG3): Likewise.
38902         (linknamespace-libs-XPG4): Likewise.
38903         (linknamespace-libs-POSIX): Likewise.
38904         (linknamespace-libs-UNIX98): Likewise.
38905         (linknamespace-libs-XOPEN2K): Likewise.
38906         (linknamespace-libs-POSIX2008): Likewise.
38907         (linknamespace-libs-XOPEN2K8): Likewise.
38908         ($(objpfx)symlist-stdlibs): Replace by
38909         $(linknamespace-symlist-stdlibs-tests).  Use
38910         $(linknamespace-libs-$*) as set of libraries.
38911         ($(linknamespace-header-tests)): Update dependencies.  Use
38912         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
38913         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
38914         * conform/linknamespace.pl: Remove comment about considering
38915         definitions of symbols from irrelevant libraries.
38917 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
38919         [BZ #13862]
38920         * elf/dl-tls.c: Include <atomic.h>.
38921         (oom): Remove #ifdef SHARED/#endif.
38922         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
38923         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
38924         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
38925         big enough.
38926         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
38927         * nptl/Makefile (tests): Add tst-stack4.
38928         (modules-names): Add tst-stack4mod.
38929         ($(objpfx)tst-stack4): New.
38930         (tst-stack4mod.sos): Likewise.
38931         ($(objpfx)tst-stack4.out): Likewise.
38932         ($(tst-stack4mod.sos)): Likewise.
38933         (clean): Likewise.
38934         * nptl/tst-stack4.c: New file.
38935         * nptl/tst-stack4mod.c: Likewise.
38937 2014-11-27  J. Brown  <jb999@gmx.de>
38939         * sysdeps/x86/bits/string.h: Add recent CPUs.
38941 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
38943         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
38944         sigblock.
38946         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
38947         feof.
38949         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
38950         variable.
38952 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
38954         * nscd/connections.c: Include libc-internal.h because of macro
38955         usage ignore_value.
38957 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38959         * string/bits/string3.h (__warn_memset_zero_len): Don't
38960         declare for gcc newer than 5.0.
38961         (memset): Don't test for zero-length __LEN for gcc newer than
38962         5.0.
38964 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
38966         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
38967         size_t for %zu format.
38969         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
38970         difference, not %ju.
38972 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
38974         * include/libc-internal.h (ignore_value): New macro.
38975         * nscd/connections.c (restart): Wrap calls to setuid and setgid
38976         with ignore_value.
38978         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
38979         definition.
38981         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
38982         pthread_cleanup_push to void *.
38984         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
38985         Undefine.
38987         [BZ #16619]
38988         [BZ #16740]
38989         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
38990         instead of 1L << 52.
38992         * libio/bug-rewind.c (do_test): Check fwscanf return values.
38993         * libio/bug-rewind2.c (do_test): Likewise.
38995         * debug/test-stpcpy_chk-ifunc.c: Remove file.
38996         * debug/test-strcpy_chk-ifunc.c: Likewise.
38997         * wcsmbs/test-wcschr-ifunc.c: Likewise.
38998         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
38999         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
39000         * wcsmbs/test-wcslen-ifunc.c: Likewise.
39001         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
39002         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
39003         * Rules [$(multi-arch) = no] (tests): Do not filter out
39004         $(tests-ifunc).
39005         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
39006         * debug/Makefile (tests-ifunc): Remove variable.
39007         (tests): Do not add $(tests-ifunc).
39008         * wcsmbs/Makefile (tests-ifunc): Remove variable.
39009         (tests): Do not add $(tests-ifunc).
39010         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
39011         [TEST_IFUNC]: Remove conditionals.
39012         * string/test-string.h (TEST_IFUNC): Remove macro.
39013         [TEST_IFUNC]: Remove conditionals.
39015         * string/test-strchr.c [!WIDE] (L): New macro.
39016         [WIDE] (L): Likewise.
39017         (check1): Use CHAR instead of char.  Use L on string and character
39018         constants.
39020 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
39022         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
39023         tests.
39024         * sysdeps/powerpc/bits/atomic.h
39025         (__arch_atomic_exchange_and_add_32_acq): Add definition.
39026         (__arch_atomic_exchange_and_add_32_rel): Likewise.
39027         (atomic_exchange_and_add_acq): Likewise.
39028         (atomic_exchange_and_add_rel): Likewise.
39029         * sysdeps/powerpc/powerpc32/bits/atomic.h
39030         (__arch_atomic_exchange_and_add_64_acq): Add definition.
39031         (__arch_atomic_exchange_and_add_64_rel): Likewise.
39032         * sysdeps/powerpc/powerpc64/bits/atomic.h
39033         (__arch_atomic_exchange_and_add_64_acq): Add definition.
39034         (__arch_atomic_exchange_and_add_64_rel): Likewise.
39036 2014-11-26  Torvald Riegel  <triegel@redhat.com>
39038         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
39039         Change synchronization of __sched_fifo_min_prio and
39040         __sched_fifo_max_prio.
39041         * nptl/pthread_mutexattr_getprioceiling.c
39042         (pthread_mutexattr_getprioceiling): Likewise.
39043         * nptl/pthread_mutexattr_setprioceiling.c
39044         (pthread_mutexattr_setprioceiling): Likewise.
39045         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
39046         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
39047         Likewise.
39049 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
39051         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
39052         void.
39054 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
39056         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
39057         third argument const.
39059 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
39061         fnmatch: work around GCC compiler warning bug with uninit var
39062         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
39063         This works around a bug with x86-64 GCC 4.9.2 and earlier
39064         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
39065         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
39066         used uninitialized in this function [-Wmaybe-uninitialized]".
39068 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
39070         * posix/bug-regex31.c (main): Return RES not 0.
39072 2014-11-25  Anton Blanchard <anton@samba.org>
39074         * sysdeps/powerpc/bits/atomic.h
39075         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
39077 2014-11-24  Sterling Augustine  <saugustine@google.com>
39079         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
39081 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
39083         [BZ #17608]
39084         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
39086 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
39088         [BZ #17633]
39089         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
39090         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
39091         variable.
39092         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
39093         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
39095 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
39097         * string/strncpy.c (strncpy): Improve performance by using memset.
39099 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
39101         * string/strcpy.c (strcpy):
39102         Improve performance by using strlen and memcpy.
39104 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
39106         * string/strcoll_l.c (get_next_seq): __always_inline.
39107         * string/strcoll_l.c (do_compare): __always_inline.
39109 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39111         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
39112         defined.
39113         * include/mqueue.h: Likewise.
39114         * include/stdlib.h: Likewise.
39116         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
39117         (get_null_defines): Adjust.
39118         * sunrpc/Makefile: Adjust comment.
39119         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
39120         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
39121         (CFLAGS-interp.c): Likewise.
39122         (CFLAGS-ldconfig.c): Likewise.
39123         (CPPFLAGS-.os): Likewise.
39124         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39125         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
39126         * extra-modules.mk (extra-modules.mk): Likewise.
39127         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
39128         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
39129         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
39130         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
39131         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
39132         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
39133         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
39134         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
39135         * iconvdata/Makefile (CPPFLAGS): Likewise.
39136         (cpp-srcs-left): Add libof for all iconvdata routines.
39137         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
39138         * include/assert.h: Likewise.
39139         * include/ctype.h: Likewise.
39140         * include/errno.h: Likewise.
39141         * include/libc-symbols.h: Likewise.
39142         * include/math.h: Likewise.
39143         * include/netdb.h: Likewise.
39144         * include/resolv.h: Likewise.
39145         * include/stdio.h: Likewise.
39146         * include/stdlib.h: Likewise.
39147         * include/string.h: Likewise.
39148         * include/sys/stat.h: Likewise.
39149         * include/wctype.h: Likewise.
39150         * intl/l10nflist.c: Likewise.
39151         * libidn/idn-stub.c: Likewise.
39152         * libio/libioP.h: Likewise.
39153         * nptl/libc_multiple_threads.c: Likewise.
39154         * nptl/pthreadP.h: Likewise.
39155         * posix/regex_internal.h: Likewise.
39156         * resolv/res_hconf.c: Likewise.
39157         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
39158         * sysdeps/arm/memmove.S: Likewise.
39159         * sysdeps/arm/sysdep.h: Likewise.
39160         * sysdeps/generic/_itoa.h: Likewise.
39161         * sysdeps/generic/symbol-hacks.h: Likewise.
39162         * sysdeps/gnu/errlist.awk: Likewise.
39163         * sysdeps/gnu/errlist.c: Likewise.
39164         * sysdeps/i386/i586/memcpy.S: Likewise.
39165         * sysdeps/i386/i586/memset.S: Likewise.
39166         * sysdeps/i386/i686/memcpy.S: Likewise.
39167         * sysdeps/i386/i686/memmove.S: Likewise.
39168         * sysdeps/i386/i686/mempcpy.S: Likewise.
39169         * sysdeps/i386/i686/memset.S: Likewise.
39170         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39171         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39172         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
39173         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
39174         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39175         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39176         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
39177         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39178         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39179         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39180         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39181         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39182         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39183         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39184         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39185         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39186         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
39187         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
39188         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
39189         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39190         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39191         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39192         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39193         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39194         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39195         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39196         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
39197         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39198         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
39199         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39200         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39201         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39202         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39203         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39204         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39205         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39206         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39207         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39208         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39209         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39210         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39211         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39212         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39213         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39214         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39215         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39216         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
39217         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
39218         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39219         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39220         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39221         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
39222         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
39223         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39224         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
39225         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
39226         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39227         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
39228         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
39229         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39230         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
39231         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39232         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
39233         * sysdeps/nptl/bits/libc-lock.h: Likewise.
39234         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
39235         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
39236         * sysdeps/posix/closedir.c: Likewise.
39237         * sysdeps/posix/opendir.c: Likewise.
39238         * sysdeps/posix/readdir.c: Likewise.
39239         * sysdeps/posix/rewinddir.c: Likewise.
39240         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
39241         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
39242         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
39243         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
39244         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
39245         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
39246         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
39247         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
39248         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
39249         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
39250         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
39251         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
39252         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
39253         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
39254         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
39255         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
39256         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
39257         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
39258         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
39259         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
39260         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
39261         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
39262         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
39263         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
39264         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
39265         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
39266         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
39267         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
39268         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
39269         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
39270         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
39271         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
39272         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
39273         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
39274         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
39275         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
39276         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
39277         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39278         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
39279         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
39280         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
39281         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
39282         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
39283         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
39284         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
39285         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
39286         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
39287         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
39288         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
39289         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
39290         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
39291         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
39292         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
39293         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
39294         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
39295         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
39296         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
39297         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
39298         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
39299         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
39300         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
39301         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
39302         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
39303         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
39304         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
39305         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
39306         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
39307         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
39308         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
39309         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
39310         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
39311         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
39312         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
39313         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
39314         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
39315         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
39316         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
39317         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
39318         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
39319         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
39320         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
39321         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
39322         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
39323         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
39324         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
39325         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
39326         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
39327         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
39328         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
39329         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39330         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
39331         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
39332         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
39333         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39334         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39335         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
39336         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39337         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39338         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
39339         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
39340         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39341         * sysdeps/unix/alpha/sysdep.S: Likewise.
39342         * sysdeps/unix/alpha/sysdep.h: Likewise.
39343         * sysdeps/unix/make-syscalls.sh: Likewise.
39344         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
39345         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
39346         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
39347         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
39348         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
39349         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
39350         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
39351         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
39352         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
39353         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
39354         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
39355         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
39356         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39357         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
39358         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
39359         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39360         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
39361         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
39362         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
39363         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
39364         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
39365         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
39366         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
39367         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
39368         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
39369         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
39370         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
39371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
39372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
39373         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
39374         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
39375         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
39376         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39377         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39378         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
39379         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
39380         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39381         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39382         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
39383         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
39384         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
39385         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
39386         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39387         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
39388         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
39389         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
39390         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39391         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39392         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
39393         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39394         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
39395         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
39396         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
39397         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
39398         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
39399         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
39400         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
39401         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39402         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
39403         * sysdeps/x86_64/memcpy.S: Likewise.
39404         * sysdeps/x86_64/memmove.c: Likewise.
39405         * sysdeps/x86_64/memset.S: Likewise.
39406         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
39407         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
39408         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
39409         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
39410         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
39411         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39412         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39413         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
39414         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
39415         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
39416         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
39417         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
39418         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
39419         * sysdeps/x86_64/multiarch/memset.S: Likewise.
39420         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39421         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
39422         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
39423         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
39424         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39425         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
39426         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
39427         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
39428         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39429         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39430         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
39431         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
39432         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
39433         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
39434         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
39435         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
39436         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
39437         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
39438         * sysdeps/x86_64/strcmp.S: Likewise.
39440         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
39442         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
39443         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
39444         * elf/rtld-Rules: Likewise.
39445         * elf/setup-vdso.h: Likewise.
39446         * include/assert.h: Likewise.
39447         * include/bits/stdlib-float.h: Likewise.
39448         * include/errno.h: Likewise.
39449         * include/sys/stat.h: Likewise.
39450         * include/unistd.h: Likewise.
39451         * sysdeps/aarch64/setjmp.S: Likewise.
39452         * sysdeps/alpha/setjmp.S: Likewise.
39453         * sysdeps/arm/__longjmp.S: Likewise.
39454         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
39455         * sysdeps/arm/setjmp.S: Likewise.
39456         * sysdeps/arm/sysdep.h: Likewise.
39457         * sysdeps/generic/_itoa.h: Likewise.
39458         * sysdeps/generic/dl-sysdep.h: Likewise.
39459         * sysdeps/generic/ldsodefs.h: Likewise.
39460         * sysdeps/i386/dl-tls.h: Likewise.
39461         * sysdeps/i386/setjmp.S: Likewise.
39462         * sysdeps/m68k/setjmp.c: Likewise.
39463         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
39464         * sysdeps/mach/hurd/opendir.c: Likewise.
39465         * sysdeps/posix/getcwd.c: Likewise.
39466         * sysdeps/posix/opendir.c: Likewise.
39467         * sysdeps/posix/profil.c: Likewise.
39468         * sysdeps/powerpc/dl-procinfo.h: Likewise.
39469         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39470         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
39471         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
39472         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
39473         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
39474         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
39475         * sysdeps/s390/dl-tls.h: Likewise.
39476         * sysdeps/s390/s390-32/setjmp.S: Likewise.
39477         * sysdeps/s390/s390-64/setjmp.S: Likewise.
39478         * sysdeps/sh/sh3/setjmp.S: Likewise.
39479         * sysdeps/sh/sh4/setjmp.S: Likewise.
39480         * sysdeps/unix/alpha/sysdep.h: Likewise.
39481         * sysdeps/unix/arm/sysdep.S: Likewise.
39482         * sysdeps/unix/i386/sysdep.S: Likewise.
39483         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
39484         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
39485         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
39486         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
39487         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39488         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
39489         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
39490         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
39491         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
39492         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
39493         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
39494         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
39495         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
39496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39498         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
39499         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39500         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39501         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
39502         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39503         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
39504         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39505         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39506         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
39507         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
39508         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
39509         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39510         * sysdeps/unix/x86_64/sysdep.S: Likewise.
39511         * sysdeps/x86_64/setjmp.S: Likewise.
39513         * include/math.h: Use IS_IN instead of IS_IN_libm.
39514         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
39515         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39516         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39517         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
39518         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39519         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39520         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39521         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39522         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39523         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39524         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
39525         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
39526         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
39527         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
39528         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
39529         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
39530         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
39531         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
39532         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
39533         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
39534         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
39535         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
39536         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
39537         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
39538         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
39539         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
39540         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
39541         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
39542         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
39543         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
39544         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
39545         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
39546         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
39547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
39548         Likewise.
39549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
39550         Likewise.
39551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
39552         Likewise.
39553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
39554         Likewise.
39555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
39556         Likewise.
39557         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
39558         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
39559         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
39560         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39561         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39562         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
39564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
39565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
39566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
39567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
39568         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
39569         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
39570         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
39571         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
39572         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
39573         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
39574         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
39575         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
39576         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
39577         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
39578         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
39579         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
39580         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
39581         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
39582         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
39583         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
39585         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
39586         * nptl/pthreadP.h: Likewise.
39587         * nptl_db/structs.def: Likewise.
39588         * sysdeps/arm/sysdep.h: Likewise.
39589         * sysdeps/nptl/bits/libc-lock.h: Likewise.
39590         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
39591         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
39592         * sysdeps/unix/alpha/sysdep.h: Likewise.
39593         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
39594         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
39595         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
39596         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
39597         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
39598         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
39599         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39600         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
39601         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
39602         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
39603         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
39604         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
39605         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
39606         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
39607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
39608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
39609         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
39610         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
39611         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
39612         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
39613         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
39614         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
39615         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
39616         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
39617         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
39618         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
39620         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
39621         * nptl/pthreadP.h: Likewise.
39622         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
39623         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
39624         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
39625         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
39626         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
39627         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
39628         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
39629         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
39630         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
39631         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
39632         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
39633         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
39634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
39635         Likewise.
39636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
39637         Likewise.
39638         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
39639         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
39640         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
39641         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
39642         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
39643         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
39644         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
39645         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
39647         * dlfcn/dladdr.c: Use IS_IN.
39648         * dlfcn/dladdr1.c: Likewise.
39649         * dlfcn/dlclose.c: Likewise.
39650         * dlfcn/dlerror.c: Likewise.
39651         * dlfcn/dlinfo.c: Likewise.
39652         * dlfcn/dlmopen.c: Likewise.
39653         * dlfcn/dlopen.c: Likewise.
39654         * dlfcn/dlsym.c: Likewise.
39655         * dlfcn/dlvsym.c: Likewise.
39657         * include/ifaddrs.h: Use IS_IN.
39658         * inet/check_pf.c: Likewise.
39659         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
39660         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
39662         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
39663         IS_IN_ldconfig.
39664         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
39665         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
39667         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
39668         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
39669         IS_IN (libc).
39671         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
39673         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
39674         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39675         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
39676         * include/libc-symbols.h (IS_IN_LIB): New macro.
39677         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
39678         * include/netdb.h: Likewise.
39679         * include/stap-probe.h: Remove all uses of IN_LIB.
39681         * Makeconfig (module-cppflags-real): Define MODULE_NAME
39682         instead of IN_MODULE.
39683         * include/libc-symbols.h (IN_MODULE): Define using
39684         MODULE_NAME.
39685         (PASTE_NAME, PASTE_NAME1): New macros.
39686         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
39687         of IN_LIB.
39688         (STAP_PROBE_ASM): Likewise.
39690 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39692         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
39693         __mach_init in dlopened libc.
39695 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
39697         * sysdeps/arm/preconfigure.ac: Delete EABI check.
39698         * sysdeps/arm/preconfigure: Regenerate.
39700 2014-11-21  Roland McGrath  <roland@hack.frob.com>
39702         * nptl/pthread_create.c (__pthread_create_2_1): Set
39703         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
39704         when copying values from IATTR into PD.
39706 2014-11-21  Will Newton  <will.newton@linaro.org>
39707             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
39709         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
39710         Refactor inline-asm.  Also add comment.
39712         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
39713         ElfW macro instead of hardcoded Elf64 types.
39714         (la_aarch64_gnu_pltenter): Likewise.
39715         * sysdeps/aarch64/dl-machine.h
39716         (elf_machine_runtime_setup): Use ElfW(Addr).
39718         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
39719         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
39720         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
39721         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
39722         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
39723         (R_AARCH64_TLS_DTPMOD64): Rename to ..
39724         (R_AARCH64_TLS_DTPMOD): This.
39725         (R_AARCH64_TLS_DTPREL64): Rename to ...
39726         (R_AARCH64_TLS_DTPREL): This.
39727         (R_AARCH64_TLS_TPREL64): Rename to ...
39728         (R_AARCH64_TLS_TPREL): This.
39729         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
39730         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
39731         R_AARCH64_TLS_TPREL64.
39732         (elf_machine_rela): Likewise.
39734 2014-11-21  Torvald Riegel  <triegel@redhat.com>
39736         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
39737         by setting it to 0.  64b atomics are not supported currently.
39739 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
39741         [BZ #16469]
39742         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
39743         search domain names.
39745 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
39747         [BZ #16469]
39748         * NEWS: Update.
39749         * resolv/res_query.c (__libc_res_nquerydomain): Retain
39750         trailing dot.
39751         * posix/tst-getaddrinfo5.c: New.
39752         * posix/Makefile (tests): Add it.
39754 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
39756         [BZ #14498]
39757         * NEWS: Fixed.
39758         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
39759         after parsing line but before break_if_match.
39760         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
39761         if there is a protocol mismatch.
39763 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
39765         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
39766         because the potential race is on the user-supplied stream.
39768 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
39770         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
39771         string literal if not passed a buffer.
39772         * manual/job.texi (ctermid): Update reasoning, note deviation
39773         from posix, suggest mtasurace when not passed a buffer, for
39774         future non-preliminary safety notes.
39776 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
39778         * manual/users.texi (cuserid): Fix MT-Safety note for the case
39779         of not passing it a buffer.
39780         Reported by Peng Haitao.
39782 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
39784         * manual/Makefile ($(objpfx)stamp-summary): Require
39785         check-safety.sh to pass.
39786         * manual/check-safety.sh: Wish for verification that every
39787         @deftypefn and @deftypefun is followed by a @safety remark.
39789 2014-11-20  Roland McGrath  <roland@hack.frob.com>
39791         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
39793         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
39794         PTHREAD_CANCEL_ASYNCHRONOUS.
39795         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
39796         send SIGCANCEL.
39798         * nptl/default-sched.h: New file.
39799         * sysdeps/unix/sysv/linux/default-sched.h: New file.
39800         * nptl/pthread_create.c: Include it.
39801         (__pthread_create_2_1): Use collect_default_sched instead of making
39802         Linux syscalls here directly.
39804 2014-11-20  Torvald Riegel  <triegel@redhat.com>
39806         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
39807         __pthread_once): Use C11 atomics.
39809 2014-11-20  Torvald Riegel  <triegel@redhat.com>
39811         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
39813 2014-11-20  Torvald Riegel  <triegel@redhat.com>
39815         * include/atomic.h (__atomic_link_error, __atomic_check_size,
39816         atomic_thread_fence_acquire, atomic_thread_fence_release,
39817         atomic_thread_fence_seq_cst, atomic_load_relaxed,
39818         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
39819         atomic_compare_exchange_weak_relaxed,
39820         atomic_compare_exchange_weak_acquire,
39821         atomic_compare_exchange_weak_release,
39822         atomic_exchange_acquire, atomic_exchange_release,
39823         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
39824         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
39825         atomic_fetch_and_acquire,
39826         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
39828 2014-11-20  Torvald Riegel  <triegel@redhat.com>
39830         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
39831         USE_ATOMIC_COMPILER_BUILTINS): Define.
39832         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
39833         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39834         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
39835         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39836         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
39837         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39838         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
39839         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39840         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
39841         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39842         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
39843         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39844         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
39845         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39846         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
39847         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39848         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
39849         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39850         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
39851         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39852         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
39853         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39854         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
39855         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39856         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
39857         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39858         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
39859         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39860         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
39861         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39862         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
39863         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39864         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
39865         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39866         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
39867         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39868         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
39869         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39870         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
39871         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39873 2014-11-19  Roland McGrath  <roland@hack.frob.com>
39875         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
39876         the sched_priority value here.  It was already checked when the user
39877         called pthread_attr_setschedparam.
39879         * nptl/tst-bad-schedattr.c: New file.
39880         * nptl/Makefile (tests): Add it.
39882 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
39883             Florian Weimer  <fweimer@redhat.com>
39884             Joseph Myers  <joseph@codesourcery.com>
39885             Adam Conrad  <adconrad@0c3.net>
39886             Andreas Schwab  <schwab@suse.de>
39887             Brooks  <bmoses@google.com>
39889         [BZ #17625]
39890         * wordexp-test.c (__dso_handle): Add prototype.
39891         (__register_atfork): Likewise.
39892         (__app_register_atfork): New function.
39893         (registered_forks): New global.
39894         (register_fork): New function.
39895         (test_case): Add 3 new tests for WRDE_CMDSUB.
39896         (main): Call __app_register_atfork.
39897         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
39898         fork count is non-zero fail the test.
39899         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
39900         is set.
39901         (parse_dollars): Remove check for WRDE_NOCMD.
39902         (parse_dquote): Likewise.
39904 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39906         * Makeconfig (built-modules): List non-library modules to be
39907         built.
39908         (module-cppflags): Include libc-modules.h for
39909         everything except shlib-versions.v.i.
39910         (CPPFLAGS): Use it.
39911         (before-compile): Add libc-modules.h.
39912         ($(common-objpfx)libc-modules.h,
39913         $(common-objpfx)libc-modules.stmp): New targets.
39914         (common-generated): Add libc-modules.h and libc-modules.stmp.
39915         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
39916         * include/libc-symbols.h: Don't include libc-modules.h.
39917         * include/libc-modules.h: Remove file.
39918         * scripts/gen-libc-modules.awk: New script to generate
39919         libc-modules.h.
39920         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
39921         Depend on libc-modules.stmp.
39923         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
39925         * Makeconfig (in-module): Get value of libof set for the
39926         translation unit.
39927         (CPPFLAGS): Use $(in-module).
39928         * Makerules: Don't suffix routine names for nonlib.
39929         * include/libc-modules.h: New file.
39930         * include/libc-symbols.h: Include libc-modules.h
39931         (IS_IN): New macro to replace IS_IN_* macros.
39932         * elf/Makefile: Set libof-* for each routine.
39933         * elf/rtld-Rules: Likewise.
39934         * extra-modules.mk: Likewise.
39935         * iconv/Makefile: Likewise.
39936         * iconvdata/Makefile: Likewise.
39937         * locale/Makefile: Likewise.
39938         * malloc/Makefile: Likewise.
39939         * nss/Makefile: Likewise.
39940         * sysdeps/gnu/Makefile: Likewise.
39941         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
39942         * sysdeps/unix/sysv/linux/Makefile: Likewise.
39943         * sysdeps/s390/s390-64/Makefile: Likewise.
39944         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
39945         CPPFLAGS for nscd instead of nonlib.
39947 2014-11-18  Roland McGrath  <roland@hack.frob.com>
39949         * nptl/createthread.c: New file.
39951         * nptl/createthread.c: Moved ...
39952         * sysdeps/unix/sysv/linux/createthread.c: ... here.
39954         * nptl/createthread.c: Add proper top-line comment.
39955         (do_clone): Folded into ...
39956         (create_thread): ... here.  Take new arguments STOPPED_START and
39957         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
39958         increment __nptl_threads, do event-reporting logic, do
39959         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
39960         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
39961         resource cleanup if sched_setaffinity or sched_setscheduler fails,
39962         just send SIGCANCEL.
39963         * nptl/pthread_create.c: Forward-declare create_thread before
39964         including createthread.c.
39965         (start_thread): Use new macro START_THREAD_DEFN to replace defining
39966         declaration, and new macro START_THREAD_SELF to replace argument.
39967         Remove return statement.
39968         (report_thread_creation): New function.
39969         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
39970         synchronization logic, and __nptl_nthreads increment here, around
39971         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
39972         PD->parent_cancelhandling here, before create_thread.  When
39973         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
39974         __deallocate_stack, and ENOMEM translation here.
39976 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
39978         [BZ #17616]
39979         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
39980         (mptwo): Rename to __mptwo.
39981         (__inv): Use __mptwo instead of mptwo.
39982         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
39983         (mptwo): Rename to __mptwo.
39984         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
39985         of mpone and __mptwo instead of mptwo.
39986         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
39987         instead of mpone.
39988         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
39989         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
39990         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
39991         of mpone and __mptwo instead of mptwo.
39992         (__mpranred): Use __mpone instead of mpone.
39993         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
39994         variable.
39995         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
39996         (test-xfail-ISO99/math.h/linknamespace): Likewise.
39997         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
39998         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
39999         (test-xfail-ISO11/math.h/linknamespace): Likewise.
40000         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
40001         (test-xfail-XPG3/math.h/linknamespace): Likewise.
40002         (test-xfail-XPG4/math.h/linknamespace): Likewise.
40003         (test-xfail-POSIX/math.h/linknamespace): Likewise.
40004         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
40005         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
40006         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
40007         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
40008         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
40009         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
40010         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
40011         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
40012         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
40013         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
40015 2014-11-18  Tom de Vries  <tom@codesoucery.com>
40017         * manual/signal.texi (Primitives Interrupted by Signals): In section,
40018         replace BSD Handler xref with BSD Signal Handling.
40020 2014-11-17  Richard Henderson  <rth@redhat.com>
40022         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
40023         (_FP_PACK_RAW_2): Remove.
40024         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
40025         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
40026         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
40027         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
40028         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
40029         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
40030         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
40031         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
40032         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
40033         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
40034         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
40035         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
40036         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
40037         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
40038         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
40039         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
40041 2014-11-14  Roland McGrath  <roland@hack.frob.com>
40043         * signal/signal.h [__USE_MISC]
40044         (struct sigvec): Remove type.
40045         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
40046         (sigvec): Remove declaration.
40047         * sysdeps/posix/sigvec.c: Moved ...
40048         * signal/sigvec.c: ... here, replacing old file.
40049         (struct sigvec): New type, copied from old signal.h definition.
40050         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
40051         (__sigvec): Convert definition to prototype.
40052         (sigvec): Replace weak_alias with compat_symbol.
40053         * signal/Versions (libc: GLIBC_2.21): New version set.
40054         * include/signal.h: Remove __sigvec declaration.
40055         * sysdeps/unix/bsd/sigvec.c: Remove file.
40056         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
40057         * manual/signal.texi (BSD Handler): Remove subsection.
40058         Move siginterrupt up to ...
40059         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
40060         (Blocking in BSD): Fold subsection into its parent.
40061         * NEWS: Mention sigvec removal.
40063 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
40065         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
40066         (DLA_FMS): Make definition conditional only on [__FMA4__].
40067         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
40068         definition.
40070         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
40071         Make definition conditional only on [PROF].
40072         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
40073         definition.
40074         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
40075         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
40077         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
40078         !__GNUC__].
40079         * include/signal.h (__sigpause): Move declaration above call to
40080         libc_hidden_proto.
40081         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
40082         variable.
40083         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
40084         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
40086 2014-11-14  David S. Miller  <davem@davemloft.net>
40088         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
40089         Define before including <string/memcpy.c> and <string/mempcpy.c>.
40091 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
40093         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
40094         * configure: Regenerated.
40095         * manual/install.texi (Tools for Compilation): Document a
40096         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
40097         compiler verified to work.
40098         * INSTALL: Regenerated.
40100         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
40101         redeclare with asm name.
40102         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
40103         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
40104         including <string.h>.
40105         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
40106         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
40107         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
40108         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
40109         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
40110         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
40111         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
40113 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
40115         * stdlib/strtol.c (__strtol): Use prototype definition.
40117         [BZ #17594]
40118         * stdlib/strtol.c (SYM__): New macro.
40119         (SYM__1): Likewise.
40120         (__strtol): Likewise.
40121         (strtol): Rename to __strtol and define as weak alias of
40122         __strtol.  Use libc_hidden_weak.
40124 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
40126         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
40127         Use numbered labels in inline assembly.
40129 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
40131         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
40132         Add setjmp LIBC_PROBE.
40133         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
40134         Likewise.
40135         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
40136         Add longjmp, longjmp_target LIBC_PROBE.
40137         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
40138         Likewise.
40140 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
40142         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
40143         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
40144         to get rid of unused variable warning.
40146 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
40148         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
40149         Check for unwind_backtrace ==  NULL only in SHARED case.
40150         (__backchain_backtrace): Compile only in SHARED case.
40151         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
40152         Likewise.
40153         (__backchain_backtrace): Declare as static.
40155 2014-11-12  Roland McGrath  <roland@hack.frob.com>
40157         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
40158         (__libc_multiple_threads_ptr): Variable moved ...
40159         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
40161 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
40163         * conform/GlibcConform.pm: New file.
40164         * conform/conformtest.pl: Use GlibcConform module.
40165         * conform/linknamespace.pl: New file.
40166         * conform/list-header-symbols.pl: Likewise.
40167         * conform/Makefile (linknamespace-symlists-base): New variable.
40168         (linknamespace-symlists-tests): Likewise.
40169         (linknamespace-header-base): Likewise.
40170         (linknamespace-header-tests): Likewise.
40171         (tests-special): Add new tests.
40172         ($(linknamespace-symlists-tests)): New rule.
40173         (linknamespace-libs): New variable.
40174         ($(objpfx)symlist-stdlibs): New rule.
40175         ($(linknamespace-header-tests)): Likewise.
40176         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
40177         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
40178         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
40179         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
40180         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
40181         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
40182         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
40183         (test-xfail-ISO/math.h/linknamespace): Likewise.
40184         (test-xfail-ISO/signal.h/linknamespace): Likewise.
40185         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
40186         (test-xfail-ISO/time.h/linknamespace): Likewise.
40187         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
40188         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
40189         (test-xfail-ISO99/math.h/linknamespace): Likewise.
40190         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
40191         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
40192         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
40193         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
40194         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
40195         (test-xfail-ISO11/math.h/linknamespace): Likewise.
40196         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
40197         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
40198         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
40199         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
40200         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
40201         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
40202         (test-xfail-XPG3/math.h/linknamespace): Likewise.
40203         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
40204         (test-xfail-XPG3/search.h/linknamespace): Likewise.
40205         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
40206         (test-xfail-XPG3/time.h/linknamespace): Likewise.
40207         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
40208         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
40209         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
40210         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
40211         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
40212         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
40213         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
40214         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
40215         (test-xfail-XPG4/math.h/linknamespace): Likewise.
40216         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
40217         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
40218         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
40219         (test-xfail-XPG4/search.h/linknamespace): Likewise.
40220         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
40221         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
40222         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
40223         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
40224         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
40225         (test-xfail-XPG4/time.h/linknamespace): Likewise.
40226         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
40227         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
40228         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
40229         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
40230         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
40231         (test-xfail-POSIX/math.h/linknamespace): Likewise.
40232         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
40233         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
40234         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
40235         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
40236         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
40237         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
40238         (test-xfail-POSIX/time.h/linknamespace): Likewise.
40239         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
40240         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
40241         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
40242         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
40243         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
40244         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
40245         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
40246         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
40247         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
40248         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
40249         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
40250         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
40251         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
40252         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
40253         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
40254         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
40255         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
40256         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
40257         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
40258         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
40259         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
40260         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
40261         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
40262         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
40263         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
40264         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
40265         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
40266         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
40267         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
40268         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
40269         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
40270         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
40271         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
40272         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
40273         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
40274         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
40275         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
40276         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
40277         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
40278         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
40279         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
40280         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
40281         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
40282         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
40283         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
40284         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
40285         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
40286         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
40287         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
40288         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
40289         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
40290         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
40291         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
40292         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
40293         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
40294         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
40295         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
40296         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
40297         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
40298         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
40299         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
40300         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
40301         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
40302         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
40303         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
40304         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
40305         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
40306         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
40307         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
40308         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
40309         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
40310         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
40311         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
40312         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
40313         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
40314         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
40315         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
40316         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
40317         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
40318         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
40319         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
40320         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
40321         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
40322         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
40323         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
40324         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
40325         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
40326         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
40327         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
40328         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
40329         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
40330         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
40331         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
40332         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
40333         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
40334         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
40335         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
40336         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
40338         [BZ #17589]
40339         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
40340         of fgets_unlocked.
40342         [BZ #17585]
40343         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
40344         (memmem): Rename to __memmem and define as weak alias of
40345         __memmem.  Use libc_hidden_weak.
40346         (__memmem): Use libc_hidden_def.
40347         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
40348         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
40349         memmem.
40351         [BZ #17582]
40352         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
40353         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
40354         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
40355         and define as weak alias of __fgets_unlocked.  Use
40356         libc_hidden_weak.
40357         (__fgets_unlocked): Use libc_hidden_def.
40358         * include/stdio.h (__fgets_unlocked): Declare.  Use
40359         libc_hidden_proto.
40360         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
40361         __fgets_unlocked instead of fgets_unlocked.
40362         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
40363         (GET_NPROCS_CONF_PARSER): Likewise.
40364         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
40365         (GET_NPROCS_CONF_PARSER): Likewise.
40367         [BZ #17574]
40368         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
40369         weak alias of __wmemset.  Use libc_hidden_weak.
40370         (__wmemset): Use libc_hidden_def.
40371         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
40372         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
40373         of wmemset.
40375         [BZ #17573]
40376         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
40377         with asm name __mempcpy.
40378         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
40380         [BZ #17572]
40381         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
40382         and define as weak alias of __rawmemchr.
40383         (__rawmemchr): Do not define as strong alias of rawmemchr.
40385         [BZ #17571]
40386         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
40387         alias of __qsort_r.
40388         (qsort): Call __qsort_r instead of qsort_r.
40389         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
40390         (__qsort_r): Declare.  Call libc_hidden_proto.
40391         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
40392         instead of qsort_r.
40393         * nscd/gai.c (__qsort_r): Define to qsort_r.
40394         * posix/tst-rfc3484.c (__qsort_r): Likewise.
40395         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
40396         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
40398         [BZ #17570]
40399         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
40400         define as weak alias of __malloc_info.
40402         [BZ #17584]
40403         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
40404         as weak alias of __rewinddir.  Don't use libc_hidden_def.
40405         (__rewinddir): Use libc_hidden_def.
40406         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
40407         as weak alias of __rewinddir.  Don't use libc_hidden_def.
40408         (__rewinddir): Use libc_hidden_def.
40409         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
40410         weak alias of __rewinddir.  Don't use libc_hidden_def.
40411         (__rewinddir): Use libc_hidden_def.
40412         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
40413         (__rewinddir): Use libc_hidden_proto.
40414         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
40415         rewinddir.
40416         (__getcwd): Use __rewinddir instead of rewinddir.
40418         [BZ #17583]
40419         * libio/fileno.c (fileno): Rename to __fileno and define as weak
40420         alias of __fileno.  Use libc_hidden_weak.
40421         (__fileno): Use libc_hidden_def.
40422         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
40423         * libio/ftello.c (ftello): Rename to __ftello and define as weak
40424         alias of __ftello.
40425         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
40426         __ftello.
40427         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
40428         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
40429         libc_hidden_def.
40430         (fread_unlocked): Don't use libc_hidden_ver.
40431         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
40432         and define as weak alias of __fread_unlocked.  Don't use
40433         libc_hidden_def.
40434         (__fread_unlocked): Use libc_hidden_def.
40435         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
40436         (ftello): Don't use libc_hidden_proto.
40437         (__ftello): Declare.  Use libc_hidden_proto.
40438         (fread_unlocked): Don't use libc_hidden_proto.
40439         (__fread_unlocked): Declare.  Use libc_hidden_proto.
40440         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
40441         and __ftello instead of fileno, fread_unlocked and ftello.
40443 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40445         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
40446         GOT12.
40447         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
40448         Likewise.
40449         (_dl_start_user): Likewise.
40450         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
40452 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
40453             Siddhesh Poyarekar  <siddhesh@redhat.com>
40455         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
40456         Move argv and envp down instead of moving argc up.
40457         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
40459 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
40461         [BZ #17506]
40462         * test-skeleton.c (main): Return successful if one of
40463         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
40464         * string/tst-strcoll-overflow.c: Define expected status.
40466 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
40468         [BZ #17475]
40469         * locale/iso-639.def: Define Bhili and Tulu language codes.
40471 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
40473         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
40475 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
40477         [BZ #17555]
40478         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
40480 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
40482         * configure.ac: Updated check of minimal required version to
40483         2.22.
40484         * manual/install.texi (Tools for Compilation): Updated version
40485         number.
40486         * configure: Regenerated.
40487         * INSTALL: Likewise.
40489 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
40491         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
40492         __tls_get_addr.
40494 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
40496         * include/sys/wait.h (__libc_waitpid): Remove declaration.
40497         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
40498         (__waitpid): Don't define as alias.  Use libc_hidden_def not
40499         libc_hidden_weak.
40500         (waitpid): Define as alias of __waitpid.
40501         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
40502         __waitpid.
40503         (__waitpid): Don't define as alias.  Use libc_hidden_def not
40504         libc_hidden_weak.
40505         (waitpid): Define as alias of __waitpid.
40506         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
40507         __libc_waitpid alias.
40508         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
40509         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
40510         Likewise.
40511         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
40512         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
40513         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
40514         alias.
40515         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
40516         __waitpid.
40517         (__waitpid): Don't define as alias.  Use libc_hidden_def not
40518         libc_hidden_weak.
40519         (waitpid): Define as alias of __waitpid.
40521 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
40523         * manual/llio.texi: Add comment that write safety has been
40524         fixed in Linux.
40526         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
40527         (localplt-build-dso): Add elf/ld.so.
40528         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
40529         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
40530         and free for ld.so.
40531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
40532         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
40533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
40534         Likewise.
40535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
40536         Likewise.
40537         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
40538         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
40539         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
40540         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
40541         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
40542         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
40543         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
40544         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
40545         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
40546         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
40547         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
40549 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
40551         [BZ #14132]
40552         * include/libc-symbols.h (INTUSE): Remove macro.
40553         (INTDEF): Likewise.
40554         (INTVARDEF): Likewise.
40555         (_INTVARDEF): Likewise.
40556         (INTDEF2): Likewise.
40557         (INTVARDEF2): Likewise.
40558         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
40559         rtld_hidden_def instead of INTVARDEF.
40560         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
40561         (_dl_starting_up_internal): Remove declaration.
40562         (_dl_starting_up): Use rtld_hidden_proto.
40563         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
40564         declaration.
40565         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
40566         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
40567         _dl_starting_up.
40568         * elf/dl-writev.h (_dl_writev): Likewise.
40569         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
40570         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
40571         _dl_starting_up_internal.
40573 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40575         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
40576         test-skeleton.c.
40578 2014-11-05  Will Newton  <will.newton@linaro.org>
40580         * benchtests/Makefile: (bench-malloc): Add malloc thread
40581         scalability benchmark.
40582         * benchtests/bench-malloc-threads.c: New file.
40584 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
40586         * sysdeps/aarch64/strchrnul.S: New file.
40588 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40590         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
40591         definition.
40592         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
40593         Likewise.
40594         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
40595         Likewise.
40596         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
40597         Likewise.
40598         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
40599         Likewise.
40600         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
40601         Likewise.
40603 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
40605         * catgets/test-gencat.c: Use test-skeleton.c.
40606         * catgets/tst-catgets.c: Likewise.
40607         * csu/tst-empty.c: Likewise.
40608         * elf/tst-audit2.c: Likewise.
40609         * elf/tst-global1.c: Likewise.
40610         * elf/tst-pathopt.c: Likewise.
40611         * elf/tst-piemod1.c: Likewise.
40612         * elf/tst-tls10.c: Likewise.
40613         * elf/tst-tls11.c: Likewise.
40614         * elf/tst-tls12.c: Likewise.
40615         * gnulib/tst-gcc.c: Likewise.
40616         * iconvdata/tst-e2big.c: Likewise.
40617         * iconvdata/tst-loading.c: Likewise.
40618         * iconv/tst-iconv1.c: Likewise.
40619         * iconv/tst-iconv2.c: Likewise.
40620         * inet/test-inet6_opt.c: Likewise.
40621         * inet/tst-gethnm.c: Likewise.
40622         * inet/tst-network.c: Likewise.
40623         * inet/tst-ntoa.c: Likewise.
40624         * intl/tst-codeset.c: Likewise.
40625         * intl/tst-gettext2.c: Likewise.
40626         * intl/tst-gettext3.c: Likewise.
40627         * intl/tst-ngettext.c: Likewise.
40628         * intl/tst-translit.c: Likewise.
40629         * io/test-stat.c: Likewise.
40630         * libio/test-fmemopen.c: Likewise.
40631         * libio/tst-freopen.c: Likewise.
40632         * libio/tst-sscanf.c: Likewise.
40633         * libio/tst-ungetwc1.c: Likewise.
40634         * libio/tst-ungetwc2.c: Likewise.
40635         * libio/tst-widetext.c: Likewise.
40636         * localedata/tst-ctype.c: Likewise.
40637         * localedata/tst-digits.c: Likewise.
40638         * localedata/tst-leaks.c: Likewise.
40639         * localedata/tst-mbswcs1.c: Likewise.
40640         * localedata/tst-mbswcs2.c: Likewise.
40641         * localedata/tst-mbswcs3.c: Likewise.
40642         * localedata/tst-mbswcs4.c: Likewise.
40643         * localedata/tst-mbswcs5.c: Likewise.
40644         * localedata/tst-setlocale.c: Likewise.
40645         * localedata/tst-trans.c: Likewise.
40646         * localedata/tst-wctype.c: Likewise.
40647         * localedata/tst-xlocale1.c: Likewise.
40648         * login/tst-grantpt.c: Likewise.
40649         * malloc/tst-calloc.c: Likewise.
40650         * malloc/tst-malloc.c: Likewise.
40651         * malloc/tst-mallocstate.c: Likewise.
40652         * malloc/tst-mcheck.c: Likewise.
40653         * malloc/tst-mtrace.c: Likewise.
40654         * malloc/tst-obstack.c: Likewise.
40655         * math/atest-exp2.c: Likewise.
40656         * math/atest-exp.c: Likewise.
40657         * math/atest-sincos.c: Likewise.
40658         * math/test-matherr.c: Likewise.
40659         * math/test-misc.c: Likewise.
40660         * math/test-powl.c: Likewise.
40661         * math/tst-definitions.c: Likewise.
40662         * misc/tst-dirname.c: Likewise.
40663         * misc/tst-efgcvt.c: Likewise.
40664         * misc/tst-fdset.c: Likewise.
40665         * misc/tst-hsearch.c: Likewise.
40666         * misc/tst-mntent2.c: Likewise.
40667         * nptl/tst-sem7.c: Likewise.
40668         * nptl/tst-sem8.c: Likewise.
40669         * nptl/tst-sem9.c: Likewise.
40670         * nss/test-netdb.c: Likewise.
40671         * posix/tst-fnmatch.c: Likewise.
40672         * posix/tst-getlogin.c: Likewise.
40673         * posix/tst-gnuglob.c: Likewise.
40674         * posix/tst-mmap.c: Likewise.
40675         * pwd/tst-getpw.c: Likewise.
40676         * resolv/tst-inet_ntop.c: Likewise.
40677         * rt/tst-timer.c: Likewise.
40678         * stdio-common/test-fseek.c: Likewise.
40679         * stdio-common/test-popen.c: Likewise.
40680         * stdio-common/test-vfprintf.c: Likewise.
40681         * stdio-common/tst-cookie.c: Likewise.
40682         * stdio-common/tst-fileno.c: Likewise.
40683         * stdio-common/tst-gets.c: Likewise.
40684         * stdio-common/tst-obprintf.c: Likewise.
40685         * stdio-common/tst-perror.c: Likewise.
40686         * stdio-common/tst-sprintf2.c: Likewise.
40687         * stdio-common/tst-sprintf3.c: Likewise.
40688         * stdio-common/tst-sprintf.c: Likewise.
40689         * stdio-common/tst-swprintf.c: Likewise.
40690         * stdio-common/tst-tmpnam.c: Likewise.
40691         * stdio-common/tst-unbputc.c: Likewise.
40692         * stdio-common/tst-wc-printf.c: Likewise.
40693         * stdlib/tst-environ.c: Likewise.
40694         * stdlib/tst-fmtmsg.c: Likewise.
40695         * stdlib/tst-limits.c: Likewise.
40696         * stdlib/tst-rand48-2.c: Likewise.
40697         * stdlib/tst-rand48.c: Likewise.
40698         * stdlib/tst-random2.c: Likewise.
40699         * stdlib/tst-random.c: Likewise.
40700         * stdlib/tst-strtol.c: Likewise.
40701         * stdlib/tst-strtoll.c: Likewise.
40702         * stdlib/tst-tls-atexit.c: Likewise.
40703         * stdlib/tst-xpg-basename.c: Likewise.
40704         * string/test-ffs.c: Likewise.
40705         * string/tst-bswap.c: Likewise.
40706         * string/tst-inlcall.c: Likewise.
40707         * string/tst-strtok.c: Likewise.
40708         * string/tst-strxfrm.c: Likewise.
40709         * sysdeps/x86_64/tst-audit10.c: Likewise.
40710         * sysdeps/x86_64/tst-audit3.c: Likewise.
40711         * sysdeps/x86_64/tst-audit4.c: Likewise.
40712         * sysdeps/x86_64/tst-audit5.c: Likewise.
40713         * time/tst-ftime_l.c: Likewise.
40714         * time/tst-getdate.c: Likewise.
40715         * time/tst-mktime3.c: Likewise.
40716         * time/tst-mktime.c: Likewise.
40717         * time/tst-posixtz.c: Likewise.
40718         * time/tst-strptime2.c: Likewise.
40719         * time/tst-strptime3.c: Likewise.
40720         * wcsmbs/tst-btowc.c: Likewise.
40721         * wcsmbs/tst-mbrtowc.c: Likewise.
40722         * wcsmbs/tst-mbsrtowcs.c: Likewise.
40723         * wcsmbs/tst-wchar-h.c: Likewise.
40724         * wcsmbs/tst-wcpncpy.c: Likewise.
40725         * wcsmbs/tst-wcrtomb.c: Likewise.
40726         * wcsmbs/tst-wcsnlen.c: Likewise.
40727         * wcsmbs/tst-wcstof.c: Likewise.
40729 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
40731         [BZ #14132]
40732         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
40733         INTDEF.
40734         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
40735         declaration.
40736         (_dl_mcount): Use rtld_hidden_proto.
40737         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
40738         _dl_mcount.
40739         * elf/rtld.c (_rtld_global_ro): Likewise.
40741         [BZ #14132]
40742         * elf/dl-init.c (_dl_init): Don't use INTDEF.
40743         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
40744         of _dl_init_internal.
40745         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
40746         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
40747         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
40748         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
40749         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
40750         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
40751         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
40752         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
40753         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
40754         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
40755         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
40756         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
40757         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40758         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40759         * sysdeps/tile/dl-start.S (_start): Likewise.
40760         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
40761         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
40763         [BZ #14132]
40764         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
40765         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
40766         (rtld_progname): Make macro definition unconditional.
40767         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
40768         INTDEF.
40769         (dlmopen_doit): Do not use INTUSE with _dl_argv.
40770         (dl_main): Likewise.
40771         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
40772         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
40773         instead of _dl_argv_internal.
40774         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
40775         __GI__dl_argv instead of INTUSE(_dl_argv).
40776         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
40777         __GI__dl_argv instead of _dl_argv_internal.
40779         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
40780         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
40781         macro.
40782         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
40783         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
40784         New macro.
40785         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
40786         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
40787         macro.
40788         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
40789         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
40791 2014-11-04  Andreas Schwab  <schwab@suse.de>
40793         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
40795 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40797         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
40798         mtvsrd instruction in binary form.
40800 2014-11-03  Andreas Schwab  <schwab@suse.de>
40802         [BZ #17522]
40803         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
40804         for less than MB_LEN_MAX use a local buffer of that size.
40805         * libio/tst-fputws.c: New file.
40806         * libio/Makefile (tests): Add tst-fputws.
40808 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
40810         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
40811         the size of the fpu_fr.fpu_dregs[] array.
40813 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
40815         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
40816         (__nanosleep): Do not define as alias.
40817         (nanosleep): Define as alias of __nanosleep.
40818         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
40819         __libc_nanosleep name.
40821 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
40823         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
40824         install.texi in comment.
40826 2014-10-31  Torvald Riegel  <triegel@redhat.com>
40828         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
40829         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
40830         ... add here and use lwsync or sync ...
40831         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
40832         ... and add here using lwsync.
40834 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
40836         * elf/dl-machine-reject-phdr.h: New file.
40837         * elf/dl-load.c: #include that.
40838         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
40839         if that returned true.
40841 2014-10-31  Roland McGrath  <roland@hack.frob.com>
40843         [BZ #17496]
40844         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
40845         gen-as-const-headers chunk.  Add a big scare comment after the last
40846         safe place to touch before-compile.
40848 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
40850         * manual/install.texi (Tools for Compilation): Update autoconf
40851         version requirements.
40852         * INSTALL: Regenerated.
40854         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
40855         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
40856         (__libc_pselect): Likewise.
40858         [BZ #14138]
40859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
40860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40864 2014-10-31  Torvald Riegel  <triegel@redhat.com>
40866         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
40867         correct barrier instruction.
40868         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
40869         Likewise.
40870         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
40871         Likewise.
40873 2014-10-30  Roland McGrath  <roland@hack.frob.com>
40875         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
40876         after defining inlines.  Instead, just use parens to defeat macro
40877         expansion of __isctype in its declaration.
40879 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
40881         * include/sys/uio.h (__libc_readv): Remove declaration.
40882         (__libc_writev): Likewise.
40883         * misc/readv.c (__libc_readv): Rename to __readv.
40884         (__readv): Do not define as alias.
40885         (readv): Define as alias of __readv.
40886         * misc/writev.c (__libc_writev): Rename to __writev.
40887         (__writev): Do not define as alias.
40888         (writev): Define as alias of __writev.
40889         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
40890         (__readv): Do not define as alias.
40891         (readv): Define unconditionally as alias of __readv.
40892         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
40893         (__writev): Do not define as alias.
40894         (writev): Define unconditionally as alias of __writev.
40895         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
40896         name.
40897         (writev): Do not define __libc_writev name.
40899 2014-10-30  Roland McGrath  <roland@hack.frob.com>
40901         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
40902         (convert_charseq): New function, broken out of ...
40903         (use_from_charmap): ... here.  Call it.
40904         (use_to_charmap): Use convert_charseq and free instead of duplicating
40905         its code with a variable-length stack struct.
40907 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
40909         * include/fcntl.h (__libc_creat): Remove declaration.
40910         * io/creat.c (__libc_creat): Rename to creat.
40911         (creat): Do not define as alias.
40912         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
40913         of creat instead of __libc_creat.
40914         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
40915         to creat.
40916         (creat): Do not define as alias.
40917         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
40918         __libc_creat.
40919         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
40920         __libc_creat name.
40921         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
40922         Likewise.
40924 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
40926         * manual/llio.texi: Add comments discussing why write() may be
40927         considered MT-unsafe on Linux.
40929 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
40931         * dl-load.c (local_strdup): Remove.
40932         (expand_dynamic_string_token): Use __strdup.
40933         (decompose_rpath): Likewise.
40934         (_dl_map_object): Likewise.
40936 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
40938         [BZ #14132]
40939         * sysdeps/generic/unwind-dw2-fde.c
40940         (__register_frame_info_bases_internal): Do not declare.
40941         (__register_frame_info_table_bases_internal): Likewise.
40942         (__deregister_frame_info_bases_internal): Likewise.
40943         (__register_frame_info_bases): Declare and use hidden_proto before
40944         definition.  Use hidden_def instead of INTDEF.
40945         (__register_frame_info_table_bases): Likewise.
40946         (__deregister_frame_info_bases): Likewise.
40947         (__register_frame_info): Do not use INTUSE.
40948         (__register_frame): Likewise.
40949         (__register_frame_info_table): Likewise.
40950         (__register_frame_table): Likewise.
40951         (__deregister_frame_info): Likewise.
40952         (__deregister_frame): Likewise.
40954 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
40956         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40957         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
40958         not undefine.
40959         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
40960         Likewise.
40961         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
40962         Likewise.
40964 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
40966         [BZ #14138]
40967         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
40968         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
40969         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
40970         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
40971         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
40972         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
40973         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
40974         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
40975         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
40976         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
40977         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
40978         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
40979         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
40980         syscall.
40981         (setfsuid): Likewise.
40982         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
40983         (setfsuid): Likewise.
40984         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
40985         (setfsuid): Likewise.
40986         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
40987         Likewise.
40988         (setfsuid): Likewise.
40989         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
40990         (setfsuid): Likewise.
40991         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
40992         Likewise.
40993         (setfsuid): Likewise.
40995 2014-10-27  Andreas Schwab  <schwab@suse.de>
40997         [BZ #17501]
40998         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
40999         check for Slow_SSE4_2 feature bit.
41000         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
41001         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
41002         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
41003         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
41005 2014-10-24  Roland McGrath  <roland@hack.frob.com>
41007         * configure.ac: Validate compiler version with a empirical test of
41008         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
41009         $CC -v output.
41010         * configure: Regenerated.
41012         * inet/htons.c (htons): Prototypify.
41013         * inet/htonl.c (htonl): Likewise.
41015 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41017         * string/strncat.c (strncat): Improve performance by using strlen.
41019 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41021         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
41023 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41025         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
41026         Call libc_fetestexcept_aarch64.
41028 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41030         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
41031         Call libc_feholdexcept_aarch64.
41033 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41035         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
41036         Call get_rounding_mode.
41038 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41040         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
41041         Simplify logic.
41043 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41045         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
41046         Simplify logic.
41048 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
41050         [BZ #14138]
41051         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
41052         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
41053         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
41054         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
41055         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
41056         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
41057         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
41058         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
41059         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
41060         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
41061         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
41062         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
41063         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
41064         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
41065         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
41066         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
41067         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
41068         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
41069         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
41070         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
41071         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
41072         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
41073         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
41074         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
41075         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
41076         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
41077         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
41078         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
41079         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
41080         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
41081         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
41082         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
41083         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
41084         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
41085         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
41086         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
41087         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
41088         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
41089         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
41090         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
41091         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
41092         syscall.
41093         (geteuid): Likewise.
41094         (getgid): Likewise.
41095         (getuid): Likewise.
41096         (getresgid): Likewise.
41097         (getresuid): Likewise.
41098         (getgroups): Likewise.
41099         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
41100         (geteuid): Likewise.
41101         (getgid): Likewise.
41102         (getuid): Likewise.
41103         (getresgid): Likewise.
41104         (getresuid): Likewise.
41105         (getgroups): Likewise.
41106         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
41107         (geteuid): Likewise.
41108         (getgid): Likewise.
41109         (getuid): Likewise.
41110         (getresgid): Likewise.
41111         (getresuid): Likewise.
41112         (getgroups): Likewise.
41113         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
41114         Likewise.
41115         (geteuid): Likewise.
41116         (getgid): Likewise.
41117         (getuid): Likewise.
41118         (getresgid): Likewise.
41119         (getresuid): Likewise.
41120         (getgroups): Likewise.
41121         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
41122         (geteuid): Likewise.
41123         (getgid): Likewise.
41124         (getuid): Likewise.
41125         (getresgid): Likewise.
41126         (getresuid): Likewise.
41127         (getgroups): Likewise.
41128         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
41129         Likewise.
41130         (geteuid): Likewise.
41131         (getgid): Likewise.
41132         (getuid): Likewise.
41133         (getgroups): Likewise.
41135         [BZ #14138]
41136         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
41137         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
41138         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
41139         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
41140         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
41141         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
41142         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
41143         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
41144         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
41145         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
41146         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
41147         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
41148         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
41149         __chown.
41150         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
41151         (lchown): Likewise.
41152         (fchown): Likewise.
41153         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
41154         Likewise.
41155         (lchown): Likewise.
41156         (fchown): Likewise.
41157         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
41158         (lchown): Likewise.
41159         (fchown): Likewise.
41160         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
41161         Likewise.
41162         (lchown): Likewise.
41163         (fchown): Likewise.
41165 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
41167         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
41168         Simplify logic.
41170 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
41172         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
41173         Cleanup logic.
41175 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
41177         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
41178         Remove unused include.
41180 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
41182         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
41183         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
41184         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
41185         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
41187 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
41188             Helge Deller <deller@gmx.de>
41190         [BZ #17508]
41191         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
41192         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
41193         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
41195 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
41197         [BZ #14132]
41198         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
41199         Remove macro definition.
41200         (__ashrdi3_v_glibc20): Likewise.
41201         (__lshrdi3_v_glibc20): Likewise.
41202         (__cmpdi2_v_glibc20): Likewise.
41203         (__ucmpdi2_v_glibc20): Likewise.
41204         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
41205         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
41206         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
41207         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
41208         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
41209         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
41211 2014-10-22  Roland McGrath  <roland@hack.frob.com>
41213         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
41214         old GNU extension [0] syntax.
41215         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
41216         alloca rather than an array member with variable length.
41217         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
41218         * nscd/nscd.c (invalidate_db): New function, broken out of ...
41219         (parse_opt): ... here.  Likewise use alloca there.
41220         Validate the -i argument before checking for rootness.
41221         (send_shutdown): New function, broken out of ...
41222         (parse_opt): ... here.
41224 2014-10-22  Roland McGrath  <roland@hack.frob.com>
41226         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
41227         macro to get at the _rt_local_ro field.
41228         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
41229         ([PIC] case) or _dl_hwcap ([!PIC] case).
41230         * sysdeps/arm/setjmp.S: Likewise.
41232         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
41233         * sysdeps/arm/configure.ac: New check to define it.
41234         * sysdeps/arm/configure: Regenerated.
41235         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
41236         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
41237         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
41238         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
41239         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
41240         Use move/movt pair instead of a load.
41241         (LDST_GLOBAL): Macro removed.
41242         (LDR_GLOBAL): New macro replaces it.
41243         (LDR_HIDDEN): New macro.
41244         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
41245         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
41247         * setjmp/tst-setjmp-static.c: New file.
41248         * setjmp/Makefile (tests): Add it.
41249         (tests-static): New variable.
41251 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
41253         [BZ #17485]
41254         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
41256 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
41258         [BZ #14132]
41259         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
41261 2014-10-21  Roland McGrath  <roland@hack.frob.com>
41263         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
41265 2014-10-20  Roland McGrath  <roland@hack.frob.com>
41267         * io/fts.c (dirent_not_directory): New function.
41268         (fts_build): Call it.
41270 2014-10-20  Roland McGrath  <roland@hack.frob.com>
41272         * nptl/version.c (__nptl_main): Use normal __write rather than
41273         INTERNAL_SYSCALL.
41274         (banner): Update copyright years.
41276         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
41277         gettimeofday.
41278         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
41279         * nptl/pthread_cond_timedwait.c: Likewise.
41280         * nptl/pthread_mutex_timedlock.c: Likewise.
41281         * nptl/sem_timedwait.c: Likewise.
41283         * sysdeps/nptl/bits/libc-lock.h
41284         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
41285         (__libc_lock_init_recursive): Return void, not 0.
41286         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
41287         (__libc_rwlock_init): Likewise.
41288         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
41290 2014-10-20  Torvald Riegel  <triegel@redhat.com>
41292         [BZ #15215]
41293         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
41294         (__pthread_once_slow): ... here.
41295         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
41296         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
41298 2014-10-20  Torvald Riegel  <triegel@redhat.com>
41300         [BZ #15215]
41301         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
41302         __PTHREAD_ONCE_FORK_GEN_INCR): New.
41303         * sysdeps/nptl/fork.c (__libc_fork): Use them.
41304         * nptl/pthread_once.c (__pthread_once): Likewise.
41305         Update comments.
41307 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
41309         [BZ #14138]
41310         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
41311         name.
41312         (writev): Use __libc_writev as strong name.
41313         * sysdeps/unix/sysv/linux/readv.c: Remove file.
41314         * sysdeps/unix/sysv/linux/writev.c: Likewise.
41316 2014-10-17  Roland McGrath  <roland@hack.frob.com>
41318         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
41320         * sysdeps/i386/nptl/tls.h
41321         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
41322         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
41323         New macros.
41324         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
41325         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
41326         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
41327         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
41328         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
41329         Call CHECK_THREAD_SYSINFO instead of doing an assert.
41331         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
41332         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
41333         on [__NR_futex].
41334         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
41335         broken out of ...
41336         (__pthread_mutex_init): ... here.  Call it.
41337         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
41338         Conditionalize PI cases on [__NR_futex].
41339         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
41340         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
41341         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
41343         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
41344         conditional on [SIGSETXID].
41345         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
41346         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
41347         is defined.  Likewise for SIGSETXID.
41348         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
41349         Conditionalize definitions on [SIGSETXID].
41350         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
41351         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
41352         unblocking on [SIGCANCEL].
41354         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
41355         [__NR_set_robust_list].
41357 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
41359         * string/strcoll_l.c (get_next_seq): Fix up formatting.
41360         (do_compare): Likewise.
41362 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
41364         [BZ #15884]
41365         * string/strcoll_l.c: Don't include stdio.h.
41366         (coll_seq): Remove members idxarr and rulearr.
41367         (get_next_seq_cached): Remove function.
41368         (get_next_seq): Likewise.
41369         (get_next_seq_nocache): Rename to get_next_seq.
41370         (do_compare): Remove function.
41371         (do_compare_nocache): Rename to do_compare.
41372         (STRCOLL): Remove weight and rules cache.
41374 2014-10-16  Roland McGrath  <roland@hack.frob.com>
41376         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
41377         * sysdeps/arm/sfp-machine.h: ... to here.
41378         * sysdeps/arm/Implies: Remove arm/soft-fp.
41380 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
41382         * conform/data/sys/utsname.h-data (*_t): Allow.
41383         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
41384         [POSIX] (WEXITED): Do not expect constant.
41385         [POSIX] (WSTOPPED): Likewise.
41386         [POSIX] (WNOHANG): Likewise.
41387         [POSIX] (WNOWAIT): Likewise.
41388         [POSIX] (siginfo_t): Do not expect type or elements.
41389         [POSIX] (pid_t): Do not expect type.
41390         [POSIX] (signal.h): Do not allow header.
41391         [POSIX] (sys/resource.h): Likewise.
41392         [POSIX] (si_*): Do not allow pattern.
41393         [POSIX] (W*): Likewise.
41394         [POSIX] (P_*): Likewise.
41395         [POSIX] (BUS_*): Likewise.
41396         [POSIX] (CLD_*): Likewise.
41397         [POSIX] (FPE_*): Likewise.
41398         [POSIX] (ILL_*): Likewise.
41399         [POSIX] (POLL_*): Likewise.
41400         [POSIX] (SEGV_*): Likewise.
41401         [POSIX] (SI_*): Likewise.
41402         [POSIX] (TRAP_*): Likewise.
41403         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
41404         variable.
41406 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
41408         [BZ #12926]
41409         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
41410         infinite loop when __recvmsg returns 0.
41412 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
41414         * CANCEL-FCT-WAIVE: Remove file.
41415         * CANCEL-FILE-WAIVE: Likewise.
41417         [BZ #14132]
41418         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
41419         instead of INTVARDEF.
41420         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
41421         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
41422         rtld_hidden_data_def instead of INTVARDEF.
41423         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
41424         * elf/dl-deps.c (expand_dst): Likewise.
41425         * elf/dl-load.c (_dl_dst_count): Likewise.
41426         (_dl_dst_substitute): Likewise.
41427         (decompose_rpath): Likewise.
41428         (_dl_init_paths): Likewise.
41429         (open_path): Likewise.
41430         (_dl_map_object): Likewise.
41431         * elf/rtld.c (dl_main): Likewise.
41432         (process_dl_audit): Likewise.
41433         (process_envvars): Likewise.
41434         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
41435         Remove declaration.
41436         (__libc_enable_secure): Use rtld_hidden_proto.
41438 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
41440         * elf/dl-load.c
41441         (add_path): New function broken out of _dl_rtld_di_serinfo.
41442         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
41444 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
41446         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
41447         parentheses around macro arguments.
41448         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
41449         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
41450         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
41451         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
41452         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
41453         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
41454         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
41455         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
41456         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
41457         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
41458         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
41459         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
41460         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
41461         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
41462         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
41463         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
41464         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
41465         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
41466         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
41467         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
41468         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
41469         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
41470         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
41471         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
41472         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
41473         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
41474         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
41475         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
41476         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
41477         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
41478         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
41479         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
41480         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
41481         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
41482         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
41483         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
41484         Likewise.
41485         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
41486         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
41487         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
41488         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
41489         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
41490         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
41491         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
41492         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
41493         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
41494         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
41495         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
41496         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
41497         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
41498         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
41499         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
41500         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
41501         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
41502         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
41503         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
41504         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
41505         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
41506         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
41507         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
41508         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
41509         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
41510         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
41511         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
41512         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
41513         (_FP_FRAC_SRS_1): Likewise.
41514         (_FP_FRAC_CLZ_1): Likewise.
41515         (_FP_MUL_MEAT_1_imm): Likewise.
41516         (_FP_MUL_MEAT_1_wide): Likewise.
41517         (_FP_MUL_MEAT_1_hard): Likewise.
41518         (_FP_SQRT_MEAT_1): Likewise.
41519         (_FP_FRAC_ASSEMBLE_1): Likewise.
41520         (_FP_FRAC_DISASSEMBLE_1): Likewise.
41521         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
41522         (__FP_CLZ_2): Likewise.
41523         (_FP_MUL_MEAT_2_wide): Likewise.
41524         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
41525         (_FP_MUL_MEAT_2_gmp): Likewise.
41526         (_FP_MUL_MEAT_2_120_240_double): Likewise.
41527         (_FP_SQRT_MEAT_2): Likewise.
41528         (_FP_FRAC_ASSEMBLE_2): Likewise.
41529         (_FP_FRAC_DISASSEMBLE_2): Likewise.
41530         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
41531         (_FP_FRAC_CLZ_4): Likewise.
41532         (_FP_MUL_MEAT_4_wide): Likewise.
41533         (_FP_MUL_MEAT_4_gmp): Likewise.
41534         (_FP_SQRT_MEAT_4): Likewise.
41535         (_FP_FRAC_ASSEMBLE_4): Likewise.
41536         (_FP_FRAC_DISASSEMBLE_4): Likewise.
41537         * soft-fp/op-common.h (_FP_CMP): Likewise.
41538         (_FP_CMP_EQ): Likewise.
41539         (_FP_CMP_UNORD): Likewise.
41540         (_FP_TO_INT): Likewise.
41541         (_FP_FROM_INT): Likewise.
41542         [!__FP_CLZ] (__FP_CLZ): Likewise.
41543         (_FP_DIV_HELP_imm): Likewise.
41544         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
41545         Likewise.
41546         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
41547         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
41548         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
41549         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
41550         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
41551         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
41552         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
41553         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
41554         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
41555         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
41556         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
41557         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
41558         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
41559         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
41560         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
41561         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
41562         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
41563         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
41564         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
41565         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
41566         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
41567         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
41568         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
41569         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
41570         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
41571         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
41572         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
41573         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
41574         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
41575         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
41576         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
41577         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
41578         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
41579         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
41580         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
41581         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
41582         (FP_UNPACK_RAW_SP): Likewise.
41583         (FP_PACK_RAW_S): Likewise.
41584         (FP_PACK_RAW_SP): Likewise.
41585         (FP_UNPACK_S): Likewise.
41586         (FP_UNPACK_SP): Likewise.
41587         (FP_UNPACK_SEMIRAW_S): Likewise.
41588         (FP_UNPACK_SEMIRAW_SP): Likewise.
41589         (FP_PACK_S): Likewise.
41590         (FP_PACK_SP): Likewise.
41591         (FP_PACK_SEMIRAW_S): Likewise.
41592         (FP_PACK_SEMIRAW_SP): Likewise.
41593         (_FP_SQRT_MEAT_S): Likewise.
41594         (FP_CMP_S): Likewise.
41595         (FP_CMP_EQ_S): Likewise.
41596         (FP_CMP_UNORD_S): Likewise.
41597         (FP_TO_INT_S): Likewise.
41598         (FP_FROM_INT_S): Likewise.
41600         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
41602         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
41603         (FP_EX_INVALID_IMZ): Likewise.
41604         (FP_EX_INVALID_IMZ_FMA): Likewise.
41605         (FP_EX_INVALID_ISI): Likewise.
41606         (FP_EX_INVALID_ZDZ): Likewise.
41607         (FP_EX_INVALID_IDI): Likewise.
41608         (FP_EX_INVALID_SQRT): Likewise.
41609         (FP_EX_INVALID_CVI): Likewise.
41610         (FP_EX_INVALID_VC): Likewise.
41611         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
41612         "invalid" exceptions.
41613         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
41614         (_FP_ADD_INTERNAL): Likewise.
41615         (_FP_MUL): Likewise.
41616         (_FP_FMA): Likewise.
41617         (_FP_DIV): Likewise.
41618         (_FP_CMP_CHECK_NAN): Likewise.
41619         (_FP_SQRT): Likewise.
41620         (_FP_TO_INT): Likewise.
41621         (FP_EXTEND): Likewise.
41623 2014-10-09  Allan McRae  <allan@archlinux.org>
41625         * po/fr.po: Update French translation from translation project.
41627 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
41629         [BZ #14132]
41630         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
41631         of INTDEF.
41632         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
41633         (__cxa_atexit): Use libc_hidden_proto.
41634         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
41636         [BZ #14132]
41637         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
41638         declaration.
41639         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
41640         [!_ISOMAC] (__iswspace_l_internal): Likewise.
41641         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
41642         [!_ISOMAC] (__iswctype_internal): Likewise.
41643         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
41644         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
41645         alias.
41646         (fcntl): Remove __fcntl_internal alias.
41647         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
41648         __connect_internal alias.
41649         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
41650         Likewise.
41652         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
41653         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
41654         FP_DENORM_ZERO.
41655         (_FP_CHECK_FLUSH_ZERO): New macro.
41656         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
41657         (_FP_CMP): Likewise.
41658         (_FP_CMP_EQ): Likewise.
41659         (_FP_TO_INT): Do not set inexact for subnormal arguments if
41660         FP_DENORM_ZERO.
41661         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
41662         (FP_TRUNC): Likewise.
41664         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
41665         treated as invalid conversion, not as normal exponent.
41667         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
41668         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
41669         (_FP_CMP_EQ): Likewise.
41670         (_FP_CMP_UNORD): Likewise.
41671         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
41672         (FP_CMP_EQ_D): Likewise.
41673         (FP_CMP_UNORD_D): Likewise.
41674         * soft-fp/extended.h (FP_CMP_E): Likewise.
41675         (FP_CMP_EQ_E): Likewise.
41676         (FP_CMP_UNORD_E): Likewise.
41677         * soft-fp/quad.h (FP_CMP_Q): Likewise.
41678         (FP_CMP_EQ_Q): Likewise.
41679         (FP_CMP_UNORD_Q): Likewise.
41680         * soft-fp/single.h (FP_CMP_S): Likewise.
41681         (FP_CMP_EQ_S): Likewise.
41682         (FP_CMP_UNORD_S): Likewise.
41683         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
41684         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
41685         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
41686         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
41687         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
41688         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
41689         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
41690         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
41691         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
41692         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
41693         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
41694         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
41695         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
41696         to FP_CMP_Q.
41697         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
41698         FP_CMP_Q.
41699         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
41700         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
41701         FP_CMP_EQ_Q.
41702         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
41703         FP_CMP_Q.
41704         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
41705         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
41706         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
41707         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
41708         FP_CMP_EQ_Q.
41709         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
41710         FP_CMP_Q.
41711         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
41712         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
41713         FP_CMP_EQ_Q.
41714         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
41715         FP_CMP_Q.
41716         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
41717         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
41718         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
41719         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
41720         FP_CMP_EQ_Q.
41722         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
41723         a subnormal result, set the underflow exception if trapping on
41724         underflow is enabled.
41725         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
41726         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
41727         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
41728         redefine to 0.
41729         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
41730         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
41731         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
41732         * soft-fp/extendxftf2.c (__extendxftf2): Use
41733         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
41735         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
41736         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
41737         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
41738         FP_HANDLE_EXCEPTIONS.
41739         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
41740         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
41741         FP_HANDLE_EXCEPTIONS.
41742         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
41743         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
41744         FP_HANDLE_EXCEPTIONS.
41745         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
41746         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
41747         FP_HANDLE_EXCEPTIONS.
41749 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
41751         [BZ #14132]
41752         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
41753         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
41754         use INTUSE.
41755         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
41756         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
41757         Remove alias.
41758         (__adjtimex): Define using libc_hidden_ver.
41759         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
41760         Remove declaration.
41761         (ntp_gettime): Call __adjtimex directly.
41762         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
41763         Remove declaration.
41764         (ntp_gettimex): Call __adjtimex directly.
41765         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
41766         __adjtimex_internal alias.
41768 2014-10-08  Roland McGrath  <roland@hack.frob.com>
41770         [BZ #17460]
41771         * nscd/nscd.c (more_help): Rewrite list of tables collection
41772         using xstrdup and asprintf.
41774         * nscd/nscd_conf.c: Remove local xstrdup declaration.
41776 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
41777             Roland McGrath  <roland@hack.frob.com>
41779         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
41780         (do_lookup_unique): ... local function 'enter' here; update callers.
41782 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
41784         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
41785         compat_symbol calls on [SHARED].
41786         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
41787         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
41788         Remove.
41789         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
41790         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
41791         (oldsetrlimit): Remove.
41792         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
41793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
41794         (lchown): New syscall entry.
41795         (oldsetrlimit): Remove.
41796         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
41797         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
41798         (oldsetrlimit): Remove.
41799         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
41801         [BZ #14138]
41802         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
41803         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
41804         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
41805         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
41806         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
41807         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
41808         (fchown): Likewise.
41809         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
41810         (fchown): Likewise.
41811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
41812         Likewise.
41814 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41816         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
41817         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
41818         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
41819         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
41820         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
41821         Likewise.
41822         (__old_sem_post): Likewise.
41824 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
41826         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
41827         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
41828         HAVE_CLOCK_GETTIME_VSYSCALL macros.
41829         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
41830         Use INLINE_VSYSCALL macro.
41831         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
41832         __vdso_clock_gettime.
41833         * sysdeps/unix/sysv/linux/tile/init-first.c
41834         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
41835         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
41836         __vdso_clock_gettime.
41838         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
41839         to set up frame more cleanly.
41841         * sysdeps/tile/memcmp.c: New file.
41843         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
41845         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
41846         * sysdeps/tile/tilegx/strcasestr.c: New file.
41847         * sysdeps/tile/tilegx/strnlen.c: New file.
41848         * sysdeps/tile/tilegx/strstr.c: New file.
41850         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
41852 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
41854         * nptl/tst-setuid3.c: Write errors to stdout.
41856 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
41858         * elf/dl-deps.c
41859         (preload): New functions broken out of _dl_map_object_deps.
41860         (_dl_map_object_deps):  Remove a nested function. Update call sites.
41862 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
41864         [BZ #14138]
41865         * sysdeps/unix/sysv/linux/execve.c: Remove file.
41866         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
41868 2014-10-01  Steve Ellcey  <sellcey@mips.com>
41870         * sysdeps/mips/strcmp.S: New.
41872 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
41874         [BZ #14138]
41875         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
41876         (linkat): Likewise.
41877         (mkdirat): Likewise.
41878         (readlinkat): Likewise.
41879         (renameat): Likewise.
41880         (symlinkat): Likewise.
41881         (unlinkat): Likewise.
41882         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
41883         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
41884         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
41885         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
41886         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
41887         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
41888         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
41890 2014-09-30  Will Newton  <will.newton@linaro.org>
41892         * math/math.h: Define long double math functions if
41893         _LIBC_TEST is defined.
41894         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
41896         * localedata/Makefile: Move assignment to tests-special
41897         into an ifdef testing run-built-tests.
41898         * timezone/Makefile: Likewise.
41900 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
41902         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
41903         with $(BASH) not $(SHELL).
41905 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
41906             Matthew LeGendre  <legendre1@llnl.gov>
41908         [BZ #17411]
41909         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
41910         l_reloc_result.
41912 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
41914         * stdio-common/printf_fp.c
41915         (hack_digit): New function, broken out of ...
41916         (__printf_fp): ... local function here.  Update call sites.
41917         hack_digit now takes an additional parameter that is a pointer
41918         to a struct of the referenced locals.  Those locals moved inside
41919         the struct and references updated.
41921 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
41923         * aclocal.m4: Require autoconf 2.69.
41924         * configure: Regenerated.
41925         * sysdeps/aarch64/configure: Likewise.
41926         * sysdeps/alpha/configure: Likewise.
41927         * sysdeps/arm/armv7/configure: Likewise.
41928         * sysdeps/arm/configure: Likewise.
41929         * sysdeps/ia64/configure: Likewise.
41930         * sysdeps/mach/configure: Likewise.
41931         * sysdeps/mips/configure: Likewise.
41932         * sysdeps/s390/configure: Likewise.
41933         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
41934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
41936         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
41937         file.
41938         * sysdeps/ia64/configure.ac: Likewise.
41940 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
41942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
41943         specify symbol version for ld.so.  Do not include entry for
41944         libpthread.
41945         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
41946         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
41947         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
41949         [BZ #14171]
41950         * Makeconfig [$(build-shared) = yes]
41951         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
41952         makefiles.
41953         [$(build-shared) = yes && $(soversions.mk-done) = t]
41954         ($(common-objpfx)gnu/lib-names.h): Remove rule.
41955         [$(build-shared) = yes && $(soversions.mk-done) = t]
41956         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
41957         to Makerules.
41958         [$(build-shared) = yes && $(soversions.mk-done) = t]
41959         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
41960         here.
41961         [$(build-shared) = yes && $(soversions.mk-done) = t]
41962         (common-generated): Don't append gnu/lib-names.h and
41963         gnu/lib-names.stmp here.
41964         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
41965         (lib-names-h-abi): New variable.
41966         [$(build-shared) = yes && $(soversions.mk-done) = t]
41967         (lib-names-stmp-abi): Likewise.
41968         [$(build-shared) = yes && $(soversions.mk-done) = t &&
41969         abi-variants] (before-compile): Append
41970         $(common-objpfx)$(lib-names-h-abi).
41971         [$(build-shared) = yes && $(soversions.mk-done) = t &&
41972         abi-variants] (common-generated): Append gnu/lib-names.h.
41973         [$(build-shared) = yes && $(soversions.mk-done) = t &&
41974         abi-variants] (install-others-nosubdir): Depend on
41975         $(inst_includedir)/$(lib-names-h-abi).
41976         [$(build-shared) = yes && $(soversions.mk-done) = t &&
41977         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
41978         [$(build-shared) = yes && $(soversions.mk-done) = t]
41979         ($(common-objpfx)$(lib-names-h-abi)): New rule.
41980         [$(build-shared) = yes && $(soversions.mk-done) = t]
41981         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
41982         [$(build-shared) = yes && $(soversions.mk-done) = t]
41983         (common-generated): Append $(lib-names-h-abi) and
41984         $(lib-names-stmp-abi).
41985         * scripts/lib-names.awk: Do not handle multi being set.
41986         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
41987         Remove variable.
41988         (abi-lp64_be-ld-soname): Likewise.
41989         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
41990         Likewise.
41991         (abi-hard-ld-soname): Likewise.
41992         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
41993         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
41994         Remove variable.
41995         (abi-o32_hard-ld-soname): Likewise.
41996         (abi-o32_soft_2008-ld-soname): Likewise.
41997         (abi-o32_hard_2008-ld-soname): Likewise.
41998         (abi-n32_soft-ld-soname): Likewise.
41999         (abi-n32_hard-ld-soname): Likewise.
42000         (abi-n32_soft_2008-ld-soname): Likewise.
42001         (abi-n32_hard_2008-ld-soname): Likewise.
42002         (abi-n64_soft-ld-soname): Likewise.
42003         (abi-n64_hard-ld-soname): Likewise.
42004         (abi-n64_soft_2008-ld-soname): Likewise.
42005         (abi-n64_hard_2008-ld-soname): Likewise.
42006         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
42007         Likewise.
42008         (abi-64-v2-ld-soname): Likewise.
42009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
42010         ld.so entries.
42011         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
42012         variable.
42013         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
42014         entry.
42015         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
42016         variable.
42017         (abi-64-ld-soname): Likewise.
42018         (abi-x32-ld-soname): Likewise.
42019         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
42020         entry.
42021         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
42023 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
42025         [BZ #14138]
42026         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
42027         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
42028         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
42029         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
42030         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
42031         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
42032         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
42033         syscall entry for GLIBC_2.2 symbol version.
42034         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
42035         Likewise.
42036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
42037         (setrlimit): Likewise.
42038         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
42039         Likewise.
42041 2014-09-23  Will Newton  <will.newton@linaro.org>
42043         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
42044         _LINUX_ARM_SYSDEP_H include guard too.
42045         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
42046         define.
42048 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
42050         * sysdeps/unix/sysv/linux/eventfd.c:
42051         Make first argument unsigned.
42052         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
42053         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
42055 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
42057         [BZ #16852]
42058         * socket/recvmmsg.c (recvmmsg): Drop const argument.
42059         * socket/sys/socket.h: Likewise.
42060         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
42062 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42064         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
42066 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
42068         * time/tst-ftime.c: New test.
42069         * time/Makefile (tests): Add tst-ftime.
42071 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
42073         * soft-fp/extended.h: Fix comment formatting.
42074         * soft-fp/op-1.h: Likewise.
42075         * soft-fp/op-2.h: Likewise.
42076         * soft-fp/op-4.h: Likewise.
42077         * soft-fp/op-8.h: Likewise.
42078         * soft-fp/op-common.h: Likewise.
42079         * soft-fp/soft-fp.h: Likewise.
42081         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
42083 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
42085         [BZ #6652]
42086         * Makeconfig (soversions-default-setname): Remove variable.
42087         ($(common-objpfx)soversions.i): Don't pass default_setname to
42088         soversions.awk.
42089         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
42090         oldest_abi to abi-versions.awk.
42091         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
42092         * config.make.in (oldest-abi): Remove variable.
42093         * configure.ac (--enable-oldest-abi): Remove configure option.
42094         * configure: Regenerated.
42095         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
42096         text.
42097         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
42098         * scripts/soversions.awk: Do not handle default_setname variable.
42099         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
42100         variable.
42101         * sysdeps/mach/hurd/configure: Regenerated.
42102         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
42103         variable.
42104         * sysdeps/unix/sysv/linux/configure: Regenerated.
42106 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42108         * elf/Makefile (CFLAGS-interp.c): Remove.
42109         ($(elf-objpfx)runtime-linker.h): Generate header with linker
42110         path string.
42111         * elf/interp.c: Include generated runtime-linker.h
42113         * Makerules (lib%.so): Don't include $(+interp) in
42114         prerequisites.
42115         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
42116         * dlfcn/eval.c: Remove file.
42118         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
42119         macros.
42121         [BZ #17266]
42122         * misc/sys/cdefs.h: Define __extern_always_inline for clang
42123         4.2 and newer.
42125         [BZ #17370]
42126         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
42128 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42129             Jakub Jelinek  <jakub@redhat.com>
42131         [BZ #17266]
42132         * libio/stdio.h: Check definition of __fortify_function
42133         instead of __extern_always_inline to include bits/stdio2.h.
42134         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
42135         check if __extern_always_inline is defined.
42136         [__USE_MISC || __USE_XOPEN]: Likewise.
42137         [__USE_ISOC99] Likewise.
42138         * misc/sys/cdefs.h (__fortify_function): Define only if
42139         __extern_always_inline is defined.
42140         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
42141         __extern_always_inline and __extern_inline only for g++-4.3
42142         and newer or a compatible gcc.
42144 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
42146         [BZ #17371]
42147         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
42148         last change to handle zero prefix length.
42150 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42152         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
42153         _SC_REGEX_VERSION.
42155         * posix/getconf.c (vars): Add _POSIX_IPV6 and
42156         _POSIX_RAW_SOCKETS.
42158 2014-09-13  Allan McRae  <allan@archlinux.org>
42160         * po/ru.po: Update Russian translation from translation project.
42162 2014-09-12  Roland McGrath  <roland@hack.frob.com>
42164         * locale/programs/locale.c (show_locale_vars): Inline local function
42165         into its sole call site.  Clean up some style nits.
42166         (print_item): New function, broken out of ...
42167         (show_info): ... local function here.  Clean up style nits.
42169         * locale/programs/ld-ctype.c (set_one_default): New function, broken
42170         out of ...
42171         (set_class_defaults): ... local function set_default here.
42172         Define set_default as a macro locally to pass constant parameters.
42173         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
42174         rather than a shared local.
42176         * stdlib/rpmatch.c (try): New function, broken out of ...
42177         (rpmatch): ... local function here.  Also, prototypify definition.
42179 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
42181         * scripts/soversions.awk: Do not handle configuration names.
42182         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
42183         vendor and os variables to soversions.awk.
42184         * configure.ac: Do not modify gnu-* host_os.
42185         * configure: Regenerated
42186         * shlib-versions: Remove first column with configuration names.
42187         * nptl/shlib-versions: Likewise.
42188         * nptl_db/shlib-versions: Likewise.
42189         * sysdeps/hppa/shlib-versions: Likewise.
42190         * sysdeps/m68k/shlib-versions: Likewise.
42191         * sysdeps/mach/hurd/shlib-versions: Likewise.
42192         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
42193         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
42194         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
42195         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
42196         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
42197         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
42198         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
42199         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
42200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
42201         Likewise.
42202         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
42203         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
42204         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
42205         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
42206         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
42207         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
42208         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
42209         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
42211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
42212         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
42213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
42214         Regenerated.
42215         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
42216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
42217         Condition symbol version definitions on [HAVE_ELFV2_ABI].
42219         * shlib-versions: Remove OS-specific entries.  Moved to files in
42220         sysdeps.
42221         * sysdeps/mach/hurd/shlib-versions: New file.
42222         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
42224         * nptl/shlib-versions: Remove architecture-specific entries.
42225         Moved to files in sysdeps.
42226         * shlib-versions: Likewise.
42227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
42228         file.
42229         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
42230         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
42231         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
42232         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
42234         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
42235         (UDP_NO_CHECK6_RX): Likewise.
42237 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42239         * sysdeps/posix/sysconf.c (__sysconf): Spell
42240         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
42242 2014-08-12  Florian Weimer  <fweimer@redhat.com>
42244         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
42245         loading.
42246         * iconv/Versions (__gconv_transliterate): Export for use from
42247         gconv modules.
42248         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
42249         (struct __gconv_trans_data, __gconv_trans_fct,
42250         __gconv_trans_context_fct, __gconv_trans_query_fct,
42251         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
42252         definitions.
42253         (struct __gconv_step_data): Remove __trans member.
42254         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
42255         longer hidden.  Remove unused trans_data argument.
42256         * iconv/gconv_int.h (struct trans_struct): Remove definition.
42257         (__gconv_translit_find): Remove declaration.
42258         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
42259         prototype.
42260         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
42261         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
42262         trans_data argument.  Add hidden definition.
42263         (__gconv_translit_find): Remove.
42264         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
42265         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
42266         * iconv/skeleton.c: Remove transliteration initialization.
42267         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
42268         __gconv_step_data initialization.
42269         * libio/iofwide.c (__libio_translit_): Remove.
42270         (_IO_fwide): Adjust struct __gconv_step_data initialization.
42271         * wcsmbs/btowc.c (__btowc): Likewise.
42272         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
42273         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
42274         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
42275         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
42276         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
42277         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
42278         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
42279         * wcsmbs/wctob.c (wctob): Likewise.
42281 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42283         [BZ #16194]
42284         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
42285         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
42286         register usage.
42287         * sysdeps/x86/Makefile: Adjust.
42289 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42290             Roland McGrath  <roland@hack.frob.com>
42292         * locale/weight.h: Add include guard.
42293         (findidx): Make static rather than auto; take new parameters
42294         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
42295         * locale/weightwc.h: Likewise.
42296         * posix/fnmatch_loop.c
42297         (FCT): Change type of EXTRA from int32_t to wint_t.
42298         Don't include either header inside the function.
42299         Call FINDIDX rather than findidx, and pass new arguments.
42300         #undef FINDIDX at the end of the file.
42301         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
42302         FINDIDX before including fnmatch_loop.c for the non-wide version.
42303         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
42304         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
42305         for the wide version.
42306         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
42307         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
42308         Pass new arguments to findidx.
42309         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
42310         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
42311         Don't #include it inside the function.  Pass new arguments to findidx.
42312         * posix/regex_internal.h
42313         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
42314         (re_string_elem_size_at): Don't #include it inside the function.
42315         Pass new arguments to findidx.
42316         * string/strcoll_l.c: #include WEIGHT_H at top level.
42317         (get_next_seq): Don't #include it inside the function.
42318         Pass new arguments to findidx.
42319         (get_next_seq_nocache): Likewise.
42320         * string/strxfrm_l.c: #include WEIGHT_H at top level.
42321         (STRXFRM): Don't #include it inside the function.
42322         Pass new arguments to findidx.
42324 2014-09-11  Florian Weimer  <fweimer@redhat.com>
42326         [BZ #17344]
42327         * malloc/malloc.c (unlink): Turn asserts into a call to
42328         malloc_printerr.
42330 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
42332         [BZ #17370]
42333         * libio/wfileops (do_ftell_wide): Free OUT.
42335 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
42337         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
42339 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42341         [BZ #17363]
42342         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
42343         group if the current group is empty.
42345 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42347         * benchtests/bench-memset.c (test_main): Add more test from size
42348         from 32 to 512 bytes.
42349         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42350         Add POWER8 memset object.
42351         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42352         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
42353         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
42354         implementation.
42355         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
42356         Likewise.
42357         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
42358         multiarch POWER8 memset optimization.
42359         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
42360         POWER8 memset optimization.
42362         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42363         Remove bzero multiarch objects.
42364         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
42365         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
42366         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
42367         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
42368         Remove define.
42369         [__bzero]: Redefine to specific name.
42370         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
42371         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
42372         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
42373         define.
42374         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
42375         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
42377 2014-09-10  Florian Weimer  <fweimer@redhat.com>
42379         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
42380         warnings into errors.
42382         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
42383         __cxa_thread_atexit_impl prototype.
42385 2014-09-09  Steve Ellcey  <sellcey@mips.com>
42387         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
42388         Fix capitalization of error message.
42390 2014-09-09  Steve Ellcey  <sellcey@mips.com>
42392         * sysdeps/mips/preconfigure: Modify ABI tests.
42394 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
42396         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
42398 2014-09-07  Roland McGrath  <roland@hack.frob.com>
42399             Carlos O'Donell  <carlos@systemhalted.org>
42401         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
42402         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
42403         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
42404         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
42405         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
42406         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
42407         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
42408         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
42409         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
42410         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
42411         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
42412         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
42413         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
42414         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
42415         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
42416         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
42417         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
42418         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
42419         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
42420         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
42421         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
42422         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
42423         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
42424         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
42425         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
42426         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
42427         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
42428         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
42429         Deconditionalize the code that was previously under [RESET_PID].
42430         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
42431         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
42432         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
42433         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
42434         include sysdep.h.
42436 2014-09-08  Allan McRae  <allan@archlinux.org>
42438         * version.h (RELEASE): Set to "development".
42439         (VERSION): Set to "2.20.90"
42441 2014-09-07  Allan McRae  <allan@archlinux.org
42443         * version.h (RELEASE): Set to "stable".
42444         (VERSION): Set to "2.20"
42445         * include/features.h (__GLIBC_MINOR__): Set to 20.
42447         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
42448         Liebler.
42450         * po/ko.po: Update Korean translation from translation project.
42452 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
42454         [BZ #17354]
42455         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
42456         macro for handling signed relocations.
42458 2014-09-03  Florian Weimer  <fweimer@redhat.com>
42460         [BZ #17325]
42461         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
42462         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
42463         assert.
42464         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
42465         * iconvdata/ibm935.c (BODY): Likewise.
42466         * iconvdata/ibm937.c (BODY): Likewise.
42467         * iconvdata/ibm939.c (BODY): Likewise.
42468         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
42469         assert.
42470         * iconvdata/Makefile (iconv-test.out): Pass module list to test
42471         script.
42472         * iconvdata/run-iconv-test.sh: New test loop for checking for
42473         decoder crashers.
42475 2014-09-02  Khem Raj  <raj.khem@gmail.com>
42477         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
42478         libm_hidden_ver.
42480 2014-09-01  Allan McRae  <allan@archlinux.org>
42482         * po/eo.po: Update Esperanto translation from translation project.
42484         * po/ca.po: Update Catalan translation from translation project.
42486 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42488         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
42489         __proc_dostop call.
42491 2014-08-27  Mark Wielaard  <mjw@redhat.com>
42493         [BZ #17319]
42494         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
42495         to call set_thread_area instead of hand written asm.
42496         (__NR_set_thread_area): Removed define.
42497         (TLS_FLAG_WRITABLE): Likewise.
42498         (__ASSUME_SET_THREAD_AREA): Remove check.
42499         (TLS_EBX_ARG): Remove define.
42500         (TLS_LOAD_EBX): Likewise.
42502 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42504         Simplify atomicity of socket creation in bind.
42506         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
42507         looking up the name after linking the file.
42509 2014-08-27  Allan McRae  <allan@archlinux.org>
42511         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42513 2014-08-26  Florian Weimer  <fweimer@redhat.com>
42515         [BZ #17187]
42516         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
42517         trans_compare, open_translit, __gconv_translit_find):
42518         Remove module loading code.
42520 2014-08-26  Allan McRae  <allan@archlinux.org>
42522         * po/vi.po: Update Vietnamese translation from translation project.
42524         * po/uk.po: Update Ukrainian translation from translation project.
42526         * po/fr.po: Update French translation from translation project.
42528         * po/ru.po: Update Russian translation from translation project.
42530         * po/pl.po: Update Polish translation from translation project.
42532         * po/cs.po: Update Czech translation from translation project.
42534         * po/de.po: Update German translation from translation project.
42536         * po/bg.po: Update Bulgarian translation from translation project.
42538         * po/sv.po: Update Sweedish translation from translation project.
42540         * po/nl.po: Update Dutch translation from translation project.
42542         * po/es.po: Update Spanish translation from translation project.
42544 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42546         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
42548         * catgets/Makefile (CPPFLAGS-gencat): Remove.
42549         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
42550         (CPPFLAGS-iconvconfig): Likewise.
42551         * timezone/Makefile (CPPFLAGS-zic): Likewise.
42553         * include/libc-symbols.h: Remove unnecessary check for
42554         NOT_IN_libc.
42555         * nptl/pthreadP.h: Likewise.
42556         * sysdeps/aarch64/setjmp.S: Likewise.
42557         * sysdeps/alpha/setjmp.S: Likewise.
42558         * sysdeps/arm/sysdep.h: Likewise.
42559         * sysdeps/i386/setjmp.S: Likewise.
42560         * sysdeps/m68k/setjmp.c: Likewise.
42561         * sysdeps/posix/getcwd.c: Likewise.
42562         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
42563         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
42564         * sysdeps/s390/s390-32/setjmp.S: Likewise.
42565         * sysdeps/s390/s390-64/setjmp.S: Likewise.
42566         * sysdeps/sh/sh3/setjmp.S: Likewise.
42567         * sysdeps/sh/sh4/setjmp.S: Likewise.
42568         * sysdeps/unix/alpha/sysdep.h: Likewise.
42569         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
42570         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42571         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
42572         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
42573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42575         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42576         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42577         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42578         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42579         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42580         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
42581         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42582         * sysdeps/x86_64/setjmp.S: Likewise.
42584 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
42586         [BZ #17263]
42587         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
42588         <stdint.h>.
42589         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
42590         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
42592 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
42594         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
42596         [BZ #17262]
42597         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
42598         and __x86_64__ when disabling x87 inline functions.
42600 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
42602         [BZ #17259]
42603         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
42604         asm statement with __cpuid_count.
42606 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
42608         * configure.ac: Change __ehdr_start code to dereference the struct.
42609         Run readelf on the output to look for relocations.
42610         * configure: Regenerated.
42612 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
42614         [BZ #17261]
42615         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
42616         value to 0.
42617         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
42619 2014-08-12  Roland McGrath  <roland@hack.frob.com>
42621         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
42623 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
42625         [BZ #16892]
42626         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
42627         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
42629 2014-08-12  Sean Anderson  <seanga2@gmail.com>
42631         * malloc/malloc.c: Fix typo in comment.
42633 2014-08-09  Allan McRae  <allan@archlinux.org>
42635         * Regenerate libc.po.
42637 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
42639         * intl/tst-gettext2.sh: Check every lang file for creation.
42641 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
42643         * sysdeps/aarch64/fpu/math_private.h
42644         (libc_feholdsetround_noex_aarch64_ctx): New function.
42646 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
42648         * sysdeps/arm/armv6/strcpy.S (strcpy):
42649         Fix performance issue in misaligned cases.
42651 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42653         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
42654         Move definition from termios.h.
42655         (struct termio): Likewise.
42656         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
42657         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
42658         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
42659         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
42660         Likewise.
42661         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
42662         Move definition to ioctl-types.h
42663         (struct termio): Likewise.
42664         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
42665         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
42666         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
42667         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
42668         Likewise.
42670 2014-08-05  Richard Henderson  <rth@redhat.com>
42672         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
42673         exceptions.
42674         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
42675         Add fraiseexcpt.
42676         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
42677         Use __feraiseexcept.
42678         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
42679         Protect libm symbols with IS_IN_libm.
42681         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
42683 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
42685         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
42687 2014-08-04  Will Newton  <will.newton@linaro.org>
42689         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
42690         file.
42692 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
42694         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
42695         variants for each function.
42697 2014-08-04  Roland McGrath  <roland@hack.frob.com>
42699         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
42700         appended ...
42701         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
42702         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
42703         appended ...
42704         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
42705         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
42706         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
42707         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
42708         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
42709         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
42710         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
42711         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
42712         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
42713         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
42714         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
42715         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
42716         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
42717         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
42718         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
42719         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
42720         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
42721         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
42722         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
42723         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
42724         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
42725         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
42726         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
42727         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
42728         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
42729         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
42730         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
42731         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
42732         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
42733         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
42734         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
42735         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
42736         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
42737         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
42738         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
42739         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
42740         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
42741         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
42742         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
42743         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
42744         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
42745         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
42746         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
42747         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
42748         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
42749         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
42750         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
42751         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
42752         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
42753         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
42754         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
42755         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
42756         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
42757         Update #include.
42758         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
42759         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
42761 2014-08-04  Roland McGrath  <roland@hack.frob.com>
42763         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
42764         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
42765         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
42766         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
42767         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
42768         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
42770 2014-08-04  Roland McGrath  <roland@hack.frob.com>
42772         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
42773         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
42774         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42775         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
42777 2014-08-04  Roland McGrath  <roland@hack.frob.com>
42779         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
42780         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
42781         (__libc_vfork): Define function under this name.
42782         (__vfork): Define as an alias.
42783         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
42784         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
42786 2014-08-04  Roland McGrath  <roland@hack.frob.com>
42788         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
42789         that was previously under [RESET_PID].
42790         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
42792 2014-08-04  Andreas Schwab  <schwab@suse.de>
42794         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
42796 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
42798         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
42799         (main): Likewise.
42801 2014-08-01  Roland McGrath  <roland@hack.frob.com>
42803         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
42805 2014-08-01  Richard Henderon  <rth@redhat.com>
42807         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
42808         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
42809         typo in exact zero test.
42810         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42811         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42812         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42814 2014-08-01  Roland McGrath  <roland@hack.frob.com>
42816         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
42817         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
42818         * sysdeps/arm/sysdep.h: ... here.
42819         [!__ASSEMBLER__]: Include <stdint.h>.
42821 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
42823         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
42824         (HAVE_WCTYPE_H): Likewise.
42825         (HAVE_ISWCTYPE): Likewise.
42826         (ENABLE_NLS): Likewise.
42827         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
42828         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
42830         * posix/regex_internal.c: Check if DEBUG is defined and is
42831         set.
42833         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
42834         (HAVE_MBSRTOWCS): Likewise.
42835         * posix/fnmatch.c: Include string.h unconditionally.
42837 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
42839         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
42840         reversal.
42842 2014-07-31  Roland McGrath  <roland@hack.frob.com>
42844         * sysdeps/generic/safe-fatal.h: New file.
42845         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
42846         * nptl/forward.c: Include it.
42847         (__pthread_unwind): Use __safe_fatal as default action, rather
42848         than a bogus use of INTERNAL_SYSCALL that could never work.
42850         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
42851         * configure.ac (libc_cv_builtin_trap): New test.
42852         * configure: Regenerated.
42853         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
42854         (ABORT_INSTRUCTION): Define using __builtin_trap.
42856         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
42857         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
42858         * sysdeps/nptl/nptl-signals.h: New file.
42859         * nptl/pthreadP.h: Include <nptl-signals.h>.
42861 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
42863         * sysdeps/s390/s390-64/utf16-utf32-z9.c
42864         (ONE_DIRECTION): Define.
42865         * sysdeps/s390/s390-64/utf8-utf16-z9.c
42866         (ONE_DIRECTION): Define.
42867         * sysdeps/s390/s390-64/utf8-utf32-z9.c
42868         (ONE_DIRECTION): Define.
42870 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
42872         * sysdeps/s390/Makefile: Delete file.
42873         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
42874         * sysdeps/s390/__longjmp.c: Delete file.
42875         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
42876         Remove fields __flags and __reserved.
42877         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
42878         and add versioning.
42879         * sysdeps/s390/rtld-__longjmp.c: Delete file.
42880         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
42881         * sysdeps/s390/rtld-setjmp.S: Likewise.
42882         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
42883         * sysdeps/s390/s390-32/__longjmp.c: ... here.
42884         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
42885         * sysdeps/s390/s390-32/setjmp.S: ... here.
42886         Add versioning.
42887         (__sigsetjmp): Remove setting __flags field.
42888         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
42889         * sysdeps/s390/s390-64/__longjmp.c: ... here.
42890         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
42891         * sysdeps/s390/s390-64/setjmp.S: ... here.
42892         Add versioning.
42893         (__sigsetjmp): Remove setting __flags field.
42894         * sysdeps/s390/setjmp.S: Delete file.
42895         * sysdeps/s390/sigjmp.c: Likewise.
42896         * sysdeps/s390/v1-longjmp.c: Likewise.
42897         * sysdeps/s390/v1-setjmp.h: Likewise.
42898         * sysdeps/s390/v1-sigjmp.c: Likewise.
42899         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
42900         Remove v1-longjmp_chk.
42901         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
42902         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
42903         Include debug/longjmp_chk.c and add versioning.
42904         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
42905         Include nptl/pt-longjmp.c and add versioning.
42906         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
42907         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
42908         Include __longjmp.c.
42909         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
42910         Move to ...
42911         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
42912         (__getcontext): Remove setting __flags field.
42913         Add versioning.
42914         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
42915         Don't restore upper high grps.
42916         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
42917         Likewise.
42918         (__swapcontext): Remove setting uc_flags field.
42919         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
42920         Delete file.
42921         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
42922         Include __longjmp.c.
42923         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
42924         Move to ...
42925         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
42926         (__getcontext): Remove setting __flags field.
42927         Add versioning.
42928         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
42929         (__swapcontext): Remove setting uc_flags field.
42930         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
42931         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
42932         Remove fields uc_high_gprs and __reserved.
42933         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
42934         New file with reverted content.
42935         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
42936         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
42937         Regenerated.
42938         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
42939         Regenerated.
42941 2014-07-31  Andreas Schwab  <schwab@suse.de>
42943         * config.h.in (HAVE_IFUNC): Define to 0.
42944         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
42945         definedness.
42947 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
42949         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42950         memmove-avx-unaligned, memcpy-avx-unaligned and
42951         mempcpy-avx-unaligned.
42952         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42953         Add tests for AVX memcpy functions.
42954         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
42955         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
42956         memcpy_chk.
42957         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
42958         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
42959         memmove_chk.
42960         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
42961         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
42962         mempcpy_chk.
42963         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
42964         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
42965         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
42967 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42969         [BZ #17213]
42970         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
42971         powerpc64le.
42973 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
42975         [BZ #16839]
42976         * manual/llio.texi: Add section about open file description locks.
42977         * manual/examples/ofdlocks.c: Example of open file description
42978         lock usage.
42979         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
42980         F_OFD_SETLK, and F_OFD_SETLKW.
42982 2014-07-23  Allan McRae  <allan@archlinux.org>
42984         * po/es.po: Update Spanish translation from translation project.
42986 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
42988         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
42990 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
42992         [BZ #17078]
42993         * sysdeps/arm/dl-machine.h (elf_machine_rela)
42994         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
42995         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
42997 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
42999         [BZ #17088]
43000         * math/fesetenv.c (__fesetenv)
43001         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
43002         * math/feupdateenv.c (__feupdateenv)
43003         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
43005         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
43006         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
43007         (__ASSUME_SOCKETCALL): Do not define.
43009         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
43010         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
43011         (__ASSUME_SOCKETCALL): Do not define.
43012         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
43013         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
43014         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
43015         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
43016         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
43017         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
43018         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
43019         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43021         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
43022         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
43023         (__ASSUME_SOCKETCALL): Do not define.
43024         (__ASSUME_IPC64): Define unconditionally.
43025         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
43026         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
43027         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
43028         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
43029         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
43030         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
43031         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
43032         Likewise.
43034         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
43035         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
43036         (__ASSUME_SOCKETCALL): Do not define.
43037         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
43038         (__ASSUME_FUTEX_LOCK_PI): Likewise.
43039         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
43040         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
43041         (__ASSUME_REQUEUE_PI): Define unconditionally.
43042         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
43043         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
43044         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43045         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
43046         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
43047         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43049         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
43050         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
43051         (__ASSUME_SOCKETCALL): Do not define.
43052         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
43053         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
43054         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43055         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
43056         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
43057         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43059         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
43060         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
43061         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
43062         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
43063         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
43064         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
43065         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
43066         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
43067         (__ASSUME_GETCPU_SYSCALL): Likewise.
43069         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
43070         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
43071         cases for individual architectures.
43072         * sysdeps/gnu/configure: Regenerated.
43073         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
43074         LIBC_SLIBDIR_RTLDDIR.
43075         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
43076         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
43077         LIBC_SLIBDIR_RTLDDIR.
43078         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
43079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
43080         LIBC_SLIBDIR_RTLDDIR.
43081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
43082         Regenerated.
43083         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
43084         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
43085         file.
43086         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
43087         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
43088         file.
43089         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
43090         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
43091         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
43092         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
43094         * sysdeps/aarch64/shlib-versions: Move to ...
43095         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
43096         * sysdeps/alpha/shlib-versions: Move to ...
43097         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
43098         * sysdeps/arm/shlib-versions: Move to ...
43099         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
43100         * sysdeps/hppa/shlib-versions: Move all contents except for
43101         libgcc_s entry to ...
43102         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
43103         entry from ...
43104         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
43105         * sysdeps/ia64/shlib-versions: Move to ...
43106         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
43107         entry from ...
43108         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
43109         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
43110         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
43111         * sysdeps/microblaze/shlib-versions: Move to ...
43112         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
43113         * sysdeps/mips/shlib-versions: Move to ...
43114         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
43115         entry from ...
43116         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
43117         * sysdeps/tile/shlib-versions: Move to ...
43118         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
43119         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
43120         from ...
43121         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
43122         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
43123         entry from ...
43124         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
43126 2014-07-17  Will Newton  <will.newton@linaro.org>
43128         * sysdeps/arm/bits/atomic.h
43129         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
43130         (__arch_compare_and_exchange_bool_16_int): Likewise.
43131         (__arch_compare_and_exchange_bool_64_int): Likewise.
43133         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
43134         into an #else block.
43136 2014-07-16  Roland McGrath  <roland@hack.frob.com>
43138         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
43139         just Linux configurations.  Test empirically that the compiler sets
43140         __ARM_EABI__, rather than using the tuple to decide.
43141         * sysdeps/arm/preconfigure: Regenerated.
43142         * sysdeps/unix/sysv/linux/arm/configure: File removed.
43143         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
43144         contents appended ...
43145         * sysdeps/arm/configure.ac: ... here.
43146         * sysdeps/arm/configure: Regenerated.
43148 2014-07-15  Roland McGrath  <roland@hack.frob.com>
43150         * nptl/pthread_kill.c: New file.
43151         * nptl/pthread_sigmask.c: New file.
43152         * nptl/pthread_sigqueue.c: New file.
43154         * sysdeps/nptl/lowlevellock.h: New file.
43155         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
43156         * sysdeps/nptl/lowlevellock-futex.h: New file.
43158         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
43159         Remove dead declarations.
43161 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
43163         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
43164         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
43165         config-cflags-avx2.
43166         * sysdeps/x86_64/configure.ac: Likewise.
43167         * sysdeps/i386/configure: Regenerated.
43168         * sysdeps/x86_64/configure: Likewise.
43169         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43170         memset-avx2 only if config-cflags-avx2 is yes.
43171         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43172         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
43173         defined.
43174         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
43175         only if HAVE_AVX2_SUPPORT is defined.
43176         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43178 2014-07-14  Alan Modra  <amodra@gmail.com>
43180         [BZ #17153]
43181         * elf/elf.h (DT_PPC64_NUM): Correct value.
43182         * NEWS: Add to fixed bug list.
43184 2014-07-13  Jim Meyering  <meyering@fb.com>
43186         [BZ 17150]
43187         regex: don't deref NULL upon heap allocation failure
43188         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
43189         failure in one more place.
43190         To trigger the segfault, configure grep -with-included-regex,
43191         build it, and run these commands:
43192         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
43194 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
43196         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
43198 2014-07-11  Richard Henderson  <rth@redhat.com>
43200         * sysdeps/aarch64/libm-test-ulps: Update.
43202 2014-07-10  Florian Weimer  <fweimer@redhat.com>
43204         [BZ #17135]
43205         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
43206         * nptl/allocatestack.c (__nptl_setxid_error): New function.
43207         (__nptl_setxid): Initialize error member.  Call
43208         __nptl_setxid_error.
43209         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
43210         * nptl/descr.h (struct xid_command): Add error member.
43211         * nptl/tst-setuid3.c: New file.
43212         * nptl/Makefile (tests): Add it.
43214 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43216         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
43217         New define.
43218         (__lll_trylock): Use __lll_base_trylock.
43219         (__lll_cond_trylock): Likewise.
43221 2014-07-10  Roland McGrath  <roland@hack.frob.com>
43223         * nptl/pthread_create.c (start_thread): Use atomic_or and
43224         lll_futex_wake directly rather than lll_robust_dead.
43225         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
43226         (lll_robust_dead): Macro removed.
43227         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
43228         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
43229         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
43230         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43231         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43232         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
43233         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
43234         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43235         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
43236         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43237         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43238         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43239         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43240         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43241         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43243         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
43244         Use atomic_compare_and_exchange_val_acq directly rather than
43245         lll_robust_trylock.
43246         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
43247         (__lll_robust_trylock, lll_robust_trylock): Removed.
43248         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
43249         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
43250         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43251         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43252         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
43253         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
43254         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43255         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
43256         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43257         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43258         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43259         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43260         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43261         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43263 2014-07-02  Florian Weimer  <fweimer@redhat.com>
43265         * manual/locale.texi (Locale Names): New section documenting
43266         locale name syntax.  Adjust menu and node chaining accordingly.
43267         (Choosing Locale): Reference Locale Names, Locale Categories.
43268         Mention setting LC_ALL=C.  Reflect that name syntax is now
43269         documented.
43270         (Locale Categories): New section title.  Reference Locale Names.
43271         LC_ALL is an environment variable, but not a category.
43272         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
43273         description, now in Locale Name.  Reference that section.  Locale
43274         name syntax is now documented.
43276 2014-07-02  Florian Weimer  <fweimer@redhat.com>
43278         [BZ #17137]
43279         * locale/findlocale.c (name_present, valid_locale_name): New
43280         functions.
43281         (_nl_find_locale): Use the loc_name variable to store name
43282         candidates.  Call name_present and valid_locale_name to check and
43283         validate locale names.  Return an error if the locale is invalid.
43285 2014-07-02  Florian Weimer  <fweimer@redhat.com>
43287         * locale/setlocale.c (setlocale): Use strdup for allocating
43288         composite name copy.
43290 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43292         Sync up with gnulib.
43293         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
43294         [!_LIBC && ENABLE_NLS]: Include gettext.h.
43295         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
43296         and _GL_ARG_NONNULL.
43297         [USE_UNLOCKED_IO]: Include unlocked-io.h.
43298         [!_LIBC]: Include code for Windows and Cygwin.
43299         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
43300         Include prototype for int strerror_r.
43301         [!_LIBC] (is_open): New function.
43302         (flush_stdout): New function.
43303         (print_errno_message): Use it.
43304         (error): Likewise.
43305         (error_at_line): Likewise.
43306         (error_tail) Add function attribute macros.  Use
43307         __builtin_expect.
43309         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
43311         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
43313         * io/ftw.c: Include sys/param.h unconditionally.
43315         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
43317         [BZ #17125]
43318         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
43319         libc_freeres_ptr.
43320         (freecache): New function to free CACHE on exit.
43322         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
43323         initialization.
43325 2014-07-09  David S. Miller  <davem@davemloft.net>
43327         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43329         * sysdeps/sparc/nptl/internaltypes.h: Delete.
43330         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
43331         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
43332         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
43333         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
43334         * sysdeps/sparc/nptl/sem_init.c: Likewise.
43335         * sysdeps/sparc/nptl/sem_post.c: Likewise.
43336         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
43337         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
43338         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
43339         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
43340         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
43341         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
43343 2014-07-09  Andreas Schwab  <schwab@suse.de>
43345         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
43346         output.
43347         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
43348         (do_test): Likewise.
43350         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
43352 2014-07-09  Will Newton  <will.newton@linaro.org>
43354         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
43355         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
43356         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
43357         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
43358         * sysdeps/hppa/start.S (_start): Likewise.
43360 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
43362         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
43364         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
43365         defined.
43367 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43369         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
43370         after checking that it is non-NULL.
43372         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
43374 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43376         * sysdeps/powerpc/memmove.c: Remove file.
43377         * sysdeps/powerpc/powerpc32/power4/memcopy.h
43378         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
43379         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
43380         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
43381         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
43382         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
43383         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
43384         string memmove instead of removed powerpc one.
43386         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
43387         [weak_alias]: Fix compiler warning due trailing data.
43388         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
43389         [weak_alias]: Likewise.
43390         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
43391         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
43393         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43394         (__libc_ifunc_impl_list): Add memmove functions.
43396 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43398         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
43399         Remove code.
43400         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
43401         Likewise.
43402         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
43403         Likewise.
43404         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
43405         Likewise.
43406         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
43407         Likewise.
43408         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
43409         Likewise.
43410         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
43411         Likewise.
43412         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
43413         Likewise.
43414         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
43415         Likewise.
43416         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
43417         Likewise.
43418         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
43419         Likewise.
43420         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
43421         Likewise.
43422         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
43423         Likewise.
43424         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
43425         Likewise.
43426         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
43427         Likewise.
43428         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
43429         Likewise.
43430         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
43431         Likewise.
43433 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43435         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
43436         to avoid alignment traps in non-cacheable memory.
43437         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
43439         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
43440         multiarch objects.
43441         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
43442         file: multiarch power7 memmove.
43443         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
43444         multiarch default memmove.
43445         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
43446         multiarch memove for powerpc32/power4.
43448         * string/bcopy.c: Use full path to include memmove.c.
43449         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
43450         multiarch objects.
43451         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
43452         bcopy for powerpc64.
43453         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
43454         bcopy for powerpc64.
43455         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
43456         and memmove implementations.
43457         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
43458         optimized multiarch memmove for POWER7/powerpc64.
43459         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
43460         default multiarch memmove for powerpc64.
43461         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
43462         multiarch for powerpc64.
43463         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
43464         for POWER7/powerpc64.
43465         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
43466         memmove for POWER7/powerpc64.
43468         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
43469         glibc default one.
43471         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
43472         __ELF_NATIVE_CLASS equal to 64.
43474 2014-07-07  Roland McGrath  <roland@hack.frob.com>
43476         * sysdeps/nptl/lowlevellock.h: File removed.
43478         * NEWS: NPTL is no longer an add-on!
43479         * nptl/internaltypes.h: Moved ...
43480         * sysdeps/nptl/internaltypes.h: ... here.
43481         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
43482         * sysdeps/nptl/fork.c: Likewise.
43483         * sysdeps/nptl/gai_misc.h: Likewise.
43484         * sysdeps/nptl/librt-cancellation.c: Likewise.
43485         * sysdeps/nptl/jmp-unwind.c: Likewise.
43486         * sysdeps/nptl/setxid.h: Likewise.
43487         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
43488         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
43489         * sysdeps/unix/sysv/linux/arm/Implies: New file.
43490         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
43491         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
43492         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
43493         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
43494         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
43495         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
43496         * sysdeps/unix/sysv/linux/mips/Implies: New file.
43497         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
43498         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
43499         * sysdeps/unix/sysv/linux/sh/Implies: New file.
43500         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
43501         * sysdeps/unix/sysv/linux/tile/Implies: New file.
43502         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
43503         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
43504         * nptl/Makeconfig: Moved ...
43505         * sysdeps/nptl/Makeconfig: ... here.
43506         * nptl/configure: File removed.
43507         * nptl/ANNOUNCE: File removed.
43508         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
43509         * sysdeps/unix/sysv/linux/configure: Regenerated.
43511         * nptl/Makefile (routines): Add libc_pthread_init,
43512         libc_multiple_threads, register-atfork and unregister-atfork.
43513         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
43514         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
43515         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
43516         pthread-pi-defines.sym, structsem.sym.
43517         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
43518         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
43519         [$(subdir) = nptl] (tests): Add tst-setgetname.
43520         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
43521         * sysdeps/unix/sysv/linux/sigaction.c: Just include
43522         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
43523         [!LIBC_SIGACTION]: Remove aliases.
43524         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
43525         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
43526         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
43527         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
43528         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
43529         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
43530         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43531         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43532         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
43533         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
43534         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
43535         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
43536         __libc_allocate_rtsig_private.
43537         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
43538         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
43539         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
43540         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
43541         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
43542         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
43543         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
43544         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
43545         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
43546         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
43547         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
43548         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
43549         * nptl/internaltypes.h: ... here.
43550         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
43551         * sysdeps/nptl/jmp-unwind.c: ... here.
43552         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
43553         * nptl/libc-lowlevellock.c: ... here.
43554         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
43555         * nptl/libc_multiple_threads.c: ... here.
43556         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
43557         * nptl/libc_pthread_init.c: ... here.
43558         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
43559         * nptl/lowlevelbarrier.sym: ... here.
43560         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
43561         * nptl/lowlevelcond.sym: ... here.
43562         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
43563         * nptl/lowlevellock.c: ... here.
43564         * nptl/lowlevellock.h: Moved ...
43565         * sysdeps/nptl/lowlevellock.h: ... here.
43566         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
43567         * nptl/lowlevelrobustlock.c: ... here.
43568         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
43569         * nptl/lowlevelrobustlock.sym: ... here.
43570         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
43571         * nptl/lowlevelrwlock.sym: ... here.
43572         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
43573         * nptl/pt-fork.c: ... here.
43574         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
43575         * nptl/pthread-pi-defines.sym: ... here.
43576         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
43577         * nptl/pthread_attr_getaffinity.c: ... here.
43578         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
43579         * nptl/pthread_attr_setaffinity.c: ... here.
43580         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
43581         * nptl/pthread_mutex_cond_lock.c: ... here.
43582         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
43583         Update #include.
43584         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
43585         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
43586         * nptl/pthread_once.c: ... here, replacing old file.
43587         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
43588         * nptl/pthread_yield.c: ... here.
43589         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
43590         * nptl/register-atfork.c: ... here.
43591         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
43592         * nptl/sem_post.c: ... here.
43593         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
43594         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
43595         * nptl/sem_timedwait.c: ... here.
43596         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
43597         * nptl/sem_trywait.c: ... here.
43598         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
43599         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
43600         * nptl/sem_wait.c: ... here.
43601         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
43602         * nptl/structsem.sym: ... here.
43603         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
43604         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
43605         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
43606         * nptl/unregister-atfork.c: ... here.
43607         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
43608         * nptl/unwindbuf.sym: ... here.
43609         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
43610         * sysdeps/nptl/fork.c: ... here.
43611         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
43612         * sysdeps/nptl/fork.h: ... here.
43613         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
43614         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
43615         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
43616         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
43617         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
43618         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
43619         * sysdeps/unix/sysv/linux/getpid.c: ... here.
43620         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
43621         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
43622         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
43623         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
43624         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
43625         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
43626         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
43627         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
43628         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
43629         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
43630         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
43631         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
43632         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
43633         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
43634         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
43635         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
43636         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
43637         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
43638         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
43639         * sysdeps/unix/sysv/linux/raise.c: ... here.
43640         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
43641         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
43642         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
43643         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
43644         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
43645         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
43646         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
43647         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
43648         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
43649         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
43650         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
43651         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
43652         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
43653         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
43654         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
43656 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43658         * sysdeps/generic/memcopy.h: Add comment for
43659         MEMCPY_OK_FOR_FWD_MEMMOVE.
43661 2014-07-04  Will Newton  <will.newton@linaro.org>
43663         * string/memchr.c: Merge from gnulib.
43664         [_LIBC]: Remove conditionals.
43665         (__ptr_t): Remove define.
43666         (LONG_MAX_32_BITS): Likewise.
43667         (LONG_MAX): Likewise.
43668         (MEMCHR): Use ANSI prototype and optimize algorithm.
43670         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
43672 2014-07-03  Roland McGrath  <roland@hack.frob.com>
43674         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
43675         (lll_futex_timed_wait_bitset): Fix syscall argument count.
43677         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
43678         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
43679         in a bare environment with no <stdlib.h> installed.
43680         * sysdeps/nptl/configure: Regenerated.
43682         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
43684         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
43685         AC_EGREP_CPP for kernel header checks, so they only succeed if
43686         including <linux/version.h> actually works right.
43687         * sysdeps/unix/sysv/linux/configure: Regenerated.
43689         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
43690         value so it's not diagnosed as unused.
43692         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
43693         thing) with "ifeq ($(subdir),rt)".
43695 2014-07-03  Richard Henderson  <rth@redhat.com>
43697         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
43698         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
43699         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
43701         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
43702         (math_force_eval): New.
43704         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
43705         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
43707         * sysdeps/alpha/fpu/s_round.c: Remove file.
43708         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
43710         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
43711         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
43712         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
43713         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
43714         (_dl_start, print_statistics): Likewise.
43715         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
43716         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
43718         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43719         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43720         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43721         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43722         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
43723         (HP_SMALL_TIMING_AVAIL): Define.
43724         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43725         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
43726         (HP_SMALL_TIMING_AVAIL): Define.
43727         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43728         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43730         * sysdeps/aarch64/hp-timing.h: New file.
43732         * sysdeps/generic/hp-timing.h: Remove dead comment.
43733         * sysdeps/generic/hp-timing-common.h: New file.
43734         * sysdeps/alpha/hp-timing.h: Include it.
43735         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
43736         * sysdeps/i386/i686/hp-timing.h: Likewise.
43737         * sysdeps/ia64/hp-timing.h: Likewise.
43738         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
43739         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
43740         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
43741         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
43742         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
43743         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
43744         (hp_timing_t): New.
43746         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
43747         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
43748         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
43749         * elf/rtld.c (_dl_start_final): Likewise.
43750         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
43751         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
43752         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
43753         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
43754         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
43755         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
43756         (HP_TIMING_DIFF_INIT): Remove.
43757         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
43758         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
43759         (HP_TIMING_DIFF_INIT): Remove.
43760         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
43761         * sysdeps/i386/i686/hp-timing.c: Remove file.
43762         * sysdeps/x86_64/hp-timing.c: Remove file.
43763         * sysdeps/ia64/hp-timing.c: Remove file.
43764         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
43765         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
43766         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
43767         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
43769         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
43770         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
43771         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
43772         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
43773         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
43774         (HP_TIMING_ACCUM): Remove.
43775         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
43776         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
43777         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
43779         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
43780         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
43781         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
43782         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
43783         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
43784         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
43785         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
43786         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
43788         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
43790 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
43792         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
43794 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43796         Sync up with gettext.
43797         * intl/loadmsgcat.c: Define O_BINARY if not defined.
43798         [_MSC_VER]: Include malloc.h
43799         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
43800         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
43801         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
43802         TEMP_FAILURE_RETRY.  Cast return of alloca.
43803         [!_LIBC] Call gl_rwlock_init.
43804         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
43806 2014-07-02  Roland McGrath  <roland@hack.frob.com>
43808         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
43809         before checking its value.
43811 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43813         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
43815         * debug/memcpy_chk.c: Don't include pagecopy.h.
43816         * debug/mempcpy_chk.c: Likewise.
43817         * string/memcpy.c: Likewise.
43818         * string/memmove.c: Likewise.
43819         * sysdeps/powerpc/memmove.c: Likewise.
43820         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
43821         definition of PAGE_COPY_FWD_MAYBE here...
43822         * sysdeps/generic/pagecopy.h: ... from here.
43823         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
43825 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
43826             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43828         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
43829         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
43830         optimizations.
43831         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43832         (__libc_ifunc_impl_list): Likewise.
43833         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
43834         multiarch strcat for PPC64.
43835         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
43836         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
43838 2014-07-02  Roland McGrath  <roland@hack.frob.com>
43840         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
43842 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43844         * intl/loadmsgcat.c: Remove declaration of
43845         get_sysdep_segment_value.
43846         (get_sysdep_segment_value): Use ISO C style.
43847         (_nl_load_domain): Use ISO C style.  Get rid of redundant
43848         semicolon.  Fix typo and formatting in comment.
43849         (_nl_unload_domain): Use ISO C style.
43851         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
43853 2014-07-02  Will Newton  <will.newton@linaro.org>
43855         * malloc/obstack.c: Merge from gnulib master.
43856         [HAVE_CONFIG_H]: Remove conditional code.
43857         [!_LIBC]: Include config.h.
43858         [!ELIDE_CODE]: Don't include inttypes.h, include
43859         stdint.h unconditionally.
43860         (print_and_abort): Mark as _Noreturn.
43861         (_obstack_allocated_p): Mark as __attribute_pure__.
43862         (obstack_free): Rename to __obstack_free.
43863         [!__attribute__]: Remove conditional code.
43864         * malloc/obstack.h: Merge from gnulib master.
43865         [__cplusplus]: Move conditional down.
43866         [!__attribute_pure__]: Define __attribute_pure__ here
43867         if it is not already defined.
43868         (_obstack_memory_used): Mark as __attribute_pure__.
43869         [!__obstack_free]: Define as obstack_free.
43870         [__GNUC__]: Remove check for ancient NeXT gcc.
43872 2014-07-02  Will Newton  <will.newton@linaro.org>
43873             Paul Eggert  <eggert@cs.ucla.edu>
43875         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
43877 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43879         * resolv/gethnamaddr.c: Add comment warning that the file is
43880         not maintained.
43882 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
43884         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
43885         entries.
43887         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
43888         entry for aio_cancel and aio_cancel64.
43889         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
43890         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
43891         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
43892         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
43893         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
43894         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
43895         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
43896         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
43897         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
43898         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
43899         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
43900         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
43901         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
43903 2014-07-01  Roland McGrath  <roland@hack.frob.com>
43905         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
43906         * nptl/pthread_mutex_lock.c: Likewise.
43907         * nptl/pthread_mutex_timedlock.c: Likewise.
43908         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
43910 2014-07-01  Richard henderson  <rth@redhat.com>
43912         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
43913         (__isnan, __isnanl): Remove.
43914         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
43916         * sysdeps/alpha/fpu/libm-test-ulps: Update.
43918 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
43920         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43922 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
43924         * resolv/nss_dns/dns-host.c (getanswer_r)
43925         [MULTI_PTRS_ARE_ALIASES]: Remove code.
43927 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
43929         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43930         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
43931         undefine.
43932         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
43933         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
43935 2014-07-01  Roland McGrath <roland@hack.frob.com>
43937         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
43938         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
43940         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
43941         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
43943         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
43944         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
43945         ... here.
43946         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
43947         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
43949         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
43950         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
43951         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
43952         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
43954         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
43955         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
43956         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
43957         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
43958         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
43959         Moved ...
43960         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
43961         ... here.
43962         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
43963         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
43964         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
43965         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
43966         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
43967         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
43968         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
43969         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
43970         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
43971         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
43972         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
43973         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
43974         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
43975         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
43976         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
43977         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
43978         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
43979         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
43980         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
43981         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
43982         ... here.
43983         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
43984         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
43985         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
43986         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
43987         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
43988         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
43989         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
43990         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
43992 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
43994         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
43995         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
43996         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
43997         Add sysdep.
43999 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44001         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44003 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
44005         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
44006         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
44008         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
44010         * sysdeps/arm/libm-test-ulps: Regenerated.
44012 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
44013             Roland McGrath <roland@hack.frob.com>
44015         * test-skeleton.c (signal_handler): Kill the whole process group
44016         before killing the child individually.
44017         (main): Report any failure on `setpgid'.
44019 2014-06-30  Roland McGrath  <roland@hack.frob.com>
44021         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
44022         from _TLS_H to _ARM_NPTL_TLS_H.
44023         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
44024         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
44026 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
44028         [BZ #16539]
44029         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
44030         (__expm1l): Return argument unchanged when small but not
44031         subnormal.
44033         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
44034         include macro name.
44035         (_FP_UNPACK_RAW_1_P): Likewise.
44036         (_FP_PACK_RAW_1): Likewise.
44037         (_FP_PACK_RAW_1_P): Likewise.
44038         (_FP_MUL_MEAT_1_wide): Likewise.
44039         (_FP_MUL_MEAT_DW_1_hard): Likewise.
44040         (_FP_MUL_MEAT_1_hard): Likewise.
44041         (_FP_DIV_MEAT_1_imm): Likewise.
44042         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
44043         (_FP_DIV_MEAT_1_udiv): Likewise.
44044         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
44045         (_FP_UNPACK_RAW_2): Likewise.
44046         (_FP_UNPACK_RAW_2_P): Likewise.
44047         (_FP_PACK_RAW_2): Likewise.
44048         (_FP_PACK_RAW_2_P): Likewise.
44049         (_FP_MUL_MEAT_DW_2_wide): Likewise.
44050         (_FP_MUL_MEAT_2_wide): Likewise.
44051         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
44052         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
44053         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
44054         (_FP_MUL_MEAT_2_gmp): Likewise.
44055         (_FP_DIV_MEAT_2_udiv): Likewise.
44056         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
44057         (_FP_FRAC_SRL_4): Likewise.
44058         (_FP_FRAC_SRST_4): Likewise.
44059         (_FP_FRAC_SRS_4): Likewise.
44060         (_FP_UNPACK_RAW_4): Likewise.
44061         (_FP_UNPACK_RAW_4_P): Likewise.
44062         (_FP_PACK_RAW_4): Likewise.
44063         (_FP_PACK_RAW_4_P): Likewise.
44064         (_FP_MUL_MEAT_DW_4_wide): Likewise.
44065         (_FP_MUL_MEAT_4_wide): Likewise.
44066         (_FP_MUL_MEAT_4_gmp): Likewise.
44067         (umul_ppppmnnn): Likewise.
44068         (_FP_DIV_MEAT_4_udiv): Likewise.
44069         (__FP_FRAC_ADD_4): Likewise.
44070         (__FP_FRAC_SUB_3): Likewise.
44071         (__FP_FRAC_SUB_4): Likewise.
44072         (__FP_FRAC_DEC_3): Likewise.
44073         (__FP_FRAC_DEC_4): Likewise.
44074         (__FP_FRAC_ADDI_4): Likewise.
44075         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
44076         (_FP_FRAC_SRL_8): Likewise.
44077         (_FP_FRAC_SRS_8): Likewise.
44079         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
44080         include macro name.
44081         (FP_UNPACK_RAW_EP): Likewise.
44082         (FP_PACK_RAW_E): Likewise.
44083         (FP_PACK_RAW_EP): Likewise.
44084         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
44085         (_FP_ISSIGNAN): Likewise.
44086         (_FP_ADD_INTERNAL): Likewise.
44087         (_FP_FMA): Likewise.
44088         (_FP_CMP): Likewise.
44089         (_FP_SQRT): Likewise.
44090         (_FP_TO_INT): Likewise.
44091         (_FP_FROM_INT): Likewise.
44092         (FP_EXTEND): Likewise.
44093         (_FP_DIV_MEAT_N_loop): Likewise.
44095 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
44097         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
44098         throughout.
44100 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
44102         [BZ #17097]
44103         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
44104         result with correct sign in case of exponents that produce
44105         overflow except for X very close to 1.
44107 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
44109         mktime: merge #if/#ifdef usage from glibc
44110         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
44111         as that works with both Glibc's and Gnulib's style.
44112         See thread starting at Siddhesh Poyarekar's bug report at:
44113         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
44115 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44117         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
44118         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
44119         * sysdeps/tile/tilegx/memmove.c: Remove file.
44121 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
44123         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
44124         abi-name definition.
44125         * scripts/soversions.awk: Do not handle or generate ABI lines.
44126         * shlib-versions: Remove ABI entries.
44127         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
44128         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
44130 2014-06-27  Roland McGrath  <roland@hack.frob.com>
44132         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
44133         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
44134         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
44135         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
44136         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
44137         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
44138         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
44139         Moved ...
44140         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
44141         ... here.
44142         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
44143         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
44144         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
44145         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
44146         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
44147         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
44148         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
44149         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
44150         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
44151         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
44152         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
44153         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
44154         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
44155         Moved ...
44156         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
44157         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
44158         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
44159         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
44160         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
44161         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
44162         Moved ...
44163         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
44164         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
44165         Moved ...
44166         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
44167         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
44168         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
44169         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
44170         Moved ...
44171         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
44172         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
44173         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
44174         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
44175         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
44176         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
44177         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
44178         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
44179         Moved ...
44180         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
44181         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
44182         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
44183         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
44184         Moved ...
44185         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
44186         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
44187         Moved ...
44188         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
44189         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
44190         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
44191         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
44192         Moved ...
44193         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
44194         ... here.
44195         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
44196         Identical file removed.
44197         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
44198         Moved ...
44199         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
44200         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
44201         Identical file removed.
44202         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
44203         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
44204         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
44205         Moved ...
44206         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
44207         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
44208         Identical file removed.
44209         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
44210         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
44211         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
44212         Identical file removed.
44213         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
44214         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
44215         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
44216         Identical file removed.
44217         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
44218         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
44219         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
44220         Identical file removed.
44221         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
44222         Moved ...
44223         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
44224         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
44225         Identical file removed.
44226         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
44227         Moved ...
44228         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
44229         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
44230         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
44231         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
44232         Identical file removed.
44233         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
44234         Moved ...
44235         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
44236         ... here.
44237         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
44238         Identical file removed.
44239         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
44240         Moved ...
44241         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
44242         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
44243         Identical file removed.
44244         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
44245         Moved ...
44246         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
44247         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
44248         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
44249         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
44250         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
44251         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
44252         Moved ...
44253         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
44254         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
44255         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
44257         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
44258         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
44259         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
44260         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
44261         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
44263 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
44265         [BZ #17092]
44266         * nscd/nscd.c (monitor_child): Return exit status of child
44267         instead of return value from wait syscall.
44269 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
44271         * configure.ac (libc_commonpagesize): Remove variable.
44272         (libc_relro_required): Likewise.
44273         (libc_cv_z_relro): Remove configure test.
44274         * configure: Regenerated.
44275         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
44276         variable.
44277         (libc_relro_required): Likewise.
44278         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
44279         (libc_relro_required): Likewise.
44280         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
44281         (libc_relro_required): Likewise.
44282         * sysdeps/arm/preconfigure: Regenerated.
44283         * sysdeps/ia64/preconfigure: Remove file.
44284         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
44285         variable.
44286         (libc_relro_required): Likewise.
44288         [BZ #16561]
44289         [BZ #16562]
44290         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
44291         (__ieee754_yn): Set FE_TONEAREST mode internally and then
44292         recompute overflowing results in original rounding mode.
44293         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
44294         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
44295         recompute overflowing results in original rounding mode.
44296         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
44297         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
44298         recompute overflowing results in original rounding mode.
44299         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
44300         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
44301         recompute overflowing results in original rounding mode.
44302         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
44303         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
44304         recompute overflowing results in original rounding mode.
44305         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
44306         (libc_feholdsetround_ctx): New macro.
44307         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
44308         * sysdeps/i386/fpu/libm-test-ulps: Update.
44309         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
44311 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
44313         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
44314         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
44315         corresponding .cpsetup call.
44317 2014-06-26  Roland McGrath  <roland@hack.frob.com>
44319         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
44320         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
44321         * sysdeps/arm/Makefile [$(subdir) = csu]
44322         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
44323         (static-only-routines): Add aeabi_read_tp here.
44324         (shared-only-routines): Add libc-aeabi_read_tp here.
44325         (CFLAGS-libc-start.c): Add -fexceptions here.
44326         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
44327         (sysdep_routines, static-only-routines, shared-only-routines):
44328         Don't add to these here.
44329         (CFLAGS-libc-start.c): Likewise.
44331         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
44332         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
44333         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
44334         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
44335         * sysdeps/arm/Makefile [$(subdir) = rt]
44336         (librt-sysdep_routines, librt-shared-only-routines):
44337         Append rt-aeabi_unwind_cpp_pr1 here.
44338         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
44339         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
44340         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
44341         (libpthread-sysdep_routines, libpthread-shared-only-routines):
44342         Append nptl-aeabi_unwind_cpp_pr1 here.
44343         (tests): Filter out tst-cleanupx4 here.
44344         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
44345         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
44346         Don't do those here.
44348 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
44350         * scripts/list-sources.sh: Do not handle ports specially.
44352 2014-06-26  Roland McGrath  <roland@hack.frob.com>
44354         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
44355         * sysdeps/arm/feupdateenv.c: Likewise.
44357         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
44359 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
44361         * manual/texinfo.tex: Update to version 2014-05-05.10 with
44362         trailing whitespace removed.
44363         * scripts/config.guess: Update to version 2014-03-23.
44364         * scripts/config.sub: Update to version 2014-05-01
44365         * scripts/install-sh: Update to version 2013-12-25.23.
44366         * scripts/move-if-change: Update from gnulib.
44368 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44370         * debug/memmove_chk.c: Remove pagecopy.h include.
44372 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
44374         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
44375         identical to gnulib mktime.
44377 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
44379         * configure.ac: Do not test for machine being rs6000.  Do not test
44380         for powerpc*-*soft.
44381         * configure: Regenerated.
44383         [BZ #11505]
44384         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
44385         test.
44386         * configure: Regenerated.
44387         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
44388         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
44389         Remove configure test.
44390         * sysdeps/arm/configure: Regenerated.
44391         * sysdeps/nptl/configure.ac: Do not check
44392         libc_cv_asm_cfi_directives.
44393         * sysdeps/nptl/configure: Regenerated.
44394         * sysdeps/x86_64/nptl/configure.ac: Remove file.
44395         * sysdeps/x86_64/nptl/configure: Remove generated file.
44396         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
44397         unconditional.
44398         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
44400 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44402         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
44403         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
44404         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
44405         it is defined.
44407         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
44408         instead of whether it is defined.
44409         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
44410         * sysdeps/hppa/dl-machine.h: Likewise.
44411         * sysdeps/ia64/dl-machine.h: Likewise.
44412         * sysdeps/m68k/dl-machine.h: Likewise.
44413         * sysdeps/microblaze/dl-machine.h: Likewise.
44414         * sysdeps/mips/dl-machine.: Likewise.
44415         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44416         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44417         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44418         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44419         * sysdeps/sh/dl-machine.h: Likewise.
44420         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44421         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44422         * sysdeps/tile/dl-machine.h: Likewise.
44423         * sysdeps/x86_64/dl-machine.h: Likewise.
44425         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
44426         code.
44427         (verify_persistent_db): Likewise.
44429 2014-06-26  Roland McGrath  <roland@hack.frob.com>
44431         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
44432         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
44433         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
44434         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
44435         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44436         Moved ...
44437         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
44438         ... here.
44439         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
44440         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
44441         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
44442         Identical file removed.
44443         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
44444         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
44445         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
44446         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
44447         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
44448         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
44449         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
44450         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
44451         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
44452         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
44453         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44454         Moved ...
44455         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
44456         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
44457         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
44458         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
44459         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
44460         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44461         Moved ...
44462         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
44463         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
44464         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
44465         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
44466         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
44467         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
44468         Identical file removed.
44469         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
44470         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
44471         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
44472         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
44473         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44474         Moved ...
44475         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
44476         ... here.
44477         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
44478         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
44479         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
44480         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
44481         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
44482         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
44483         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
44484         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
44485         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
44486         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
44487         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44488         Moved ...
44489         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
44490         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
44491         Moved ...
44492         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
44493         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
44494         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
44495         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44496         Moved ...
44497         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
44498         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
44499         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
44501         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
44502         folded into ...
44503         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
44504         * sysdeps/unix/sysv/linux/s390/Versions
44505         (libpthread: GLIBC_2.19): New version set.
44506         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
44507         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
44508         (librt: GLIBC_2.3.3): New version set.
44509         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
44510         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
44511         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
44512         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
44513         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
44514         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
44515         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
44516         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
44517         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
44518         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
44519         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
44520         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
44521         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
44522         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
44523         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
44524         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
44525         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
44526         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
44527         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
44528         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
44529         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
44530         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
44531         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
44532         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
44533         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
44534         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
44535         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
44536         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
44537         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
44538         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
44539         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
44540         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
44541         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
44542         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
44543         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
44544         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
44545         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
44546         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
44547         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
44548         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
44549         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
44550         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
44551         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
44552         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
44553         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
44555         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
44556         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
44557         (__libc_vfork): Define the function under this name.
44558         [!NOT_IN_libc] (__vfork): Make this an alias.
44559         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
44560         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
44561         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
44562         (__libc_vfork): Define the function under this name.
44563         [!NOT_IN_libc] (__vfork): Make this an alias.
44564         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
44565         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
44566         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
44567         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
44568         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
44569         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
44571         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
44572         code that was previously under [RESET_PID].
44573         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
44574         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
44575         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
44577         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
44578         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
44579         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
44580         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
44581         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
44582         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
44583         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
44584         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
44585         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
44586         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
44587         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
44588         Moved ...
44589         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
44590         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
44591         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
44592         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
44593         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
44594         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
44595         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
44596         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
44597         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
44598         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
44599         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
44600         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
44601         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
44602         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
44603         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
44604         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
44605         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
44606         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
44607         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
44608         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
44609         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
44610         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
44611         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
44612         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
44613         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
44614         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
44615         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
44616         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
44617         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
44619 2014-06-25  Roland McGrath  <roland@hack.frob.com>
44621         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
44622         that was previously under [RESET_PID].
44623         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
44625 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
44627         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
44628         not undefine and redefine.
44629         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
44630         [O_CLOEXEC]: Make code unconditional.
44631         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
44632         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
44633         <kernel-features.h>.
44634         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
44635         conditional variable definition.
44636         (shm_open) [O_CLOEXEC]: Make code unconditional.
44637         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
44638         code.
44640         * configure.ac (USE_REGPARMS): Don't define here.
44641         * configure: Regenerated.
44642         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
44643         * sysdeps/i386/configure: Regenerated.
44645         * nptl/createthread.c: Don't include kernel-features.h.
44646         * nptl/pthread_cancel.c: Likewise.
44647         * nptl/pthread_condattr_setclock.c: Likewise.
44648         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
44649         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
44650         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
44651         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
44652         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
44653         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
44654         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
44655         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
44656         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
44657         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
44658         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
44659         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
44660         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
44661         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
44662         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
44663         * nscd/gai.c: Likewise.
44664         * nss/nss_db/db-open.c: Likewise.
44665         * sysdeps/generic/ldsodefs.h: Likewise.
44666         * sysdeps/sh/nptl/tls.h: Likewise.
44667         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
44668         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
44669         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
44670         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
44671         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
44672         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
44673         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
44674         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
44675         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
44676         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
44677         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
44678         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
44679         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
44680         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
44681         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
44682         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
44683         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
44684         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
44685         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
44686         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
44687         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
44688         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
44689         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
44690         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
44691         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
44692         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
44693         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
44694         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
44695         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
44696         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
44697         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
44698         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
44699         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
44700         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
44701         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
44702         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
44703         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
44704         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
44705         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
44706         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
44707         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
44708         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
44709         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
44710         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
44711         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
44712         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
44713         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
44714         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
44715         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
44716         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
44717         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
44718         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
44719         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
44720         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
44721         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
44722         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
44723         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
44724         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
44725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
44726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
44727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
44728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
44729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
44730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
44731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
44732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
44733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
44734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
44735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
44736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
44737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
44738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
44739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
44740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
44741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
44742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
44743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
44744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
44745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
44746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
44747         * sysdeps/unix/sysv/linux/pread.c: Likewise.
44748         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
44749         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
44750         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
44751         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
44752         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
44753         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
44754         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
44755         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
44756         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
44757         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
44758         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
44759         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
44760         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
44761         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
44762         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
44763         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
44764         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
44765         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
44766         * sysdeps/unix/sysv/linux/system.c: Likewise.
44767         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
44768         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
44769         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
44770         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
44771         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
44772         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
44773         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
44775         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
44776         * configure: Regenerated.
44777         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
44779         * configure.ac (base_machine): Do not set specially for particular
44780         machines here.
44781         * configure: Regenerated.
44782         * sysdeps/powerpc/preconfigure: Move machine and base_machine
44783         settings from configure.ac.
44784         * sysdeps/i386/preconfigure: New file.
44785         * sysdeps/s390/preconfigure: Likewise.
44786         * sysdeps/sh/preconfigure: Likewise.
44787         * sysdeps/sparc/preconfigure: Likewise.
44789 2014-06-25  Roland McGrath  <roland@hack.frob.com>
44791         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
44792         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
44793         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
44794         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
44795         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
44796         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
44797         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
44798         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
44799         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
44800         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
44801         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
44802         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
44803         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
44804         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
44805         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
44806         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
44807         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
44808         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
44809         * sysdeps/sparc/sparc64/Makefile: ... appended here.
44811         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
44812         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
44813         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
44814         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
44815         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
44816         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
44817         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
44818         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
44819         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
44820         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
44821         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
44822         * sysdeps/sparc/sparc32/sem_post.c: ... here.
44823         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
44824         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
44825         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
44826         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
44827         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
44828         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
44829         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
44830         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
44831         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
44832         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
44833         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
44834         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
44835         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
44836         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
44837         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
44838         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
44839         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
44840         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
44841         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
44842         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
44843         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
44844         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
44845         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
44846         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
44847         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
44848         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
44850         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
44851         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
44852         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
44853         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
44854         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44855         Moved ...
44856         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
44857         ... here.
44858         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
44859         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
44860         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
44861         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
44862         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
44863         Moved ...
44864         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
44865         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
44866         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
44867         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
44868         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
44869         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
44870         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
44871         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44872         Moved ...
44873         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
44874         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44875         Moved ...
44876         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
44877         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
44878         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
44879         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44880         Moved ...
44881         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
44882         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
44883         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
44884         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
44885         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
44886         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
44887         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
44888         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
44889         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
44890         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44891         Moved ...
44892         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
44893         ... here.
44894         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
44895         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
44896         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
44897         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
44898         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
44899         Moved ...
44900         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
44901         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
44902         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
44903         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
44904         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
44905         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
44906         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
44907         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44908         Moved ...
44909         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
44910         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44911         Moved ...
44912         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
44913         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
44914         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
44915         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44916         Moved ...
44917         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
44918         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
44919         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
44920         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
44921         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
44923 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
44925         * timezone/checktab.awk: Update from tzcode 2014e.
44926         * timezone/private.h: Likewise.
44927         * timezone/tzfile.h: Likewise.
44928         * timezone/zdump.c: Likewise.
44929         * timezone/zic.c: Likewise.
44931         * sysdeps/unix/sysv/linux/kernel-features.h
44932         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
44933         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
44934         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
44935         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
44936         Remove conditional code.
44938 2014-06-25  Will Newton  <will.newton@linaro.org>
44940         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
44941         (_dl_arm_cap_flags): Add HWCAP2 values.
44942         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
44943         (_DL_HWCAP_COUNT): Increase to 37.
44944         (_DL_HWCAP_LAST): New define.
44945         (_DL_HWCAP2_LAST): New define.
44946         (_dl_procinfo): Add support for printing
44947         AT_HWCAP2 entries.
44948         (_dl_string_hwcap): Use _dl_hwcap_string.
44950 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44952         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44954 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
44956         * README: Do not mention ports directory.
44958         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
44959         Remove macro.
44960         * sysdeps/unix/sysv/linux/futimes.c: Do not include
44961         <kernel-features.h>.
44962         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
44963         conditional variable definition.
44964         (__futimes): Update comment.
44965         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
44966         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
44968         [BZ #16560]
44969         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
44970         arguments close to 0.
44971         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
44972         Likewise.
44973         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
44974         Likewise.
44975         * math/auto-libm-test-in: Add more tests of exp10.
44976         * math/auto-libm-test-out: Regenerated.
44977         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44979         * sysdeps/unix/sysv/linux/kernel-features.h
44980         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
44981         * sysdeps/unix/sysv/linux/readv.c: Do not include
44982         <kernel-features.h>.
44983         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
44984         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
44985         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
44986         unconditional.
44987         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
44988         conditional code.
44989         * sysdeps/unix/sysv/linux/writev.c: Do not include
44990         <kernel-features.h>.
44991         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
44992         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
44993         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
44994         unconditional.
44995         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
44996         conditional code.
44998 2014-06-25  Will Newton  <will.newton@linaro.org>
45000         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
45001         comment changes throughout the file.  Remove checks
45002         for HAVE_*_H definitions that are not required.
45003         (__gen_tempname): Call abort if an unknown kind value is
45004         passed.
45006 2014-06-25  Andreas Schwab  <schwab@suse.de>
45008         [BZ #17086]
45009         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
45010         scalbln, scalblnf, scalblnl in libc.
45012 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45014         [BZ #17086]
45015         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
45016         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
45017         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
45019 2014-06-24  Roland McGrath  <roland@hack.frob.com>
45021         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
45022         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
45023         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
45024         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
45025         Update #include.
45026         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
45027         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
45028         Update #include.
45029         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
45030         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
45031         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
45032         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
45033         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
45034         * sysdeps/x86/bits/pthreadtypes.h: ... here.
45035         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
45036         * sysdeps/x86/bits/semaphore.h: ... here.
45037         * sysdeps/x86/nptl/elide.h: Moved ...
45038         * sysdeps/x86/elide.h: ... here.
45039         * sysdeps/x86_64/nptl/Implies: File removed.
45040         * sysdeps/i386/nptl/Implies: File removed.
45042 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
45044         [BZ #16539]
45045         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
45046         return the argument for normal arguments with exponent below -64.
45047         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
45048         Likewise.
45049         * math/auto-libm-test-in: Add another test of expm1.
45050         * math/auto-libm-test-out: Regenerated.
45052         [BZ #16287]
45053         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
45054         calling __erfcl for arguments at least 16.
45055         * math/auto-libm-test-in: Add more tests of erf.
45056         * math/auto-libm-test-out: Regenerated.
45058         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
45059         individual architectures.
45060         * sysdeps/unix/sysv/linux/configure: Regenerated.
45061         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
45062         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
45063         * sysdeps/unix/sysv/linux/powerpc/configure.ac
45064         (ldd_rewrite_script): Define variable.
45065         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
45066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
45067         file.
45068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
45069         generated file.
45070         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
45071         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
45072         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
45073         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
45074         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
45075         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
45076         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
45077         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
45079 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45081         [BZ #17084]
45082         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
45083         Rename member __data.d to __data.__elision_data.
45085 2014-06-24  Wilco  <wdijkstr@arm.com>
45087         * NEWS: Add 16918 to fixed bug list.
45089 2014-06-24  Wilco  <wdijkstr@arm.com>
45091         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
45093 2014-06-24  Wilco  <wdijkstr@arm.com>
45095         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
45096         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
45097         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
45098         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
45099         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
45100         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
45101         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
45102         Use _FPU_MASK_RM.
45104 2014-06-24  Wilco  <wdijkstr@arm.com>
45106         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
45108 2014-06-24  Wilco  <wdijkstr@arm.com>
45110         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
45111         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
45112         * sysdeps/arm/fesetround.c (fesetround): Remove space.
45113         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
45115 2014-06-24  Wilco  <wdijkstr@arm.com>
45117         [BZ #16918]
45118         * sysdeps/arm/feupdateenv.c (feupdateenv):
45119         Rewrite to reduce FPSCR accesses and fix return value.
45121 2014-06-24  Wilco  <wdijkstr@arm.com>
45123         * sysdeps/arm/fclrexcpt.c (feclearexcept):
45124         Optimize to avoid unnecessary FPSCR writes.
45125         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
45126         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
45127         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
45128         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
45130 2014-06-24  Wilco  <wdijkstr@arm.com>
45132         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
45133         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
45134         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
45135         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
45136         Call libc_fetestexcept_vfp.
45137         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
45138         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
45139         __SOFTFP__ ifdef so that they can be built for softfp.
45141 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45143         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
45144         argument type signed char.
45146         * Makerules (check-abi): Dump diff of symlist if the test
45147         fails.
45149 2014-06-23  Roland McGrath  <roland@hack.frob.com>
45151         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
45152         using abort.
45154         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
45155         Remove unused variable ST.
45157 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
45159         [BZ #16354]
45160         [BZ #17061]
45161         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
45162         small arguments before calling __expm1.
45163         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
45164         small arguments before calling __expm1f.
45165         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
45166         small arguments before calling __expm1l.
45167         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
45168         Likewise.
45169         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
45170         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
45171         spurious underflow for some cosh tests.
45172         * math/auto-libm-test-out: Regenerated.
45173         * sysdeps/i386/fpu/libm-test-ulps: Update.
45175         [BZ #17050]
45176         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
45177         (__ieee754_y1): Set errno if return value overflows.
45178         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
45179         (__ieee754_y1f): Set errno if return value overflows.
45180         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
45181         (__ieee754_y1l): Set errno if return value overflows.
45182         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
45183         (__ieee754_y1l): Set errno if return value overflows.
45184         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
45185         * math/auto-libm-test-out: Regenerated.
45187         * math/gen-auto-libm-tests.c: Document use of
45188         ignore-zero-inf-sign.
45189         (input_flag_type): Add value flag_ignore_zero_inf_sign.
45190         (input_flags): Add ignore-zero-inf-sign.
45191         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
45192         * math/gen-libm-test.pl (generate_testfile): Handle
45193         ignore-zero-inf-sign.
45194         * math/auto-libm-test-in: Mark some cpow tests with
45195         ignore-zero-inf-sign and some with xfail-rounding.
45196         * math/auto-libm-test-out: Regenerated.
45197         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
45198         * sysdeps/i386/fpu/libm-test-ulps: Update.
45199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45201         [BZ #16315]
45202         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
45203         overflowing or underflowing operations take place with sign of
45204         result.
45205         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45206         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
45207         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
45208         (__ieee754_pow): Recompute overflowing and underflowing results in
45209         original rounding mode.
45210         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
45211         (__powl_helper): Allow negative argument X and scale negated value
45212         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
45213         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
45214         overflowing or underflowing operations take place with sign of
45215         result.
45216         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
45217         Include <math.h>.
45218         * math/auto-libm-test-in: Add more tests of pow.
45219         * math/auto-libm-test-out: Regenerated.
45220         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
45221         (pow_tonearest_test_data): Remove.
45222         (pow_test_tonearest): Likewise.
45223         (pow_towardzero_test_data): Likewise.
45224         (pow_test_towardzero): Likewise.
45225         (pow_downward_test_data): Likewise.
45226         (pow_test_downward): Likewise.
45227         (pow_upward_test_data): Likewise.
45228         (pow_test_upward): Likewise.
45229         (main): Don't call removed functions.
45230         * sysdeps/i386/fpu/libm-test-ulps: Update.
45231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45233 2014-06-23  Roland McGrath  <roland@hack.frob.com>
45235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
45236         Moved ...
45237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
45238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45239         Moved ...
45240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
45241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45242         Moved ...
45243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
45244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
45245         Moved ...
45246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
45247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
45248         File removed.
45249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45250         File removed.
45251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
45252         File removed.
45253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
45254         File removed.
45255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
45256         File removed.
45257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
45258         File removed.
45259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
45260         File removed.
45261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45262         File removed.
45263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
45264         File removed.
45265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45266         File removed.
45267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
45268         File removed.
45269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
45270         File removed.
45271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
45272         Moved ...
45273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
45274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
45275         Moved ...
45276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
45277         ... here.
45278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
45279         Moved ...
45280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
45281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
45282         Moved ...
45283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
45284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
45285         Moved ...
45286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
45287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
45288         Moved ...
45289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
45290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
45291         Moved ...
45292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
45293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
45294         Moved ...
45295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
45296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
45297         Moved ...
45298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
45299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
45300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
45301         ... here.
45302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
45303         Moved ...
45304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
45305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
45306         Moved ...
45307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
45308         ... here.
45309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
45310         Moved ...
45311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
45312         ... here.
45313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
45314         Moved ...
45315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
45316         ... here.
45317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
45318         Moved ...
45319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
45320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
45321         Moved ...
45322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
45323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
45324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
45325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
45326         Moved ...
45327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
45328         ... here.
45329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45330         Moved ...
45331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
45332         ... here.
45333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
45334         Moved ...
45335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
45336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45337         Moved ...
45338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
45339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
45340         Moved ...
45341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
45342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45343         Moved ...
45344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
45345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
45346         Moved ...
45347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
45348         ... here.
45349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45350         Moved ...
45351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
45352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
45353         Moved ...
45354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
45355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45356         Moved ...
45357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
45358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
45359         Moved ...
45360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
45361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
45362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
45363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
45364         Moved ...
45365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
45366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45367         Moved ...
45368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
45369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
45370         Moved ...
45371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
45372         ... here.
45373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45374         Moved ...
45375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
45376         ... here.
45377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
45378         Moved ...
45379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
45380         ... here.
45381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45382         Moved ...
45383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
45384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
45385         Moved ...
45386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
45387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45388         Moved ...
45389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
45390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
45391         Moved ...
45392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
45393         ... here.
45394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45395         Moved ...
45396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
45397         ... here.
45398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
45399         Moved ...
45400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
45401         ... here.
45402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45403         Moved ...
45404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
45405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
45406         Moved ...
45407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
45409 2014-06-23  Will Newton  <will.newton@linaro.org>
45410             Wilco  <wdijkstr@arm.com>
45412         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
45413         implementation.  Include get-rounding-mode.h.
45414         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
45415         [!libc_feholdsetround_noex_ctx]: Define
45416         libc_feholdsetround_noex_ctx.
45417         [!libc_feholdsetround_noexf_ctx]: Define
45418         libc_feholdsetround_noexf_ctx.
45419         [!libc_feholdsetround_noexl_ctx]: Define
45420         libc_feholdsetround_noexl_ctx.
45421         (libc_feholdsetround_ctx): New function.
45422         (libc_feresetround_ctx): New function.
45423         (libc_feholdsetround_noex_ctx): New function.
45424         (libc_feresetround_noex_ctx): New function.
45426 2014-06-23  Roland McGrath  <roland@hack.frob.com>
45428         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
45429         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
45430         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
45431         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
45432         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
45433         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
45435         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
45436         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
45437         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
45438         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
45439         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
45440         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
45441         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
45442         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
45443         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
45444         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
45445         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
45446         Moved ...
45447         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
45448         ... here.
45449         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
45450         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
45451         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
45452         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
45453         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
45454         Moved ...
45455         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
45456         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
45457         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
45458         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
45459         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
45460         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
45461         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
45462         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
45463         Moved ...
45464         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
45465         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
45466         Moved ...
45467         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
45468         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
45469         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
45470         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
45471         Moved ...
45472         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
45473         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
45474         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
45475         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
45476         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
45477         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
45478         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
45479         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
45480         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
45481         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
45482         Moved ...
45483         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
45484         ... here.
45485         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
45486         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
45487         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
45488         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
45489         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
45490         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
45491         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
45492         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
45493         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
45494         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
45495         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
45496         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
45497         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
45498         Moved ...
45499         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
45500         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
45501         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
45502         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
45503         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
45504         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
45505         Moved ...
45506         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
45507         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
45508         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
45509         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
45510         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
45512         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
45513         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
45514         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
45515         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
45516         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
45517         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
45518         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
45519         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
45520         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
45521         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
45522         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
45523         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
45524         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
45525         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
45526         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
45527         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
45528         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
45529         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
45530         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
45531         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
45532         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
45533         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
45534         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
45535         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
45536         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
45537         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
45538         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
45539         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
45541 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
45543         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
45544         (FALLOC_FL_COLLAPSE_RANGE): New macro.
45545         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
45546         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
45547         (IPV6_PMTUDISC_INTERFACE): Likewise.
45548         (IPV6_PMTUDISC_OMIT): Likewise.
45550 2014-06-23  Andreas Schwab  <schwab@suse.de>
45552         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
45553         Remove unused errout label.
45555 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45557         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
45558         macro: hardware supports Vector Crypto instructions.
45560 2014-06-23  Will Newton  <will.newton@linaro.org>
45562         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
45563         rather than __builtin_expect.
45565         * elf/dl-lookup.c (undefined_msg): Remove variable.
45566         (_dl_lookup_symbol_x): Replace undefined_msg with string
45567         literal.
45569         * elf/dl-lookup.c (do_lookup_unique): New function.
45570         (do_lookup_x): Move STB_GNU_UNIQUE handling code
45571         to a separate function.
45573 2014-06-23  Andreas Schwab  <schwab@suse.de>
45575         [BZ #17079]
45576         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
45577         before reading the next line.
45579 2014-06-23  Will Newton  <will.newton@linaro.org>
45581         * test-skeleton.c (signal_handler): Use printf and %m
45582         rather than perror.  Use printf rather than fprintf to
45583         stderr.  Use puts rather than fputs to stderr.
45584         (main): Likewise.
45586 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
45588         * nscd/nscd.c (thread_info_t): Remove typedef.
45589         (thread_info): Remove variable.
45591 2014-06-21  Allan McRae  <allan@archlinux.org>
45593         * NEWS: Mention CVE-2014-4043.
45595 2014-06-20  Roland McGrath  <roland@hack.frob.com>
45597         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
45598         * nptl/smp.h: ... here.
45600         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
45602         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
45603         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
45604         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
45605         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
45607         * nptl/allocatestack.c: Include <stack-aliasing.h>.
45608         * nptl/stack-aliasing.h: New file.
45609         * sysdeps/i386/i686/stack-aliasing.h: New file.
45610         * sysdeps/i386/i686/nptl/Makefile: File removed.
45611         * sysdeps/x86_64/stack-aliasing.h: New file.
45612         * sysdeps/x86_64/nptl/Makefile
45613         (CFLAGS-pthread_create.c): Variable removed.
45615         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
45616         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
45617         old file.
45618         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
45619         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
45620         old file.
45622 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
45624         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45625         (__ASSUME_SIGFRAME_V2): Remove macro.
45626         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
45627         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
45628         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
45629         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
45630         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
45631         Declare as function.  Remove conditional macro definitions.
45632         (__default_rt_sa_restorer): Likewise.
45633         (__default_sa_restorer_v1): Remove declaration.
45634         (__default_sa_restorer_v2): Likewise.
45635         (__default_rt_sa_restorer_v1): Likewise.
45636         (__default_rt_sa_restorer_v2): Likewise.
45637         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
45638         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
45639         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
45641 2014-06-20  Roland McGrath  <roland@hack.frob.com>
45643         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
45644         (libpthread-routines): Add sysdep.
45645         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
45646         * sysdeps/unix/sysv/linux/sparc/Versions
45647         (libpthread: GLIBC_2.3.3): New version set.
45648         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
45649         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
45650         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
45651         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
45652         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
45653         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
45654         Moved ...
45655         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
45656         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
45657         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
45658         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
45659         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
45660         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
45661         * sysdeps/sparc/nptl/sem_init.c: ... here.
45662         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
45663         * sysdeps/sparc/nptl/sem_post.c: ... here.
45664         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
45665         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
45666         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
45667         * sysdeps/sparc/nptl/sem_wait.c: ... here.
45668         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
45669         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
45670         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
45671         (libpthread-routines): Add cpu_relax.
45672         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
45673         File removed.
45674         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
45675         (librt: GLIBC_2.3.3): New version set.
45676         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
45677         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
45678         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
45679         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
45680         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
45681         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
45682         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
45683         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
45684         Moved ...
45685         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
45686         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
45687         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
45688         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
45689         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
45690         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
45691         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
45692         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
45693         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
45694         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
45695         Moved ...
45696         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
45697         Update #include.
45698         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
45699         Moved ...
45700         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
45701         Update #include.
45702         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
45703         Moved ...
45704         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
45705         Update #include.
45706         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
45707         Moved ...
45708         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
45709         Update #include.
45710         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
45711         Moved ...
45712         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
45713         Update #include.
45714         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
45715         Moved ...
45716         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
45717         Update #include.
45718         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
45719         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
45720         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
45721         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
45722         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
45723         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
45724         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
45725         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
45726         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
45727         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
45728         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
45729         Moved ...
45730         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
45731         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
45732         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
45733         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
45734         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
45736 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
45738         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
45739         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
45740         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
45741         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
45742         * nscd/nscd.c: Likewise.
45743         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
45744         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
45745         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
45746         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
45748         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
45749         <kernel-features.h>.
45750         (init_mq_netlink): Remove conditional have_sock_cloexec
45751         definitions.  Remove code conditional on have_sock_cloexec < 0.
45752         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
45753         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
45754         * sysdeps/unix/sysv/linux/opensock.c: Do not include
45755         <kernel-features.h>.
45756         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
45757         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
45759 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
45761         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45762         Add tests for memset_chk and memset.
45764         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
45765         with AVX2_Usable.
45767 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
45769         [BZ #16046]
45770         * elf/tst-dl-iter-static.c: New file.
45771         * elf/Makefile (tests-static): Add tst-dl-iter-static.
45773         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
45774         error.
45776 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
45778         * sysdeps/unix/sysv/linux/kernel-features.h
45779         (__ASSUME_F_GETOWN_EX): Remove macro.
45780         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
45781         <kernel-features.h>.
45782         (miss_F_GETOWN_EX): Remove variable or macro.
45783         (do_fcntl): Do not check miss_F_GETOWN_EX.
45784         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
45786         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
45787         Remove macro.
45788         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
45789         [!__ASSUME_AT_RANDOM]: Remove conditional code.
45790         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
45792         * sysdeps/unix/sysv/linux/kernel-features.h
45793         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
45794         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
45795         [ADJ_OFFSET_SS_READ]: Make code unconditional.
45796         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
45798 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
45800         [BZ #17075]
45801         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
45802         Fix calculation of the symbol's value.
45803         * sysdeps/arm/tst-armtlsdescloc.c: New file.
45804         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
45805         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
45806         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
45807         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
45808         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
45809         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
45810         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
45811         (modules-names): Add `tst-armtlsdescmod',
45812         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
45813         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
45814         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
45815         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
45816         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
45817         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
45818         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
45819         ($(objpfx)tst-armtlsdescloc): New dependency.
45820         ($(objpfx)tst-armtlsdescextnow): Likewise.
45821         ($(objpfx)tst-armtlsdescextlazy): Likewise.
45822         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
45823         TLS scheme support.
45824         * sysdeps/arm/configure: Regenerate.
45826 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
45828         * include/fcntl.h (__atfct_seterrno): Remove prototype.
45829         (__atfct_seterrno_2): Likewise.
45830         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
45831         <kernel-features.h>.
45832         (__ASSUME_ATFCTS): Do not undefine and redefine.
45833         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
45834         (__have_atfcts): Remove conditional definition.
45835         (__fxstatat([__NR_fstatat64]: Make code unconditional.
45836         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
45837         unreachable if [__ASSUME_ATFCTS].
45838         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
45839         not undefine and redefine.
45840         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
45841         <kernel-features.h>.
45842         (faccessat) [__NR_faccessat]: Make code unconditional.
45843         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
45844         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
45845         <kernel-features.h>.
45846         (fchmodat) [__NR_fchmodat]: Make code unconditional.
45847         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
45848         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
45849         <kernel-features.h>.
45850         (fchownat) [__NR_fchownat]: Make code unconditional.
45851         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
45852         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
45853         <kernel-features.h>.
45854         (futimesat) [__NR_futimesat]: Make code unconditional.
45855         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
45856         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
45857         <kernel-features.h>.
45858         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
45859         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
45860         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
45861         <kernel-features.h>.
45862         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
45863         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
45864         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
45865         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
45866         <kernel-features.h>.
45867         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
45868         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
45869         * sysdeps/unix/sysv/linux/linkat.c: Do not include
45870         <kernel-features.h>.
45871         (linkat) [__NR_linkat]: Make code unconditional.
45872         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
45873         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
45874         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
45875         <kernel-features.h>.
45876         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
45877         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
45878         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
45879         <kernel-features.h>.
45880         (mkdirat) [__NR_mkdirat]: Make code unconditional.
45881         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
45882         * sysdeps/unix/sysv/linux/openat.c: Do not include
45883         <kernel-features.h>.
45884         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
45885         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
45886         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
45887         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
45888         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
45889         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
45890         <kernel-features.h>.
45891         (readlinkat) [__NR_readlinkat]: Make code unconditional.
45892         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
45893         result of INLINE_SYSCALL directly, not via int variable.
45894         * sysdeps/unix/sysv/linux/renameat.c: Do not include
45895         <kernel-features.h>.
45896         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
45897         (renameat) [__NR_renameat]: Make code unconditional.
45898         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
45899         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
45900         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
45901         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
45902         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
45903         (__ASSUME_ATFCTS): Do not undefine and redefine.
45904         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
45905         <kernel-features.h>.
45906         (symlinkat) [__NR_symlinkat]: Make code unconditional.
45907         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
45908         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
45909         <kernel-features.h>.
45910         (unlinkat) [__NR_unlinkat]: Make code unconditional.
45911         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
45912         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
45913         (__ASSUME_ATFCTS): Do not undefine and redefine.
45914         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
45915         <kernel-features.h>.
45916         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
45917         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
45918         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
45919         <kernel-features.h>.
45920         (__xmknodat) [__NR_mknodat]: Make code unconditional.
45921         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
45923 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
45925         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
45927 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
45929         [BZ #17069]
45930         * posix/regcomp.c (parse_reg_exp): Deallocate partially
45931         constructed tree before returning error.
45932         * posix/bug-regexp36.c: Expand test case.
45934 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
45936         [BZ #6803]
45937         * math/libm-test.inc (scalbln_test_date):
45938         Add errno expectations.
45939         * math/w_scalblnf.c: New File.
45940         Add wrapper which checks for setting errno to ERANGE.
45941         Add weak_alias for corresponding scalbln function.
45942         * math/w_scalbln.c: Likewise.
45943         * math/w_scalblnl.c: Likewise.
45944         * math/Makefile (libm-calls): Add w_scalbln.
45945         * sysdeps/ieee754/flt-32/s_scalblnf.c:
45946         Remove weak_alias for corresponding scalbln function.
45947         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45948         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
45949         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45950         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45951         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
45952         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
45953         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
45954         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
45955         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
45956         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
45957         Remove long_double_symbol for scalblnl function in libm, libc.
45958         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
45959         Add wrapper which checks for setting errno to ERANGE.
45960         Add long_double_symbol for scalblnl function in libm, libc.
45961         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
45962         Remove long_double_symbol for scalblnl in libm.
45963         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
45964         Add wrapper which checks for setting errno to ERANGE.
45965         Add long_double_symbol for scalblnl function in libm.
45966         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
45967         Do not use wrapper because of own implementation.
45969 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
45971         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
45972         3 bytes for __pad1 for x32.
45973         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
45975 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
45976             H.J. Lu  <hongjiu.lu@intel.com>
45978         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
45979         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
45980         * sysdeps/x86_64/multiarch/memset.S: Likewise.
45981         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45982         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
45984 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
45986         [BZ #17069]
45987         * posix/regcomp.c (parse_expression): Deallocate partially
45988         constructed tree before returning error.
45989         * posix/Makefile.c (tests): Add bug-regex36.
45990         (generated): Add bug-regex36.mtrace.
45991         (tests-special): Add $(objpfx)bug-regex36-mem.out
45992         (bug-regex36-ENV): New variable.
45993         ($(objpfx)bug-regex36-mem.out): New rule.
45994         * posix/bug-regex36.c: New file.
45996 2014-06-19  Will Newton  <will.newton@linaro.org>
45998         * malloc/malloc.c (systrim): If extra is zero then return
45999         early.
46001 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46003         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
46005 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
46007         * sysdeps/aarch64/strchr.S: New file.
46009 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
46011         [BZ #17022]
46012         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
46013         from arguments -2 or below.
46014         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
46015         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
46017 2014-06-18  Andreas Schwab  <schwab@suse.de>
46019         [BZ #17062]
46020         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
46021         of a bracket expr not to run off the end of the string.
46022         * posix/Makefile (tests): Add tst-fnmatch3.
46023         * posix/tst-fnmatch3.c: New file.
46025 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
46027         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
46028         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
46029         [$(cross-compiling) = no]: Likewise.
46030         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
46031         [$(cross-compiling) = no]: Likewise.
46033 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
46035         [BZ #17031]
46036         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
46037         double, adjusted for any remainder from the high double.
46038         * math/libm-test.inc (nearbyint): Add tests.
46039         (rint): Likewise.
46041 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46043         * nptl/sysdeps/powerpc/Makefile: Moved ...
46044         * sysdeps/powerpc/nptl/Makefile: ... here.
46045         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
46046         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
46047         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
46048         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
46049         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
46050         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
46051         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
46052         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
46053         * nptl/sysdeps/powerpc/tls.h: Moved ...
46054         * sysdeps/powerpc/nptl/tls.h: ... here.
46056 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
46058         [BZ #16681]
46059         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
46060         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
46061         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
46062         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
46063         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
46064         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
46065         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
46066         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
46067         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
46069 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
46071         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
46073 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
46075         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
46076         defined operator.
46078         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
46079         $TIMEOUTFACTOR.
46081 2014-06-16  Florian Weimer  <fweimer@redhat.com>
46083         [BZ #17058]
46084         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
46085         non-executed part of the test.
46087 2014-06-16  Andreas Schwab  <schwab@suse.de>
46089         * string/bits/string2.h (strdup, strndup): Update feature guard.
46091 2014-06-14  David S. Miller  <davem@davemloft.net>
46093         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46095 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
46097         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
46098         that was previously under [RESET_PID].
46099         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
46101         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
46102         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
46103         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
46104         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46105         (__libc_vfork): New strong alias.
46106         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
46108 2014-06-14 Andi Kleen  <ak@linux.intel.com>
46110         * sysdeps/generic/elide.h: New file.
46112 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
46114         * Makefile (installed-headers): Adjust path of pthread.h header.
46116 2014-06-13  Roland McGrath  <roland@hack.frob.com>
46118         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
46119         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
46120         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
46121         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
46123         * nptl/sysdeps/s390/Makefile: Moved ...
46124         * sysdeps/s390/nptl/Makefile: ... here.
46125         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
46126         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
46127         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
46128         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
46129         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
46130         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
46131         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
46132         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
46133         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
46134         * sysdeps/s390/nptl/pthreaddef.h: ... here.
46135         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
46136         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
46137         * nptl/sysdeps/s390/tls.h: Moved ...
46138         * sysdeps/s390/nptl/tls.h: ... here.
46140         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
46141         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
46143 2014-06-13  David S. Miller  <davem@davemloft.net>
46145         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
46146         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
46147         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
46148         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
46149         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
46150         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
46151         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
46152         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
46153         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
46154         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
46155         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
46156         Remove RESET_PID cpp guards.
46157         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
46158         Remove RESET_PID cpp guards.
46159         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
46161 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
46163         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
46164         __sp to uintptr_t.
46166 2014-06-13  Andi Kleen  <ak@linux.intel.com>
46168         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
46169         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
46170         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
46171         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
46172         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
46173         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
46174         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
46175         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
46176         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
46177         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
46178         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
46179         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
46180         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
46181         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
46182         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
46183         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
46184         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
46185         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
46186         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
46187         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
46189         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
46190         (pthread_rwlock_rdlock): Add elision.
46191         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
46192         (pthread_rwlock_wrlock): Add elision.
46193         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
46194         (pthread_rwlock_trywrlock): Add elision.
46195         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
46196         (pthread_rwlock_tryrdlock): Add elision.
46197         * nptl/pthread_rwlock_unlock.c: Include elide.h.
46198         (pthread_rwlock_tryrdlock): Add elision unlock.
46199         * nptl/sysdeps/pthread/pthread.h:
46200         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
46201         (PTHREAD_RWLOCK_INITIALIZER,
46202         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
46203         Handle new elision field.
46204         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
46205         * sysdeps/arm/nptl/bits/pthreadtypes.h
46206         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46207         * sysdeps/sh/nptl/bits/pthreadtypes.h
46208         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46209         * sysdeps/tile/nptl/bits/pthreadtypes.h
46210         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46211         * sysdeps/a/nptl/bits/pthreadtypes.h
46212         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46213         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
46214         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46215         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
46216         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46217         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
46218         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46219         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
46220         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46221         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
46222         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46223         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
46224         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46225         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
46226         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46227         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
46228         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46229         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
46230         (elision_init): Set try_xbegin to zero when no RTM.
46231         * sysdeps/x86/nptl/bits/pthreadtypes.h
46232         (pthread_rwlock_t): Change __pad1 to __rwelision.
46233         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46235 2014-06-13  Andi Kleen  <ak@linux.intel.com>
46237         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
46238         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
46239         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
46240         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
46242 2014-06-13  Meador Inge  <meadori@codesourcery.com>
46244         [BZ #16996]
46245         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
46246         that the cached result has been set before returning it.
46248 2014-06-12  Roland McGrath  <roland@hack.frob.com>
46250         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
46251         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
46252         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
46253         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
46254         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
46255         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
46257         * nptl/sysdeps/sparc/Makefile: Moved ...
46258         * sysdeps/sparc/nptl/Makefile: ... here.
46259         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
46260         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
46261         * nptl/sysdeps/sparc/tls.h: Moved ...
46262         * sysdeps/sparc/nptl/tls.h: ... here.
46263         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
46264         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
46265         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
46266         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
46267         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
46268         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
46269         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
46270         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
46271         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
46272         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
46273         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
46274         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
46275         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
46276         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
46277         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
46278         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
46279         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
46280         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
46281         Update #include.
46282         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
46283         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
46284         Update #include.
46285         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
46286         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
46287         Update #include.
46288         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
46289         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
46290         Update #include.
46292         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
46294         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
46295         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
46297         * sysdeps/pthread/posix-timer.h: Include <list.h>.
46298         (struct list_links): Type removed.
46299         (struct thread_node, struct timer_node): Replace struct list_links
46300         with struct list_head.
46301         (list_unlink_ip): Likewise.
46302         * sysdeps/pthread/timer_routines.c
46303         (timer_free_list, thread_free_list, thread_active_list): Likewise.
46304         (list_append, list_insbefore): Likewise.
46305         (list_init): Function removed.
46306         (thread_init, init_module): Use INIT_LIST_HEAD instead.
46307         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
46308         * sysdeps/pthread/Makefile: ... here, new file.
46310         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
46311         * sysdeps/nptl/Implies: ... here.
46312         * sysdeps/unix/sysv/linux/Implies: Add nptl.
46313         * nptl/sysdeps/pthread/list.h: Moved ...
46314         * include/list.h: ... here.
46315         * nptl/sysdeps/pthread/createthread.c: Moved ...
46316         * nptl/createthread.c: ... here.
46317         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
46318         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
46319         * nptl/pt-longjmp.c: ... here.
46320         * nptl/sysdeps/pthread/Makefile: Moved ...
46321         * sysdeps/nptl/Makefile: ... here.
46322         * nptl/sysdeps/pthread/Subdirs: Moved ...
46323         * sysdeps/nptl/Subdirs: ... here.
46324         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
46325         * sysdeps/nptl/aio_misc.h: ... here.
46326         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
46327         * sysdeps/nptl/bits/libc-lock.h: ... here.
46328         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
46329         * sysdeps/nptl/bits/libc-lockP.h: ... here.
46330         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
46331         * sysdeps/nptl/bits/stdio-lock.h: ... here.
46332         * nptl/sysdeps/pthread/configure: Moved ...
46333         * sysdeps/nptl/configure: ... here.
46334         * nptl/sysdeps/pthread/configure.ac: Moved ...
46335         * sysdeps/nptl/configure.ac: ... here.
46336         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
46337         * sysdeps/nptl/gai_misc.h: ... here.
46338         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
46339         * sysdeps/nptl/librt-cancellation.c: ... here.
46340         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
46341         * sysdeps/nptl/malloc-machine.h: ... here.
46342         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
46343         * sysdeps/nptl/pthread-functions.h: ... here.
46344         * nptl/sysdeps/pthread/pthread.h: Moved ...
46345         * sysdeps/nptl/pthread.h: ... here.
46346         * nptl/sysdeps/pthread/setxid.h: Moved ...
46347         * sysdeps/nptl/setxid.h: ... here.
46348         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
46349         * sysdeps/nptl/sigfillset.c: ... here.
46350         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
46351         * sysdeps/nptl/tcb-offsets.h: ... here.
46352         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
46353         * sysdeps/nptl/tst-mqueue8x.c: ... here.
46354         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
46355         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
46356         * nptl/sysdeps/pthread/allocalim.h: Moved ...
46357         * sysdeps/pthread/allocalim.h: ... here.
46358         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
46359         * sysdeps/pthread/bits/sigthread.h: ... here.
46360         * nptl/sysdeps/pthread/flockfile.c: Moved ...
46361         * sysdeps/pthread/flockfile.c: ... here.
46362         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
46363         * sysdeps/pthread/ftrylockfile.c: ... here.
46364         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
46365         * sysdeps/pthread/funlockfile.c: ... here.
46366         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
46367         * sysdeps/pthread/posix-timer.h: ... here.
46368         * nptl/sysdeps/pthread/timer_create.c: Moved ...
46369         * sysdeps/pthread/timer_create.c: ... here.
46370         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
46371         * sysdeps/pthread/timer_delete.c: ... here.
46372         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
46373         * sysdeps/pthread/timer_getoverr.c: ... here.
46374         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
46375         * sysdeps/pthread/timer_gettime.c: ... here.
46376         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
46377         * sysdeps/pthread/timer_routines.c: ... here.
46378         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
46379         * sysdeps/pthread/timer_settime.c: ... here.
46380         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
46381         * sysdeps/pthread/tst-timer.c: ... here.
46382         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
46383         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
46385         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
46386         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
46388         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
46389         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
46390         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
46391         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
46392         Update #include target.
46393         * nptl/sysdeps/i386/i686/Makefile: Moved ...
46394         * sysdeps/i386/i686/nptl/Makefile: ... here.
46395         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
46396         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
46397         Update #include target.
46398         * nptl/sysdeps/i386/i686/tls.h: Moved ...
46399         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
46400         * nptl/sysdeps/i386/Makefile: Moved ...
46401         * sysdeps/i386/nptl/Makefile: ... here.
46402         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
46403         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
46404         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
46405         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
46406         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
46407         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
46408         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
46409         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
46410         * sysdeps/i386/nptl/pthreaddef.h: ... here.
46411         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
46412         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
46413         * nptl/sysdeps/i386/tls.h: Moved ...
46414         * sysdeps/i386/nptl/tls.h: ... here.
46416         * sysdeps/sh/Makefile [$(subdir) = csu]
46417         (gen-as-const-headers): Add tcb-offsets.sym.
46418         * nptl/sysdeps/sh/Makefile: File removed.
46419         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
46420         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
46421         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
46422         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
46423         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
46424         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
46425         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
46426         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
46427         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
46428         * sysdeps/sh/nptl/pthreaddef.h: ... here.
46429         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
46430         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
46431         * nptl/sysdeps/sh/tls.h: Moved ...
46432         * sysdeps/sh/nptl/tls.h: ... here.
46433         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
46434         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
46435         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
46436         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
46437         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
46438         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
46439         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
46440         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
46441         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
46442         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
46443         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
46444         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
46445         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
46446         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
46447         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
46448         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
46449         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
46450         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
46451         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
46452         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
46453         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
46454         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
46455         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
46456         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
46457         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
46458         Moved ...
46459         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
46460         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
46461         Moved ...
46462         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
46463         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
46464         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
46465         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
46466         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
46467         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
46468         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
46469         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
46470         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
46471         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
46472         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
46473         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
46474         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
46475         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
46476         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
46477         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
46478         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
46479         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
46480         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
46482 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
46484         * posix/spawn_faction_addopen.c: Include string.h.
46486 2014-06-11  Roland McGrath  <roland@hack.frob.com>
46488         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
46489         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
46490         * nptl/sysdeps/x86_64/Makefile: Moved ...
46491         * sysdeps/x86_64/nptl/Makefile: ... here.
46492         * nptl/sysdeps/x86_64/configure: Moved ...
46493         * sysdeps/x86_64/nptl/configure: ... here.
46494         * nptl/sysdeps/x86_64/configure.ac: Moved ...
46495         * sysdeps/x86_64/nptl/configure.ac: ... here.
46496         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
46497         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
46498         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
46499         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
46500         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
46501         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
46502         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
46503         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
46504         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
46505         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
46506         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
46507         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
46508         * nptl/sysdeps/x86_64/tls.h: Moved ...
46509         * sysdeps/x86_64/nptl/tls.h: ... here.
46510         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
46511         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
46512         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
46513         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
46515         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
46517 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46519         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46521 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
46523         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
46524         type.
46525         [POSIX] (off_t): Likewise.
46526         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
46527         [POSIX] (S_ISBLK): Require macro.
46528         [POSIX] (S_ISCHR): Likewise.
46529         [POSIX] (S_ISDIR): Likewise.
46530         [POSIX] (S_ISFIFO): Likewise.
46531         [POSIX] (S_ISREG): Likewise.
46532         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
46533         optional-macro.
46534         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
46535         type.
46536         [POSIX] (time_t): Likewise.
46537         [POSIX] (timer_t): Likewise.
46539 2014-06-11  Florian Weimer  <fweimer@redhat.com>
46541         [BZ #17048]
46542         * posix/spawn_int.h (struct __spawn_action): Make the path string
46543         non-const to support deallocation.
46544         * posix/spawn_faction_addopen.c
46545         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
46546         * posix/spawn_faction_destroy.c
46547         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
46548         path in all spawn_do_open actions.
46549         * posix/tst-spawn.c (do_test): Exercise the copy operation in
46550         posix_spawn_file_actions_addopen.
46552 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
46554         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
46555         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
46556         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
46557         conditional code always true.
46558         (__libc_vfork): New alias.
46560 2014-06-11  Roland McGrath  <roland@hack.frob.com>
46562         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46563         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
46565         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
46567         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46568         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
46570         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
46571         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
46573         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46574         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
46576 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46578         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
46579         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
46580         multiarch strcmp for PPC64.
46581         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
46582         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
46583         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
46584         multiarch optimizations.
46585         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46586         (__libc_ifunc_impl_list): Likewise.
46588 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46590         * benchtests/scripts/validate_benchout.py: New script.
46591         * benchtests/Makefile (bench-func): Call it.
46592         * benchtests/scripts/benchout.schema.json: New file.
46594 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
46596         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
46597         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
46598         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
46599         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
46600         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
46601         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
46602         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
46603         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
46604         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
46605         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
46606         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
46607         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
46608         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
46609         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
46610         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
46611         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
46612         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
46613         Moved ...
46614         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
46615         ... here.
46616         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
46617         Moved ...
46618         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
46619         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
46620         Moved ...
46621         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
46622         ... here.
46623         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
46624         Moved ...
46625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
46626         ... here.
46627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
46628         Moved ...
46629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
46630         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
46631         Moved ...
46632         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
46633         ... here.
46634         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
46635         Moved ...
46636         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
46637         ... here.
46638         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
46639         Moved ...
46640         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
46641         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
46642         Moved ...
46643         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
46644         ... here.
46645         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
46646         Moved ...
46647         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
46648         ... here.
46649         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
46650         Moved ...
46651         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
46652         ... here.
46653         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
46654         Moved ...
46655         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
46656         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
46657         Moved ...
46658         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
46659         ... here.
46660         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
46661         Moved ...
46662         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
46663         ... here.
46664         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
46665         Moved ...
46666         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
46667         ... here.
46668         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
46669         Moved ...
46670         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
46671         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
46672         Moved ...
46673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
46674         ... here.
46675         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
46676         Moved ...
46677         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
46678         ... here.
46679         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
46680         Moved ...
46681         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
46682         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
46683         Moved ...
46684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
46685         ... here.
46686         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
46687         Moved ...
46688         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
46689         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
46690         Moved ...
46691         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
46692         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
46693         Moved ...
46694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
46695         ... here.
46696         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
46697         Moved ...
46698         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
46699         ... here.
46700         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
46701         Moved ...
46702         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
46703         ... here.
46704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
46705         Moved ...
46706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
46707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
46708         Moved ...
46709         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
46710         ... here.
46711         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
46712         Moved ...
46713         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
46714         ... here.
46715         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
46716         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
46717         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
46718         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
46719         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
46720         Moved ...
46721         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
46722         ... here.
46723         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
46724         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
46725         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
46726         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
46727         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
46728         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
46729         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
46730         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
46731         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
46732         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
46733         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
46734         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
46735         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
46736         Moved ...
46737         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
46738         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
46739         Moved ...
46740         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
46741         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
46742         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
46743         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
46744         Moved ...
46745         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
46746         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
46747         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
46748         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
46749         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
46750         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
46751         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
46753 2014-06-10  Wilco  <wdijkstr@arm.com>
46755         * math/test-fenv-return.c: New file.
46756         * math/Makefile: Add new test test-fenv-return.
46758 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
46760         [BZ #17042]
46761         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
46762         when x - 1 is zero.
46763         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
46764         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
46765         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
46766         0.0L for an argument of 1.0L.
46767         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
46768         Likewise.
46769         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
46770         value when x - 1 is zero.
46771         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
46772         * sysdeps/i386/fpu/libm-test-ulps: Update.
46773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46775 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
46777         [BZ #15119]
46778         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
46780 2014-06-09  Roland McGrath  <roland@hack.frob.com>
46782         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
46783         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
46785 2014-06-09  Roland McGrath  <roland@hack.frob.com>
46787         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46788         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
46790         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46791         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
46793         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46794         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
46796         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46797         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
46799         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
46800         if not already defined.
46801         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
46802         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
46803         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
46804         (TLS_INIT_TP): Use it.
46805         (TLS_DEFINE_INIT_TP): New macro.
46806         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
46808 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
46810         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
46811         constant.
46812         [POSIX] (IXANY): Likewise.
46813         [POSIX] (OLCUC): Likewise.
46814         [POSIX || POSIX2008] (CBAUD): Do not allow.
46815         [POSIX || POSIX2008] (DEFECHO): Likewise.
46816         [POSIX || POSIX2008] (ECHOCTL): Likewise.
46817         [POSIX || POSIX2008] (ECHOKE): Likewise.
46818         [POSIX || POSIX2008] (ECHOPRT): Likewise.
46819         [POSIX || POSIX2008] (EXTA): Likewise.
46820         [POSIX || POSIX2008] (EXTB): Likewise.
46821         [POSIX || POSIX2008] (FLUSHO): Likewise.
46822         [POSIX || POSIX2008] (LOBLK): Likewise.
46823         [POSIX || POSIX2008] (PENDIN): Likewise.
46824         [POSIX || POSIX2008] (SWTCH): Likewise.
46825         [POSIX || POSIX2008] (VDISCARD): Likewise.
46826         [POSIX || POSIX2008] (VDSUSP): Likewise.
46827         [POSIX || POSIX2008] (VLNEXT): Likewise.
46828         [POSIX || POSIX2008] (VREPRINT): Likewise.
46829         [POSIX || POSIX2008] (VSTATUS): Likewise.
46830         [POSIX || POSIX2008] (VWERASE): Likewise.
46831         (B*): Change to B[0123456789]*.
46832         * conform/data/time.h-data [POSIX || UNIX98]
46833         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
46834         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
46835         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
46836         [POSIX] (tm_*): Do not allow.
46838 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
46840         * Makefile (install): Don't set LANGUAGE.
46841         * Makefile.in (install): Likewise.
46842         * assert/Makefile (test-assert-ENV): Remove variable.
46843         (test-assert-perr-ENV): Likewise.
46844         * elf/Makefile (neededtest4-ENV): Likewise.
46845         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
46846         [$(cross-compiling) = no]: Don't set LANGUAGE.
46847         * io/ftwtest-sh (LANG): Remove variable.
46848         * libio/Makefile (tst-widetext-ENV): Likewise.
46849         * manual/install.texi (Running make install): Don't refer to
46850         environment settings for make install.
46851         * INSTALL: Regenerated.
46852         * nptl/tst-tls6.sh: Don't set LANG.
46853         * posix/globtest.sh (LANG): Remove variable.
46854         * string/Makefile (tester-ENV): Likewise.
46855         (inl-tester-ENV): Likewise.
46856         (noinl-tester-ENV): Likewise.
46857         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
46858         [$(cross-compiling) = no]: Don't set LANGUAGE.
46859         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
46860         without explicit environment settings.
46862 2014-06-06  Roland McGrath  <roland@hack.frob.com>
46864         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
46865         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
46866         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
46867         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
46869 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
46871         * crypt/crypt-private.h [DOS]: Add some includes taken from the
46872         other files in the crypt directory.
46873         * crypt/crypt.c: Remove duplicate includes.
46874         * crypt/crypt-entry.c: Likewise.
46875         * crypt/crypt_util.c: Likewise.
46877 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
46879         * Makeconfig (run-program-env): New variable.
46880         (run-program-prefix-before-env): Likewise.
46881         (run-program-prefix-after-env): Likewise.
46882         (run-program-prefix): Define in terms of new variables.
46883         (built-program-cmd-before-env): New variable.
46884         (built-program-cmd-after-env): Likewise.
46885         (built-program-cmd): Define in terms of new variables.
46886         (test-program-prefix-before-env): New variable.
46887         (test-program-prefix-after-env): Likewise.
46888         (test-program-prefix): Define in terms of new variables.
46889         (test-program-cmd-before-env): New variable.
46890         (test-program-cmd-after-env): Likewise.
46891         (test-program-cmd): Define in terms of new variables.
46892         * Rules (make-test-out): Use $(run-program-env).
46893         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
46894         (help): Do not mention environment variables.  Mention
46895         --timeoutfactor option.
46896         (timeoutfactor): New variable.
46897         (blacklist_exports): Remove function.
46898         (exports): Remove variable.
46899         (command): Do not include ${exports}.
46900         * manual/install.texi (Configuring and compiling): Do not mention
46901         test wrappers preserving environment variables.  Mention that last
46902         assignment to a variable must take precedence.
46903         * INSTALL: Regenerated.
46904         * benchtests/Makefile (run-bench): Use $(run-program-env).
46905         * catgets/Makefile ($(objpfx)test1.cat): Use
46906         $(built-program-cmd-before-env), $(run-program-env) and
46907         $(built-program-cmd-after-env).
46908         ($(objpfx)test2.cat): Do not specify environment variables
46909         explicitly.
46910         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
46911         $(run-program-env) and $(built-program-cmd-after-env).
46912         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
46913         $(run-program-env) and $(test-program-cmd-after-env).
46914         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
46915         explicitly.
46916         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
46917         run_program_env and test_program_cmd_after_env arguments.
46918         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
46919         * elf/tst-pathopt.sh: Use run_program_env argument.
46920         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
46921         $(test-wrapper-env) and $(run-program-env).
46922         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
46923         run_program_env arguments.
46924         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
46925         * intl/Makefile ($(objpfx)tst-gettext.out): Use
46926         $(test-program-prefix-before-env), $(run-program-env) and
46927         $(test-program-prefix-after-env).
46928         ($(objpfx)tst-gettext2.out): Likewise.
46929         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
46930         run_program_env and test_program_prefix_after_env arguments.
46931         * intl/tst-gettext2.sh: Likewise.
46932         * intl/tst-gettext4.sh: Do not set environment variables
46933         explicitly.
46934         * intl/tst-gettext6.sh: Likewise.
46935         * intl/tst-translit.sh: Likewise.
46936         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
46937         $(test-program-prefix-before-env), $(run-program-env) and
46938         $(test-program-prefix-after-env).
46939         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
46940         run_program_env and test_program_prefix_after_env arguments.
46941         * math/Makefile (run-regen-ulps): Use $(run-program-env).
46942         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
46943         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
46944         explicitly with each use of ${test_wrapper_env}.
46945         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
46946         $(test-program-prefix-before-env), $(run-program-env) and
46947         $(test-program-prefix-after-env).
46948         * posix/tst-getconf.sh: Do not set environment variables
46949         explicitly.
46950         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
46951         run_program_env and test_program_prefix_after_env arguments.
46952         * stdio-common/tst-printf.sh: Do not set environment variables
46953         explicitly.
46954         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
46955         $(test-program-prefix-before-env), $(run-program-env) and
46956         $(test-program-prefix-after-env).
46957         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
46958         run_program_env and test_program_prefix_after_env arguments.
46959         Split $test calls into $test_pre and $test.
46960         * timezone/Makefile (build-testdata): Use
46961         $(built-program-cmd-before-env), $(run-program-env) and
46962         $(built-program-cmd-after-env).
46964 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46966         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
46967         strlen for non SHARED builds.
46969 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
46971         * nptl/allocatestack.c (check_list): Inlined function...
46972         (__reclaim_stacks): ... here.
46974 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
46976         [BZ #15698]
46977         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
46978         memory overrun.
46980 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
46982         * Rules (make-test-out): Include
46983         LOCPATH=$(common-objpfx)localedata in default environment.
46984         * debug/Makefile (tst-chk1-ENV): Remove variable.
46985         (tst-chk2-ENV): Likewise.
46986         (tst-chk3-ENV): Likewise.
46987         (tst-chk4-ENV): Likewise.
46988         (tst-chk5-ENV): Likewise.
46989         (tst-chk6-ENV): Likewise.
46990         (tst-lfschk1-ENV): Likewise.
46991         (tst-lfschk2-ENV): Likewise.
46992         (tst-lfschk3-ENV): Likewise.
46993         (tst-lfschk4-ENV): Likewise.
46994         (tst-lfschk5-ENV): Likewise.
46995         (tst-lfschk6-ENV): Likewise.
46996         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
46997         (tst-iconv7-ENV): Likewise.
46998         * intl/Makefile (LOCPATH-ENV): Likewise.
46999         (tst-codeset-ENV): Likewise.
47000         (tst-gettext3-ENV): Likewise.
47001         (tst-gettext5-ENV): Likewise.
47002         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
47003         (tst-fopenloc-ENV): Likewise.
47004         (tst-fgetws-ENV): Remove variable.
47005         (tst-ungetwc1-ENV): Likewise.
47006         (tst-ungetwc2-ENV): Likewise.
47007         (bug-ungetwc2-ENV): Likewise.
47008         (tst-swscanf-ENV): Likewise.
47009         (bug-ftell-ENV): Likewise.
47010         (tst-fgetwc-ENV): Likewise.
47011         (tst-fseek-ENV): Likewise.
47012         (tst-ftell-partial-wide-ENV): Likewise.
47013         (tst-ftell-active-handler-ENV): Likewise.
47014         (tst-ftell-append-ENV): Likewise.
47015         * posix/Makefile (tst-fnmatch-ENV): Likewise.
47016         (tst-regexloc-ENV): Likewise.
47017         (bug-regex1-ENV): Likewise.
47018         (tst-regex-ENV): Likewise.
47019         (tst-regex2-ENV): Likewise.
47020         (bug-regex5-ENV): Likewise.
47021         (bug-regex6-ENV): Likewise.
47022         (bug-regex17-ENV): Likewise.
47023         (bug-regex18-ENV): Likewise.
47024         (bug-regex19-ENV): Likewise.
47025         (bug-regex20-ENV): Likewise.
47026         (bug-regex22-ENV): Likewise.
47027         (bug-regex23-ENV): Likewise.
47028         (bug-regex25-ENV): Likewise.
47029         (bug-regex26-ENV): Likewise.
47030         (bug-regex30-ENV): Likewise.
47031         (bug-regex32-ENV): Likewise.
47032         (bug-regex33-ENV): Likewise.
47033         (bug-regex34-ENV): Likewise.
47034         (bug-regex35-ENV): Likewise.
47035         (tst-rxspencer-ENV): Likewise.
47036         (tst-rxspencer-no-utf8-ENV): Likewise.
47037         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
47038         (tst-sscanf-ENV): Likewise.
47039         (tst-swprintf-ENV): Likewise.
47040         (tst-swscanf-ENV): Likewise.
47041         (test-vfprintf-ENV): Likewise.
47042         (scanf13-ENV): Likewise.
47043         (bug14-ENV): Likewise.
47044         (tst-grouping-ENV): Likewise.
47045         * stdlib/Makefile (tst-strtod-ENV): Likewise.
47046         (tst-strtod3-ENV): Likewise.
47047         (tst-strtod4-ENV): Likewise.
47048         (tst-strtod5-ENV): Likewise.
47049         (testmb2-ENV): Likewise./
47050         * string/Makefile (tst-strxfrm-ENV): Likewise.
47051         (tst-strxfrm2-ENV): Likewise.
47052         (bug-strcoll1-ENV): Likewise.
47053         (test-strcasecmp-ENV): Likewise.
47054         (test-strncasecmp-ENV): Likewise.
47055         * time/Makefile (tst-strptime-ENV): Likewise.
47056         (tst-ftime_l-ENV): Likewise.
47057         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
47058         (tst-mbrtowc-ENV): Likewise.
47059         (tst-wcrtomb-ENV): Likewise.
47060         (tst-mbrtowc2-ENV): Likewise.
47061         (tst-c16c32-1-ENV): Likewise.
47062         (tst-mbsnrtowcs-ENV): Likewise.
47064 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
47066         * manual/resource.texi (How to get information about the memory
47067         subsystem?): Fix typo.
47068         Reported by Peon de la Parra Ivan <peon@keba.com>
47070 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
47072         [BZ #16882]
47073         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
47074         (pthread_spin_lock): Branch out of spin loop to proper location.
47075         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
47076         (pthread_spin_lock): Likewise.
47078         * nptl/tst-spin4.c: New test.
47079         * nptl/Makefile (tests): Add tst-spin4.
47081 2014-06-03  Andreas Schwab  <schwab@suse.de>
47083         [BZ #15946]
47084         * resolv/res_send.c (send_dg): Reload file descriptor after
47085         calling reopen.
47087 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
47089         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47091 2014-06-03  Richard Henderson  <rth@redhat.com>
47093         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
47094         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
47095         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
47096         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
47097         in the SAVE_PID block.
47098         (__libc_vfork): New alias.
47099         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
47101         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
47102         child in registers, not on the stack.  Remove RESET_PID conditionals.
47103         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
47105 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
47107         * sysdeps/aarch64/libm-test-ulps: Regenerate.
47109 2014-06-03  Wilco  <wdijkstr@arm.com>
47111         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
47112         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
47113         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
47114         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
47115         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
47116         Likewise.
47118 2014-06-03  Wilco  <wdijkstr@arm.com>
47120         * sysdeps/aarch64/fpu/math_private.h
47121         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
47122         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
47123         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
47124         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
47125         Fix declarations.
47127 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
47129         * crypt/crypt-private.h: Include ufc-crypt.h.
47130         (__b64_from_24bit): Declare extern.
47131         * crypt/crypt_util.c(__b64_from_24bit): New function.
47132         (b64t): New static const variable.
47133         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
47134         (b64t): Remove variable.
47135         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
47136         * crypt/sha256-crypt.c: Include crypt-private.h.
47137         (b64t): Remove variable.
47138         (__sha256_crypt_r): Remove b64_from_24bit and replace
47139         with __b64_from_24bit.
47140         * crypt/sha512-crypt.c: Likewise.
47142 2014-06-02  Roland McGrath  <roland@hack.frob.com>
47144         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
47145         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
47146         Label the code __libc_vfork rather than __vfork.
47147         [!NOT_IN_libc] (vfork): Define as weak alias.
47148         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
47149         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
47150         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
47152 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47154         * malloc/malloc.c (malloc_info): Fix format specifier for
47155         n_mmaps.
47157 2014-06-02  Wilco  <wdijkstr@arm.com>
47159         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
47160         FPCR write.
47162 2014-06-02  Wilco  <wdijkstr@arm.com>
47164         [BZ #17009]
47165         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
47166         Rewrite to reduce FPCR/FPSR accesses.
47168 2014-06-01  David S. Miller  <davem@davemloft.net>
47170         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47172 2014-05-31  David S. Miller  <davem@davemloft.net>
47174         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
47175         to occur in round to nearest mode when |x| >= 2.0
47177 2014-05-30  Richard Henderson  <rth@twiddle.net>
47179         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
47180         (PSEUDO_RET_NOERRNO): Remove.
47181         (ret): Don't redefine.
47182         (ret_NOERRNO): Define in terms of ret.
47183         (ret_ERRVAL): Likewise.
47185         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
47186         use of PSEUDO_RET; perform the error check directly.
47188 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
47190         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
47191         with __int128_t.
47193 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47195         * malloc/malloc (malloc_info): Fix formatting.
47197 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47198             Roland McGrath  <roland@hack.frob.com>
47200         * malloc/malloc (malloc_info): Also print mmapped statistics.
47202 2014-05-30  Roland McGrath  <roland@hack.frob.com>
47204         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
47205         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
47207 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
47209         * malloc/malloc.c (malloc_info): Inline mi_arena.
47211 2014-05-29  Richard Henderson  <rth@twiddle.net>
47213         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
47214         Remove comma before expanding ASM_ARGS_##nr.
47215         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
47216         Make _x0 a strict output; make _x8 a strict input; adjust expansion
47217         of ASM_ARGS_##nr.
47218         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
47219         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
47220         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
47221         (ASM_ARGS_1): Add leading comma.
47223         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
47224         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
47225         to __errno_location.
47226         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
47227         Remove the expected plt for __errno_location.
47229         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
47230         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
47231         call to __read_tp.
47233         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
47234         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
47235         it and break it down.
47236         (DOCARGS_0, DOCARGS_1): Do nothing.
47237         (DOCARGS_2): Update to store into the new stack frame.
47238         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
47239         (UNDOCARGS_1): Update to restore from the new stack frame.
47240         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
47241         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
47243         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
47244         (SINGLE_THREAD_P): New parameter for result regno.
47245         (PSEUDO): Update to match; use cbz instead of beq.
47247         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
47248         Use ENTRY to define the _nocancel entry point.  Share the syscall
47249         and syscall error check paths with the cancel path.
47250         (PSEUDO_END): New.
47252         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
47253         whitespace; tabs before and after asm mnemonics.
47255 2014-05-29  Eric Wong  <normalperson@yhbt.net>
47257         [BZ #15132]
47258         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47259         Call fstat64 or stat64 internally, depending on arguments passed.
47260         Replace stat buffer argument with file descriptor argument.
47261         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
47262         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
47263         Pass fd to __internal_statvfs instead of calling fstat64.
47264         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
47265         Pass fd to __internal_statvfs64 instead of calling fstat64.
47266         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
47267         Pass -1 to __internal_statvfs instead of calling stat64.
47268         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
47269         Pass -1 to __internal_statvfs64 instead of calling stat64.
47271 2014-05-28  Roland McGrath  <roland@hack.frob.com>
47273         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
47274         that was previously under [RESET_PID].
47275         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
47277         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
47278         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
47280 2014-05-27  Roland McGrath  <roland@hack.frob.com>
47282         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
47284         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
47285         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
47287 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
47289         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
47291 2014-05-27  Andreas Schwab  <schwab@suse.de>
47293         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
47294         TLS_INIT_TP macro.
47295         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
47296         * elf/rtld.c (init_tls, dl_main): Likewise.
47297         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
47298         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
47299         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
47300         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
47301         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
47302         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
47303         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
47304         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
47305         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
47306         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
47307         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
47308         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
47309         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
47310         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
47311         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
47312         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
47313         * sysdeps/generic/tls.h: Update description.
47315 2014-05-27  Will Newton  <will.newton@linaro.org>
47317         [BZ #16990]
47318         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
47319         and restore r2 rather than just restoring.
47321 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47323         [BZ #16724]
47324         * libio/tst-ftell-append.c: New test case.
47325         * libio/Makefile (tests): Add test case.
47326         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
47327         append mode.
47328         * libio/wfileops.c (do_ftell_wide): Likewise.
47330 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47332         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47334         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
47335         ...
47336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
47337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
47338         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
47339         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
47340         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
47341         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
47342         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
47343         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
47344         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
47345         Moved ...
47346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
47347         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
47348         Moved ...
47349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
47350         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
47351         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
47352         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
47353         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
47354         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
47355         ...
47356         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
47357         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
47358         Moved ...
47359         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
47360         here.
47361         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
47362         ...
47363         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
47364         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
47365         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
47367         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
47368         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
47369         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
47370         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
47372         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
47373         merge into ...
47374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
47375         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
47376         ...
47377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
47378         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
47379         ...
47380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
47381         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
47382         Moved ...
47383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
47384         here.
47385         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
47386         Moved ...
47387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
47388         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
47389         Moved ...
47390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
47392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
47393         conditional [RESET_PID].
47394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
47395         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
47396         removed.
47397         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
47398         removed.
47400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
47401         <tcb-offsets.h>.
47402         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
47403         (__libc_vfork): New strong alias.
47404         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
47405         removed.
47406         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
47407         Removed.
47409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
47410         <tcb-offsets.h>.
47411         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
47412         (__libc_vfork): New strong alias.
47413         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
47414         removed.
47415         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
47416         removed.
47418 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
47420         * malloc/malloc.c (mi_arena): New function.
47421         (malloc_info): Remove nested function mi_arena. Call non-nosted
47422         function mi_arena.
47424 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47426         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
47427         by insrwi.
47428         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
47429         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
47430         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
47431         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
47432         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
47433         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
47434         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
47436 2014-05-26  Andreas Schwab  <schwab@suse.de>
47438         [BZ #16984]
47439         * locale/programs/repertoire.c (repertoire_read): Add slash
47440         between I18NPATH element and file name.
47441         * locale/programs/locfile.c (locfile_read): Likewise.
47443 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
47445         * nptl/pthread_mutexattr_settype.c
47446         (__pthread_mutexattr_settype):
47447         Disable lock elision for PTHREAD_MUTEX_NORMAL.
47449 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
47451         * nptl/tst-mutex5 (do_test):
47452         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
47454 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47456         * benchtests/README: Document 'init' directive.
47457         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
47458         BENCH_INIT.
47459         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
47460         (parse_file): Recognize 'init' directive.
47462 2014-05-26  Kyle McMartin  <kyle@redhat.com>
47464         [BZ #16796]
47465         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
47466         alignment of struct pthread.
47468 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47470         [BZ #16878]
47471         * nscd/netgroupcache.c (addgetnetgrentX): Look for
47472         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
47473         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
47474         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
47476 2014-05-25  Richard Henderson  <rth@twiddle.net>
47478         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
47479         (SINGLE_THREAD_P_PIC): Remove.
47480         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
47481         (SINGLE_THREAD_P_PIC): Remove.
47483         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
47484         branch to syscall error ...
47485         (PSEUDO): ... here.
47486         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
47487         from __local_syscall_error to .Lsyscall_error.
47488         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
47489         (SYSCALL_ERROR): Update label name.
47491         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
47492         Do not use DOARGS/UNDOARGS.
47493         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
47494         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
47495         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
47496         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
47497         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
47499         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
47500         block comment.
47502         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
47503         define if !NOT_IN_libc.
47504         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
47505         define with non-default symbol versions.
47507 2014-05-23  Richard Henderson  <rth@twiddle.net>
47509         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
47510         (vfork, __vfork): Define via compat_symbol.
47512         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
47513         [!HAVE_IFUNC] (vfork_compat): Remove.
47514         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
47516 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
47518         [BZ #16978]
47519         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
47520         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
47521         variable.
47523 2014-05-23  Richard Henderson  <rth@twiddle.net>
47525         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
47526         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
47527         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
47528         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
47530         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
47531         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
47532         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
47533         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
47534         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
47535         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
47536         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
47537         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
47538         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
47539         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
47540         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
47541         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
47542         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
47543         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
47544         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
47545         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
47546         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
47547         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
47548         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
47549         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
47550         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
47551         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
47552         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
47553         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
47554         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
47555         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
47556         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
47557         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
47558         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
47559         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
47560         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
47561         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
47562         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
47563         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
47564         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
47565         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
47566         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
47567         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
47568         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
47569         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
47570         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
47571         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
47572         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
47573         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
47574         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
47575         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
47576         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
47577         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
47578         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
47579         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
47580         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
47581         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
47582         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
47583         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
47584         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
47585         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
47587         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
47588         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
47589         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
47590         before exiting on error.
47591         (__libc_vfork): New strong alias.
47592         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
47593         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
47595         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
47596         that was previously under [RESET_PID].
47597         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
47599         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
47601 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
47603         [BZ #16977]
47604         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
47605         value when x - 1 is zero.
47606         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
47607         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
47608         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
47609         0.0L for an argument of 1.0L.
47610         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
47611         Likewise.
47612         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
47613         value when x - 1 is zero.
47614         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
47615         * sysdeps/i386/fpu/libm-test-ulps: Update.
47616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47618 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
47620         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
47621         alphasort and versionsort.
47623 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47625         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
47626         macro.
47627         [copysignf]: Likewise.
47629 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47631         * crypt/md5-crypt.c: Fix formatting.
47633 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
47635         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
47636         (b64_from_24bit): New function.
47638 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47640         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
47641         libc_hidden_builtin_def to ifunc.
47642         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
47643         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
47645 2014-05-21  Roland McGrath  <roland@hack.frob.com>
47647         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
47648         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
47650 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
47652         * nscd/Depend (linuxthreads): Remove.
47653         (nptl): Add.
47654         * resolv/Depend (linuxthreads): Remove.
47655         * rt/Depend (linuxthreads): Remove.
47657         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
47658         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
47659         $(common-objpfx)elf/.
47660         (link-libc-before-gnulib): Likewise.
47661         (elfobjdir): Remove variable.
47662         * Makefile (install): Use $(elf-objpfx) instead of
47663         $(common-objpfx)elf/.
47664         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
47665         $(elfobjdir)/.
47666         (link-libc-deps): Likewise.
47667         ($(common-objpfx)libc.so): Likewise.
47668         ($(common-objpfx)linkobj/libc.so): Likewise.
47669         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
47670         instead of $(common-objpfx)elf/.
47671         (symbolic-link-list): Likewise.
47672         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
47673         [$(cross-compiling) = no]: Likewise.
47674         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
47675         $(elfobjdir)/.
47676         (static-gnulib-arch): Likewise.
47677         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
47678         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
47679         $(common-objpfx)elf/.
47681 2014-05-21  Richard Henderson  <rth@redhat.com>
47683         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
47684         (SINGLE_THREAD_P): Use the correct width load.  Fold
47685         into the ldr offset.
47687         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
47688         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
47690 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
47692         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
47693         (libgcc_s_resume): Use __attribute_used__.
47694         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
47695         Likewise.
47697 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47699         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
47700         optimization when used with float constants.
47702         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47704 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
47706         [BZ #16915]
47707         * locale/nl_langinfo_l.c: Make direct reference to every
47708         _nl_current_CATEGORY symbol.
47709         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
47710         (tests-static): Add tst-langinfo-static.
47711         (tests-special): Add tst-langinfo-static.out.
47712         ($(objpfx)tst-langinfo.out): Redirect output.
47713         ($(objpfx)tst-langinfo-static.out): New.
47714         * localedata/tst-langinfo.sh: Send output to stdout.
47715         * localedata/tst-langinfo-static.c: New file.
47717         [BZ #16965]
47718         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
47719         when the shift amount is modulo the limb size.
47721 2014-05-20  Richard Henderson  <rth@redhat.com>
47723         [BZ #16967]
47724         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
47725         Change type of sa_flags from unsigned int to int.
47727         [BZ #16966]
47728         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
47730         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
47732 2014-05-20  Will Newton  <will.newton@linaro.org>
47734         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
47735         Test the return value of the system call in the nocancel case.
47737 2014-05-20  Will Newton  <will.newton@linaro.org>
47738             Yvan Roux  <yvan.roux@linaro.org>
47740         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
47741         #include of asm/ptrace.h.
47742         (PTRACE_GET_THREAD_AREA): Remove #undef.
47743         (PTRACE_GETHBPREGS): Likewise.
47744         (PTRACE_SETHBPREGS): Likewise.
47745         (struct user_regs_struct): New structure.
47746         (struct user_fpsimd_struct): New structure.
47747         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
47748         #include of asm/ptrace.h and second #include of sys/user.h.
47749         (PTRACE_GET_THREAD_AREA): Remove #undef.
47750         (PTRACE_GETHBPREGS): Likewise.
47751         (PTRACE_SETHBPREGS): Likewise.
47752         (ELF_NGREG): Use new struct user_regs_struct.
47753         (elf_fpregset_t): Use new struct user_fpsimd_struct.
47755 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47757         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
47758         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
47760 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
47762         [BZ #16958]
47763         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
47764         membar to avoid block loads/stores to overlap previous stores.
47766 2014-05-17  Richard Henderson  <rth@redhat.com>
47768         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
47769         Create the __##syscall_name##_nocancel entry point.
47770         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
47771         Remove; let the sysdep-cancel.h code create it.
47773 2014-05-17  David S. Miller  <davem@davemloft.net>
47775         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
47776         Protect with __USE_GNU.
47777         (TIOCSET_TEMPT): Likewise.
47778         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
47779         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
47780         these are already provided in bits/ioctl-types.h
47782 2014-05-16  Roland McGrath  <roland@hack.frob.com>
47784         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
47785         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
47787         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
47788         Use wait4 regardless of [__NR_waitpid].
47790 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
47792         PR libgcc/60166
47793         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
47794         (_FP_NANSIGN_Q): Set the quiet bit.
47796 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
47798         * benchtests/Makefile
47799         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
47800         not $(common-objpfx)math/libm.so.
47801         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
47802         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
47803         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
47804         $(common-objpfx)dlfcn/libdl.so.
47805         ($(objpfx)tst-audit8): Depend on $(libm), not
47806         $(common-objpfx)math/libm.so.
47807         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
47808         not $(common-objpfx)dlfcn/libdl.so.
47809         * math/Makefile
47810         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
47811         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
47812         [$(build-shared) = yes].
47813         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
47814         $(common-objpfx)nptl/libpthread.so.
47815         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
47816         $(common-objpfx)math/libm.so$(libm.so-version) or
47817         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
47818         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
47819         $(common-objpfx)dlfcn/libdl.so.
47820         * setjmp/Makefile (link-libm): Remove variable.
47821         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
47822         * stdio-common/Makefile (link-libm): Remove variable.
47823         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
47824         * stdlib/Makefile (link-libm): Remove variable.
47825         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
47826         ($(objpfx)tst-strtod-round): Likewise.
47827         ($(objpfx)tst-tininess): Likewise.
47828         ($(objpfx)tst-strtod-underflow): Likewise.
47829         ($(objpfx)tst-strtod6): Likewise.
47830         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
47831         $(libdl), not $(common-objpfx)nptl/libpthread.so and
47832         $(common-objpfx)dlfcn/libdl.so.
47834 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47836         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
47837         BSD terminal modes definitions.
47839 2014-05-16  Roland McGrath  <roland@hack.frob.com>
47841         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
47842         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
47844         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
47845         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
47846         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
47847         Don't do #include_next.
47848         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
47849         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
47850         Don't do #include_next.
47851         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
47852         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
47853         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
47854         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
47856 2014-05-16  Allan McRae  <allan@archlinux.org>
47858         * po/sv.po: Update Swedish translation from translation project.
47860         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
47861         in sed expression.
47863 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
47865         [BZ #16917]
47866         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
47867         errno if the TIOCGPTN ioctl fails with an error different than
47868         EINVAL.
47869         * login/tst-ptsname.c: New file.
47870         * login/Makefile (tests): Add tst-ptsname.
47872         [BZ #16943]
47873         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
47874         and prlimit64.
47876 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47878         [BZ #16849]
47879         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
47880         herrno to return EAI_AGAIN.
47882 2014-05-14  Roland McGrath  <roland@hack.frob.com>
47884         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
47885         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
47886         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
47887         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
47888         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
47889         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
47890         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
47891         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
47892         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
47893         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
47894         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
47895         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
47896         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
47897         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
47898         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
47899         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
47900         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
47901         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
47902         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
47903         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
47904         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
47905         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
47906         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
47907         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
47908         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
47909         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
47910         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
47911         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
47912         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
47913         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
47914         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
47915         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
47916         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
47917         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
47918         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
47919         Moved ...
47920         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
47921         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
47922         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
47923         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
47924         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
47925         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
47926         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
47927         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
47928         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
47929         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
47930         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
47931         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
47932         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
47933         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
47934         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
47935         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
47936         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
47937         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
47938         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
47939         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
47940         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
47941         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
47942         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
47943         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
47944         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
47945         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
47946         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
47947         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
47948         Moved ...
47949         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
47950         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
47951         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
47952         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
47953         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
47954         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
47955         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
47956         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
47957         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
47958         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
47959         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
47960         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
47961         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
47962         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
47963         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
47964         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
47965         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
47966         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
47967         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
47968         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
47969         Moved ...
47970         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
47971         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
47972         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
47974         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
47975         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
47976         (libpthread-sysdep_routines): Add elision-related stuff here instead.
47977         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
47978         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
47979         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
47980         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
47981         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
47982         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
47983         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
47984         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
47985         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
47986         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
47987         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
47988         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
47989         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
47990         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
47991         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
47992         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
47993         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
47994         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
47995         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
47996         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
47997         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
47998         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
47999         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
48000         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
48001         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
48002         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
48003         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
48004         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
48006         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
48007         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
48009         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
48010         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
48011         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
48012         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
48013         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
48014         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
48015         Moved ...
48016         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
48017         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
48018         Moved ...
48019         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
48020         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
48021         Moved ...
48022         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
48023         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
48024         Moved ...
48025         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
48026         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
48027         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
48028         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
48029         Moved ...
48030         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
48031         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
48032         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
48033         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
48034         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
48035         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
48036         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
48037         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
48038         Moved ...
48039         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
48040         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
48041         Moved ...
48042         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
48043         ... here.
48044         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
48045         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
48046         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
48047         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
48048         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
48049         Moved ...
48050         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
48051         ... here.
48052         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
48053         Moved ...
48054         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
48055         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
48056         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
48057         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
48058         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
48059         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
48060         Moved ...
48061         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
48062         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
48063         Moved ...
48064         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
48065         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
48066         Moved ...
48067         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
48068         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
48069         Moved ...
48070         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
48071         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
48072         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
48073         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
48074         Moved ...
48075         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
48076         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
48077         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
48078         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
48079         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
48080         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
48081         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
48082         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
48083         Moved ...
48084         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
48085         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
48086         Moved ...
48087         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
48088         ... here.
48089         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
48090         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
48091         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
48092         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
48093         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
48094         Moved ...
48095         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
48096         ... here.
48097         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
48098         Moved ...
48099         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
48100         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
48101         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
48102         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
48103         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
48104         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
48105         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
48106         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
48107         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
48108         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
48109         Moved ...
48110         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
48111         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
48112         Moved ...
48113         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
48114         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
48115         Moved ...
48116         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
48117         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
48118         Moved ...
48119         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
48120         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
48121         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
48122         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
48123         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
48124         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
48125         Moved ...
48126         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
48127         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
48128         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
48129         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
48130         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
48131         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
48132         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
48133         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
48134         Moved ...
48135         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
48136         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
48137         Moved ...
48138         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
48139         ... here.
48140         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
48141         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
48142         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
48143         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
48144         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
48145         Moved ...
48146         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
48147         ... here.
48148         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
48149         Moved ...
48150         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
48151         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
48152         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
48153         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
48154         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
48155         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
48156         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
48157         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
48158         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
48159         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
48160         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
48162         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
48163         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
48165         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
48166         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
48168         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
48169         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
48170         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
48171         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
48172         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
48173         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
48174         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
48175         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
48176         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
48177         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
48178         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
48179         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
48180         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
48181         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
48182         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
48183         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
48184         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
48185         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
48186         Moved ...
48187         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
48188         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
48189         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
48190         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
48191         Moved ...
48192         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
48193         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
48194         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
48195         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
48196         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
48197         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
48198         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
48199         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
48200         Moved ...
48201         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
48202         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
48203         Moved ...
48204         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
48205         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
48206         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
48207         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
48208         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
48209         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
48210         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
48211         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
48212         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
48213         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
48214         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
48215         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
48216         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
48217         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
48218         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
48219         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
48220         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
48222         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
48223         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
48224         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
48225         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
48226         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
48228         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
48229         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
48230         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
48231         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
48232         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
48233         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
48234         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
48235         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
48236         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
48237         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
48239         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
48240         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
48242         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
48243         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
48244         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
48245         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
48246         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
48247         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
48248         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
48249         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
48250         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
48251         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
48252         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
48253         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
48254         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
48255         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
48256         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
48257         Update #include.
48258         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
48259         Likewise.
48260         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
48261         Likewise.
48262         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
48263         Likewise.
48264         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
48265         Likewise.
48266         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
48267         Likewise.
48268         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
48269         Likewise.
48270         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
48271         Likewise.
48272         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
48273         Likewise.
48274         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
48275         Likewise.
48276         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
48277         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
48278         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
48279         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
48280         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
48281         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
48282         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
48283         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
48284         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
48285         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
48286         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
48287         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
48288         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
48289         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
48290         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
48292         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
48293         that was previously under [RESET_PID].
48294         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
48295         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
48296         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
48298         * sysdeps/i386/nptl/Implies: New file.
48299         * sysdeps/x86_64/nptl/Implies: New file.
48300         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
48301         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
48302         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
48303         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
48305         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
48306         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48307         (__libc_vfork): New strong alias.
48308         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
48309         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
48311         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
48312         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48313         (__libc_vfork): New strong alias.
48314         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
48315         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
48317         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
48318         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48319         (__libc_vfork): New strong alias.
48320         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
48321         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
48322         * nptl/pt-vfork.c: New file.
48323         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
48324         (libpthread: GLIBC_2.20): New version set (empty).
48326 2014-05-14  Will Newton  <will.newton@linaro.org>
48328         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
48329         rather than #if.
48331 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
48333         [BZ #16564]
48334         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
48335         arguments with exponent 65 or above.
48336         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
48337         arguments 0x1p113L or above.
48338         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
48339         to arguments 0x1p107L or above.
48340         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
48341         positive arguments with exponent 65 or above.
48342         * math/auto-libm-test-in: Add more tests of log1p.
48343         * math/auto-libm-test-out: Regenerated.
48345         [BZ #16928]
48346         * math/s_cacos.c (__cacos): Ensure zero real part of result from
48347         non-finite arguments is +0.
48348         * math/s_cacosf.c (__cacosf): Likewise.
48349         * math/s_cacosl.c (__cacosl): Likewise.
48350         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
48351         * sysdeps/i386/fpu/libm-test-ulps: Update.
48352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48354         [BZ #16927]
48355         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
48356         value.
48357         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
48358         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
48359         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
48360         for explicit high bit of mantissa when testing for argument equal
48361         to 1.
48362         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
48363         * sysdeps/i386/fpu/libm-test-ulps: Update.
48364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48366         [BZ #16516]
48367         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
48368         (__erf): Scale by 16 instead of 8 in potentially underflowing
48369         case.  Ensure exception if result actually underflows.
48370         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
48371         (__erff): Scale by 16 instead of 8 in potentially underflowing
48372         case.  Ensure exception if result actually underflows.
48373         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
48374         (efx8): Remove variable.
48375         (__erfl): Scale by 16 instead of 8 in potentially underflowing
48376         case.  Ensure exception if result actually underflows.
48377         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
48378         (efx8): Remove variable.
48379         (__erfl): Scale by 16 instead of 8 in potentially underflowing
48380         case.  Ensure exception if result actually underflows.
48381         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
48382         (efx8): Remove variable.
48383         (__erfl): Scale by 16 instead of 8 in potentially underflowing
48384         case.  Ensure exception if result actually underflows.
48385         * math/auto-libm-test-in: Add more tests of erf.
48386         * math/auto-libm-test-out: Regenerated.
48388 2014-05-14  Andreas Schwab  <schwab@suse.de>
48390         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
48391         Remove code conditionalized on USE___THREAD.
48393         * config.h.in (HAVE_PT_CHOWN): Define as 0.
48394         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
48395         not definedness.
48397 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
48399         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
48400         Define unconditionally.
48401         (__ASSUME_O_CLOEXEC): Likewise.
48402         (__ASSUME_SOCK_CLOEXEC): Likewise.
48403         (__ASSUME_IN_NONBLOCK): Likewise.
48404         (__ASSUME_PIPE2): Likewise.
48405         (__ASSUME_EVENTFD2): Likewise.
48406         (__ASSUME_SIGNALFD4): Likewise.
48407         (__ASSUME_DUP3): Likewise.
48408         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
48409         (__ASSUME_DUP3): Do not define.
48410         (__ASSUME_EVENTFD2): Likewise.
48411         (__ASSUME_IN_NONBLOCK): Likewise.
48412         (__ASSUME_O_CLOEXEC): Likewise.
48413         (__ASSUME_PIPE2): Likewise.
48414         (__ASSUME_SIGNALFD4): Likewise.
48415         (__ASSUME_SOCK_CLOEXEC): Likewise.
48416         (__ASSUME_UTIMES): Undefine.
48417         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48418         (__ASSUME_UTIMES): Do not define.
48419         (__ASSUME_O_CLOEXEC): Likewise.
48420         (__ASSUME_SOCK_CLOEXEC): Likewise.
48421         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
48422         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
48423         0x020621].
48424         (__ASSUME_PIPE2): Likewise.
48425         (__ASSUME_EVENTFD2): Likewise.
48426         (__ASSUME_SIGNALFD4): Likewise.
48427         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
48428         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
48429         Do not define.
48430         (__ASSUME_EVENTFD2): Likewise.
48431         (__ASSUME_SIGNALFD4): Likewise.
48432         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
48433         (__ASSUME_32BITUIDS): Likewise.
48434         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
48435         (__ASSUME_IPC64): Likewise.
48436         (__ASSUME_ST_INO_64_BIT): Likewise.
48437         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
48438         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
48439         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
48440         (__ASSUME_UTIMES): Do not define.
48441         (__ASSUME_PSELECT): Likewise.
48442         (__ASSUME_PPOLL): Likewise.
48443         (__ASSUME_O_CLOEXEC): Likewise.
48444         (__ASSUME_SOCK_CLOEXEC): Likewise.
48445         (__ASSUME_IN_NONBLOCK): Likewise.
48446         (__ASSUME_PIPE2): Likewise.
48447         (__ASSUME_EVENTFD2): Likewise.
48448         (__ASSUME_SIGNALFD4): Likewise.
48449         (__ASSUME_DUP3): Likewise.
48450         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
48451         (__ASSUME_UTIMES): Likewise.
48452         (__ASSUME_O_CLOEXEC): Likewise.
48453         (__ASSUME_SOCK_CLOEXEC): Likewise.
48454         (__ASSUME_IN_NONBLOCK): Likewise.
48455         (__ASSUME_PIPE2): Likewise.
48456         (__ASSUME_EVENTFD2): Likewise.
48457         (__ASSUME_SIGNALFD4): Likewise.
48458         (__ASSUME_DUP3): Likewise.
48459         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48460         (__ASSUME_UTIMES): Likewise.
48461         (__ASSUME_O_CLOEXEC): Likewise.
48462         (__ASSUME_SOCK_CLOEXEC): Likewise.
48463         (__ASSUME_IN_NONBLOCK): Likewise.
48464         (__ASSUME_PIPE2): Likewise.
48465         (__ASSUME_EVENTFD2): Likewise.
48466         (__ASSUME_SIGNALFD4): Likewise.
48467         (__ASSUME_DUP3): Likewise.
48468         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
48469         Likewise.
48470         (__ASSUME_UTIMES): Likewise.
48471         (__ASSUME_EVENTFD2): Likewise.
48472         (__ASSUME_SIGNALFD4): Likewise.
48473         * sysdeps/unix/sysv/linux/tile/kernel-features.h
48474         (__ASSUME_O_CLOEXEC): Likewise.
48475         (__ASSUME_SOCK_CLOEXEC): Likewise.
48476         (__ASSUME_IN_NONBLOCK): Likewise.
48477         (__ASSUME_PIPE2): Likewise.
48478         (__ASSUME_EVENTFD2): Likewise.
48479         (__ASSUME_SIGNALFD4): Likewise.
48480         (__ASSUME_DUP3): Likewise.
48481         (__ASSUME_UTIMES): Undefine.
48483         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
48484         feclearexcept.  Remove symbol versioning code.
48485         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
48486         symbol versioning code.
48487         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
48488         symbol versioning code.
48489         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
48490         feupdateenv.  Remove symbol versioning code.
48491         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
48492         fegetexceptflag.  Remove symbol versioning code.
48493         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
48494         fesetexceptflag.  Remove symbol versioning code.
48495         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
48496         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
48497         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
48498         (__posix_fadvise64_l32): Remove prototype.
48499         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
48500         code.
48502 2014-05-13  Roland McGrath  <roland@hack.frob.com>
48504         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
48505         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
48506         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
48507         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
48509 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
48511         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
48512         current working directory
48514 2014-05-13  Roland McGrath  <roland@hack.frob.com>
48516         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
48517         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
48518         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
48519         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
48520         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
48521         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
48522         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
48523         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
48524         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
48525         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
48526         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
48527         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
48528         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
48529         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
48530         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
48531         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
48532         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
48533         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
48534         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
48535         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
48536         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
48537         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
48538         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
48539         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
48540         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
48541         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
48542         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
48543         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
48544         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
48545         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
48546         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
48547         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
48548         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
48549         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
48550         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
48551         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
48552         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
48553         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
48554         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
48555         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
48556         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
48557         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
48559         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
48560         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
48562         * sysdeps/unix/sysv/linux/arm/Makefile
48563         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
48564         Add rt-aeabi_unwind_cpp_pr1.
48565         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
48566         Add nptl-aeabi_unwind_cpp_pr1.
48567         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
48568         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
48569         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
48570         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
48571         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
48572         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
48574         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
48575         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
48576         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
48577         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
48579         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
48580         Deconditionalize the code that was previously under [RESET_PID].
48581         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
48583         * sysdeps/generic/exit-thread.h: New file.
48584         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
48585         * include/unistd.h (__exit_thread): Remove declaration.
48586         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
48587         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
48588         * csu/libc-start.c: Include <exit-thread.h>.
48589         (LIBC_START_MAIN): Pass no argument to __exit_thread.
48590         * nptl/pthread_create.c: Include <exit-thread.h>.
48591         (start_thread): Call __exit_thread in place of __exit_thread_inline.
48592         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
48593         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
48594         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
48595         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
48596         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
48597         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
48598         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
48599         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
48600         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
48601         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
48602         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
48603         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
48604         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
48605         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
48606         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
48607         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
48609 2014-05-13  Andreas Schwab  <schwab@suse.de>
48611         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
48613 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
48615         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
48616         (__ASSUME_UTIMES): Do not condition on kernel version.
48617         (__ASSUME_PSELECT): Define unconditionally.
48618         (__ASSUME_PPOLL): Likewise.
48619         (__ASSUME_ATFCTS): Likewise.
48620         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
48621         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
48622         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
48623         (__ASSUME_UTIMENSAT): Define unconditionally.
48624         (__ASSUME_PRIVATE_FUTEX): Likewise.
48625         (__ASSUME_FALLOCATE): Likewise.
48626         (__ASSUME_O_CLOEXEC): Likewise.
48627         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
48628         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
48629         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
48630         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
48631         (__ASSUME_IN_NONBLOCK): Likewise.
48632         (__ASSUME_PIPE2): Likewise.
48633         (__ASSUME_EVENTFD2): Likewise.
48634         (__ASSUME_SIGNALFD4): Likewise.
48635         (__ASSUME_DUP3): Likewise.
48636         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
48637         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
48638         (__ASSUME_AT_RANDOM): Likewise.
48639         (__ASSUME_PREADV): Likewise.
48640         (__ASSUME_PWRITEV): Likewise.
48641         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
48642         (__ASSUME_F_GETOWN_EX): Define unconditionally.
48643         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
48644         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
48645         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
48646         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48647         (__ASSUME_O_CLOEXEC): Define unconditionally.
48648         (__ASSUME_PSELECT): Do not undefine conditionally.
48649         (__ASSUME_PPOLL): Likewise.
48650         (__ASSUME_ATFCTS): Likewise.
48651         (__ASSUME_SET_ROBUST_LIST): Likewise.
48652         (__ASSUME_UTIMENSAT): Likewise.
48653         (__ASSUME_FDATASYNC): Define unconditionally.
48654         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48655         (__ASSUME_SIGFRAME_V2): Likewise.
48656         )__ASSUME_EVENTFD2): Likewise.
48657         (__ASSUME_SIGNALFD4): Likewise.
48658         (__ASSUME_PSELECT): Do not undefine conditionally.
48659         (__ASSUME_PPOLL): Likewise.
48660         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
48661         (__ASSUME_PSELECT): Define unconditionally.
48662         (__ASSUME_PPOLL): Likewise.
48663         (__ASSUME_O_CLOEXEC): Likewise.
48664         (__ASSUME_SOCK_CLOEXEC): Likewise.
48665         (__ASSUME_IN_NONBLOCK): Likewise.
48666         (__ASSUME_PIPE2): Likewise.
48667         (__ASSUME_EVENTFD2): Likewise.
48668         (__ASSUME_SIGNALFD4): Likewise.
48669         (__ASSUME_DUP3): Likewise.
48670         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
48671         (__ASSUME_O_CLOEXEC): Likewise.
48672         (__ASSUME_SOCK_CLOEXEC): Likewise.
48673         (__ASSUME_IN_NONBLOCK): Likewise.
48674         (__ASSUME_PIPE2): Likewise.
48675         (__ASSUME_EVENTFD2): Likewise.
48676         (__ASSUME_SIGNALFD4): Likewise.
48677         (__ASSUME_DUP3): Likewise.
48678         * sysdeps/unix/sysv/linux/mips/kernel-features.h
48679         (__ASSUME_EVENTFD2): Likewise.
48680         (__ASSUME_SIGNALFD4): Likewise.
48681         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
48683 2014-05-12  Andreas Schwab  <schwab@suse.de>
48685         [BZ #16932]
48686         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
48687         (_nss_nis_gethostbyname4_r): Return error if item length is larger
48688         than maximum RPC packet size.
48689         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
48690         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
48691         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
48692         (_nss_nis_getservbyport_r): Likewise.
48694 2014-05-12  Will Newton  <will.newton@linaro.org>
48696         * malloc/Makefile (tests): Add tst-mallopt.
48697         * malloc/tst-mallopt.c: New file.
48699 2014-05-09  Roland McGrath  <roland@hack.frob.com>
48701         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
48702         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
48704 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48706         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
48707         (tst-tlsmod6.so): Likewise.
48709 2014-05-09  Roland McGrath  <roland@hack.frob.com>
48711         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
48713 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
48715         [BZ #16064]
48716         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
48717         and <dl-procinfo.h>.
48718         (__fegetenv): Save SSE state in envp->__eip if supported.
48719         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
48720         envp->__eip if supported.
48721         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
48722         and <dl-procinfo.h>.
48723         (__fesetenv): Always set __eip, __cs_selector, __opcode,
48724         __data_offset and __data_selector in environment to 0.  Set SSE
48725         state if supported.
48726         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
48727         test-fenv-sse.
48728         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
48729         -mfpmath=sse.
48730         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
48732 2014-05-09  Will Newton  <will.newton@linaro.org>
48734         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
48735         and libc_relro_required for ARM.
48736         * sysdeps/arm/preconfigure: Regenerate.
48738 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
48739             Stefan Liebler  <stli@linux.vnet.ibm.com>
48741         * config.make.in (enable-lock-elision): New Makefile variable.
48742         * configure.ac: Likewise.
48743         * configure: Regenerate.
48744         * sysdeps/s390/configure.ac:
48745         Add check for gcc transactions support.
48746         * sysdeps/s390/configure: Regenerate.
48747         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
48748         Build elision files if enabled.
48749         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
48750         Add lock elision support for s390.
48751         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
48752         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
48753         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
48754         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
48755         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
48756         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
48757         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
48758         Likewise.
48759         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
48760         Likewise.
48761         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
48762         Likewise.
48763         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
48764         Likewise.
48765         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
48766         (__lll_timedlock_elision, __lll_lock_elision)
48767         (__lll_unlock_elision, __lll_trylock_elision)
48768         (lll_timedlock_elision, lll_lock_elision)
48769         (lll_unlock_elision, lll_trylock_elision): Add.
48770         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
48771         (pthread_mutex_t): Add lock elision support for s390.
48773 2014-05-14  Wilco  <wdijkstr@arm.com>
48775         * sysdeps/arm/fclrexcpt.c: Cleanup.
48776         * sysdeps/arm/fedisblxcpt.c: Cleanup.
48777         * sysdeps/arm/feenablxcpt.c: Cleanup.
48778         * sysdeps/arm/fegetenv.c: Cleanup.
48779         * sysdeps/arm/fegetexcept.c: Cleanup.
48780         * sysdeps/arm/fegetround.c: Cleanup.
48781         * sysdeps/arm/feholdexcpt.c: Cleanup.
48782         * sysdeps/arm/fesetenv.c: Cleanup.
48783         * sysdeps/arm/fesetround.c: Cleanup.
48784         * sysdeps/arm/feupdateenv.c: Cleanup.
48785         * sysdeps/arm/fgetexcptflg.c: Cleanup.
48786         * sysdeps/arm/fraiseexcpt.c: Cleanup.
48787         * sysdeps/arm/fsetexcptflg.c: Cleanup.
48788         * sysdeps/arm/ftestexcept.c: Cleanup.
48789         * sysdeps/arm/get-rounding-mode.h: Cleanup.
48790         * sysdeps/arm/setfpucw.c: Cleanup.
48792 2014-05-09  Will Newton  <will.newton@linaro.org>
48794         * sysdeps/arm/armv7/strcmp.S: New file.
48795         * NEWS: Mention addition of ARMv7 optimized strcmp.
48797 2014-05-08  Roland McGrath  <roland@hack.frob.com>
48799         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
48800         look for %.ac rather than %.in.
48802         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
48803         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
48804         * sysdeps/mach/hurd/configure: Regenerated.
48805         * sysdeps/unix/sysv/linux/configure: Regenerated.
48807         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
48809 2014-05-07  Steve Ellcey  <sellcey@mips.com>
48811         [BZ #16922]
48812         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
48813         (LONG_SUB): Ditto.
48814         (PTR_SUB): Ditto.
48816 2014-05-07  Andreas Schwab  <schwab@suse.de>
48818         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
48819         when skipping over non-matching result from nscd.
48821 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
48823         [BZ #16876]
48824         * nptl/sockperf.c (client): Check socket return value.
48826         [BZ #16877]
48827         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
48828         nscd security class.
48830 2014-05-06  Roland McGrath  <roland@hack.frob.com>
48832         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
48833         * sysdeps/arm/unwind.h: ... here.
48835 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
48837         [BZ #16916]
48838         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
48839         Define.
48841 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48843         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
48844         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
48845         multiarch strncpy for PPC64.
48846         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
48847         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
48848         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
48849         multiarch optimizations.
48850         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48851         (__libc_ifunc_impl_list): Likewise.
48852         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
48853         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
48854         multiarch stpncpy for PPC64.
48855         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
48856         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
48858 2014-05-06  Andreas Schwab  <schwab@suse.de>
48860         [BZ #16912]
48861         * gmon/mcount.c (_MCOUNT_DECL): Use
48862         atomic_compare_and_exchange_bool_acq instead of
48863         catomic_compare_and_exchange_bool_acq.
48865 2014-05-05  Roland McGrath  <roland@hack.frob.com>
48867         * elf/Makefile (others, install-bin): Remove pldd.
48868         (pldd-modules): Variable removed.
48869         ($(objpfx)pldd): Target removed.
48870         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
48871         (others, install-bin): Append pldd here.
48872         ($(objpfx)pldd): New target.
48874         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
48875         to 0, so the first #if test emitted later doesn't see it undefined.
48876         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
48877         * sysdeps/gnu/errlist.c: Regenerated.
48879 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48881         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
48882         [libc_hidden_builtin_def]: Define to empty value.
48883         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
48884         [libc_hidden_builtin_def]: Likewise.
48885         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
48886         [libc_hidden_builtin_def]: Likewise.
48887         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
48888         [libc_hidden_builtin_def]: Likewise.
48889         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
48890         __redirect_memcpy and define ifunc as default hidden symbol.
48891         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
48892         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
48894 2014-05-04  Adam Conrad  <adconrad@0c3.net>
48896         * locale/iso-4217.def: Reintroduce XDR currency.
48898 2014-05-04  Allan McRae  <allan@archlinux.org>
48900         * po/eo.po: Update Esperanto translation from translation project.
48902 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
48904         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
48905         and FEATURE_INDEX_MAX to 1.
48906         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
48908 2014-05-01  Steve Ellcey  <sellcey@mips.com>
48910         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
48911         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
48912         * iconvdata/big5.c (ONE_DIRECTION): Define.
48913         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
48914         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
48915         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
48916         * iconvdata/cp932.c (ONE_DIRECTION): Define.
48917         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
48918         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
48919         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
48920         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
48921         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
48922         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
48923         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
48924         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
48925         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
48926         * iconvdata/gbk.c (ONE_DIRECTION): Define.
48927         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
48928         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
48929         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
48930         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
48931         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
48932         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
48933         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
48934         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
48935         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
48936         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
48937         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
48938         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
48939         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
48940         * iconvdata/iso646.c (ONE_DIRECTION): Define.
48941         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
48942         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
48943         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
48944         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
48945         * iconvdata/johab.c (ONE_DIRECTION): Define.
48946         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
48947         * iconvdata/sjis.c (ONE_DIRECTION): Define.
48948         * iconvdata/t.61.c (ONE_DIRECTION): Define.
48949         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
48950         * iconvdata/tscii.c (ONE_DIRECTION): Define.
48951         * iconvdata/uhc.c (ONE_DIRECTION): Define.
48952         * iconvdata/unicode.c (ONE_DIRECTION): Define.
48953         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
48954         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
48955         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
48957 2014-05-01  Roland McGrath  <roland@hack.frob.com>
48959         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
48960         (_IO_JUMPS_OFFSET): Define to 0.
48962         * nptl/sysdeps/pthread/bits/libc-lock.h
48963         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
48964         (__libc_lock_define_initialized_recursive): Always define using
48965         initializer.  Modern compilers treat uninitialized (implicit zero) and
48966         explicit zero initializers the same (i.e. put the datum in bss).
48968 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
48970         * nscd/nscd-client.h: Include <string.h>.
48972 2014-05-01  David S. Miller  <davem@davemloft.net>
48974         [BZ #16885]
48975         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
48976         multiple zero bytes exist at the end of a string.
48977         Reported by Aurelien Jarno <aurelien@aurel32.net>
48979         * string/test-strcmp.c (check): Add explicit test for situations where
48980         there are multiple zero bytes after the first.
48982 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
48984         [BZ #16890]
48985         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
48986         when compiling wprintf.
48987         * stdio-common/tstdiomisc.c (t3): New function.
48988         (main): Call it.
48990 2014-05-01  Steve Ellcey  <sellcey@mips.com>
48992         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
48993         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
48994         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
48995         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
48997 2014-05-01  Steve Ellcey  <sellcey@mips.com>
48999         * stdlib/longlong.h: Updated from GCC.
49001 2014-05-01  Will Newton  <will.newton@linaro.org>
49002             Bernard Ogden  <bernie.ogden@linaro.org>
49004         * NEWS: Update fixed bug list.
49006         [BZ #15119]
49007         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
49009 2014-04-30  David S. Miller  <davem@davemloft.net>
49011         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
49012         (libc_feholdexcept_setround_sparc_ctx): New function.
49013         (libc_fesetenv_sparc_ctx): Likewise.
49014         (libc_feupdateenv_sparc_ctx): Likewise.
49015         (libc_feholdsetround_sparc_ctx): Likewise.
49016         (libc_feholdexcept_setround_ctx): Define.
49017         (libc_feholdexcept_setroundf_ctx): Likewise.
49018         (libc_feholdexcept_setroundl_ctx): Likewise.
49019         (libc_fesetenv_ctx): Likewise.
49020         (libc_fesetenvf_ctx): Likewise.
49021         (libc_fesetenvl_ctx): Likewise.
49022         (libc_feupdateenv_ctx): Likewise.
49023         (libc_feupdateenvf_ctx): Likewise.
49024         (libc_feupdateenvl_ctx): Likewise.
49025         (libc_feresetround_ctx): Likewise.
49026         (libc_feresetroundf_ctx): Likewise.
49027         (libc_feresetroundl_ctx): Likewise.
49028         (libc_feholdsetround_ctx): Likewise.
49029         (libc_feholdsetroundf_ctx): Likewise.
49030         (libc_feholdsetroundl_ctx): Likewise.
49032         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
49033         with __USE_GNU instead of XOPEN cpp guards.
49035         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
49036         0.
49038         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
49039         with XOPEN cpp guards.
49041 2014-04-30  Julian Brown  <julian@codesourcery.com>
49043         [BZ #16888]
49044         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
49045         handling.
49047 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
49049         [BZ #9894]
49050         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
49051         Change to 2.6.32.
49052         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
49053         * sysdeps/unix/sysv/linux/configure: Regenerated.
49054         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
49055         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
49056         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
49057         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
49058         * README: Update reference to required Linux kernel version.
49059         * manual/install.texi (Linux): Update reference to required Linux
49060         kernel headers version.
49061         * INSTALL: Regenerated.
49063         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
49064         header inclusion.
49065         [POSIX] (limits.h): Likewise.
49066         [POSIX] (math.h): Likewise.
49067         [POSIX] (sys/wait.h): Likewise.
49068         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
49069         function.
49070         [POSIX] (stddef.h): Do not allow header inclusion.
49072 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49074         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
49076 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
49078         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
49079         Return immediately after lll_futex_wake.
49081 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49083         [BZ #16791]
49084         * nscd/nscd-client.h (datahead_init_common): Initialize entire
49085         structure.
49086         (datahead_init_pos): Call datahead_init_common early.
49087         (datahead_init_neg): Likewise.
49089         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
49090         datahead_init_neg): New functions.
49091         * nscd/aicache.c (addhstaiX): Use them.
49092         * nscd/grpcache.c (cache_addgr): Likewise.
49093         * nscd/hstcache.c (cache_addhst): Likewise.
49094         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49095         * nscd/netgroupcache.c (do_notfound): Likewise.
49096         (addgetnetgrentX): Likewise.
49097         (addinnetgrX): Likewise.
49098         * nscd/pwdcache.c (cache_addpw): Likewise.
49099         * nscd/servicescache.c (cache_addserv): Likewise.
49101 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49102             Atsushi Onoe  <atsushi@onoe.org>
49104         [BZ #14308]
49105         [BZ #12994]
49106         [BZ #13651]
49107         * resolv/res_query.c (__libc_res_nsearch): Return if at least
49108         one response is valid.
49109         * resolv/res_send.c (send_dg): Check for validity of other
49110         response if the current response is a referral.
49112 2014-04-29  Steve Ellcey  <sellcey@mips.com>
49114         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
49116 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
49118         [BZ #16823]
49119         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
49120         Always divide by positive zero when computing -Inf result.
49121         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
49122         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
49124 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49126         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
49127         FPSCR if value do not change.
49128         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
49129         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
49130         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
49131         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
49132         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
49133         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
49134         function.
49136 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
49138         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
49139         * sysdeps/unix/sysv/linux/hppa: Move directory from
49140         ports/systeps/unix/sysv/linux/hppa.
49141         * README: Update listing for hppa-*-linux-gnu.
49143 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
49145         [BZ #16754]
49146         * manual/stdio.texi (Hook functions): Fix types of stream hook
49147         functions.
49148         [BZ #16854]
49149         * socket/sys/socket.h: Fix typo in comment.
49151 2014-04-28  Wilco  <wdijkstr@arm.com>
49153         * sysdeps/arm/fenv_private.h: New file.
49154         * sysdeps/arm/math_private.h: New file.
49155         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
49157 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
49159         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
49160         with __int128_t.
49161         (La_x86_64_retval): Likewise.
49163 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
49165         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
49166         fpsr if value didn't change.
49167         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
49168         to fpcr if value didn't change.
49169         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
49170         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
49171         fpsr or fpcr if value didn't change.
49172         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
49173         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
49174         fpcr if value didn't change.
49175         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
49176         to fpsr if value didn't change.
49178 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
49180         * nptl/tst-sem3.c: Use test-skeleton.c
49181         (main): Rename to do_test.  Use return instead of
49182         exit.
49183         * nptl/tst-sem4.c: Use test-skeleton.c
49184         (main): Rename to do_test.
49186 2014-04-22  David S. Miller  <davem@davemloft.net>
49188         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
49189         (struct sigaction): New struct member __glibc_reserved0, change
49190         type of sa_flags to int.
49192 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
49194         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
49195         (COUNT_LEADING_ZEROS_0): Define for AArch64.
49197 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49199         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
49200         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
49202 2014-04-22  Will Newton  <will.newton@linaro.org>
49203             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
49205         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
49206         (__longjmp): Add longjmp and longjmp_target SystemTap
49207         probes.
49208         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
49209         (__sigsetjmp): Add setjmp SystemTap probe.
49211 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
49213         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
49214         match manual order.
49216 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49218         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
49220         * sysdeps/powerpc/fpu/fenv_private.h
49221         (libc_feholdexcept_setroundl_ctx): Define to
49222         libc_feholdexcept_setround_ppc_ctx.
49223         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
49224         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
49225         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
49226         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
49228 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
49230         * sysdeps/aarch64/math-tests.h: New file.
49232 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
49234         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
49235         New.
49236         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49237         Check and set bit_AVX2_Usable.
49238         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
49239         macro.
49240         (bit_AVX2): Likewise.
49241         (index_AVX2_Usable): Likewise.
49242         (CPUID_AVX2): Likewise.
49243         (HAS_AVX2): Likewise.
49245 2014-04-17  Will Newton  <will.newton@linaro.org>
49247         * manual/setjmp.texi (System V contexts): Add note that
49248         calling setcontext on a context created by a call to a
49249         signal handler is undefined.  Update text to note that
49250         setcontext from a signal handler is possible but not
49251         recommended.
49253         [BZ #16629]
49254         * stdlib/tst-setcontext.c: Include signal.h.
49255         (main): Check that the signal stack before and
49256         after swapcontext is the same.
49258         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
49259         Re-implement to restore registers in user code and avoid
49260         rt_sigreturn system call.
49262 2014-04-17  Wilco  <wdijkstr@arm.com>
49264         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
49265         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
49266         * math/test-fenv.c: Skip exception trap tests on targets which only
49267         support non-stop mode.
49269 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
49270             Wilco Dijkstra  <wilco.dijkstra@arm.com>
49272         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
49273         (libc_feholdsetround_aarch64_ctx)
49274         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
49275         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
49276         (libc_feresetround_ctx, libc_feresetroundf_ctx)
49277         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
49278         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
49279         (libc_feresetround_noexl_ctx): Define.
49281 2014-04-16  Richard Henderson  <rth@redhat.com>
49283         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
49285         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
49286         unwind tables.
49288         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
49289         const from the non-libc, non-ldso copy.
49291         * sysdeps/alpha/libm-test-ulps: Regenerate.
49293 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
49294             Wilco Dijkstra  <wilco.dijkstra@arm.com>
49296         * sysdeps/aarch64/fpu/math_private.h: New file.
49298 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
49300         * sysdeps/aarch64/libm-test-ulps: Regenerate.
49302 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
49304         [BZ #16275]
49305         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
49306         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
49307         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
49308         Intel MPX bound registers before _dl_profile_fixup.
49309         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
49310         registers after _dl_profile_fixup.  Save and restore bound
49311         registers bnd0/bnd1 when calling _dl_call_pltexit.
49312         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
49313         (LR_BND_OFFSET): Likewise.
49314         (LRV_BND0_OFFSET): Likewise.
49315         (LRV_BND1_OFFSET): Likewise.
49317 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49319         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
49320         to...
49321         * sysdeps/mach/hurd/i386/tls.h: ... here.
49322         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
49323         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
49324         fields.
49326 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49328         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
49330 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
49332         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
49334 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
49336         [BZ #14770]
49337         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
49338         * sysdeps/s390/configure: Regenerate.
49340         [BZ #16824]
49341         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
49342         Set round-to-nearest internally to reduce error accumulation.
49344 2014-04-16  Alan Modra  <amodra@gmail.com>
49346         [BZ #16740]
49347         [BZ #16619]
49348         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
49349         * math/libm-test.inc (frexp_test_data): Add tests.
49350         * NEWS: Update fixed bug list.
49352 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49354         * benchtests/Makefile: Depend on libraries in build directory.
49355         (bench-math): Separate out math tests.
49356         (bench-pthread): Separate out pthread tests.
49357         (bench): Include math and pthread tests.
49359 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
49361         [BZ #16831]
49362         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
49363         _dl_debug_initialize.
49365         * configure.ac: Remove SELinux header check.
49366         * configure: Regenerate.
49367         * nscd/selinux.c (perms): Array of const char* to permission names.
49368         (nscd_request_avc_has_perm): Call security_deny_unknown to find
49369         default policy. Call string_to_security_class and string_to_av_perm to
49370         translate strings. Enforce default policy and call avs_has_perm with
49371         results of translated strings.
49373 2014-04-13  David S. Miller  <davem@davemloft.net>
49375         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49377 2014-04-12  Allan McRae  <allan@archlinux.org>
49379         [BZ #16838]
49380         * manual/string.texi (Collation Functions): Fix qsort argument
49381         order in example.
49382         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
49384 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
49386         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
49387         Make the test a no-op if there are no exceptions defined.
49389 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
49391         * elf/Makefile (tests): make tst-dlopen-aout conditional on
49392         enable-hardcoded-path-in-tests
49394 2014-04-11  Will Newton  <will.newton@linaro.org>
49396         * benchtests/Makefile (extra-objs): Add json-lib.o.
49397         (bench-func): Tidy up JSON output.
49398         * benchtests/bench-skeleton.c: Include json-lib.h.
49399         (main): Use JSON library functions to do output of
49400         benchmark results.
49401         * benchtests/bench-timing-type.c (main): Output the
49402         timing type simply, leaving formatting to the user.
49403         * benchtests/json-lib.c: New file.
49404         * benchtests/json-lib.h: Likewise.
49406 2014-04-11  Torvald Riegel  <triegel@redhat.com>
49408         [BZ #15215]
49409         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
49410         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
49411         memory barriers.  Add comments.
49412         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
49413         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
49414         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
49415         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
49416         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
49417         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
49419 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
49421         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
49422         * sysdeps/s390/s390-64/configure.ac: ... this ...
49423         * sysdeps/s390/configure.ac: ... to here.
49424         * sysdeps/s390/s390-32/configure: Delete file.
49425         * sysdeps/s390/s390-64/configure: Delete file.
49426         * sysdeps/s390/configure: Regenerate.
49428 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
49430         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
49432 2014-04-11  Will Newton  <will.newton@linaro.org>
49434         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
49435         to zero if it is not defined elsewhere.  (mtrim): Test
49436         the value of MALLOC_DEBUG with #if rather than #ifdef.
49438 2014-04-10 Torvald Riegel  <triegel@redhat.com>
49440         * benchtests/pthread_once-inputs: New file.
49441         * benchtests/pthread_once-source.c: New file.
49442         * benchtests/README: Update documentation.
49444 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
49445             H.J. Lu  <hongjiu.lu@intel.com>
49447         [BZ #16275]
49448         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
49449         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
49450         * sysdeps/x86_64/configure: Regenerated.
49451         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
49452         macro.
49453         (REGISTER_SAVE_RAX): Likewise.
49454         (REGISTER_SAVE_RCX): Likewise.
49455         (REGISTER_SAVE_RDX): Likewise.
49456         (REGISTER_SAVE_RSI): Likewise.
49457         (REGISTER_SAVE_RDI): Likewise.
49458         (REGISTER_SAVE_R8): Likewise.
49459         (REGISTER_SAVE_R9): Likewise.
49460         (REGISTER_SAVE_BND0): Likewise.
49461         (REGISTER_SAVE_BND1): Likewise.
49462         (REGISTER_SAVE_BND2): Likewise.
49463         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
49464         bound registers when calling _dl_fixup.
49466 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49468         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
49469         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
49470         of its definition.
49471         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
49472         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
49473         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
49474         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
49475         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
49476         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
49477         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
49479 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
49481         [BZ #15514]
49482         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
49483         pathconf(_PC_NAME_MAX).
49485 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49487         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
49488         Remove macro usage.
49489         (__PTHREAD_SPINS): Move definition to ...
49490         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
49491         (__PTHREAD_SPINS): ... here.
49492         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
49493         (__PTHREAD_SPIN): Likewise.
49494         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
49495         (__PTHREAD_SPIN): Likewise.
49496         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
49497         (__PTHREAD_SPIN): Likewise.
49498         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
49499         (__PTHREAD_SPIN): Likewise.
49500         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
49501         (__PTHREAD_SPIN): Likewise.
49502         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
49503         (__PTHREAD_SPIN): Likewise.
49504         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
49505         (__PTHREAD_SPIN): Likewise.
49506         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
49507         (__PTHREAD_SPIN): Likewise.
49508         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
49509         (__PTHREAD_SPIN): Likewise.
49510         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
49511         (__PTHREAD_SPIN): Likewise.
49512         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
49513         (__PTHREAD_SPIN): Likewise.
49514         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
49515         (__PTHREAD_SPIN): Likewise.
49517         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
49518         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
49519         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
49520         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
49521         imply folder.
49522         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
49523         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
49524         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
49525         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
49526         correct imply path.
49527         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
49528         strlen symbol for non multi-arch builds.
49529         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
49530         missing hidden_def and weak_alias.
49532 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
49534         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
49536 2014-04-07  Will Newton  <will.newton@linaro.org>
49538         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
49539         and contents.  [!_LIBC] Remove #ifndef and contents.
49540         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
49541         * string/memccpy.c (__memccpy): Use ANSI prototype.
49542         * string/memfrob.c (memfrob): Likewise.
49543         * string/strcoll.c (STRCOLL): Likewise.
49544         * string/strlen.c (strlen): Likewise.
49545         * string/strtok.c (STRTOK): Likewise.
49546         * string/strcat.c: Remove unused #include of memcopy.h.
49547         (strcat): Use ANSI prototype.
49548         * string/strchr.c: Remove unused #include of memcopy.h.
49549         (strchr): Use ANSI prototype.
49550         * string/strcmp.c: Remove unused #include of memcopy.h.
49551         (strcmp): Use ANSI prototype.
49552         * string/strcpy.c: Remove unused #include of memcopy.h.
49553         (strcpy): Use ANSI prototype.
49555 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49557         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
49558         * config.make.in (config-extra-cppflags): Set it from
49559         libc_extra_cppflags.
49560         * configure.ac (libc_extra_cflags): Make it accumulate over
49561         configure fragments.
49562         (libc_extra_cppflags): New flag.
49563         * configure. Regenerate.
49564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
49565         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
49566         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
49567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
49569         [BZ #16815]
49570         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
49571         result for FE_DOWNWARD rounding mode.
49572         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
49573         Likewise.
49574         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49576 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
49578         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
49579         in function argument name.
49581 2014-04-03  David Svoboda  <svoboda@cert.org>
49583         [BZ #5666]
49584         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
49585         explicitly.
49587 2014-04-03  Roland McGrath  <roland@hack.frob.com>
49589         * elf/dl-unmap-segments.h: New file.
49590         * sysdeps/generic/ldsodefs.h
49591         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
49592         * elf/dl-close.c: Include <dl-unmap-segments.h>.
49593         * elf/dl-fptr.c: Likewise.
49594         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
49595         * sysdeps/aarch64/tlsdesc.c: Likewise.
49596         * sysdeps/arm/tlsdesc.c: Likewise.
49597         * sysdeps/i386/tlsdesc.c: Likewise.
49598         * sysdeps/tile/dl-runtime.c: Likewise.
49599         * sysdeps/x86_64/tlsdesc.c: Likewise.
49600         * elf/dl-load.h: New file.
49601         * elf/dl-load.c: Include it.
49602         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
49603         Macros moved to dl-load.h.
49604         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
49605         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
49606         Use _dl_unmap_segments in place of __munmap.
49607         Break out segment-mapping loop into ...
49608         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
49610 2014-04-03  Will Newton  <will.newton@linaro.org>
49612         * elf/dl-lookup.c (do_lookup_x): Remove comment
49613         referring to nested function and move variable
49614         declarations down to before first use.
49616 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
49618         [BZ #16799]
49619         [BZ #16800]
49620         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
49621         with 0 numerator.
49622         * math/s_catanf.c (__catanf): Likewise.
49623         * math/s_catanh.c (__catanh): Likewise.
49624         * math/s_catanhf.c (__catanhf): Likewise.
49625         * math/s_catanhl.c (__catanhl): Likewise.
49626         * math/s_catanl.c (__catanl): Likewise.
49627         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
49628         by positive zero when computing -Inf result.
49629         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
49630         (catanh_test): Likewise.
49631         * sysdeps/i386/fpu/libm-test-ulps: Update.
49632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49634         [BZ #16789]
49635         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
49636         instead of using underflowing value in computing result.
49637         * math/s_clog10.c (__clog10): Likewise.
49638         * math/s_clog10f.c (__clog10f): Likewise.
49639         * math/s_clog10l.c (__clog10l): Likewise.
49640         * math/s_clogf.c (__clogf): Likewise.
49641         * math/s_clogl.c (__clogl): Likewise.
49642         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
49643         (clog10_test): Likewise.
49644         * sysdeps/i386/fpu/libm-test-ulps: Update.
49645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49647 2014-04-02  Alan Modra  <amodra@gmail.com>
49649         [BZ #16739]
49650         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
49651         output when value is near a power of two.  Use int64_t for lx and
49652         remove casts.  Use decimal rather than hex exponent constants.
49653         Don't use long double multiplication when double will suffice.
49654         * math/libm-test.inc (nextafter_test_data): Add tests.
49655         * NEWS: Add 16739 and 16786 to bug list.
49657         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
49659         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
49661 2014-04-01  Will Newton  <will.newton@linaro.org>
49663         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
49664         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
49666 2014-04-01  Florian Weimer  <fweimer@redhat.com>
49668         [BZ #13347]
49669         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
49670         * nptl/tst-setuid2.c: New file.
49671         * nptl/Makefile (xtests): Add tst-setuid2.
49673 2014-04-01  Alan Modra  <amodra@gmail.com>
49675         [BZ #16786]
49676         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
49678 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
49680         [BZ #6803]
49681         [BZ #6804]
49682         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
49683         set errno as appropriate.
49684         * math/w_scalbf.c (__scalbf): Likewise.
49685         * math/w_scalbl.c (__scalbl): Likewise.
49686         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
49687         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
49688         * math/libm-test.inc (scalb_test_data): Add errno expectations.
49689         Add more NaN tests.
49691         [BZ #16349]
49692         * math/w_atan2.c: Include <errno.h>.
49693         (__atan2): Set errno for result underflowing to zero.
49694         * math/w_atan2f.c: Include <errno.h>.
49695         (__atan2f): Set errno for result underflowing to zero.
49696         * math/w_atan2l.c: Include <errno.h>.
49697         (__atan2l): Set errno for result underflowing to zero.
49698         * math/auto-libm-test-in: Don't allow missing errno for some atan2
49699         tests.
49700         * math/auto-libm-test-out: Regenerated.
49702 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49704         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
49705         Encode instruction correctly in little endian.
49706         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
49707         Likewise.
49708         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
49709         Likewise.
49710         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
49711         Likewise.
49712         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
49713         Likewise.
49715 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
49717         [BZ #9894]
49718         * sysdeps/unix/sysv/linux/kernel-features.h
49719         [__sparc__ && !__arch64__ && !__sparc_v9__]
49720         (__ASSUME_SET_ROBUST_LIST): Do not define.
49721         [__sparc__ && !__arch64__ && !__sparc_v9__]
49722         (__ASSUME_FUTEX_LOCK_PI): Likewise.
49723         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
49724         Likewise.
49725         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49726         (__ASSUME_FUTEX_LOCK_PI): Undefine.
49727         (__ASSUME_REQUEUE_PI): Likewise.
49728         (__ASSUME_SET_ROBUST_LIST): Likewise.
49729         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
49730         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
49731         Undefine.
49732         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49733         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
49734         Likewise.
49735         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
49736         Likewise.
49737         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
49738         Likewise.
49739         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49740         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
49741         Undefine.
49742         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
49743         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
49744         Likewise.
49746         [BZ #16648]
49747         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49748         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
49749         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
49751 2014-03-31  Will Newton  <will.newton@linaro.org>
49753         * benchtests/Makefile (bench): Add ffs and ffsll to list
49754         of tests.
49755         * benchtests/ffs-inputs: New file.
49756         * benchtests/ffsll-inputs: Likewise.
49758 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
49760         [BZ #16770]
49761         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
49762         too large before casting to int.
49763         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
49764         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
49765         * math/libm-test.inc (scalb_test_data): Add more tests.
49767 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49769         * benchtests/Makefile (DETAILED_OPT): New make option.
49770         (bench-func): Run benchmark program with -d if DETAILED_OPT is
49771         set.
49772         * benchtests/bench-skeleton.c: Include stdbool.h.
49773         (main): Store and print timings per input.
49774         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
49775         member to each argument value.
49776         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
49777         (_print_arg_data): Initialize per-input timing to 0.
49779         * benchtests/Makefile (timing-type): New binary.
49780         (bench-clean): Also remove bench-timing-type.
49781         (bench): New target for timing-type.
49782         (bench-func): Print output in JSON format.
49783         * benchtests/bench-skeleton.c (main): Print output in JSON
49784         format.
49785         * benchtests/bench-timing-type.c: New file.
49786         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
49787         (TIMING_PRINT_STATS): Remove.
49788         * benchtests/scripts/bench.py (_print_arg_data): Store variant
49789         name separately.
49791         * benchtests/bench-modf.c: Remove.
49792         * benchtests/modf-inputs: New inputs file.
49794 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
49796         [BZ #16362]
49797         * math/s_clog10.c (M_PI_LOG10E): New macro.
49798         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
49799         imaginary parts are 0.
49800         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
49801         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
49802         imaginary parts are 0.
49803         * math/s_clog10l.c (M_PI_LOG10El): New macro.
49804         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
49805         imaginary parts are 0.
49806         * math/libm-test.inc (clog10_test_data): Update expected results
49807         for when real and imaginary parts are 0.
49809 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
49811         * elf/dl-load.c: Finish conversion of __builtin_expect into
49812         __glibc_{un}likely.
49814 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
49816         [BZ #16348]
49817         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
49818         1+x for argument with exponent below -67.
49819         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
49820         Likewise.
49821         * math/auto-libm-test-in: Add more tests of exp.
49822         * math/auto-libm-test-out: Regenerated.
49824 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49826         [BZ #16759]
49827         * inet/getnetgrent_r.c (get_nonempty_val): New function.
49828         (nscd_getnetgrent): Use it.
49830         [BZ #16760]
49831         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
49832         of stpcpy.
49834 2014-03-27  Andi Kleen  <ak@linux.intel.com>
49836         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
49837         (lll_robust_lock, lll_cond_lock, lll_timedlock)
49838         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
49839         (lll_robust_unlock): Remove out of line section. Use cfi
49840         intrinsics.
49841         (LLL_STUB_UNWIND_INFO*): Remove.
49842         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
49843         (lll_robust_lock, lll_cond_lock, lll_timedlock)
49844         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
49845         (lll_robust_unlock): Remove out of line section. Use cfi
49846         intrinsics.
49847         (LLL_STUB_UNWIND_INFO*): Remove.
49849 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49851         [BZ #16758]
49852         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
49853         blank values.
49855 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
49857         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
49859 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
49861         [BZ #16198]
49862         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
49863         fnstenv.
49864         * math/test-fenv-preserve.c: New file.
49865         * math/Makefile (tests): Add test-fenv-preserve.
49867 2014-03-26  Will Newton <will.newton@linaro.org>
49869         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
49871 2014-03-25  Roland McGrath  <roland@hack.frob.com>
49873         * scripts/versionlist.awk: Partition the version sets and emit all
49874         GLIBC_* (sorted) before all others (sorted).
49876 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
49878         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
49879         GLIBC_2.2.5 version.
49881 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49883         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
49884         calls.
49886         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
49887         previous change.
49889         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49891 2014-03-25  Andreas Schwab  <schwab@suse.de>
49893         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
49894         label to be used after in6ailist is initialized.
49896 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49898         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
49899         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
49901 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
49903         [BZ #16357]
49904         [BZ #16599]
49905         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
49906         min_plus_half.
49907         (fp_formats): Update initializers.
49908         (init_fp_formats): Initialize new field.
49909         (output_for_one_input_case): Allow underflow for results up to
49910         min_plus_half.
49911         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
49912         * math/auto-libm-test-in: Don't mark some underflows from asin and
49913         atanh as spurious.
49914         * math/auto-libm-test-out: Regenerated.
49915         * sysdeps/i386/fpu/libm-test-ulps: Update.
49916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49918 2014-03-25  Andreas Schwab  <schwab@suse.de>
49920         * libio/Makefile (tst-ftell-partial-wide-ENV)
49921         (tst-ftell-active-handler-ENV): Define.
49923 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
49925         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
49927 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
49929         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
49931 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
49933         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
49934         * sysdeps/x86_64/fpu/multiarch/e_exp.c
49935         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
49937 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
49939         [BZ #16634]
49940         * elf/dl-load.c (open_verify): Add mode parameter.
49941         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
49942         (open_path): Change from boolean 'secure' to complete flag 'mode'
49943         (_dl_map_object): Adjust.
49944         * elf/Makefile (tests): Add tst-dlopen-aout.
49945         * elf/tst-dlopen-aout.c: New test.
49947 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
49949         [BZ #16714]
49950         * sysdeps/unix/sysv/linux/s390/bits/stat.h
49951         (struct stat): Rename member pad0 to __glibc_reserved0.
49953         [BZ #16712]
49954         * sysdeps/s390/s390-32/bits/wordsize.h
49955         (__WORDSIZE32_SIZE_ULONG): New define.
49956         * sysdeps/s390/s390-64/bits/wordsize.h
49957         (__WORDSIZE32_SIZE_ULONG): Likewise.
49958         * sysdeps/generic/stdint.h (SIZE_MAX):
49959         Define as UL if __WORDSIZE32_SIZE_ULONG.
49961         [BZ #16713]
49962         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
49963         (__glibc_reserved0): New variable.
49964         (sa_flags): Change type to int.
49966         * posix/Makefile (before-compile): Use += before-compile instead
49967         of a :=.
49969         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
49970         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
49972 2014-03-20  Andreas Schwab  <schwab@suse.de>
49974         [BZ #16743]
49975         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
49976         non-matching result from nscd.
49978 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49980         * scripts/bench.py: Moved to ...
49981         * benchtests/scripts/bench.py: ... here.
49982         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
49984 2014-03-24  Andreas Schwab  <schwab@suse.de>
49986         [BZ #16002]
49987         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
49988         alloca_account and account alloca use for struct in6ailist.
49990 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
49992         [BZ #16284]
49993         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
49994         rounding mode to recompute results that overflow to infinity or
49995         underflow to zero.
49996         * math/auto-libm-test-in: Don't mark tests as expected to fail for
49997         bug 16284.
49998         * math/auto-libm-test-out: Regenerated.
49999         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
50000         (ccosh_test): Likewise.
50001         (csin_test_data): Use plus_oflow.
50002         (csin_test): Use ALL_RM_TEST.
50003         (csinh_test_data): Use plus_oflow.
50004         (csinh_test): Use ALL_RM_TEST.
50005         * sysdeps/i386/fpu/libm-test-ulps: Update.
50006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50008 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
50010         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
50011         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
50012         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
50014         [BZ #16731]
50015         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
50016         when x - 1 is zero.
50017         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
50018         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
50019         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
50020         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
50021         argument is 1.
50022         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
50023         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
50024         zero.
50025         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
50026         * sysdeps/i386/fpu/libm-test-ulps: Update.
50027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50029 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50031         * scripts/bench.pl: Remove file.
50032         * scripts/bench.py: New benchmark script.
50033         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
50034         * benchtests/README: Mention python dependency.
50035         * scripts/pylintrc: New file.
50036         * scripts/pylint: New file.
50038         * bits/mathdef.h: Use #ifdef instead of #if.
50039         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
50040         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
50041         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
50042         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
50043         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
50044         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
50046 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50047             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
50049         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
50050         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
50051         and strpbrk-ppc64 objects.
50052         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50053         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
50054         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
50055         multiarch strpbrk for POWER7.
50056         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
50057         multiarch strpbrk for PPC64.
50058         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
50059         ifunc selector.
50060         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
50061         strpbrk for POWER7.
50063 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
50065         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
50066         (atan_test): Likewise.
50067         (atanh_test_data): Use NO_TEST_INLINE for two tests.
50068         (atanh_test): Use ALL_RM_TEST.
50069         (atan2_test_data): Likewise.
50070         (cabs_test): Likewise.
50071         (cacosh_test): Likewise.
50072         (carg_test): Likewise.
50073         (casin_test): Likewise.
50074         (casinh_test): Likewise.
50075         (cbrt_test): Likewise.
50076         (csqrt_test): Likewise.
50077         (erf_test): Likewise.
50078         (erfc_test): Likewise.
50079         (pow10_test): Likewise.
50080         (exp2_test): Likewise.
50081         (hypot_test): Likewise.
50082         (j0_test): Likewise.
50083         (j1_test): Likewise.
50084         (lgamma_test): Likewise.
50085         (gamma_test): Likewise.
50086         (sincos_test): Likewise.
50087         (tanh_test): Likewise.
50088         (y0_test): Likewise.
50089         (y1_test): Likewise.
50090         * sysdeps/i386/fpu/libm-test-ulps: Update.
50091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50093 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50095         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
50096         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
50097         and strcspn-ppc64 objects.
50098         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50099         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
50100         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
50101         multiarch strcspn for POWER7.
50102         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
50103         multiarch strcspn for PPC64.
50104         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
50105         ifunc selector.
50106         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
50107         strcspn for POWER7.
50109 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
50111         * math/gen-libm-test.pl (generate_testfile): Expect only function
50112         name as argument to AUTO_TESTS_* and pass results for all rounding
50113         modes to parse_args.
50114         (parse_auto_input): Separate inputs of automatic tests from
50115         outputs before storing in %auto_tests.
50116         * math/libm-test.inc (acos_test_data): Update call to
50117         AUTO_TESTS_f_f.
50118         (acos_test): Use ALL_RM_TEST.
50119         (acos_tonearest_test_data): Remove.
50120         (acos_test_tonearest): Likewise.
50121         (acos_towardzero_test_data): Likewise.
50122         (acos_test_towardzero): Likewise.
50123         (acos_downward_test_data): Likewise.
50124         (acos_test_downward): Likewise.
50125         (acos_upward_test_data): Likewise.
50126         (acos_test_upward): Likewise.
50127         (acosh_test_data): Update call to AUTO_TESTS_f_f.
50128         (asin_test_data): Likewise.
50129         (asin_test): Use ALL_RM_TEST.
50130         (asin_tonearest_test_data): Remove.
50131         (asin_test_tonearest): Likewise.
50132         (asin_towardzero_test_data): Likewise.
50133         (asin_test_towardzero): Likewise.
50134         (asin_downward_test_data): Likewise.
50135         (asin_test_downward): Likewise.
50136         (asin_upward_test_data): Likewise.
50137         (asin_test_upward): Likewise.
50138         (asinh_test_data): Update call to AUTO_TESTS_f_f.
50139         (atan_test_data): Likewise.
50140         (atanh_test_data): Likewise.
50141         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
50142         (cabs_test_data): Update call to AUTO_TESTS_c_f.
50143         (carg_test_data): Likewise.
50144         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
50145         (ccos_test_data): Update call to AUTO_TESTS_c_c.
50146         (ccosh_test_data): Likewise.
50147         (cexp_test_data): Likewise.
50148         (clog_test_data): Likewise.
50149         (clog10_test_data): Likewise.
50150         (cos_test_data): Update call to AUTO_TESTS_f_f.
50151         (cos_test): Use ALL_RM_TEST.
50152         (cos_tonearest_test_data): Remove.
50153         (cos_test_tonearest): Likewise.
50154         (cos_towardzero_test_data): Likewise.
50155         (cos_test_towardzero): Likewise.
50156         (cos_downward_test_data): Likewise.
50157         (cos_test_downward): Likewise.
50158         (cos_upward_test_data): Likewise.
50159         (cos_test_upward): Likewise.
50160         (cosh_test_data): Update call to AUTO_TESTS_f_f.
50161         (cosh_test): Use ALL_RM_TEST.
50162         (cosh_tonearest_test_data): Remove.
50163         (cosh_test_tonearest): Likewise.
50164         (cosh_towardzero_test_data): Likewise.
50165         (cosh_test_towardzero): Likewise.
50166         (cosh_downward_test_data): Likewise.
50167         (cosh_test_downward): Likewise.
50168         (cosh_upward_test_data): Likewise.
50169         (cosh_test_upward): Likewise.
50170         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
50171         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
50172         (ctan_test_data): Likewise.
50173         (ctan_test): Use ALL_RM_TEST.
50174         (ctan_tonearest_test_data): Remove.
50175         (ctan_test_tonearest): Likewise.
50176         (ctan_towardzero_test_data): Likewise.
50177         (ctan_test_towardzero): Likewise.
50178         (ctan_downward_test_data): Likewise.
50179         (ctan_test_downward): Likewise.
50180         (ctan_upward_test_data): Likewise.
50181         (ctan_test_upward): Likewise.
50182         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
50183         (ctanh_test): Use ALL_RM_TEST.
50184         (ctanh_tonearest_test_data): Remove.
50185         (ctanh_test_tonearest): Likewise.
50186         (ctanh_towardzero_test_data): Likewise.
50187         (ctanh_test_towardzero): Likewise.
50188         (ctanh_downward_test_data): Likewise.
50189         (ctanh_test_downward): Likewise.
50190         (ctanh_upward_test_data): Likewise.
50191         (ctanh_test_upward): Likewise.
50192         (erf_test_data): Update call to AUTO_TESTS_f_f.
50193         (erfc_test_data): Likewise.
50194         (exp_test_data): Likewise.
50195         (exp_test): Use ALL_RM_TEST.
50196         (exp_tonearest_test_data): Remove.
50197         (exp_test_tonearest): Likewise.
50198         (exp_towardzero_test_data): Likewise.
50199         (exp_test_towardzero): Likewise.
50200         (exp_downward_test_data): Likewise.
50201         (exp_test_downward): Likewise.
50202         (exp_upward_test_data): Likewise.
50203         (exp_test_upward): Likewise.
50204         (exp10_test_data): Update call to AUTO_TESTS_f_f.
50205         (exp10_test): Use ALL_RM_TEST.
50206         (exp10_tonearest_test_data): Remove.
50207         (exp10_test_tonearest): Likewise.
50208         (exp10_towardzero_test_data): Likewise.
50209         (exp10_test_towardzero): Likewise.
50210         (exp10_downward_test_data): Likewise.
50211         (exp10_test_downward): Likewise.
50212         (exp10_upward_test_data): Likewise.
50213         (exp10_test_upward): Likewise.
50214         (exp2_test_data): Update call to AUTO_TESTS_f_f.
50215         (expm1_test_data): Likewise.
50216         (expm1_test): Use ALL_RM_TEST.
50217         (expm1_tonearest_test_data): Remove.
50218         (expm1_test_tonearest): Likewise.
50219         (expm1_towardzero_test_data): Likewise.
50220         (expm1_test_towardzero): Likewise.
50221         (expm1_downward_test_data): Likewise.
50222         (expm1_test_downward): Likewise.
50223         (expm1_upward_test_data): Likewise.
50224         (expm1_test_upward): Likewise.
50225         (fma_test_data): Update call to AUTO_TESTS_fff_f.
50226         (fma_test): Use ALL_RM_TEST.
50227         (fma_towardzero_test_data): Remove.
50228         (fma_test_towardzero): Likewise.
50229         (fma_downward_test_data): Likewise.
50230         (fma_test_downward): Likewise.
50231         (fma_upward_test_data): Likewise.
50232         (fma_test_upward): Likewise.
50233         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
50234         (j0_test_data): Update call to AUTO_TESTS_f_f.
50235         (j1_test_data): Likewise.
50236         (jn_test_data): Update call to AUTO_TESTS_if_f.
50237         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
50238         (log_test_data): Update call to AUTO_TESTS_f_f.
50239         (log10_test_data): Likewise.
50240         (log1p_test_data): Likewise.
50241         (log2_test_data): Likewise.
50242         (pow_test_data): Update call to AUTO_TESTS_ff_f.
50243         (pow_tonearest_test_data): Likewise.
50244         (sin_test_data): Update call to AUTO_TESTS_f_f.
50245         (sin_test): Use ALL_RM_TEST.
50246         (sin_tonearest_test_data): Remove.
50247         (sin_test_tonearest): Likewise.
50248         (sin_towardzero_test_data): Likewise.
50249         (sin_test_towardzero): Likewise.
50250         (sin_downward_test_data): Likewise.
50251         (sin_test_downward): Likewise.
50252         (sin_upward_test_data): Likewise.
50253         (sin_test_upward): Likewise.
50254         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
50255         (sinh_test_data): Update call to AUTO_TESTS_f_f.
50256         (sinh_test): Use ALL_RM_TEST.
50257         (sinh_tonearest_test_data): Remove.
50258         (sinh_test_tonearest): Likewise.
50259         (sinh_towardzero_test_data): Likewise.
50260         (sinh_test_towardzero): Likewise.
50261         (sinh_downward_test_data): Likewise.
50262         (sinh_test_downward): Likewise.
50263         (sinh_upward_test_data): Likewise.
50264         (sinh_test_upward): Likewise.
50265         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
50266         (sqrt_test): Use ALL_RM_TEST.
50267         (sqrt_tonearest_test_data): Remove.
50268         (sqrt_test_tonearest): Likewise.
50269         (sqrt_towardzero_test_data): Likewise.
50270         (sqrt_test_towardzero): Likewise.
50271         (sqrt_downward_test_data): Likewise.
50272         (sqrt_test_downward): Likewise.
50273         (sqrt_upward_test_data): Likewise.
50274         (sqrt_test_upward): Likewise.
50275         (tan_test_data): Update call to AUTO_TESTS_f_f.
50276         (tan_test): Use ALL_RM_TEST.
50277         (tan_tonearest_test_data): Remove.
50278         (tan_test_tonearest): Likewise.
50279         (tan_towardzero_test_data): Likewise.
50280         (tan_test_towardzero): Likewise.
50281         (tan_downward_test_data): Likewise.
50282         (tan_test_downward): Likewise.
50283         (tan_upward_test_data): Likewise.
50284         (tan_test_upward): Likewise.
50285         (tanh_test_data): Update call to AUTO_TESTS_f_f.
50286         (tgamma_test_data): Likewise.
50287         (y0_test_data): Likewise.
50288         (y1_test_data): Likewise.
50289         (yn_test_data): Update call to AUTO_TESTS_if_f.
50290         (main): Do not call removed functions.
50292 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
50294         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
50295         (ldexp_test_data): Remove.
50296         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
50297         scalbn_test_data.
50298         (scalb_test): Use ALL_RM_TEST.
50300 2014-03-19  Andreas Schwab  <schwab@suse.de>
50302         * nscd/nscd.service: Also invalidate netgroup cache on reload.
50304 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
50306         [BZ #16649]
50307         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50308         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
50309         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
50310         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50311         (__ASSUME_PREADV): Undefine.
50312         (__ASSUME_PWRITEV): Likewise.
50314 2014-03-18  Roland McGrath  <roland@hack.frob.com>
50316         * bits/mman-linux.h: Add comment about non-Linux use.
50317         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
50318         bits/mman-linux.h resting place.
50320         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
50321         * bits/mman-linux.h: ... here.
50323 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50325         * conform/conformtest.pl: Add standard definition when calling C
50326         preprocessor on data files.
50327         (checknamespace): Remove unused variable.
50329 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
50331         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
50332         minus_oflow, plus_uflow and minus_uflow in expected results.
50333         * math/libm-test.inc (scalbn_test_data): Add more tests of
50334         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
50335         minus_uflow.
50336         (scalbn_test): Use ALL_RM_TEST.
50337         (scalbln_test_data): Add more tests of negative arguments.  Use
50338         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
50339         (scalbln_test): Use ALL_RM_TEST.
50341 2014-03-18  Roland McGrath  <roland@hack.frob.com>
50343         * scripts/abilist.awk: Ignore symbols marked with .hidden.
50345 2014-03-18  Will Newton  <will.newton@linaro.org>
50347         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
50348         inaccurate comment.
50350 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
50352         * Makerules [!subdir] (check-abi): Exit with error status if a
50353         test failed.
50355 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
50357         * math/libm-test.inc (nearbyint_test_data): Include all tests used
50358         for rint.  Include results for all rounding modes.
50359         (nearbyint_test): Use ALL_RM_TEST.
50360         (rint_test_data): Include all tests used for nearbyint.
50362 2014-03-17  Will Newton  <will.newton@linaro.org>
50364         * nptl/sysdeps/pthread/pthread.h: Revert previous
50365         change.
50367         * sysdeps/generic/ldsodefs.h: Revert previous
50368         change.
50370         * libio/genops.c: Revert previous change.
50371         * libio/libioP.h: Likewise.
50372         * stdio-common/vfprintf.c: Likewise.
50374         * sysdeps/generic/math_private.h: Revert previous
50375         change.
50377         * sysdeps/generic/math_private.h: Check whether
50378         HAVE_RM_CTX is defined with #ifdef rather
50379         than #if.
50381         * argp/argp-fmtstream.h: Check whether
50382         __STRICT_ANSI__ is defined with #ifdef rather
50383         than #if.
50384         * argp/argp.h: Likewise.
50386         * libio/genops.c: Check whether
50387         _IO_JUMPS_OFFSET is defined with #ifdef rather
50388         than #if.
50389         * libio/libioP.h: Likewise.
50390         * stdio-common/vfprintf.c: Likewise.
50392         * sysdeps/generic/ldsodefs.h: Check whether
50393         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
50394         than #if.
50396         * nptl/sysdeps/pthread/pthread.h: Check
50397         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
50398         its value.
50400 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
50402         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
50403         setting O_APPEND.
50404         * libio/tst-ftell-active-handler.c (do_append_test): Add a
50405         test case.
50407         [BZ #16680]
50408         * libio/fileops.c (_IO_file_open): Seek to end of file but
50409         don't cache the offset.
50410         (get_file_offset): Remove function.
50411         (do_ftell): Use cached offset when available.
50412         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
50413         don't cache the offset.
50414         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
50415         case.
50416         (do_one_test): Call it.
50417         (do_ftell_test): Fix up expected old offset for a+ mode.
50418         * libio/wfileops.c (do_ftell_wide): Used cached offset when
50419         available.
50421         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
50422         up test status with function return status.
50423         (do_write_test): Likewise.
50424         (do_append_test): Likewise.
50426         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
50427         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
50428         Remove.
50430 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
50432         * math/gen-libm-test.pl (parse_args): Handle results specified for
50433         each rounding mode separately.
50434         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
50435         tests and results from lrint_tonearest_test_data,
50436         lrint_towardzero_test_data, lrint_downward_test_data and
50437         lrint_upward_test_data.
50438         (lrint_test): Use ALL_RM_TEST.
50439         (lrint_tonearest_test_data): Remove.
50440         (lrint_test_tonearest): Likewise.
50441         (lrint_towardzero_test_data): Likewise.
50442         (lrint_test_towardzero): Likewise.
50443         (lrint_downward_test_data): Likewise.
50444         (lrint_test_downward): Likewise.
50445         (lrint_upward_test_data): Likewise.
50446         (lrint_test_upward): Likewise.
50447         (llrint_test_data): Merge in per-rounding-mode tests and results
50448         from llrint_tonearest_test_data, llrint_towardzero_test_data,
50449         llrint_downward_test_data and llrint_upward_test_data.
50450         (llrint_test): Use ALL_RM_TEST.
50451         (llrint_tonearest_test_data): Remove.
50452         (llrint_test_tonearest): Likewise.
50453         (llrint_towardzero_test_data): Likewise.
50454         (llrint_test_towardzero): Likewise.
50455         (llrint_downward_test_data): Likewise.
50456         (llrint_test_downward): Likewise.
50457         (llrint_upward_test_data): Likewise.
50458         (llrint_test_upward): Likewise.
50459         (rint_test_data): Merge in per-rounding-mode tests and results
50460         from rint_tonearest_test_data, rint_towardzero_test_data,
50461         rint_downward_test_data and rint_upward_test_data.  Add
50462         per-rounding-mode results for tests not in those arrays.
50463         (rint_test): Use ALL_RM_TEST.
50464         (rint_tonearest_test_data): Remove.
50465         (rint_test_tonearest): Likewise.
50466         (rint_towardzero_test_data): Likewise.
50467         (rint_test_towardzero): Likewise.
50468         (rint_downward_test_data): Likewise.
50469         (rint_test_downward): Likewise.
50470         (rint_upward_test_data): Likewise.
50471         (rint_test_upward): Likewise.
50472         (main): Don't call removed functions.
50474 2014-03-14  Roland McGrath  <roland@hack.frob.com>
50476         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
50477         "Compiled on ..." crapola.  It is anti-useful.
50479 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
50481         * scripts/evaluate-test.sh: Handle fourth argument to determine
50482         whether test run should stop on failure.
50483         * Makeconfig (stop-on-test-failure): New variable.
50484         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
50485         $(stop-on-test-failure).
50486         * Makefile (tests): Give a summary of results from testing and
50487         exit with failure status if they include an ERROR or FAIL.
50488         (xtests): Likewise.
50489         * manual/install.texi (Configuring and compiling): Mention
50490         stop-on-test-failure=y.
50491         * INSTALL: Regenerated.
50493 2014-03-14  Roland McGrath  <roland@hack.frob.com>
50495         * scripts/versionlist.awk: New file.
50496         * Makerules [$(build-shared) = yes]
50497         (postclean-generated): Add Versions.def, not Versions.def.v and
50498         Versions.def.v.i.
50499         ($(common-objpfx)Versions.def.v.i): Target removed.
50500         ($(common-objpfx)Versions.def): New target.
50501         ($(common-objpfx)Versions.all): Depend on that rather that
50502         $(common-objpfx)Versions.def.v.
50503         * Versions.def: File removed.
50505         * Makeconfig (+gccwarn): Add -Wundef.
50506         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
50507         a dl-sysdep.h breaking its contract.
50508         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
50509         * include/stackinfo.h: New file.
50510         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
50511         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
50512         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
50513         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
50514         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
50515         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
50516         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50517         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50518         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50519         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50520         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50521         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
50522         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50523         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50524         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50526 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50528         [BZ #16707]
50529         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
50530         implementation.
50531         * math/libm-test.inc (round_test_data): Add more tests.
50533         [BZ #16706]
50534         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
50535         implementation.
50536         * math/libm-test.inc (nearbyint_test_data): Add more tests.
50538         [BZ #16701]
50539         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
50540         implementation.
50541         * math/libm-test.inc (ceil_test_data): Add more tests.
50543         * math/libm-test.inc (trunc_test_data): Add more tests related to
50544         BZ#16414.
50546 2014-03-14  Roland McGrath  <roland@hack.frob.com>
50548         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
50549         with #if rather than #ifdef.
50550         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
50552 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
50554         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
50555         first.  Disable AVX-512 GCC support if assembler doesn't support
50556         it.
50557         * sysdeps/x86_64/configure: Regenerated.
50559 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
50561         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
50562         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
50563         (__old_pthread_attr_setstack): Likewise.
50564         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
50565         [!_STACK_GROWS_DOWN]: Likewise.
50567 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
50569         * config.make.in (have-bash2): Delete.
50570         * configure.ac (libc_cv_have_bash2): Delete.
50571         * configure: Regenerate.
50572         * elf/Makefile (common-ldd-rewrite): Rename to ...
50573         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
50574         (sh-ldd-rewrite): Delete.
50575         (bash-ldd-rewrite): Delete.
50576         (have-bash2): Delete checks.
50577         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
50578         ldd-rewrite.
50580         * config.make.in (have-ksh): Delete.
50581         (KSH): Delete.
50582         * configure.ac (libc_cv_have_ksh): Delete.
50583         * configure: Regenerate.
50585         * elf/Makefile: Delete $(have-ksh) check.
50586         ($(objpfx)sotruss): Change KSH to BASH.
50587         * elf/sotruss.ksh: Rename to ...
50588         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
50589         function style to match POSIX.  Drop ksh vim mode setting.
50591         * manual/time.texi (Specifying the Time Zone with TZ): Change
50592         Tuesday to Thursday.
50594         * debug/tst-longjmp_chk2.c: Update header comment.
50595         (stackoverflow_handler): Add comment.  Call assert on pass value.
50597 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
50599         [BZ #16194]
50600         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
50601         (HAVE_AVX512_ASM_SUPPORT): Likewise.
50602         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
50603         (La_x86_64_vector): Add zmm.
50604         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
50605         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
50606         ($(objpfx)tst-audit10): New target.
50607         ($(objpfx)tst-audit10.out): Likewise.
50608         (tst-audit10-ENV): New.
50609         (AVX512-CFLAGS): Likewise.
50610         (CFLAGS-tst-audit10.c): Likewise.
50611         (CFLAGS-tst-auditmod10a.c): Likewise.
50612         (CFLAGS-tst-auditmod10b.c): Likewise.
50613         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
50614         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
50615         * sysdeps/x86_64/configure: Regenerated.
50616         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
50617         AVX-512 zmm register support.
50618         (_dl_x86_64_save_sse): Likewise.
50619         (_dl_x86_64_restore_sse): Likewise.
50620         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
50621         size vector registers.
50622         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
50623         (ZMM_SIZE): Likewise.
50624         * sysdeps/x86_64/tst-audit10.c: New file.
50625         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
50626         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
50628 2014-03-13  Roland McGrath  <roland@hack.frob.com>
50630         * configure.ac (HAVE_EHDR_START): New check.
50631         * configure: Regenerated.
50632         * config.h.in (HAVE_EHDR_START): New #undef.
50633         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
50634         assuming the lowest-addressed segment maps the start of the file.
50636 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
50638         * INSTALL: Regenerated.
50640 2014-03-13  Will Newton  <will.newton@linaro.org>
50642         * manual/setjmp.texi (System V contexts): Improve
50643         clarity and grammar of documentation.
50645 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
50647         [BZ #16381]
50648         * elf/Makefile (tests): Add tst-pie2.
50649         (tests-pie): Add tst-pie2.
50650         * elf/tst-pie2.c: New file.
50651         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
50652         for ET_EXEC.
50653         * elf/rtld.c (map_doit): Load executable as lt_executable.
50654         (dl_main): Likewise.
50656 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
50658         [BZ #16642]
50659         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50660         (__ASSUME_PSELECT): Undefine.
50662 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50664         [BZ #16689]
50665         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
50666         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
50667         static build.
50668         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
50669         selector for static builds.
50671 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
50673         [BZ #16695]
50674         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
50675         key in the buffer.
50677 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50679         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
50680         IFUNC selector for static builds.
50682 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
50684         * sysdeps/mips/math_private.h [__mips_hard_float]
50685         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
50686         libc_feresetround_mips_ctx.
50687         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
50688         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
50689         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
50691         [BZ #16677]
50692         * math/s_nextafter.c (__nextafter): Do not return value from
50693         overflowing computation.
50694         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
50695         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
50696         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
50697         Likewise.
50698         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
50699         Likewise.
50700         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
50701         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
50703 2014-03-11  Roland McGrath  <roland@hack.frob.com>
50705         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
50706         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
50707         Move sfi_sp use from the load-multiple (that no longer sets sp) to
50708         the new mov targetting sp.
50710 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50712         [BZ #16683]
50713         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
50714         Define it for static builds as well.
50715         (NO_BZERO_IMPL): Likewise.
50717 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
50719         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
50720         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
50721         multiarch strspn for PPC64.
50722         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
50723         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
50724         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50725         (__libc_ifunc_impl_list): Likewise.
50726         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
50727         multiarch optimizations
50728         * string/strspn.c (strspn): Using macro to redefine symbol name.
50730 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
50731             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50733         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
50734         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
50735         multiarch strncat for PPC64.
50736         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
50737         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
50738         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50739         (__libc_ifunc_impl_list): Likewise.
50740         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
50741         multiarch optimizations
50743 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50745         [BZ #16639]
50746         * nscd/nscd.service: Make service type forking.
50748 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50750         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
50751         sign in non default rounding modes.
50752         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
50754 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
50756         * math/libm-test.inc (ALL_RM_TEST): New macro.
50757         (ceil_test): Use ALL_RM_TEST.
50758         (cimag_test): Likewise.
50759         (conj_test): Likewise.
50760         (copysign_test): Likewise.
50761         (cproj_test): Likewise.
50762         (creal_test): Likewise.
50763         (fabs_test): Likewise.
50764         (floor_test): Likewise.
50765         (fmax_test): Likewise.
50766         (fmin_test): Likewise.
50767         (fmod_test): Likewise.
50768         (fpclassify_test): Likewise.
50769         (frexp_test): Likewise.
50770         (ilogb_test): Likewise.
50771         (isfinite_test): Likewise.
50772         (finite_test): Likewise.
50773         (isgreater_test): Likewise.
50774         (isgreaterequal_test): Likewise.
50775         (isinf_test): Likewise.
50776         (isless_test): Likewise.
50777         (islessequal_test): Likewise.
50778         (islessgreater_test): Likewise.
50779         (isnan_test): Likewise.
50780         (isnormal_test): Likewise.
50781         (issignaling_test): Likewise.
50782         (isunordered_test): Likewise.
50783         (logb_test): Likewise.
50784         (logb_downward_test_data): Remove.
50785         (logb_test_downward): Likewise.
50786         (lround_test): Use ALL_RM_TEST.
50787         (llround_test): Likewise.
50788         (modf_test): Likewise.
50789         (nexttoward_test): Likewise.
50790         (remainder_test): Likewise.
50791         (drem_test): Likewise.
50792         (remainder_tonearest_test_data): Likewise.
50793         (remainder_test_tonearest): Likewise.
50794         (drem_test_tonearest): Likewise.
50795         (remainder_towardzero_test_data): Likewise.
50796         (remainder_test_towardzero): Likewise.
50797         (drem_test_towardzero): Likewise.
50798         (remainder_downward_test_data): Likewise.
50799         (remainder_test_downward): Likewise.
50800         (drem_test_downward): Likewise.
50801         (remainder_upward_test_data): Likewise.
50802         (remainder_test_upward): Likewise.
50803         (drem_test_upward): Likewise.
50804         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
50805         (round_test): Use ALL_RM_TEST.
50806         (signbit_test): Likewise.
50807         (trunc_test): Likewise.
50808         (significand_test): Likewise.
50809         (main): Don't call removed functions.
50811 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
50813         [BZ #16674]
50814         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
50815         || __USE_XOPEN2K8].
50816         (ILL_ILLOPN): Likewise.
50817         (ILL_ILLADR): Likewise.
50818         (ILL_ILLTRP): Likewise.
50819         (ILL_PRVOPC): Likewise.
50820         (ILL_PRVREG): Likewise.
50821         (ILL_COPROC): Likewise.
50822         (ILL_BADSTK): Likewise.
50823         (FPE_INTDIV): Likewise.
50824         (FPE_INTOVF): Likewise.
50825         (FPE_FLTDIV): Likewise.
50826         (FPE_FLTOVF): Likewise.
50827         (FPE_FLTUND): Likewise.
50828         (FPE_FLTRES): Likewise.
50829         (FPE_FLTINV): Likewise.
50830         (FPE_FLTSUB): Likewise.
50831         (SEGV_MAPERR): Likewise.
50832         (SEGV_ACCERR): Likewise.
50833         (BUS_ADRALN): Likewise.
50834         (BUS_ADRERR): Likewise.
50835         (BUS_OBJERR): Likewise.
50836         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50837         (TRAP_TRACE): Likewise.
50838         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50839         __USE_XOPEN2K8].
50840         (CLD_KILLED): Likewise.
50841         (CLD_DUMPED): Likewise.
50842         (CLD_TRAPPED): Likewise.
50843         (CLD_STOPPED): Likewise.
50844         (CLD_CONTINUED): Likewise.
50845         (POLL_IN): Likewise.
50846         (POLL_OUT): Likewise.
50847         (POLL_MSG): Likewise.
50848         (POLL_ERR): Likewise.
50849         (POLL_PRI): Likewise.
50850         (POLL_HUP): Likewise.
50851         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
50852         Likewise.
50853         (ILL_ILLOPN): Likewise.
50854         (ILL_ILLADR): Likewise.
50855         (ILL_ILLTRP): Likewise.
50856         (ILL_PRVOPC): Likewise.
50857         (ILL_PRVREG): Likewise.
50858         (ILL_COPROC): Likewise.
50859         (ILL_BADSTK): Likewise.
50860         (FPE_INTDIV): Likewise.
50861         (FPE_INTOVF): Likewise.
50862         (FPE_FLTDIV): Likewise.
50863         (FPE_FLTOVF): Likewise.
50864         (FPE_FLTUND): Likewise.
50865         (FPE_FLTRES): Likewise.
50866         (FPE_FLTINV): Likewise.
50867         (FPE_FLTSUB): Likewise.
50868         (SEGV_MAPERR): Likewise.
50869         (SEGV_ACCERR): Likewise.
50870         (BUS_ADRALN): Likewise.
50871         (BUS_ADRERR): Likewise.
50872         (BUS_OBJERR): Likewise.
50873         (BUS_MCEERR_AR): Likewise.
50874         (BUS_MCEERR_AO): Likewise.
50875         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50876         (TRAP_TRACE): Likewise.
50877         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50878         __USE_XOPEN2K8].
50879         (CLD_KILLED): Likewise.
50880         (CLD_DUMPED): Likewise.
50881         (CLD_TRAPPED): Likewise.
50882         (CLD_STOPPED): Likewise.
50883         (CLD_CONTINUED): Likewise.
50884         (POLL_IN): Likewise.
50885         (POLL_OUT): Likewise.
50886         (POLL_MSG): Likewise.
50887         (POLL_ERR): Likewise.
50888         (POLL_PRI): Likewise.
50889         (POLL_HUP): Likewise.
50890         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
50891         (ILL_ILLOPN): Likewise.
50892         (ILL_ILLADR): Likewise.
50893         (ILL_ILLTRP): Likewise.
50894         (ILL_PRVOPC): Likewise.
50895         (ILL_PRVREG): Likewise.
50896         (ILL_COPROC): Likewise.
50897         (ILL_BADSTK): Likewise.
50898         (FPE_INTDIV): Likewise.
50899         (FPE_INTOVF): Likewise.
50900         (FPE_FLTDIV): Likewise.
50901         (FPE_FLTOVF): Likewise.
50902         (FPE_FLTUND): Likewise.
50903         (FPE_FLTRES): Likewise.
50904         (FPE_FLTINV): Likewise.
50905         (FPE_FLTSUB): Likewise.
50906         (SEGV_MAPERR): Likewise.
50907         (SEGV_ACCERR): Likewise.
50908         (BUS_ADRALN): Likewise.
50909         (BUS_ADRERR): Likewise.
50910         (BUS_OBJERR): Likewise.
50911         (BUS_MCEERR_AR): Likewise.
50912         (BUS_MCEERR_AO): Likewise.
50913         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50914         (TRAP_TRACE): Likewise.
50915         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50916         __USE_XOPEN2K8].
50917         (CLD_KILLED): Likewise.
50918         (CLD_DUMPED): Likewise.
50919         (CLD_TRAPPED): Likewise.
50920         (CLD_STOPPED): Likewise.
50921         (CLD_CONTINUED): Likewise.
50922         (POLL_IN): Likewise.
50923         (POLL_OUT): Likewise.
50924         (POLL_MSG): Likewise.
50925         (POLL_ERR): Likewise.
50926         (POLL_PRI): Likewise.
50927         (POLL_HUP): Likewise.
50928         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
50929         Likewise.
50930         (ILL_ILLOPN): Likewise.
50931         (ILL_ILLADR): Likewise.
50932         (ILL_ILLTRP): Likewise.
50933         (ILL_PRVOPC): Likewise.
50934         (ILL_PRVREG): Likewise.
50935         (ILL_COPROC): Likewise.
50936         (ILL_BADSTK): Likewise.
50937         (ILL_BADIADDR): Likewise.
50938         (ILL_BREAK): Likewise.
50939         (FPE_INTDIV): Likewise.
50940         (FPE_INTOVF): Likewise.
50941         (FPE_FLTDIV): Likewise.
50942         (FPE_FLTOVF): Likewise.
50943         (FPE_FLTUND): Likewise.
50944         (FPE_FLTRES): Likewise.
50945         (FPE_FLTINV): Likewise.
50946         (FPE_FLTSUB): Likewise.
50947         (FPE_DECOVF): Likewise.
50948         (FPE_DECDIV): Likewise.
50949         (FPE_DECERR): Likewise.
50950         (FPE_INVASC): Likewise.
50951         (FPE_INVDEC): Likewise.
50952         (SEGV_MAPERR): Likewise.
50953         (SEGV_ACCERR): Likewise.
50954         (SEGV_PSTKOVF): Likewise.
50955         (BUS_ADRALN): Likewise.
50956         (BUS_ADRERR): Likewise.
50957         (BUS_OBJERR): Likewise.
50958         (BUS_MCEERR_AR): Likewise.
50959         (BUS_MCEERR_AO): Likewise.
50960         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50961         (TRAP_TRACE): Likewise.
50962         (TRAP_BRANCH): Likewise.
50963         (TRAP_HWBKPT): Likewise.
50964         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50965         __USE_XOPEN2K8].
50966         (CLD_KILLED): Likewise.
50967         (CLD_DUMPED): Likewise.
50968         (CLD_TRAPPED): Likewise.
50969         (CLD_STOPPED): Likewise.
50970         (CLD_CONTINUED): Likewise.
50971         (POLL_IN): Likewise.
50972         (POLL_OUT): Likewise.
50973         (POLL_MSG): Likewise.
50974         (POLL_ERR): Likewise.
50975         (POLL_PRI): Likewise.
50976         (POLL_HUP): Likewise.
50977         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
50978         (ILL_ILLOPN): Likewise.
50979         (ILL_ILLADR): Likewise.
50980         (ILL_ILLTRP): Likewise.
50981         (ILL_PRVOPC): Likewise.
50982         (ILL_PRVREG): Likewise.
50983         (ILL_COPROC): Likewise.
50984         (ILL_BADSTK): Likewise.
50985         (FPE_INTDIV): Likewise.
50986         (FPE_INTOVF): Likewise.
50987         (FPE_FLTDIV): Likewise.
50988         (FPE_FLTOVF): Likewise.
50989         (FPE_FLTUND): Likewise.
50990         (FPE_FLTRES): Likewise.
50991         (FPE_FLTINV): Likewise.
50992         (FPE_FLTSUB): Likewise.
50993         (SEGV_MAPERR): Likewise.
50994         (SEGV_ACCERR): Likewise.
50995         (BUS_ADRALN): Likewise.
50996         (BUS_ADRERR): Likewise.
50997         (BUS_OBJERR): Likewise.
50998         (BUS_MCEERR_AR): Likewise.
50999         (BUS_MCEERR_AO): Likewise.
51000         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51001         (TRAP_TRACE): Likewise.
51002         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51003         __USE_XOPEN2K8].
51004         (CLD_KILLED): Likewise.
51005         (CLD_DUMPED): Likewise.
51006         (CLD_TRAPPED): Likewise.
51007         (CLD_STOPPED): Likewise.
51008         (CLD_CONTINUED): Likewise.
51009         (POLL_IN): Likewise.
51010         (POLL_OUT): Likewise.
51011         (POLL_MSG): Likewise.
51012         (POLL_ERR): Likewise.
51013         (POLL_PRI): Likewise.
51014         (POLL_HUP): Likewise.
51015         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
51016         (ILL_ILLOPN): Likewise.
51017         (ILL_ILLADR): Likewise.
51018         (ILL_ILLTRP): Likewise.
51019         (ILL_PRVOPC): Likewise.
51020         (ILL_PRVREG): Likewise.
51021         (ILL_COPROC): Likewise.
51022         (ILL_BADSTK): Likewise.
51023         (FPE_INTDIV): Likewise.
51024         (FPE_INTOVF): Likewise.
51025         (FPE_FLTDIV): Likewise.
51026         (FPE_FLTOVF): Likewise.
51027         (FPE_FLTUND): Likewise.
51028         (FPE_FLTRES): Likewise.
51029         (FPE_FLTINV): Likewise.
51030         (FPE_FLTSUB): Likewise.
51031         (SEGV_MAPERR): Likewise.
51032         (SEGV_ACCERR): Likewise.
51033         (BUS_ADRALN): Likewise.
51034         (BUS_ADRERR): Likewise.
51035         (BUS_OBJERR): Likewise.
51036         (BUS_MCEERR_AR): Likewise.
51037         (BUS_MCEERR_AO): Likewise.
51038         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51039         (TRAP_TRACE): Likewise.
51040         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51041         __USE_XOPEN2K8].
51042         (CLD_KILLED): Likewise.
51043         (CLD_DUMPED): Likewise.
51044         (CLD_TRAPPED): Likewise.
51045         (CLD_STOPPED): Likewise.
51046         (CLD_CONTINUED): Likewise.
51047         (POLL_IN): Likewise.
51048         (POLL_OUT): Likewise.
51049         (POLL_MSG): Likewise.
51050         (POLL_ERR): Likewise.
51051         (POLL_PRI): Likewise.
51052         (POLL_HUP): Likewise.
51053         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
51054         (ILL_ILLOPN): Likewise.
51055         (ILL_ILLADR): Likewise.
51056         (ILL_ILLTRP): Likewise.
51057         (ILL_PRVOPC): Likewise.
51058         (ILL_PRVREG): Likewise.
51059         (ILL_COPROC): Likewise.
51060         (ILL_BADSTK): Likewise.
51061         (FPE_INTDIV): Likewise.
51062         (FPE_INTOVF): Likewise.
51063         (FPE_FLTDIV): Likewise.
51064         (FPE_FLTOVF): Likewise.
51065         (FPE_FLTUND): Likewise.
51066         (FPE_FLTRES): Likewise.
51067         (FPE_FLTINV): Likewise.
51068         (FPE_FLTSUB): Likewise.
51069         (SEGV_MAPERR): Likewise.
51070         (SEGV_ACCERR): Likewise.
51071         (BUS_ADRALN): Likewise.
51072         (BUS_ADRERR): Likewise.
51073         (BUS_OBJERR): Likewise.
51074         (BUS_MCEERR_AR): Likewise.
51075         (BUS_MCEERR_AO): Likewise.
51076         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51077         (TRAP_TRACE): Likewise.
51078         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51079         __USE_XOPEN2K8].
51080         (CLD_KILLED): Likewise.
51081         (CLD_DUMPED): Likewise.
51082         (CLD_TRAPPED): Likewise.
51083         (CLD_STOPPED): Likewise.
51084         (CLD_CONTINUED): Likewise.
51085         (POLL_IN): Likewise.
51086         (POLL_OUT): Likewise.
51087         (POLL_MSG): Likewise.
51088         (POLL_ERR): Likewise.
51089         (POLL_PRI): Likewise.
51090         (POLL_HUP): Likewise.
51091         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
51092         (ILL_ILLOPN): Likewise.
51093         (ILL_ILLADR): Likewise.
51094         (ILL_ILLTRP): Likewise.
51095         (ILL_PRVOPC): Likewise.
51096         (ILL_PRVREG): Likewise.
51097         (ILL_COPROC): Likewise.
51098         (ILL_BADSTK): Likewise.
51099         (ILL_DBLFLT): Likewise.
51100         (ILL_HARDWALL): Likewise.
51101         (FPE_INTDIV): Likewise.
51102         (FPE_INTOVF): Likewise.
51103         (FPE_FLTDIV): Likewise.
51104         (FPE_FLTOVF): Likewise.
51105         (FPE_FLTUND): Likewise.
51106         (FPE_FLTRES): Likewise.
51107         (FPE_FLTINV): Likewise.
51108         (FPE_FLTSUB): Likewise.
51109         (SEGV_MAPERR): Likewise.
51110         (SEGV_ACCERR): Likewise.
51111         (BUS_ADRALN): Likewise.
51112         (BUS_ADRERR): Likewise.
51113         (BUS_OBJERR): Likewise.
51114         (BUS_MCEERR_AR): Likewise.
51115         (BUS_MCEERR_AO): Likewise.
51116         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51117         (TRAP_TRACE): Likewise.
51118         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51119         __USE_XOPEN2K8].
51120         (CLD_KILLED): Likewise.
51121         (CLD_DUMPED): Likewise.
51122         (CLD_TRAPPED): Likewise.
51123         (CLD_STOPPED): Likewise.
51124         (CLD_CONTINUED): Likewise.
51125         (POLL_IN): Likewise.
51126         (POLL_OUT): Likewise.
51127         (POLL_MSG): Likewise.
51128         (POLL_ERR): Likewise.
51129         (POLL_PRI): Likewise.
51130         (POLL_HUP): Likewise.
51131         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
51132         (ILL_ILLOPN): Likewise.
51133         (ILL_ILLADR): Likewise.
51134         (ILL_ILLTRP): Likewise.
51135         (ILL_PRVOPC): Likewise.
51136         (ILL_PRVREG): Likewise.
51137         (ILL_COPROC): Likewise.
51138         (ILL_BADSTK): Likewise.
51139         (FPE_INTDIV): Likewise.
51140         (FPE_INTOVF): Likewise.
51141         (FPE_FLTDIV): Likewise.
51142         (FPE_FLTOVF): Likewise.
51143         (FPE_FLTUND): Likewise.
51144         (FPE_FLTRES): Likewise.
51145         (FPE_FLTINV): Likewise.
51146         (FPE_FLTSUB): Likewise.
51147         (SEGV_MAPERR): Likewise.
51148         (SEGV_ACCERR): Likewise.
51149         (BUS_ADRALN): Likewise.
51150         (BUS_ADRERR): Likewise.
51151         (BUS_OBJERR): Likewise.
51152         (BUS_MCEERR_AR): Likewise.
51153         (BUS_MCEERR_AO): Likewise.
51154         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51155         (TRAP_TRACE): Likewise.
51156         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51157         __USE_XOPEN2K8].
51158         (CLD_KILLED): Likewise.
51159         (CLD_DUMPED): Likewise.
51160         (CLD_TRAPPED): Likewise.
51161         (CLD_STOPPED): Likewise.
51162         (CLD_CONTINUED): Likewise.
51163         (POLL_IN): Likewise.
51164         (POLL_OUT): Likewise.
51165         (POLL_MSG): Likewise.
51166         (POLL_ERR): Likewise.
51167         (POLL_PRI): Likewise.
51168         (POLL_HUP): Likewise.
51169         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
51170         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
51172         [BZ #16670]
51173         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
51174         before #include of <time.h>.
51175         [!__USE_XOPEN2K] (__need_timespec): Likewise.
51176         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
51177         (test-xfail-UNIX98/sched.h/conform): Likewise.
51179 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
51181         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
51182         error absence of trapping exception support.
51183         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
51185 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
51187         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
51188         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
51189         * timezone/Makefile (testdata): Move definition above include of
51190         Rules.
51191         (test-zones): New variable.
51192         (tests-special): Add zone files.
51193         (build-testdata): Use $(evaluate-test).
51195         * elf/Makefile (tests-special): Rename tests to end with .out.
51196         ($(objpfx)noload-mem): Likewise.
51197         ($(objpfx)tst-leaks1-mem): Likewise.
51198         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
51199         * iconv/Makefile (xtests-special): Change test-iconvconfig to
51200         $(objpfx)test-iconvconfig.out.
51201         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
51202         set -e inside subshell and redirect output to file.
51203         * iconvdata/Makefile (generated): Rename tests to end with .out.
51204         Correct type.
51205         (tests-special): Rename tests to end with .out.
51206         ($(objpfx)mtrace-tst-loading): Likewise.
51207         * intl/Makefile (generated): Likewise.
51208         (tests-special): Likewise.
51209         ($(objpfx)mtrace-tst-gettext): Likewise.
51210         * misc/Makefile (generated): Likewise.
51211         (tests-special): Likewise.
51212         ($(objpfx)tst-error1-mem): Likewise.
51213         * nptl/Makefile (tests-special): Likewise.
51214         ($(objpfx)tst-stack3-mem): Likewise.
51215         (generated): Likewise.
51216         * posix/Makefile (generated): Likewise.
51217         (tests-special): Likewise.
51218         (xtests-special): Likewise.
51219         ($(objpfx)tst-fnmatch-mem): Likewise.
51220         ($(objpfx)bug-regex2-mem): Likewise.
51221         ($(objpfx)bug-regex14-mem): Likewise.
51222         ($(objpfx)bug-regex21-mem): Likewise.
51223         ($(objpfx)bug-regex31-mem): Likewise.
51224         ($(objpfx)tst-vfork3-mem): Likewise.
51225         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
51226         ($(objpfx)tst-pcre-mem): Likewise.
51227         ($(objpfx)tst-boost-mem): Likewise.
51228         ($(objpfx)bug-ga2-mem): Likewise.
51229         ($(objpfx)bug-glob2-mem): Likewise.
51230         * resolv/Makefile (generate): Likewise.
51231         (tests-special): Likewise.
51232         (xtests-special): Likewise.
51233         (generated): Likewise.
51234         ($(objpfx)mtrace-tst-leaks): Likewise.
51235         ($(objpfx)mtrace-tst-leaks2): Likewise.
51237         * scripts/merge-test-results.sh: New file.
51238         * Makefile (tests-special-notdir): New variable.
51239         (tests): Run merge-test-results.sh.
51240         (xtests): Likewise.
51241         * Rules (tests-special-notdir): New variable.
51242         (xtests-special-notdir): Likewise.
51243         (tests): Run merge-test-results.sh
51244         (xtests): Likewise.
51246         * Makeconfig (test-xfail-name): New variable.
51247         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
51248         compute variable name for expected failures.
51249         * conform/Makefile (conformtest-headers-data): New variable.
51250         (conformtest-standards): Likewise.
51251         (conformtest-headers-ISO): Likewise.
51252         (conformtest-headers-ISO99): Likewise.
51253         (conformtest-headers-ISO11): Likewise.
51254         (conformtest-headers-POSIX): Likewise.
51255         (conformtest-headers-XPG3): Likewise.
51256         (conformtest-headers-XPG4): Likewise.
51257         (conformtest-headers-UNIX98): Likewise.
51258         (conformtest-headers-XOPEN2K): Likewise.
51259         (conformtest-headers-POSIX2008): Likewise.
51260         (conformtest-headers-XOPEN2K8): Likewise.
51261         (conformtest-header-list-base): Likewise.
51262         (conformtest-header-list-tests): Likewise.
51263         (conformtest-header-base): Likewise.
51264         (conformtest-header-tests): Likewise.
51265         (tests-special): Add $(conformtest-header-list-tests).  If
51266         [$(fast-check) && !$(cross-compiling)], add
51267         $(conformtest-header-tests) instead of
51268         $(objpfx)run-conformtest.out.
51269         (generated): Add $(conformtest-header-list-base).  If
51270         [$(fast-check) && !$(cross-compiling)], add
51271         $(conformtest-header-base).  Remove previous setting.
51272         ($(conformtest-header-list-tests)): New target.
51273         (test-xfail-run-conformtest): Remove variable.
51274         ($(objpfx)run-conformtest.out): Remove target.
51275         (test-xfail-ISO11/complex.h/conform): New variable.
51276         (test-xfail-ISO11/stdalign.h/conform): Likewise.
51277         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
51278         (test-xfail-XPG3/varargs.h/conform): Likewise.
51279         (test-xfail-XPG4/varargs.h/conform): Likewise.
51280         (test-xfail-UNIX98/varargs.h/conform): Likewise.
51281         (test-xfail-XPG4/ndbm.h/conform): Likewise.
51282         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
51283         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
51284         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
51285         (test-xfail-XPG3/fcntl.h/conform): Likewise.
51286         (test-xfail-XPG3/ftw.h/conform): Likewise.
51287         (test-xfail-XPG3/grp.h/conform): Likewise.
51288         (test-xfail-XPG3/langinfo.h/conform): Likewise.
51289         (test-xfail-XPG3/limits.h/conform): Likewise.
51290         (test-xfail-XPG3/pwd.h/conform): Likewise.
51291         (test-xfail-XPG3/search.h/conform): Likewise.
51292         (test-xfail-XPG3/signal.h/conform): Likewise.
51293         (test-xfail-XPG3/stdio.h/conform): Likewise.
51294         (test-xfail-XPG3/stdlib.h/conform): Likewise.
51295         (test-xfail-XPG3/string.h/conform): Likewise.
51296         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
51297         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
51298         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
51299         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
51300         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
51301         (test-xfail-XPG3/sys/types.h/conform): Likewise.
51302         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
51303         (test-xfail-XPG3/termios.h/conform): Likewise.
51304         (test-xfail-XPG3/time.h/conform): Likewise.
51305         (test-xfail-XPG3/unistd.h/conform): Likewise.
51306         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
51307         (test-xfail-XPG4/fcntl.h/conform): Likewise.
51308         (test-xfail-XPG4/langinfo.h/conform): Likewise.
51309         (test-xfail-XPG4/netdb.h/conform): Likewise.
51310         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
51311         (test-xfail-XPG4/signal.h/conform): Likewise.
51312         (test-xfail-XPG4/stdio.h/conform): Likewise.
51313         (test-xfail-XPG4/stdlib.h/conform): Likewise.
51314         (test-xfail-XPG4/stropts.h/conform): Likewise.
51315         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
51316         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
51317         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
51318         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
51319         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
51320         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
51321         (test-xfail-XPG4/sys/time.h/conform): Likewise.
51322         (test-xfail-XPG4/sys/types.h/conform): Likewise.
51323         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
51324         (test-xfail-XPG4/termios.h/conform): Likewise.
51325         (test-xfail-XPG4/ucontext.h/conform): Likewise.
51326         (test-xfail-XPG4/unistd.h/conform): Likewise.
51327         (test-xfail-XPG4/utmpx.h/conform): Likewise.
51328         (test-xfail-POSIX/sched.h/conform): Likewise.
51329         (test-xfail-POSIX/signal.h/conform): Likewise.
51330         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
51331         (test-xfail-POSIX/tar.h/conform): Likewise.
51332         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
51333         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
51334         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
51335         (test-xfail-UNIX98/netdb.h/conform): Likewise.
51336         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
51337         (test-xfail-UNIX98/sched.h/conform): Likewise.
51338         (test-xfail-UNIX98/signal.h/conform): Likewise.
51339         (test-xfail-UNIX98/stdio.h/conform): Likewise.
51340         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
51341         (test-xfail-UNIX98/stropts.h/conform): Likewise.
51342         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
51343         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
51344         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
51345         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
51346         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
51347         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
51348         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
51349         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
51350         (test-xfail-UNIX98/unistd.h/conform): Likewise.
51351         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
51352         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
51353         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
51354         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
51355         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
51356         (test-xfail-XOPEN2K/math.h/conform): Likewise.
51357         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
51358         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
51359         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
51360         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
51361         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
51362         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
51363         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
51364         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
51365         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
51366         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
51367         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
51368         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
51369         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
51370         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
51371         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
51372         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
51373         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
51374         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
51375         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
51376         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
51377         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
51378         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
51379         (test-xfail-POSIX2008/signal.h/conform): Likewise.
51380         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
51381         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
51382         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
51383         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
51384         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
51385         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
51386         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
51387         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
51388         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
51389         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
51390         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
51391         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
51392         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
51393         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
51394         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
51395         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
51396         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
51397         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
51398         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
51399         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
51400         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
51401         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
51402         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
51403         (conformtest-cc-flags): Likewise.
51404         ($(conformtest-header-tests): New target.
51405         * conform/check-header-lists.sh: New file.
51406         * conform/run-conformtest.sh: Remove.
51408         * conform/conformtest.pl: Allow ' and \ in values given for
51409         constants.
51410         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
51411         inclusion.
51412         [POSIX] (sys/types.h): Likewise.
51413         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
51414         inclusion.
51415         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
51416         inclusion.
51417         * conform/data/signal.h-data (SIGIO): Remove expectation.
51418         [XPG3] (SIGBUS): Do not expect.
51419         [POSIX || XPG3] (SIGPOLL): Likewise.
51420         [POSIX || XPG3] (SIGPROF): Likewise.
51421         [POSIX || XPG3] (SIGSYS): Likewise.
51422         [XPG3] (SIGTRAP): Likewise.
51423         [POSIX || XPG3] (SIGURG): Likewise.
51424         [POSIX || XPG3] (SIGVTALRM): Likewise.
51425         [POSIX || XPG3] (SIGXCPU): Likewise.
51426         [POSIX || XPG3] (SIGXFSZ): Likewise.
51427         [POSIX] (SA_SIGINFO): Expect.
51428         [XPG3] (siginfo_t): Do not expect type or contents.
51429         [POSIX] (si_pid): Do not expect element.
51430         [POSIX] (si_uid): Likewise.
51431         [POSIX] (si_addr): Likewise.
51432         [POSIX] (si_status): Likewise.
51433         [POSIX] (si_band): Likewise.
51434         [XPG4] (si_value): Likewise.
51435         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
51436         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
51437         [POSIX || XPG3] (ILL_ILLADR): Likewise.
51438         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
51439         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
51440         [POSIX || XPG3] (ILL_PRVREG): Likewise.
51441         [POSIX || XPG3] (ILL_COPROC): Likewise.
51442         [POSIX || XPG3] (ILL_BADSTK): Likewise.
51443         [POSIX || XPG3] (FPE_INTDIV): Likewise.
51444         [POSIX || XPG3] (FPE_INTOVF): Likewise.
51445         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
51446         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
51447         [POSIX || XPG3] (FPE_FLTUND): Likewise.
51448         [POSIX || XPG3] (FPE_FLTRES): Likewise.
51449         [POSIX || XPG3] (FPE_FLTINV): Likewise.
51450         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
51451         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
51452         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
51453         [POSIX || XPG3] (BUS_ADRALN): Likewise.
51454         [POSIX || XPG3] (BUS_ADRERR): Likewise.
51455         [POSIX || XPG3] (BUS_OBJERR): Likewise.
51456         [POSIX || XPG3] (CLD_EXITED): Likewise.
51457         [POSIX || XPG3] (CLD_KILLED): Likewise.
51458         [POSIX || XPG3] (CLD_DUMPED): Likewise.
51459         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
51460         [POSIX || XPG3] (CLD_STOPPED): Likewise.
51461         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
51462         [POSIX || XPG3] (POLL_IN): Likewise.
51463         [POSIX || XPG3] (POLL_OUT): Likewise.
51464         [POSIX || XPG3] (POLL_MSG): Likewise.
51465         [POSIX || XPG3] (POLL_ERR): Likewise.
51466         [POSIX || XPG3] (POLL_PRI): Likewise.
51467         [POSIX || XPG3] (POLL_HUP): Likewise.
51468         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
51469         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
51470         (SIG*): Do not allow.
51471         [XPG3] (si_*): Likewise.
51472         [XPG3] (SI_*): Likewise.
51473         [XPG3 || XPG4] (sigev_*): Likewise.
51474         [XPG3 || XPG4] (SIGEV_*): Likewise.
51475         [XPG3 || XPG4] (sival_*): Likewise.
51476         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
51477         [POSIX || XPG3] (BUS_*): Likewise.
51478         [POSIX || XPG3] (CLD_*): Likewise.
51479         [POSIX || XPG3] (FPE_*): Likewise.
51480         [POSIX || XPG3] (ILL_*): Likewise.
51481         [POSIX || XPG3] (POLL_*): Likewise.
51482         [POSIX || XPG3] (SEGV_*): Likewise.
51483         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
51484         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
51485         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
51486         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
51487         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
51488         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
51489         Specify type and value.
51490         (TVERSLEN): Likewise.
51491         (REGTYPE): Likewise.
51492         (AREGTYPE): Likewise.
51493         (LNKTYPE): Likewise.
51494         (SYMTYPE): Likewise.
51495         (CHRTYPE): Likewise.
51496         (BLKTYPE): Likewise.
51497         (DIRTYPE): Likewise.
51498         (FIFOTYPE): Likewise.
51499         (CONTTYPE): Likewise.
51500         (TSUID): Likewise.
51501         (TSGID): Likewise.
51502         (TSVTX): Likewise.
51503         (TUREAD): Likewise.
51504         (TUWRITE): Likewise.
51505         (TUEXEC): Likewise.
51506         (TGREAD): Likewise.
51507         (TGWRITE): Likewise.
51508         (TGEXEC): Likewise.
51509         (TOREAD): Likewise.
51510         (TOWRITE): Likewise.
51511         (TOEXEC): Likewise.
51512         [POSIX] (TSVTX): Expect constant.
51514 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
51516         * Makefile (tests): Change dependencies to ....
51517         (tests-special): ... additions to this variable.
51518         (tests): Depend on $(tests-special).
51519         * Makerules (check-abi-list): New variable.
51520         (check-abi): Depend on $(check-abi-list).
51521         [$(subdir) = elf] (tests-special): Add
51522         $(objpfx)check-abi-libc.out.
51523         [$(build-shared) = yes && subdir] (tests-special): Add
51524         $(check-abi-list).
51525         [$(build-shared) = yes && subdir] (tests): Do not depend on
51526         check-abi.
51527         * Rules (tests): Depend on $(tests-special).
51528         (xtests): Depend on $(xtests-special).
51529         * catgets/Makefile (tests): Change dependencies to ....
51530         (tests-special): ... additions to this variable.
51531         * conform/Makefile (tests): Change dependencies to ....
51532         (tests-special): ... additions to this variable.
51533         * elf/Makefile (tests): Change dependencies to ....
51534         (tests-special): ... additions to this variable.
51535         * grp/Makefile (tests): Change dependencies to ....
51536         (tests-special): ... additions to this variable.
51537         * iconv/Makefile (xtests): Change dependencies to ....
51538         (xtests-special): ... additions to this variable.
51539         * iconvdata/Makefile (tests): Change dependencies to ....
51540         (tests-special): ... additions to this variable.
51541         * intl/Makefile (tests): Change dependencies to ....
51542         (tests-special): ... additions to this variable.  Also add
51543         $(objpfx)tst-gettext.out.
51544         * io/Makefile (tests): Change dependencies to ....
51545         (tests-special): ... additions to this variable.
51546         * libio/Makefile (tests): Change dependencies to ....
51547         (tests-special): ... additions to this variable.
51548         * malloc/Makefile (tests): Change dependencies to ....
51549         (tests-special): ... additions to this variable.
51550         * misc/Makefile (tests): Change dependencies to ....
51551         (tests-special): ... additions to this variable.
51552         * nptl/Makefile (tests): Change dependencies to ....
51553         (tests-special): ... additions to this variable.
51554         * nptl_db/Makefile (tests): Change dependencies to ....
51555         (tests-special): ... additions to this variable.
51556         * posix/Makefile (tests): Change dependencies to ....
51557         (tests-special): ... additions to this variable.
51558         (xtests): Change dependencies to ....
51559         (xtests-special): ... additions to this variable.
51560         * resolv/Makefile (tests): Change dependencies to ....
51561         (tests-special): ... additions to this variable.
51562         (xtests): Change dependencies to ....
51563         (xtests-special): ... additions to this variable.
51564         * stdio-common/Makefile (tests): Change dependencies to ....
51565         (tests-special): ... additions to this variable.
51566         (do-tst-unbputc): Remove target.
51567         (do-tst-printf): Likewise.
51568         * stdlib/Makefile (tests): Change dependencies to ....
51569         (tests-special): ... additions to this variable.
51570         * string/Makefile (tests): Change dependencies to ....
51571         (tests-special): ... additions to this variable.
51572         * sysdeps/x86/Makefile (tests): Change dependencies to ....
51573         (tests-special): ... additions to this variable.
51575         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
51576         whole file.
51577         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
51578         whole file.
51579         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
51580         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
51582         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
51583         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
51584         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
51585         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
51586         * conform/data/libgen.h-data [XPG3]: Likewise.
51587         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
51588         * conform/data/ndbm.h-data [XPG3]: Likewise.
51589         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
51590         * conform/data/netdb.h-data [XPG3]: Likewise.
51591         * conform/data/netinet/in.h-data [XPG3]: Likewise.
51592         * conform/data/poll.h-data [XPG3]: Likewise.
51593         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
51594         * conform/data/strings.h-data [XPG3]: Likewise.
51595         * conform/data/stropts.h-data [XPG3]: Likewise.
51596         * conform/data/sys/mman.h-data [XPG3]: Likewise.
51597         * conform/data/sys/resource.h-data [XPG3]: Likewise.
51598         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
51599         Likewise.
51600         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
51601         * conform/data/sys/time.h-data [XPG3]: Likewise.
51602         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
51603         * conform/data/sys/uio.h-data [XPG3]: Likewise.
51604         * conform/data/sys/un.h-data [XPG3]: Likewise.
51605         * conform/data/syslog.h-data [XPG3]: Likewise.
51606         * conform/data/ucontext.h-data [XPG3]: Likewise.
51607         * conform/data/utmpx.h-data [XPG3]: Likewise.
51608         * conform/data/varargs.h-data [UNIX98]: Enable file.
51610         * manual/Makefile (INSTALL_INFO): Remove variable setting.
51612         * math/libm-test.inc (struct test_f_f_data): Move expected results
51613         into structure for each rounding mode.
51614         (struct test_ff_f_data): Likewise.
51615         (struct test_ff_f_data_nexttoward): Likewise.
51616         (struct test_fi_f_data): Likewise.
51617         (struct test_fl_f_data): Likewise.
51618         (struct test_if_f_data): Likewise.
51619         (struct test_fff_f_data): Likewise.
51620         (struct test_c_f_data): Likewise.
51621         (struct test_f_f1_data): Likewise.
51622         (struct test_fF_f1_data): Likewise.
51623         (struct test_ffI_f1_data): Likewise.
51624         (struct test_c_c_data): Likewise.
51625         (struct test_cc_c_data): Likewise.
51626         (struct test_f_i_data): Likewise.
51627         (struct test_ff_i_data): Likewise.
51628         (struct test_f_l_data): Likewise.
51629         (struct test_f_L_data): Likewise.
51630         (struct test_fFF_11_data): Likewise.
51631         (RM_): New macro.
51632         (RM_FE_DOWNWARD): Likewise.
51633         (RM_FE_TONEAREST): Likewise.
51634         (RM_FE_TOWARDZERO): Likewise.
51635         (RM_FE_UPWARD): Likewise.
51636         (RUN_TEST_LOOP_f_f): Update references to expected results.
51637         (RUN_TEST_LOOP_2_f): Likewise.
51638         (RUN_TEST_LOOP_fff_f): Likewise.
51639         (RUN_TEST_LOOP_c_f): Likewise.
51640         (RUN_TEST_LOOP_f_f1): Likewise.
51641         (RUN_TEST_LOOP_fF_f1): Likewise.
51642         (RUN_TEST_LOOP_fI_f1): Likewise.
51643         (RUN_TEST_LOOP_ffI_f1): Likewise.
51644         (RUN_TEST_LOOP_c_c): Likewise.
51645         (RUN_TEST_LOOP_cc_c): Likewise.
51646         (RUN_TEST_LOOP_f_i): Likewise.
51647         (RUN_TEST_LOOP_f_i_tg): Likewise.
51648         (RUN_TEST_LOOP_ff_i_tg): Likewise.
51649         (RUN_TEST_LOOP_f_b): Likewise.
51650         (RUN_TEST_LOOP_f_b_tg): Likewise.
51651         (RUN_TEST_LOOP_f_l): Likewise.
51652         (RUN_TEST_LOOP_f_L): Likewise.
51653         (RUN_TEST_LOOP_fFF_11): Likewise.
51654         * math/gen-libm-test.pl (parse_args): Output four copies of
51655         expected results for each test.
51657         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
51658         (__ASSUME_UTIMES): Remove.
51659         * sysdeps/unix/sysv/linux/tile/kernel-features.h
51660         (__ASSUME_UTIMES): Likewise.
51662         * math/gen-auto-libm-tests.c: Update comment on output format.
51663         (output_for_one_input_case): Generate before-rounding and
51664         after-rounding information as conditions on output flags not
51665         floating-point format.
51666         * math/auto-libm-test-out: Regenerated.
51667         * math/gen-libm-test.pl (cond_value): New function.
51668         (or_cond_value): Use cond_value.
51669         (generate_testfile): Handle conditional exceptions.
51671 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
51673         * math/libm-test.inc (max_valid_error): New variable.
51674         (init_max_error): Take new argument specifying whether function
51675         results are exactly determined.  Set max_valid_error and bound
51676         other variables for errors based on this argument.
51677         (set_max_error): Do not record results above max_valid_error.
51678         (check_float_internal): Only accept errors of up to 0.5ulps if
51679         also at most max_valid_error.
51680         (START): Take new argument EXACT and pass it to init_max_error.
51681         (acos_test): Update call to START.
51682         (acos_test_tonearest): Likewise.
51683         (acos_test_towardzero): Likewise.
51684         (acos_test_downward): Likewise.
51685         (acos_test_upward): Likewise.
51686         (acosh_test): Likewise.
51687         (asin_test): Likewise.
51688         (asin_test_tonearest): Likewise.
51689         (asin_test_towardzero): Likewise.
51690         (asin_test_downward): Likewise.
51691         (asin_test_upward): Likewise.
51692         (asinh_test): Likewise.
51693         (atan_test): Likewise.
51694         (atanh_test): Likewise.
51695         (atan2_test): Likewise.
51696         (cabs_test): Likewise.
51697         (cacos_test): Likewise.
51698         (cacosh_test): Likewise.
51699         (carg_test): Likewise.
51700         (casin_test): Likewise.
51701         (casinh_test): Likewise.
51702         (catan_test): Likewise.
51703         (catanh_test): Likewise.
51704         (cbrt_test): Likewise.
51705         (ccos_test): Likewise.
51706         (ccosh_test): Likewise.
51707         (ceil_test): Likewise.
51708         (cexp_test): Likewise.
51709         (cimag_test): Likewise.
51710         (clog_test): Likewise.
51711         (clog10_test): Likewise.
51712         (conj_test): Likewise.
51713         (copysign_test): Likewise.
51714         (cos_test): Likewise.
51715         (cos_test_tonearest): Likewise.
51716         (cos_test_towardzero): Likewise.
51717         (cos_test_downward): Likewise.
51718         (cos_test_upward): Likewise.
51719         (cosh_test): Likewise.
51720         (cosh_test_tonearest): Likewise.
51721         (cosh_test_towardzero): Likewise.
51722         (cosh_test_downward): Likewise.
51723         (cosh_test_upward): Likewise.
51724         (cpow_test): Likewise.
51725         (cproj_test): Likewise.
51726         (creal_test): Likewise.
51727         (csin_test): Likewise.
51728         (csinh_test): Likewise.
51729         (csqrt_test): Likewise.
51730         (ctan_test): Likewise.
51731         (ctan_test_tonearest): Likewise.
51732         (ctan_test_towardzero): Likewise.
51733         (ctan_test_downward): Likewise.
51734         (ctan_test_upward): Likewise.
51735         (ctanh_test): Likewise.
51736         (ctanh_test_tonearest): Likewise.
51737         (ctanh_test_towardzero): Likewise.
51738         (ctanh_test_downward): Likewise.
51739         (ctanh_test_upward): Likewise.
51740         (erf_test): Likewise.
51741         (erfc_test): Likewise.
51742         (exp_test): Likewise.
51743         (exp_test_tonearest): Likewise.
51744         (exp_test_towardzero): Likewise.
51745         (exp_test_downward): Likewise.
51746         (exp_test_upward): Likewise.
51747         (exp10_test): Likewise.
51748         (exp10_test_tonearest): Likewise.
51749         (exp10_test_towardzero): Likewise.
51750         (exp10_test_downward): Likewise.
51751         (exp10_test_upward): Likewise.
51752         (pow10_test): Likewise.
51753         (exp2_test): Likewise.
51754         (expm1_test): Likewise.
51755         (expm1_test_tonearest): Likewise.
51756         (expm1_test_towardzero): Likewise.
51757         (expm1_test_downward): Likewise.
51758         (expm1_test_upward): Likewise.
51759         (fabs_test): Likewise.
51760         (fdim_test): Likewise.
51761         (floor_test): Likewise.
51762         (fma_test): Likewise.
51763         (fma_test_towardzero): Likewise.
51764         (fma_test_downward): Likewise.
51765         (fma_test_upward): Likewise.
51766         (fmax_test): Likewise.
51767         (fmin_test): Likewise.
51768         (fmod_test): Likewise.
51769         (fpclassify_test): Likewise.
51770         (frexp_test): Likewise.
51771         (hypot_test): Likewise.
51772         (ilogb_test): Likewise.
51773         (isfinite_test): Likewise.
51774         (finite_test): Likewise.
51775         (isgreater_test): Likewise.
51776         (isgreaterequal_test): Likewise.
51777         (isinf_test): Likewise.
51778         (isless_test): Likewise.
51779         (islessequal_test): Likewise.
51780         (islessgreater_test): Likewise.
51781         (isnan_test): Likewise.
51782         (isnormal_test): Likewise.
51783         (issignaling_test): Likewise.
51784         (isunordered_test): Likewise.
51785         (j0_test): Likewise.
51786         (j1_test): Likewise.
51787         (jn_test): Likewise.
51788         (ldexp_test): Likewise.
51789         (lgamma_test): Likewise.
51790         (gamma_test): Likewise.
51791         (lrint_test): Likewise.
51792         (lrint_test_tonearest): Likewise.
51793         (lrint_test_towardzero): Likewise.
51794         (lrint_test_downward): Likewise.
51795         (lrint_test_upward): Likewise.
51796         (llrint_test): Likewise.
51797         (llrint_test_tonearest): Likewise.
51798         (llrint_test_towardzero): Likewise.
51799         (llrint_test_downward): Likewise.
51800         (llrint_test_upward): Likewise.
51801         (log_test): Likewise.
51802         (log10_test): Likewise.
51803         (log1p_test): Likewise.
51804         (log2_test): Likewise.
51805         (logb_test): Likewise.
51806         (logb_test_downward): Likewise.
51807         (lround_test): Likewise.
51808         (llround_test): Likewise.
51809         (modf_test): Likewise.
51810         (nearbyint_test): Likewise.
51811         (nextafter_test): Likewise.
51812         (nexttoward_test): Likewise.
51813         (pow_test): Likewise.
51814         (pow_test_tonearest): Likewise.
51815         (pow_test_towardzero): Likewise.
51816         (pow_test_downward): Likewise.
51817         (pow_test_upward): Likewise.
51818         (remainder_test): Likewise.
51819         (drem_test): Likewise.
51820         (remainder_test_tonearest): Likewise.
51821         (drem_test_tonearest): Likewise.
51822         (remainder_test_towardzero): Likewise.
51823         (drem_test_towardzero): Likewise.
51824         (remainder_test_downward): Likewise.
51825         (drem_test_downward): Likewise.
51826         (remainder_test_upward): Likewise.
51827         (drem_test_upward): Likewise.
51828         (remquo_test): Likewise.
51829         (rint_test): Likewise.
51830         (rint_test_tonearest): Likewise.
51831         (rint_test_towardzero): Likewise.
51832         (rint_test_downward): Likewise.
51833         (rint_test_upward): Likewise.
51834         (round_test): Likewise.
51835         (scalb_test): Likewise.
51836         (scalbn_test): Likewise.
51837         (scalbln_test): Likewise.
51838         (signbit_test): Likewise.
51839         (sin_test): Likewise.
51840         (sin_test_tonearest): Likewise.
51841         (sin_test_towardzero): Likewise.
51842         (sin_test_downward): Likewise.
51843         (sin_test_upward): Likewise.
51844         (sincos_test): Likewise.
51845         (sinh_test): Likewise.
51846         (sinh_test_tonearest): Likewise.
51847         (sinh_test_towardzero): Likewise.
51848         (sinh_test_downward): Likewise.
51849         (sinh_test_upward): Likewise.
51850         (sqrt_test): Likewise.
51851         (sqrt_test_tonearest): Likewise.
51852         (sqrt_test_towardzero): Likewise.
51853         (sqrt_test_downward): Likewise.
51854         (sqrt_test_upward): Likewise.
51855         (tan_test): Likewise.
51856         (tan_test_tonearest): Likewise.
51857         (tan_test_towardzero): Likewise.
51858         (tan_test_downward): Likewise.
51859         (tan_test_upward): Likewise.
51860         (tanh_test): Likewise.
51861         (tgamma_test): Likewise.
51862         (trunc_test): Likewise.
51863         (y0_test): Likewise.
51864         (y1_test): Likewise.
51865         (yn_test): Likewise.
51866         (significand_test): Likewise.
51868         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
51869         individual tests in comment.
51870         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
51871         (prev_max_error): New variable.
51872         (prev_real_max_error): Likewise.
51873         (prev_imag_max_error): Likewise.
51874         (compare_ulp_data): Don't refer to test names in comment.
51875         (find_test_ulps): Remove function.
51876         (find_function_ulps): Likewise.
51877         (find_complex_function_ulps): Likewise.
51878         (init_max_error): Take function name as argument.  Look up ulps
51879         for that function.
51880         (print_ulps): Remove function.
51881         (print_max_error): Use prev_max_error instead of calling
51882         find_function_ulps.
51883         (print_complex_max_error): Use prev_real_max_error and
51884         prev_imag_max_error instead of calling find_complex_function_ulps.
51885         (check_float_internal): Take max_ulp parameter instead of calling
51886         find_test_ulps.  Don't call print_ulps.
51887         (check_float): Update call to check_float_internal.
51888         (check_complex): Update calls to check_float_internal.
51889         (START): Pass argument to init_max_error.
51890         * math/gen-libm-test.pl (%results): Don't include "kind"
51891         information.
51892         (parse_ulps): Don't handle ulps of individual tests.
51893         (print_ulps_file): Likewise.
51894         (output_ulps): Likewise.
51895         * math/README.libm-test: Update.
51896         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
51897         individual tests.
51898         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
51899         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
51900         * sysdeps/arm/libm-test-ulps: Likewise.
51901         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
51902         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
51903         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
51904         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
51905         * sysdeps/microblaze/libm-test-ulps: Likewise.
51906         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
51907         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
51908         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51909         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
51910         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51911         * sysdeps/sh/libm-test-ulps: Likewise.
51912         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51913         * sysdeps/tile/libm-test-ulps: Likewise.
51914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51916 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
51918         * math/libm-test.inc (print_complex_max_error): Check separately
51919         whether real and imaginary errors are within allowed range and
51920         pass 0 to print_complex_function_ulps instead of value within
51921         allowed range.
51923 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51925         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
51926         formatting.
51927         (get_handles_fopen): Likewise.
51928         (do_write_test): Likewise.
51930         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
51932         * libio/fileops.c (do_ftell): Use cached offset when
51933         available.
51934         * libio/iofwide.c (do_ftell_wide): Likewise.
51935         * libio/iofdopen.c (_IO_new_fdopen): Don't use
51936         _IO_file_attach.
51937         * libio/wfileops.c (_IO_fwide): Don't cache offset.
51939         [BZ #16532]
51940         * libio/libioP.h (get_file_offset): New function.
51941         * libio/fileops.c (get_file_offset): Likewise.
51942         (do_ftell): Likewise.
51943         (_IO_new_file_seekoff): Split out ftell logic.
51944         * libio/wfileops.c (do_ftell_wide): Likewise.
51945         (_IO_wfile_seekoff): Split out ftell logic.
51946         * libio/tst-ftell-active-handler.c: New test case.
51947         * libio/Makefile (tests): Add it.
51949 2014-03-03  Roland McGrath  <roland@hack.frob.com>
51951         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
51952         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
51954 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
51956         [BZ #16639]
51957         * nscd/connections.c (nscd_init): Call do_exit.
51958         (start_threads): Call do_exit and notify_parent.
51959         (begin_drop_privileges): Call do_exit.
51960         (finish_drop_privileges): Likewise.
51961         * nscd/selinux.c (preserve_capabilities): Likewise.
51962         (install_real_capabilities): Likewise.
51963         (nscd_selinux_enabled): Likewise.
51964         (avc_create_thread): Likewise.
51965         (avc_alloc_lock): Likewise.
51966         (nscd_avc_init): Likewise.
51967         * nscd/nscd.c (parent_fd): New static variable.
51968         (main): Create a pipe between parent and child processes.
51969         Skip closing parent_fd.
51970         (monitor_child): New function.
51971         (do_exit): Likewise.
51972         (notify_parent): Likewise.
51973         * nscd/nscd.h (notify_parent): Likewise.
51974         (do_exit): Likewise.
51976 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
51978         * malloc/malloc.c (__libc_calloc): Revert last change.
51980 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51982         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51984 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
51986         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
51987         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
51988         implementation.
51989         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
51990         (__libc_ifunc_impl_list): Likewise.
51991         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
51992         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
51993         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
51994         * string/strrchr.c: Define STRRCHR.
51996 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
51998         * benchtest/bench-strtok.c (simple_strtok): Delete.
51999         (strtok_string): Use as benchmark.
52000         * string/strtok (STRTOK): New macro.
52002 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
52004         * manual/threads.texi: Add header and standard comments to all
52005         functions.
52007         * elf/dl-lookup.c (check_match): New function.
52008         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
52009         (do_lookup_x): Remove nested function check_match. Use non-nested
52010         function check_match.
52012 2014-02-28  Roland McGrath  <roland@hack.frob.com>
52014         * csu/Makefile (generated, before-compile): Use += rather than =.
52015         * catgets/Makefile (generated, generated-dirs): Likewise.
52016         * debug/Makefile (generated): Likewise.
52017         * dlfcn/Makefile (generated): Likewise.
52018         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
52019         * iconvdata/Makefile (before-compile, generated): Likewise.
52020         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
52021         * libio/Makefile (generated): Likewise.
52022         * malloc/Makefile (generated): Likewise.
52023         * manual/Makefile (generated, generated-dirs): Likewise.
52024         * misc/Makefile (generated): Likewise.
52025         * posix/Makefile (generated): Likewise.
52026         * resolv/Makefile (generated): Likewise.
52027         * sunrpc/Makefile (generated, generated-dirs): Likewise.
52028         * timezone/Makefile (generated, generated-dirs): Likewise.
52030         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
52032 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52034         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
52035         power8 implementation.
52036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
52037         file: POWER8 llround ifunc implementation.
52038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
52039         (__lllround): Add POWER8 implementation.
52040         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
52041         POWER8 llround implementation.
52043         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
52044         power8 implementation.
52045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
52046         file: POWER8 llrint ifunc implementation.
52047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
52048         Add POWER8 implementation.
52049         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
52050         POWER8 llrint implementation.
52052         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
52053         power8 implementation.
52054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
52055         file: POWER8 finite ifunc implementation.
52056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
52057         Add POWER8 implementation.
52058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
52059         Likewise.
52060         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
52061         POWER8 finite implementation.
52062         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
52064         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
52065         power8 implementation.
52066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
52067         file: POWER8 isinf ifunc implementation.
52068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
52069         POWER8 implementation.
52070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
52071         Likewise.
52072         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
52073         isinf implementation.
52074         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
52076         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
52077         (INIT_ARCH): Add hwcap2 initialization.
52078         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
52079         power8 implementation.
52080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
52081         file: POWER8 isnan ifunc implementation.
52082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
52083         POWER8 implementation.
52084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
52085         Likewise.
52086         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
52087         isnan implementation.
52088         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
52090 2014-02-27  Joey Ye  <joey.ye@arm.com>
52092         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
52093         (_FP_NANFRAC_Q): Set to zero.
52095 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52097         [BZ #16623]
52098         * math/auto-libm-test-in: New test inputs.
52099         * math/auto-libm-test-out: Regenerate.
52100         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
52101         and DA.
52102         (__cos): Likewise.
52103         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
52105 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
52107         * scripts/evaluate-test.sh: Take new argument indicating whether
52108         failure is expected.
52109         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
52110         indicating whether failure is expected.
52111         * conform/Makefile (test-xfail-run-conformtest): New variable.
52112         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
52113         level.
52114         * posix/Makefile (test-xfail-annexc): New variable.
52115         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
52117 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
52119         * argp/Makefile: Include Makeconfig immediately after defining
52120         subdir.
52121         * assert/Makefile: Likewise.
52122         * benchtests/Makefile: Likewise.
52123         * catgets/Makefile: Likewise.
52124         * conform/Makefile: Likewise.
52125         * crypt/Makefile: Likewise.
52126         * csu/Makefile: Likewise.
52127         (all): Remove target.
52128         * ctype/Makefile: Include Makeconfig immediately after defining
52129         subdir.
52130         * debug/Makefile: Likewise.
52131         * dirent/Makefile: Likewise.
52132         * dlfcn/Makefile: Likewise.
52133         * gmon/Makefile: Likewise.
52134         * gnulib/Makefile: Likewise.
52135         * grp/Makefile: Likewise.
52136         * gshadow/Makefile: Likewise.
52137         * hesiod/Makefile: Likewise.
52138         * hurd/Makefile: Likewise.
52139         (all): Remove target.
52140         * iconvdata/Makefile: Include Makeconfig immediately after
52141         defining subdir.
52142         * inet/Makefile: Likewise.
52143         * intl/Makefile: Likewise.
52144         * io/Makefile: Likewise.
52145         * libio/Makefile: Likewise.
52146         (all): Remove target.
52147         * locale/Makefile: Include Makeconfig immediately after defining
52148         subdir.
52149         * login/Makefile: Likewise.
52150         * mach/Makefile: Likewise.
52151         (all): Remove target.
52152         * malloc/Makefile: Include Makeconfig immediately after defining
52153         subdir.
52154         (all): Remove target.
52155         * manual/Makefile: Include Makeconfig immediately after defining
52156         subdir.
52157         * math/Makefile: Likewise.
52158         * misc/Makefile: Likewise.
52159         * nis/Makefile: Likewise.
52160         * nss/Makefile: Likewise.
52161         * po/Makefile: Likewise.
52162         (all): Remove target.
52163         * posix/Makefile: Include Makeconfig immediately after defining
52164         subdir.
52165         * pwd/Makefile: Likewise.
52166         * resolv/Makefile: Likewise.
52167         * resource/Makefile: Likewise.
52168         * rt/Makefile: Likewise.
52169         * setjmp/Makefile: Likewise.
52170         * shadow/Makefile: Likewise.
52171         * signal/Makefile: Likewise.
52172         * socket/Makefile: Likewise.
52173         * soft-fp/Makefile: Likewise.
52174         * stdio-common/Makefile: Likewise.
52175         * stdlib/Makefile: Likewise.
52176         * streams/Makefile: Likewise.
52177         * string/Makefile: Likewise.
52178         * sunrpc/Makefile: Likewise.
52179         (all): Remove target.
52180         * sysvipc/Makefile: Include Makeconfig immediately after defining
52181         subdir.
52182         * termios/Makefile: Likewise.
52183         * time/Makefile: Likewise.
52184         * timezone/Makefile: Likewise.
52185         (all): Remove target.
52186         * wcsmbs/Makefile: Include Makeconfig immediately after defining
52187         subdir.
52188         * wctype/Makefile: Likewise.
52190 2014-02-26  Steve Ellcey  <sellcey@mips.com>
52192         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
52193         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
52194         (libc_feholdexcept_setround_mips): Ditto.
52195         (libc_feholdsetround): New.
52196         (libc_feholdsetroundf): New.
52197         (libc_feholdsetroundl): New.
52198         (libc_feupdateenv_test_mips): New.
52199         (libc_feupdateenv_test): New.
52200         (libc_feupdateenv_testf): New.
52201         (libc_feupdateenv_testl): New.
52202         (libc_feresetround): New.
52203         (libc_feresetroundf): New.
52204         (libc_feresetroundl): New.
52205         (libc_fetestexcept_mips): New.
52206         (libc_fetestexcept): New.
52207         (libc_fetestexceptf): New.
52208         (libc_fetestexceptl): New.
52209         (HAVE_RM_CTX): New.
52210         (libc_feholdexcept_setround_mips_ctx): New.
52211         (libc_feholdexcept_setround_ctx): New.
52212         (libc_feholdexcept_setroundf_ctx): New.
52213         (libc_feholdexcept_setroundl_ctx): New.
52214         (libc_fesetenv_mips_ctx): New.
52215         (libc_fesetenv_ctx): New.
52216         (libc_fesetenv_ctxf): New.
52217         (libc_fesetenv_ctxl): New.
52218         (libc_feupdateenv_mips_ctx): New.
52219         (libc_feupdateenv_ctx): New.
52220         (libc_feupdateenvf_ctx): New.
52221         (libc_feupdateenvl_ctx): New.
52222         (libc_feholdsetround_mips_ctx): New.
52223         (libc_feholdsetround_ctx): New.
52224         (libc_feholdsetroundf_ctx): New.
52225         (libc_feholdsetroundl_ctx): New.
52226         (libc_feresetround_mips_ctx): New.
52227         (libc_feresetround_ctx): New.
52228         (libc_feresetroundf_ctx): New.
52229         (libc_feresetroundl_ctx): New.
52231 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
52233         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
52235         * manual/ipc.texi: New file.
52236         * manual/Makefile (chapters): Add ipc.
52237         * manual/job.texi: Add "Inter-Process Communication" to next.
52238         * manual/process.texi: Add "Inter-Process Communication" to prev.
52240 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52242         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52244 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
52246         * malloc/malloc.c (__libc_calloc): Simplify implementation.
52248         * manual/arith.texi: Fix spaces after sentences.
52249         * manual/charset.texi: Likewise.
52250         * manual/errno.texi: Likewise.
52251         * manual/install.texi: Likewise.
52252         * manual/llio.texi: Likewise.
52253         * manual/locale.texi: Likewise.
52254         * manual/maint.texi: Likewise.
52255         * manual/math.texi: Likewise.
52256         * manual/memory.texi: Likewise.
52257         * manual/message.texi: Likewise.
52258         * manual/probes.texi: Likewise.
52259         * manual/resource.texi: Likewise.
52260         * manual/signal.texi: Likewise.
52261         * manual/socket.texi: Likewise.
52262         * manual/stdio.texi: Likewise.
52263         * manual/string.texi: Likewise.
52264         * manual/time.texi: Likewise.
52265         * manual/users.texi: Likewise.
52267 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
52269         [BZ #16632]
52270         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
52271         _DEFAULT_SOURCE is defined.
52273 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
52274             Carlos O'Donell  <carlos@redhat.com>
52276         [BZ #16613]
52277         * elf/dl-tls.c (_dl_count_modids): New function.
52278         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
52279         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
52280         audit library and increment generation counter.
52281         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
52282         * elf/tst-audit9.c: New file.
52283         * elf/tst-auditmod9a.c: New file.
52284         * elf/tst-auditmod9b.c: New file.
52285         * elf/Makefile: Add rules to build and run tst-audit9.
52287 2014-02-25  Florian Weimer  <fweimer@redhat.com>
52289         [BZ #15347]
52290         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
52292 2014-02-25  Will Newton  <will.newton@linaro.org>
52294         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
52295         (__longjmp): Restore sp and lr before restoring callee
52296         saved registers.  Add longjmp and longjmp_target
52297         SystemTap probe point.
52298         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
52299         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
52300         Define to zero to match jmpbuf layout.
52301         * sysdeps/arm/setjmp.S: Include stap-probe.h.
52302         (__sigsetjmp): Save sp and lr before saving callee
52303         saved registers.  Add setjmp SystemTap probe point.
52305 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
52307         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
52309 2014-02-24  Andreas Schwab  <schwab@suse.de>
52311         [BZ #15804]
52312         * elf/pldd.c (wait_for_ptrace_stop): New function.
52313         (main): Call it after attaching.
52315 2014-02-22  Roland McGrath  <roland@hack.frob.com>
52317         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
52318         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
52319         Versions files is now verboten.
52320         * hurd/Versions (libc: GLIBC_2.0):
52321         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
52322         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
52323         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
52324         * mach/Versions: Likewise.
52326         * csu/Versions: Remove unused %include.
52327         * resolv/Versions: Likewise.
52329 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
52331         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
52332         ($(objpfx)check-local-headers.out): Likewise.
52333         ($(objpfx)begin-end-check.out): Likewise.
52334         * Makerules (check-abi-%.out): Likewise.
52335         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
52336         ($(objpfx)test2.cat): Likewise.
52337         ($(objpfx)de/libc.cat): Likewise.
52338         ($(objpfx)test-gencat.out): Likewise.
52339         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
52340         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
52341         ($(objpfx)noload-mem): Likewise.
52342         ($(objpfx)tst-pathopt.out): Likewise.
52343         ($(objpfx)tst-rtld-load-self.out): Likewise.
52344         ($(objpfx)tst-array1-cmp.out): Likewise.
52345         ($(objpfx)tst-array1-static-cmp.out): Likewise.
52346         ($(objpfx)tst-array2-cmp.out): Likewise.
52347         ($(objpfx)tst-array3-cmp.out): Likewise.
52348         ($(objpfx)tst-array4-cmp.out): Likewise.
52349         ($(objpfx)tst-array5-cmp.out): Likewise.
52350         ($(objpfx)tst-array5-static-cmp.out): Likewise.
52351         ($(objpfx)check-textrel.out): Likewise.
52352         ($(objpfx)check-execstack.out): Likewise.
52353         ($(objpfx)check-localplt.out): Likewise.
52354         ($(objpfx)order2-cmp.out): Likewise.
52355         ($(objpfx)tst-leaks1-mem): Likewise.
52356         ($(objpfx)tst-leaks1-static-mem): Likewise.
52357         ($(objpfx)tst-initorder-cmp.out): Likewise.
52358         ($(objpfx)tst-initorder2-cmp.out): Likewise.
52359         ($(objpfx)tst-unused-dep.out): Likewise.
52360         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
52361         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
52362         * iconv/Makefile (test-iconvconfig): Likewise.
52363         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
52364         ($(objpfx)iconv-test.out): Likewise.
52365         ($(objpfx)tst-tables.out): Likewise.
52366         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
52367         ($(objpfx)tst-gettext.out): Likewise.
52368         ($(objpfx)tst-translit.out): Likewise.
52369         ($(objpfx)tst-gettext2.out): Likewise.
52370         ($(objpfx)tst-gettext4.out): Likewise.
52371         ($(objpfx)tst-gettext6.out): Likewise.
52372         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
52373         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
52374         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
52375         ($(objpfx)tst-fopenloc-mem.out): Likewise.
52376         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
52377         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
52378         * posix/Makefile ($(objpfx)globtest.out): Likewise.
52379         ($(objpfx)wordexp-tst.out): Likewise.
52380         ($(objpfx)annexc.out): Likewise.
52381         ($(objpfx)tst-fnmatch-mem): Likewise.
52382         ($(objpfx)bug-regex2-mem): Likewise.
52383         ($(objpfx)bug-regex14-mem): Likewise.
52384         ($(objpfx)bug-regex21-mem): Likewise.
52385         ($(objpfx)bug-regex31-mem): Likewise.
52386         ($(objpfx)tst-vfork3-mem): Likewise.
52387         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
52388         ($(objpfx)tst-pcre-mem): Likewise.
52389         ($(objpfx)tst-boost-mem): Likewise.
52390         ($(objpfx)tst-getconf.out): Likewise.
52391         ($(objpfx)bug-ga2-mem): Likewise.
52392         ($(objpfx)bug-glob2-mem): Likewise.
52393         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
52394         ($(objpfx)mtrace-tst-leaks2): Likewise.
52395         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
52396         ($(objpfx)tst-printf.out): Likewise.
52397         ($(objpfx)tst-setvbuf1.out): Likewise.
52398         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
52399         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
52400         ($(objpfx)tst-fmtmsg.out): Likewise.
52401         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
52402         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
52404         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
52405         * bits/sigaction.h [__USE_MISC]: Likewise.
52406         * bits/waitstatus.h: Update #endif comments.
52407         * ctype/ctype.h: Likewise.
52408         * dirent/dirent.h: Likewise.
52409         [__USE_MISC]: Remove redundant conditionals.
52410         * grp/grp.h: Update #endif comments.
52411         [__USE_GNU]: Remove redundant conditionals.
52412         [__USE_MISC]: Likewise.
52413         * inet/netinet/in.h [__USE_GNU]: Likewise.
52414         * io/sys/stat.h [__USE_MISC]: Likewise.
52415         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
52416         * libio/bits/stdio.h: Update #endif comments.
52417         [__USE_MISC]: Remove redundant conditionals.
52418         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
52419         * libio/stdio.h: Update #endif comments.
52420         [__USE_MISC]: Remove redundant conditionals.
52421         * math/bits/math-finite.h [__USE_MISC]: Likewise.
52422         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
52423         * math/math.h: Update #else and #endif comments.
52424         [__USE_MISC]: Remove redundant conditionals.
52425         * misc/sys/uio.h: Update #endif comments.
52426         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
52427         * posix/glob.h [__USE_MISC]: Likewise.
52428         * posix/sys/types.h: Update #endif comments.
52429         [__USE_MISC]: Remove redundant conditionals.
52430         * posix/sys/wait.h: Update #endif comments.
52431         [__USE_MISC]: Remove redundant conditionals.
52432         * posix/unistd.h: Update #endif comments.
52433         [__USE_MISC]: Remove redundant conditionals.
52434         * pwd/pwd.h [__USE_GNU]: Likewise.
52435         [__USE_MISC]: Likewise.
52436         * resolv/netdb.h [__USE_GNU]: Likewise.
52437         * signal/signal.h: Update #endif comments.
52438         [__USE_MISC]: Remove redundant conditionals.
52439         * stdlib/stdlib.h: Update #else and #endif comments.
52440         [__USE_MISC]: Remove redundant conditionals.
52441         [__USE_GNU]: Likewise.
52442         * string/bits/string2.h [__USE_MISC]: Likewise.
52443         * string/string.h: Update #endif comments.
52444         [__USE_MISC]: Remove redundant conditionals.
52445         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
52446         Likewise.
52447         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
52448         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
52449         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
52450         Likewise.
52451         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
52452         Likewise.
52453         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
52454         comments.
52455         [__USE_MISC]: Remove redundant conditionals.
52456         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
52457         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
52458         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
52459         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
52460         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
52461         Likewise.
52462         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
52463         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
52464         Likewise.
52465         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
52466         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
52467         Likewise.
52468         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
52469         Likewise.
52470         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
52471         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
52472         Likewise.
52473         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
52474         Likewise.
52475         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
52476         * sysdeps/x86/bits/string.h: Update #endif comments.
52477         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
52478         conditionals.
52479         * time/sys/time.h: Update #endif comments.
52480         * time/time.h: Likewise.
52481         [__USE_MISC]: Remove redundant conditionals.
52483 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
52485         [BZ #16600]
52486         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
52488 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
52490         * Versions.def (librt): Add GLIBC_2.17.
52492 2014-02-21  Adam Conrad  <adconrad@0c3.net>
52494         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
52495         synonym for _SYS_AUXV_H to allow direct inclusion.
52496         * sysdeps/sparc/bits/hwcap.h: Likewise.
52497         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
52498         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
52499         * sysdeps/sparc/sysdep.h: Likewise.
52501 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52503         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
52505 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
52507         * benchtests/bench-strrchr.c: Print length instead of position.
52509 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
52511         [BZ #16611]
52512         * sysdeps/unix/sysv/linux/kernel-features.h
52513         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
52514         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
52515         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
52516         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
52517         Likewise.
52518         [__i386__ || __powerpc__ || __sh__ || __sparc__]
52519         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
52520         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
52521         (__ASSUME_SENDMMSG): Define instead of using previous
52522         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
52523         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52524         (__ASSUME_SENDMMSG_SYSCALL): Define.
52525         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52526         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
52527         Likewise.
52528         * sysdeps/unix/sysv/linux/arm/kernel-features.h
52529         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
52530         Likewise.
52531         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52532         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
52533         Likewise.
52534         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
52535         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
52536         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
52537         [__ASSUME_SENDMMSG]: Change conditionals to
52538         [__ASSUME_SENDMMSG_SOCKETCALL].
52539         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52540         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
52541         Define.
52542         * sysdeps/unix/sysv/linux/mips/kernel-features.h
52543         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
52544         Likewise.
52545         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
52546         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
52547         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
52548         [!__ASSUME_SENDMMSG]: Change conditional to
52549         [!__ASSUME_SENDMMSG_SOCKETCALL].
52550         * sysdeps/unix/sysv/linux/tile/kernel-features.h
52551         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
52552         Define.
52554         [BZ #16610]
52555         * sysdeps/unix/sysv/linux/kernel-features.h
52556         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
52557         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
52558         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
52559         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
52560         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
52561         [__i386__ || __sparc__]
52562         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
52563         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
52564         (__ASSUME_RECVMMSG): Define instead of using previous
52565         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
52566         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52567         (__ASSUME_RECVMMSG_SYSCALL): Define.
52568         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52569         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
52570         Likewise.
52571         * sysdeps/unix/sysv/linux/arm/kernel-features.h
52572         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
52573         Likewise.
52574         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52575         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
52576         Likewise.
52577         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
52578         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
52579         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
52580         [__ASSUME_RECVMMSG]: Change condition to
52581         [__ASSUME_RECVMMSG_SOCKETCALL].
52582         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52583         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
52584         Define.
52585         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
52586         * sysdeps/unix/sysv/linux/mips/kernel-features.h
52587         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
52588         Likewise.
52589         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
52590         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
52591         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
52592         [!__ASSUME_RECVMMSG]: Change condition to
52593         [!__ASSUME_RECVMMSG_SOCKETCALL].
52594         * sysdeps/unix/sysv/linux/tile/kernel-features.h
52595         (__ASSUME_RECVMMSG_SYSCALL): Define.
52597         [BZ #16609]
52598         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
52599         __powerpc__ || __s390__ || __sh__ || __sparc__]
52600         (__ASSUME_SOCKETCALL): Define.
52601         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
52602         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
52603         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
52604         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
52605         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52606         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
52607         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
52608         (__ASSUME_ACCEPT4): Define instead of using previous
52609         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
52610         __powerpc__ || __sparc__ || __s390__)] condition.
52611         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52612         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
52613         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
52614         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
52615         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
52616         [!__ASSUME_ACCEPT4]: Change condition to
52617         [!__ASSUME_ACCEPT4_SOCKETCALL].
52618         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52619         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
52620         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
52621         * sysdeps/unix/sysv/linux/arm/kernel-features.h
52622         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
52623         __ASSUME_ACCEPT4_SYSCALL.
52624         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
52625         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
52626         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52627         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
52628         __ASSUME_ACCEPT4_SYSCALL.
52629         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
52630         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
52631         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
52632         [__ASSUME_ACCEPT4]: Change condition to
52633         [__ASSUME_ACCEPT4_SOCKETCALL].
52634         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52635         (__ASSUME_SOCKETCALL): Define.
52636         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
52637         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52638         (__ASSUME_SOCKETCALL): Define.
52639         (__ASSUME_ACCEPT4): Remove.
52640         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
52641         Define.
52642         * sysdeps/unix/sysv/linux/mips/kernel-features.h
52643         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
52644         Likewise.
52645         * sysdeps/unix/sysv/linux/tile/kernel-features.h
52646         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
52648         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
52649         macro.
52650         (HWCAP_ARM_LPAE): Likewise.
52651         (HWCAP_ARM_EVTSTRM): Likewise.
52652         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
52653         Add vpfd32, lpae and evtstrm.
52654         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
52655         Increase to 22.
52657 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
52659         * math/auto-libm-test-in: Add tests of clog10.
52660         * math/auto-libm-test-out: Regenerated.
52661         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
52662         * sysdeps/i386/fpu/libm-test-ulps: Update.
52663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52665 2014-02-18  Andreas Schwab  <schwab@suse.de>
52667         [BZ #16574]
52668         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
52669         Store non-zero if the second buffer was newly allocated.
52670         (send_dg): Likewise.
52671         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
52672         to send_vc and send_dg.
52673         (res_nsend): Pass NULL for ansp2_malloced.
52674         * resolv/res_query.c (__libc_res_nquery): Add parameter
52675         answerp2_malloced and pass it down to __libc_res_nsend.
52676         (res_nquery): Pass additional NULL to __libc_res_nquery.
52677         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
52678         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
52679         second answer buffer if answerp2_malloced was set.
52680         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
52681         (__libc_res_nquerydomain): Add parameter
52682         answerp2_malloced and pass it down to __libc_res_nquery.
52683         (res_nquerydomain): Pass additional NULL to
52684         __libc_res_nquerydomain.
52685         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
52686         additional NULL to __libc_res_nsend and __libc_res_nquery.
52687         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
52688         additional NULL to __libc_res_nsearch.
52689         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
52690         parameter of __libc_res_nsearch to check for separately allocated
52691         second buffer.
52692         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
52693         __libc_res_nquery.
52694         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
52695         additional NULL to __libc_res_nquery.
52696         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
52697         __libc_res_nsearch.
52698         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
52699         * include/resolv.h: Update prototypes of __libc_res_nquery,
52700         __libc_res_nsearch, __libc_res_nsend.
52702 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
52704         * math/auto-libm-test-in: Add tests of fma.
52705         * math/auto-libm-test-out: Regenerated.
52706         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
52707         (fma_towardzero_test_data): Likewise.
52708         (fma_downward_test_data): Likewise.
52709         (fma_upward_test_data): Likewise.
52710         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
52711         mpc_mode.
52712         (rounding_modes): Add values for new field.
52713         (func_calc_method): Add value mpfr_fff_f.
52714         (func_calc_desc): Add mpfr_fff_f union field.
52715         (test_function): Add field exact_args.
52716         (FUNC): Add macro argument EXACT_ARGS.
52717         (FUNC_mpfr_f_f): Update call to FUNC.
52718         (FUNC_mpfr_f_f): Likewise.
52719         (FUNC_mpfr_ff_f): Likewise.
52720         (FUNC_mpfr_if_f): Likewise.
52721         (FUNC_mpc_c_f): Likewise.
52722         (FUNC_mpc_c_c): Likewise.
52723         (test_functions): Add fma.  Update calls to FUNC.
52724         (handle_input_arg): Add argument exact_args.
52725         (add_test): Update call to handle_input_arg.
52726         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
52727         (output_for_one_input_case): Update call to calc_generic_results.
52728         Recalculate exact zero results in each rounding mode.
52730         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
52731         non-negative before setting low bit.
52732         * math/auto-libm-test-in: Mark one asin test possibly having
52733         spurious underflow.
52734         * math/auto-libm-test-out: Regenerated.
52735         * sysdeps/i386/fpu/libm-test-ulps: Update.
52736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52738 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
52740         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
52741         * sysdeps/unix/sysv/linux/microblaze: Move directory from
52742         ports/sysdeps/unix/sysv/linux/microblaze.
52743         * README: Add missing listing for microblaze*-*-linux-gnu.
52745 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
52747         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
52748         duplicate code
52750 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
52752         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
52753         * sysdeps/unix/sysv/linux/ia64: Move directory from
52754         ports/sysdeps/unix/sysv/linux/ia64.
52755         * README: Update listing for ia64-*-linux-gnu.
52757 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
52758             Joseph Myers  <joseph@codesourcery.com>
52760         * Makeconfig (test-name): New variable.
52761         (evaluate-test): Likewise.
52762         * Makerules (do-test-clean): Remove .test-result files.
52763         (common-mostlyclean): Likewise.
52764         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
52765         * scripts/evaluate-test.sh: New file.
52767 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
52769         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
52770         separate $(objpfx)tst-fopenloc-cmp.out and
52771         $(objpfx)tst-fopenloc-mem.out targets.
52772         (tests): Update dependencies.
52773         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
52774         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
52775         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
52776         (tst-rxspencer-no-utf8-ARGS): New variable.
52777         (tst-rxspencer-no-utf8-ENV): Likewise.
52778         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
52779         instead of $(objpfx)tst-rxspencer-mem.
52780         ($(objpfx)tst-rxspencer-mem): Change target to
52781         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
52782         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
52783         * posix/tst-rxspencer-no-utf8.c: New file.
52785         * elf/Makefile ($(objpfx)order.out): Remove rule.
52786         [$(run-built-tests) = yes] (tests): Depend on
52787         $(objpfx)order-cmp.out.
52788         ($(objpfx)order-cmp.out): New rule.
52789         [$(run-built-tests) = yes] (tests): Depend on
52790         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
52791         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
52792         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
52793         $(objpfx)tst-array5-static-cmp.out.
52794         ($(objpfx)tst-array1.out): Remove rule.
52795         ($(objpfx)tst-array1-cmp.out): New rule.
52796         ($(objpfx)tst-array1-static.out): Remove rule.
52797         ($(objpfx)tst-array1-static-cmp.out): New rule.
52798         ($(objpfx)tst-array2.out): Remove rule.
52799         ($(objpfx)tst-array2-cmp.out): New rule.
52800         ($(objpfx)tst-array3.out): Remove rule.
52801         ($(objpfx)tst-array3-cmp.out): New rule.
52802         ($(objpfx)tst-array4.out): Remove rule.
52803         ($(objpfx)tst-array4-cmp.out): New rule.
52804         ($(objpfx)tst-array5.out): Remove rule.
52805         ($(objpfx)tst-array5-cmp.out): New rule.
52806         ($(objpfx)tst-array5-static.out): Remove rule.
52807         ($(objpfx)tst-array5-static-cmp.out): New rule.
52808         [$(run-built-tests) = yes] (tests): Depend on
52809         $(objpfx)order2-cmp.out.
52810         ($(objpfx)order2.out): Remove rule.
52811         ($(objpfx)order2-cmp.out): New rule.
52812         ($(objpfx)tst-initorder.out): Remove rule.
52813         [$(run-built-tests) = yes] (tests): Depend on
52814         $(objpfx)tst-initorder-cmp.out.
52815         ($(objpfx)tst-initorder-cmp.out): New rule.
52816         ($(objpfx)tst-initorder2.out): Remove rule.
52817         [$(run-built-tests) = yes] (tests): Depend on
52818         $(objpfx)tst-initorder2-cmp.out.
52819         ($(objpfx)tst-initorder2-cmp.out): New rule.
52820         [$(run-built-tests) = yes] (tests): Depend on
52821         $(objpfx)tst-unused-dep-cmp.out.
52822         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
52823         ($(objpfx)tst-unused-dep-cmp.out): New rule.
52824         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
52825         on $(objpfx)tst-setvbuf1-cmp.out.
52826         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
52827         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
52828         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
52829         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
52830         ($(objpfx)tst-svc.out): Remove rule.
52831         ($(objpfx)tst-svc-cmp.out): New rule.
52833 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
52835         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
52836         * ctype/ctype.h [__USE_MISC]: Likewise.
52837         * dirent/dirent.h [__USE_MISC]: Likewise.
52838         * grp/grp.h [__USE_MISC]: Likewise.
52839         * io/fcntl.h [__USE_MISC]: Likewise.
52840         * io/sys/stat.h [__USE_MISC]: Likewise.
52841         * libio/stdio.h [__USE_MISC]: Likewise.
52842         * posix/unistd.h [__USE_MISC]: Likewise.
52843         * pwd/pwd.h [__USE_MISC]: Likewise.
52844         * stdlib.h [__USE_MISC]: Likewise.
52845         * string/bits/string2.h [__USE_MISC]: Likewise.
52846         * string/string.h [__USE_MISC]: Likewise.
52847         * time/time.h [__USE_MISC]: Likewise.
52849 2014-02-13  Andreas Schwab  <schwab@suse.de>
52851         [BZ #16574]
52852         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
52853         second answer buffer if it was separately allocated.
52855 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
52857         * sysdeps/mips/math-tests.h: Include <features.h>.
52858         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
52859         (ROUNDING_TESTS_long_double): Do not define.
52860         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
52861         (EXCEPTION_TESTS_long_double): Likewise.
52862         * sysdeps/mips/mips64/libm-test-ulps: Update.
52864         * include/features.h (__USE_BSD): Remove macro definitions.
52865         (__USE_SVID): Likewise.
52866         (_BSD_SOURCE): Likewise.
52867         (_SVID_SOURCE): Likewise.
52868         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
52869         from definition of _DEFAULT_SOURCE.
52870         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
52871         [_DEFAULT_SOURCE].
52872         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
52873         * bits/mman.h [__USE_BSD]: Likewise.
52874         * bits/termios.h [__USE_BSD]: Likewise.
52875         * bits/waitstatus.h [__USE_BSD]: Likewise.
52876         * ctype/ctype.h [__USE_SVID]: Likewise.
52877         * dirent/dirent.h [__USE_BSD]: Likewise.
52878         * grp/grp.h [__USE_SVID]: Likewise.
52879         [__USE_BSD]: Likewise.
52880         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
52881         * io/fcntl.h [__USE_BSD]: Likewise.
52882         * io/ftw.h [__USE_BSD]: Likewise.
52883         * io/sys/stat.h [__USE_BSD]: Likewise.
52884         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
52885         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
52886         * libio/stdio.h [__USE_SVID]: Likewise.
52887         [__USE_BSD]: Likewise.
52888         * math/math.h [__USE_SVID]: Likewise.
52889         [__USE_BSD]: Likewise.
52890         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
52891         * misc/bits/syslog.h [__USE_BSD]: Likewise.
52892         * misc/search.h [__USE_SVID]: Likewise.
52893         * misc/sys/mman.h [__USE_BSD]: Likewise.
52894         * misc/sys/syslog.h [__USE_BSD]: Likewise.
52895         * misc/sys/uio.h [__USE_BSD]: Likewise.
52896         * posix/bits/unistd.h [__USE_BSD]: Likewise.
52897         * posix/glob.h [__USE_BSD]: Likewise.
52898         * posix/regex.h [__USE_BSD]: Likewise.
52899         * posix/sys/types.h [__USE_BSD]: Likewise.
52900         [__USE_SVID]: Likewise.
52901         * posix/sys/utsname.h [__USE_SVID]: Likewise.
52902         * posix/sys/wait.h [__USE_BSD]: Likewise.
52903         [__USE_SVID]: Likewise.
52904         * posix/unistd.h [__USE_BSD]: Likewise.
52905         [__USE_SVID]: Likewise.
52906         * pwd/pwd.h [__USE_SVID]: Likewise.
52907         * resolv/netdb.h [__USE_BSD]: Likewise.
52908         * setjmp/setjmp.h [__USE_BSD]: Likewise.
52909         * signal/signal.h [__USE_BSD]: Likewise.
52910         [__USE_SVID]: Likewise.
52911         * socket/sys/socket.h [__USE_BSD]: Likewise.
52912         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
52913         * stdlib/stdlib.h [__USE_BSD]: Likewise.
52914         [__USE_SVID]: Likewise.
52915         * string/bits/string2.h [__USE_BSD]: Likewise.
52916         [__USE_SVID]: Likewise.
52917         * string/bits/string3.h [__USE_BSD]: Likewise.
52918         * string/endian.h [__USE_BSD]: Likewise.
52919         * string/string.h [__USE_SVID]: Likewise.
52920         [__USE_BSD]: Likewise.
52921         * string/strings.h [__USE_BSD]: Likewise.
52922         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
52923         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
52924         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
52925         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
52926         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
52927         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
52928         Likewise.
52929         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
52930         Likewise.
52931         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
52932         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
52933         Likewise.
52934         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
52935         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
52936         Likewise.
52937         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
52938         Likewise.
52939         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
52940         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
52941         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
52942         Likewise.
52943         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
52944         Likewise.
52945         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
52946         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
52947         * termios/termios.h [__USE_BSD]: Likewise.
52948         * time/sys/time.h [__USE_BSD]: Likewise.
52949         * time/time.h [__USE_BSD]: Likewise.
52950         [__USE_SVID]: Likewise.
52952         * Makefile (subdir_targets): Remove subdir_lint.out.
52954         * stdio-common/Makefile (do-tst-unbputc): Remove target.
52955         (do-tst-printf): Likewise.
52956         (tests): Depend directly on $(objpfx)tst-unbputc.out and
52957         $(objpfx)tst-printf.out.
52959         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
52961         * Makerules (check-abi-%): Change target to
52962         $(objpfx)check-abi-%.out.
52963         (check-abi target): Update dependencies.
52964         (check-abi-pattern variable): Redirect output of diff to $@.
52965         (check-abi variable): Likewise.
52966         * elf/Makefile (check-abi): Update dependencies.
52968         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
52969         unused.
52970         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
52971         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
52972         subnormal range.
52973         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
52974         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
52975         value has largest subnormal exponent.
52976         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
52977         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
52978         * sysdeps/aarch64/soft-fp/sfp-machine.h
52979         (_FP_TININESS_AFTER_ROUNDING): New macro.
52980         * sysdeps/alpha/soft-fp/sfp-machine.h
52981         (_FP_TININESS_AFTER_ROUNDING): Likewise.
52982         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
52983         Likewise.
52984         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
52985         (_FP_TININESS_AFTER_ROUNDING): Likewise.
52986         * sysdeps/mips/soft-fp/sfp-machine.h
52987         (_FP_TININESS_AFTER_ROUNDING): Likewise.
52988         * sysdeps/powerpc/soft-fp/sfp-machine.h
52989         (_FP_TININESS_AFTER_ROUNDING): Likewise.
52990         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
52991         Likewise.
52992         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
52993         (_FP_TININESS_AFTER_ROUNDING): Likewise.
52994         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
52995         (_FP_TININESS_AFTER_ROUNDING): Likewise.
52996         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
52997         Likewise.
52999 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
53001         [BZ #16545]
53002         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
53003         model 1.
53005 2014-02-12  Richard Henderson  <rth@redhat.com>
53007         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
53008         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
53009         * sysdeps/unix/sysv/linux/alpha: Move directory from
53010         ports/sysdeps/unix/sysv/linux/alpha.
53011         * README: Update listing for alpha-*-linux-gnu.
53013 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
53015         * include/features.h: Update comment documenting feature test
53016         macros.
53017         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
53018         _DEFAULT_SOURCE.
53019         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
53020         (_SVID_SOURCE): Likewise.
53021         (_DEFAULT_SOURCE): Update description of default features.
53022         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
53023         with _GNU_SOURCE.
53024         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
53025         (S_ISVTX): Likewise.
53026         * manual/math.texi (Mathematical Constants): Likewise.
53027         * manual/signal.texi (Interrupted Primitives): Likewise.
53028         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
53029         * math/test-matherr.c (_SVID_SOURCE): Do not define.
53030         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
53031         Don't refer to _SVID_SOURCE in warning text.
53033         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53035         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
53036         already defined.
53037         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
53038         * sysdeps/mips/dl-lookup.c: Remove.
53039         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
53041 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
53043         [BZ #16447]
53044         * math/auto-libm-test-in: Add testcase for expl.
53045         * math/auto-libm-test-out: Regenerate.
53046         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
53047         calculation of unsafe.
53048         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
53050 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
53052         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
53053         * sysdeps/unix/sysv/linux/aarch64: Move directory from
53054         ports/sysdeps/unix/sysv/linux/aarch64.
53055         * README: Update listing for aarch64*-*-linux-gnu.
53057 2014-02-11  Will Newton  <will.newton@linaro.org>
53059         * manual/probes.texi (Mathematical Function Probes): Use
53060         "triggered" instead of "hit".
53062         * manual/probes.texi (Internal Probes): Add documentation
53063         of setjmp, longjmp and longjmp_target probes.
53065         * include/stap-probe.h: Add comment about probe argument
53066         format.
53068         * malloc/mtrace.c (attribute_hidden): Remove unused macro
53069         definition.  (tr_where, tr_freehook, tr_mallochook,
53070         tr_reallochook, tr_memalignhook): Use ANSI protoype.
53072 2014-02-11  David S. Miller  <davem@davemloft.net>
53074         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
53075         processing int_tests.
53077 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
53079         * sysdeps/mips: Move directory from ports/sysdeps/mips.
53080         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
53081         * sysdeps/unix/sysv/linux/mips: Move directory from
53082         ports/sysdeps/unix/sysv/linux/mips.
53083         * README: Update listing for mips-*-linux-gnu and
53084         mips64-*-linux-gnu.
53086 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
53088         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
53089         * sysdeps/unix/sysv/linux/m68k: Move directory from
53090         ports/sysdeps/unix/sysv/linux/m68k.
53091         * README: Update listing for m68k-*-linux-gnu.
53093 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
53095         * sysdeps/tile: Move directory from ports/sysdeps/tile.
53096         * sysdeps/unix/sysv/linux/generic: Move directory from
53097         ports/sysdeps/unix/sysv/linux/generic.
53098         * sysdeps/unix/sysv/linux/tile: Move directory from
53099         ports/sysdeps/unix/sysv/linux/tile.
53100         * README: Update listing for tile*-*-linux-gnu.
53102 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
53104         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
53105         __builtin_expect.
53106         * benchtests/bench-memmem.c (simple_memmem): Likewise.
53107         * catgets/open_catalog.c (__open_catalog): Likewise.
53108         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
53109         * debug/confstr_chk.c: Likewise.
53110         * debug/fread_chk.c (__fread_chk): Likewise.
53111         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
53112         * debug/getgroups_chk.c: Likewise.
53113         * debug/mbsnrtowcs_chk.c: Likewise.
53114         * debug/mbsrtowcs_chk.c: Likewise.
53115         * debug/mbstowcs_chk.c: Likewise.
53116         * debug/memcpy_chk.c: Likewise.
53117         * debug/memmove_chk.c: Likewise.
53118         * debug/mempcpy_chk.c: Likewise.
53119         * debug/memset_chk.c: Likewise.
53120         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
53121         * debug/strcat_chk.c (__strcat_chk): Likewise.
53122         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
53123         * debug/strncat_chk.c (__strncat_chk): Likewise.
53124         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
53125         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
53126         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
53127         * debug/wcpncpy_chk.c: Likewise.
53128         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
53129         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
53130         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
53131         * debug/wcsncpy_chk.c: Likewise.
53132         * debug/wcsnrtombs_chk.c: Likewise.
53133         * debug/wcsrtombs_chk.c: Likewise.
53134         * debug/wcstombs_chk.c: Likewise.
53135         * debug/wmemcpy_chk.c: Likewise.
53136         * debug/wmemmove_chk.c: Likewise.
53137         * debug/wmempcpy_chk.c: Likewise.
53138         * debug/wmemset_chk.c: Likewise.
53139         * dirent/scandirat.c (SCANDIRAT): Likewise.
53140         * dlfcn/dladdr1.c (dladdr1): Likewise.
53141         * dlfcn/dladdr.c (dladdr): Likewise.
53142         * dlfcn/dlclose.c (dlclose_doit): Likewise.
53143         * dlfcn/dlerror.c (__dlerror): Likewise.
53144         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
53145         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
53146         * dlfcn/dlopen.c (dlopen_doit): Likewise.
53147         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
53148         * dlfcn/dlsym.c (dlsym_doit): Likewise.
53149         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
53150         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
53151         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
53152         Likewise.
53153         * elf/dl-conflict.c: Likewise.
53154         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
53155         * elf/dl-dst.h: Likewise.
53156         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
53157         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
53158         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
53159         * elf/dl-init.c (call_init, _dl_init): Likewise.
53160         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
53161         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
53162         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
53163         Likewise.
53164         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
53165         Likewise.
53166         * elf/dl-minimal.c (__libc_memalign): Likewise.
53167         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
53168         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
53169         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
53170         * elf/dl-sym.c (do_sym): Likewise.
53171         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
53172         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
53173         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
53174         * elf/dl-writev.h (_dl_writev): Likewise.
53175         * elf/ldconfig.c (search_dir): Likewise.
53176         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
53177         (dl_main): Likewise.
53178         * elf/setup-vdso.h (setup_vdso): Likewise.
53179         * grp/compat-initgroups.c (compat_call): Likewise.
53180         * grp/fgetgrent.c (fgetgrent): Likewise.
53181         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
53182         * grp/putgrent.c (putgrent): Likewise.
53183         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
53184         Likewise.
53185         * hurd/hurdinit.c: Likewise.
53186         * iconvdata/8bit-gap.c (struct): Likewise.
53187         * iconvdata/ansi_x3.110.c : Likewise.
53188         * iconvdata/big5.c : Likewise.
53189         * iconvdata/big5hkscs.c : Likewise.
53190         * iconvdata/cp1255.c: Likewise.
53191         * iconvdata/cp1258.c : Likewise.
53192         * iconvdata/cp932.c : Likewise.
53193         * iconvdata/euc-cn.c: Likewise.
53194         * iconvdata/euc-jisx0213.c : Likewise.
53195         * iconvdata/euc-jp.c: Likewise.
53196         * iconvdata/euc-jp-ms.c : Likewise.
53197         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
53198         * iconvdata/gb18030.c : Likewise.
53199         * iconvdata/gbbig5.c (const): Likewise.
53200         * iconvdata/gbgbk.c: Likewise.
53201         * iconvdata/gbk.c : Likewise.
53202         * iconvdata/ibm1364.c : Likewise.
53203         * iconvdata/ibm930.c : Likewise.
53204         * iconvdata/ibm932.c: Likewise.
53205         * iconvdata/ibm933.c : Likewise.
53206         * iconvdata/ibm935.c : Likewise.
53207         * iconvdata/ibm937.c : Likewise.
53208         * iconvdata/ibm939.c : Likewise.
53209         * iconvdata/ibm943.c: Likewise.
53210         * iconvdata/iso_11548-1.c: Likewise.
53211         * iconvdata/iso-2022-cn.c : Likewise.
53212         * iconvdata/iso-2022-cn-ext.c : Likewise.
53213         * iconvdata/iso-2022-jp-3.c: Likewise.
53214         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
53215         * iconvdata/iso-2022-kr.c : Likewise.
53216         * iconvdata/iso646.c (gconv_end): Likewise.
53217         * iconvdata/iso_6937-2.c : Likewise.
53218         * iconvdata/iso_6937.c : Likewise.
53219         * iconvdata/iso8859-1.c: Likewise.
53220         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
53221         * iconvdata/shift_jisx0213.c : Likewise.
53222         * iconvdata/sjis.c : Likewise.
53223         * iconvdata/t.61.c : Likewise.
53224         * iconvdata/tcvn5712-1.c : Likewise.
53225         * iconvdata/tscii.c: Likewise.
53226         * iconvdata/uhc.c : Likewise.
53227         * iconvdata/unicode.c (gconv_end): Likewise.
53228         * iconvdata/utf-16.c (gconv_end): Likewise.
53229         * iconvdata/utf-32.c (gconv_end): Likewise.
53230         * iconvdata/utf-7.c (base64): Likewise.
53231         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
53232         * iconv/gconv_close.c (__gconv_close): Likewise.
53233         * iconv/gconv_open.c (__gconv_open): Likewise.
53234         * iconv/gconv_simple.c (internal_ucs4_loop_single)
53235         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
53236         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
53237         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
53238         (ucs4le_internal_loop_single): Likewise.
53239         * iconv/iconv.c (iconv): Likewise.
53240         * iconv/iconv_close.c: Likewise.
53241         * iconv/loop.c (SINGLE): Likewise.
53242         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
53243         * include/atomic.h: Likewise.
53244         * inet/inet6_option.c (option_alloc): Likewise.
53245         * intl/bindtextdom.c (set_binding_values): Likewise.
53246         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
53247         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
53248         * intl/localealias.c (read_alias_file): Likewise.
53249         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
53250         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
53251         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
53252         * libio/fmemopen.c (fmemopen): Likewise.
53253         * libio/iofgets.c (_IO_fgets): Likewise.
53254         * libio/iofgets_u.c (fgets_unlocked): Likewise.
53255         * libio/iofgetws.c (fgetws): Likewise.
53256         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
53257         * libio/iogetdelim.c (_IO_getdelim): Likewise.
53258         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
53259         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
53260         * locale/findlocale.c (_nl_find_locale): Likewise.
53261         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
53262         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
53263         Likewise.
53264         * locale/setlocale.c (setlocale): Likewise.
53265         * login/programs/pt_chown.c (main): Likewise.
53266         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
53267         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
53268         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
53269         (mmap, mmap64, mremap, munmap): Likewise.
53270         * math/e_exp2l.c: Likewise.
53271         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
53272         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
53273         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
53274         * math/s_catan.c (__catan): Likewise.
53275         * math/s_catanf.c (__catanf): Likewise.
53276         * math/s_catanh.c (__catanh): Likewise.
53277         * math/s_catanhf.c (__catanhf): Likewise.
53278         * math/s_catanhl.c (__catanhl): Likewise.
53279         * math/s_catanl.c (__catanl): Likewise.
53280         * math/s_ccosh.c (__ccosh): Likewise.
53281         * math/s_ccoshf.c (__ccoshf): Likewise.
53282         * math/s_ccoshl.c (__ccoshl): Likewise.
53283         * math/s_cexp.c (__cexp): Likewise.
53284         * math/s_cexpf.c (__cexpf): Likewise.
53285         * math/s_cexpl.c (__cexpl): Likewise.
53286         * math/s_clog10.c (__clog10): Likewise.
53287         * math/s_clog10f.c (__clog10f): Likewise.
53288         * math/s_clog10l.c (__clog10l): Likewise.
53289         * math/s_clog.c (__clog): Likewise.
53290         * math/s_clogf.c (__clogf): Likewise.
53291         * math/s_clogl.c (__clogl): Likewise.
53292         * math/s_csin.c (__csin): Likewise.
53293         * math/s_csinf.c (__csinf): Likewise.
53294         * math/s_csinh.c (__csinh): Likewise.
53295         * math/s_csinhf.c (__csinhf): Likewise.
53296         * math/s_csinhl.c (__csinhl): Likewise.
53297         * math/s_csinl.c (__csinl): Likewise.
53298         * math/s_csqrt.c (__csqrt): Likewise.
53299         * math/s_csqrtf.c (__csqrtf): Likewise.
53300         * math/s_csqrtl.c (__csqrtl): Likewise.
53301         * math/s_ctan.c (__ctan): Likewise.
53302         * math/s_ctanf.c (__ctanf): Likewise.
53303         * math/s_ctanh.c (__ctanh): Likewise.
53304         * math/s_ctanhf.c (__ctanhf): Likewise.
53305         * math/s_ctanhl.c (__ctanhl): Likewise.
53306         * math/s_ctanl.c (__ctanl): Likewise.
53307         * math/w_pow.c: Likewise.
53308         * math/w_powf.c: Likewise.
53309         * math/w_powl.c: Likewise.
53310         * math/w_scalb.c (sysv_scalb): Likewise.
53311         * math/w_scalbf.c (sysv_scalbf): Likewise.
53312         * math/w_scalbl.c (sysv_scalbl): Likewise.
53313         * misc/error.c (error_tail): Likewise.
53314         * misc/pselect.c (__pselect): Likewise.
53315         * nis/nis_callback.c (__nis_create_callback): Likewise.
53316         * nis/nis_call.c (__nisfind_server): Likewise.
53317         * nis/nis_creategroup.c (nis_creategroup): Likewise.
53318         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
53319         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
53320         * nis/nis_getservlist.c (nis_getservlist): Likewise.
53321         * nis/nis_lookup.c (nis_lookup): Likewise.
53322         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
53323         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
53324         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
53325         * nis/nis_xdr.c (xdr_endpoint): Likewise.
53326         * nis/nss_compat/compat-grp.c (getgrent_next_file)
53327         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
53328         * nis/nss_compat/compat-initgroups.c (add_group)
53329         (internal_getgrent_r): Likewise.
53330         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
53331         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
53332         * nis/nss_compat/compat-spwd.c (getspent_next_file)
53333         (internal_getspnam_r): Likewise.
53334         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
53335         (_nss_nis_getaliasbyname_r): Likewise.
53336         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
53337         (_nss_nis_getntohost_r): Likewise.
53338         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
53339         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
53340         (_nss_nis_getgrgid_r): Likewise.
53341         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
53342         (internal_nis_gethostent_r, internal_gethostbyname2_r)
53343         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
53344         (_nss_nis_gethostbyname4_r): Likewise.
53345         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
53346         (initgroups_netid): Likewise.
53347         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
53348         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
53349         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
53350         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
53351         (_nss_nis_getprotobynumber_r): Likewise.
53352         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
53353         (_nss_nis_getsecretkey): Likewise.
53354         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
53355         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
53356         (_nss_nis_getpwuid_r): Likewise.
53357         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
53358         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
53359         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
53360         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
53361         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
53362         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
53363         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
53364         Likewise.
53365         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
53366         (_nss_nisplus_getntohost_r): Likewise.
53367         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
53368         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
53369         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
53370         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
53371         Likewise.
53372         * nis/nss_nisplus/nisplus-initgroups.c
53373         (_nss_nisplus_initgroups_dyn): Likewise.
53374         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
53375         (_nss_nisplus_getnetbyaddr_r): Likewise.
53376         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
53377         (_nss_nisplus_getprotobynumber_r): Likewise.
53378         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
53379         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
53380         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
53381         Likewise.
53382         * nis/nss_nisplus/nisplus-service.c
53383         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
53384         (_nss_nisplus_getservbyport_r): Likewise.
53385         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
53386         (_nss_nisplus_getspnam_r): Likewise.
53387         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
53388         Likewise.
53389         * nscd/aicache.c (addhstaiX): Likewise.
53390         * nscd/cache.c (cache_search, prune_cache): Likewise.
53391         * nscd/connections.c (register_traced_file, send_ro_fd)
53392         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
53393         (main_loop_epoll): Likewise.
53394         * nscd/grpcache.c (addgrbyX): Likewise.
53395         * nscd/hstcache.c (addhstbyX): Likewise.
53396         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53397         * nscd/mem.c (gc, mempool_alloc): Likewise.
53398         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
53399         (addinnetgrX): Likewise.
53400         * nscd/nscd-client.h (__nscd_acquire_maplock)
53401         (__nscd_drop_map_ref): Likewise.
53402         * nscd/nscd_getai.c (__nscd_getai): Likewise.
53403         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
53404         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
53405         Likewise.
53406         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
53407         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
53408         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
53409         (__nscd_get_map_ref): Likewise.
53410         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
53411         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
53412         Likewise.
53413         * nscd/pwdcache.c (addpwbyX): Likewise.
53414         * nscd/selinux.c (preserve_capabilities): Likewise.
53415         * nscd/servicescache.c (addservbyX): Likewise.
53416         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
53417         * posix/fnmatch.c (fnmatch): Likewise.
53418         * posix/getopt.c (_getopt_internal_r): Likewise.
53419         * posix/glob.c (glob, glob_in_dir): Likewise.
53420         * posix/wordexp.c (exec_comm_child): Likewise.
53421         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
53422         (getanswer_r, gaih_getanswer_slice): Likewise.
53423         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
53424         * resolv/res_init.c: Likewise.
53425         * resolv/res_mkquery.c (res_nmkquery): Likewise.
53426         * resolv/res_query.c (__libc_res_nquery): Likewise.
53427         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
53428         Likewise.
53429         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
53430         * stdio-common/perror.c (perror): Likewise.
53431         * stdio-common/printf_fp.c (___printf_fp): Likewise.
53432         * stdio-common/tmpnam.c (tmpnam): Likewise.
53433         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
53434         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
53435         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
53436         Likewise.
53437         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
53438         * stdlib/putenv.c (putenv): Likewise.
53439         * stdlib/setenv.c (__add_to_environ): Likewise.
53440         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
53441         * stdlib/strtol_l.c (INTERNAL): Likewise.
53442         * string/memmem.c (memmem): Likewise.
53443         * string/strerror.c (strerror): Likewise.
53444         * string/strnlen.c (__strnlen): Likewise.
53445         * string/test-memmem.c (simple_memmem): Likewise.
53446         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
53447         * sunrpc/pm_getport.c (__get_socket): Likewise.
53448         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
53449         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
53450         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
53451         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
53452         Likewise.
53453         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
53454         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
53455         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
53456         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
53457         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
53458         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
53459         Likewise.
53460         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
53461         Likewise.
53462         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
53463         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
53464         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53465         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
53466         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
53467         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
53468         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
53469         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
53470         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
53471         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
53472         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
53473         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
53474         Likewise.
53475         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
53476         Likewise.
53477         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
53478         Likewise.
53479         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
53480         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
53481         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
53482         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
53483         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
53484         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
53485         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
53486         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
53487         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
53488         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
53489         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
53490         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
53491         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
53492         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
53493         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53494         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
53495         Likewise.
53496         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
53497         Likewise.
53498         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
53499         Likewise.
53500         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
53501         Likewise.
53502         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
53503         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53504         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
53505         Likewise.
53506         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
53507         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
53508         * sysdeps/posix/opendir.c (__opendirat): Likewise.
53509         * sysdeps/posix/sleep.c: Likewise.
53510         * sysdeps/posix/tempname.c: Likewise.
53511         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
53512         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
53513         Likewise.
53514         * sysdeps/powerpc/powerpc32/dl-machine.h
53515         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
53516         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
53517         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
53518         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
53519         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
53520         Likewise.
53521         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
53522         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
53523         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
53524         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
53525         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
53526         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
53527         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
53528         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
53529         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53530         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
53531         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
53532         (elf_machine_lazy_rel): Likewise.
53533         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53534         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
53535         (elf_machine_lazy_rel): Likewise.
53536         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
53537         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
53538         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
53539         * sysdeps/unix/grantpt.c (grantpt): Likewise.
53540         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
53541         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
53542         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
53543         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53544         Likewise.
53545         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
53546         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
53547         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
53548         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
53549         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
53550         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
53551         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
53552         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
53553         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
53554         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
53555         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
53556         Likewise.
53557         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
53558         (__posix_fallocate64_l64): Likewise.
53559         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
53560         (posix_fallocate): Likewise.
53561         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
53562         Likewise.
53563         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53564         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
53565         (getifaddrs_internal): Likewise.
53566         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
53567         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
53568         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
53569         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
53570         * sysdeps/unix/sysv/linux/posix_fallocate64.c
53571         (__posix_fallocate64_l64): Likewise.
53572         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
53573         Likewise.
53574         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
53575         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
53576         (__get_clockfreq): Likewise.
53577         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
53578         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
53579         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
53580         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53581         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53582         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
53583         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
53584         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
53585         Likewise.
53586         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
53587         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
53588         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
53589         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
53590         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
53591         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
53592         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
53593         Likewise.
53594         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
53595         (posix_fallocate): Likewise.
53596         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53597         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
53598         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
53599         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
53600         (elf_machine_rela, elf_machine_rela_relative)
53601         (elf_machine_lazy_rel): Likewise.
53602         * time/asctime.c (asctime_internal): Likewise.
53603         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
53604         * time/tzset.c (__tzset_parse_tz): Likewise.
53605         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
53606         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
53607         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
53608         * wcsmbs/wcsmbsload.h: Likewise.
53610         [BZ #15894]
53611         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
53613         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
53614         (arena_get2): Remove THREAD_STATS conditionals.
53615         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
53616         (__malloc_stats, int): Likewise.
53618 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
53620         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
53621         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
53623         * manual/setjmp.texi: Fix typos/grammar errors.
53625         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
53626         Only return early when n is <= 0.  Delete unused return statement.
53628         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
53629         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
53630         * debug/tst-longjmp_chk3.c: New file.
53632         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
53633         (test_main): Replace code with set_fortify_handler call.
53634         * debug/test-strcpy_chk.c: Likewise.
53635         * debug/tst-chk1.c: Likewise.
53636         * debug/tst-longjmp_chk.c: Likewise.
53637         * test-skeleton.c: Include fcntl.h & paths.h
53638         (set_fortify_handler): Define.
53640         * debug/tst-longjmp_chk.c: Add header comment and include
53641         ../test-skeleton.c.
53642         (do_test): Mark static.
53643         (TEST_FUNCTION): Define.
53645         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
53646         (IP_PMTUDISC_INTERFACE): Likewise.
53647         (IP_MULTICAST_IF): Likewise.
53648         (IP_MULTICAST_TTL): Likewise.
53649         (IP_MULTICAST_LOOP): Likewise.
53650         (IP_ADD_MEMBERSHIP): Likewise.
53651         (IP_DROP_MEMBERSHIP): Likewise.
53652         (IP_UNBLOCK_SOURCE): Likewise.
53653         (IP_BLOCK_SOURCE): Likewise.
53654         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
53655         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
53656         (IP_MSFILTER): Likewise.
53657         (MCAST_JOIN_GROUP): Likewise.
53658         (MCAST_BLOCK_SOURCE): Likewise.
53659         (MCAST_UNBLOCK_SOURCE): Likewise.
53660         (MCAST_LEAVE_GROUP): Likewise.
53661         (MCAST_JOIN_SOURCE_GROUP): Likewise.
53662         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
53663         (MCAST_MSFILTER): Likewise.
53664         (IP_MULTICAST_ALL): Likewise.
53665         (IP_UNICAST_IF): Likewise.
53667         * timezone/Makefile: Delete $(have-ksh) check.
53668         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
53669         * timezone/tzselect.ksh: Add +x mode bits.
53671         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
53672         (ANON_INODE_FS_MAGIC): Likewise.
53673         (BDEVFS_MAGIC): Likewise.
53674         (BINFMTFS_MAGIC): Likewise.
53675         (BTRFS_TEST_MAGIC): Likewise.
53676         (CRAMFS_MAGIC_WEND): Likewise.
53677         (DEBUGFS_MAGIC): Likewise.
53678         (ECRYPTFS_SUPER_MAGIC): Likewise.
53679         (EXT3_SUPER_MAGIC): Likewise.
53680         (EXT4_SUPER_MAGIC): Likewise.
53681         (FUTEXFS_SUPER_MAGIC): Likewise.
53682         (HOSTFS_SUPER_MAGIC): Likewise.
53683         (HUGETLBFS_MAGIC): Likewise.
53684         (MINIX3_SUPER_MAGIC): Likewise.
53685         (MTD_INODE_FS_MAGIC): Likewise.
53686         (NILFS_SUPER_MAGIC): Likewise.
53687         (OPENPROM_SUPER_MAGIC): Likewise.
53688         (PIPEFS_MAGIC): Likewise.
53689         (PSTOREFS_MAGIC): Likewise.
53690         (QNX6_SUPER_MAGIC): Likewise.
53691         (RAMFS_MAGIC): Likewise.
53692         (REISERFS_SUPER_MAGIC_STRING): Likewise.
53693         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
53694         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
53695         (SECURITYFS_MAGIC): Likewise.
53696         (SELINUX_MAGIC): Likewise.
53697         (SMACK_MAGIC): Likewise.
53698         (SOCKFS_MAGIC): Likewise.
53699         (SQUASHFS_MAGIC): Likewise.
53700         (STACK_END_MAGIC): Likewise.
53701         (TMPFS_MAGIC): Likewise.
53702         (USBDEVICE_SUPER_MAGIC): Likewise.
53703         (V9FS_MAGIC): Likewise.
53704         (XENFS_SUPER_MAGIC): Likewise.
53705         (CRAMFS_MAGIC): Fix typo in comment.
53706         (EXT2_SUPER_MAGIC): Update comment.
53707         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
53709 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
53711         * sysdeps/arm: Move directory from ports/sysdeps/arm.
53712         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
53713         * sysdeps/unix/sysv/linux/arm: Move directory from
53714         ports/sysdeps/unix/sysv/linux/arm.
53715         * README: Update listing for arm-*-linux-gnueabi.
53717         * README: Remove mention of am33.
53719 2014-02-07  Roland McGrath  <roland@hack.frob.com>
53721         * bits/sigset.h (__sigemptyset): Use a statement expression rather
53722         than the comma operator, to avoid "rhs of comma has no effect"
53723         compiler warnings.
53724         (__sigfillset, __sigandset, __sigorset): Likewise.
53725         * include/signal.h (__sigemptyset): Likewise.
53726         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
53728 2014-02-07  Allan McRae  <allan@archlinux.org>
53730         * version.h (RELEASE): Set to "development".
53731         (VERSION): Set to "2.19.90"
53732         * NEWS: Add 2.20 section.
53734 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
53736         [BZ #16529]
53737         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
53739 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
53741         * manual/contrib.texi: Update entry for Carlos O'Donell,
53742         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
53744 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
53746         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
53748         * sysdeps/unix/sysv/linux/kernel-features.h
53749         [__LINUX_KERNEL_VERSION >= 0x020621]
53750         (__ASSUME_PROC_PID_TASK_COMM): Define.
53752 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
53754         [BZ #16398]
53755         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
53756         conversion when destination buffer does not have enough space.
53757         * libio/tst-ftell-partial-wide.c: New test case.
53758         * libio/Makefile (tests): Add tst-ftell-partial-wide.
53760         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
53761         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
53762         Leonard and Allan McRae.
53764 2014-02-04  David S. Miller  <davem@davemloft.net>
53766         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
53767         32-bit.
53769 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
53772         New file
53773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
53774         New file
53775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
53776         New file.
53777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
53778         New file.
53779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
53780         New file.
53781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
53782         New file.
53783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
53784         New file.
53785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
53786         New file.
53787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
53788         New file.
53789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
53790         New file.
53791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
53792         New file.
53793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
53794         New file.
53795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
53796         New file.
53798 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53800         * nptl/shlib-versions: Change powerpc*le start to 2.17.
53801         * shlib-versions: Likewise.
53803 2014-02-04  Roland McGrath  <roland@hack.frob.com>
53804             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53806         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
53807         (abilist-pattern): New variable, set to %-le.abilist.
53809         * Makerules (abilist-pattern): New variable.
53810         (vpath): Use $(abilist-pattern) in place of %.abilist.
53811         (check-abi-% pattern rule): Likewise.
53812         (check-abi, update-abi): Likewise.
53814 2014-02-04  Eric Wong  <normalperson@yhbt.net>
53816         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53818 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
53820         * manual/startup.texi: Add next, previous, and top entries for
53821         the `Program Arguments' and `Environment Variables' nodes.
53823 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
53825         * manual/macros.texi: Add comments before MTASC-safety macros.
53827         * manual/users.texi: Document MTASC-safety properties.
53829         * manual/threads.texi (pthread_key_create, pthread_key_delete)
53830         (pthread_getspecific, pthread_setspecific): Format with
53831         @deftypefun, and add @safety note.
53832         * manual/signal.texi: Move comments that analyze the above
53833         functions to their home place.
53835 2014-02-03  Allan McRae  <allan@archlinux.org>
53837         * po/sl.po: Update Slovenian translation from translation project.
53839 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
53841         * manual/time.texi (timegm): Add missing blank after @c.
53842         Reported by Joseph Myers <joseph@codesourcery.com>.
53844 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
53846         * manual/check-safety.sh: New.
53847         * manual/Makefile ($(objpfx)stamp-summary): Run it.
53849         * manual/terminal.texi: Document MTASC-safety properties.
53851         * manual/filesys.texi: Document MTASC-safety properties.
53853         * manual/errno.texi: Document MTASC-safety properties.
53855         * manual/intro.texi: Document safety identifiers and
53856         conditionals.
53858         * manual/string.texi (wcstok): Fix prototype.
53859         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
53861         * manual/time.texi: Document MTASC-safety properties.
53863         * manual/string.texi: Document MTASC-safety properties.
53865         * manual/threads.texi: Document MTASC-safety properties.
53867         * manual/stdio.texi: Document MTASC-safety properties.
53869         * manual/syslog.texi: Document MTASC-safety properties.
53871         * manual/sysinfo.texi: Document MTASC-safety properties.
53873         * manual/startup.texi: Document MTASC-safety properties.
53875         * manual/socket.texi: Document MTASC-safety properties.
53877         * manual/signal.texi: Document MTASC-safety properties.
53879 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
53881         * manual/setjmp.texi: Document MTASC-safety properties.
53883         * manual/search.texi: Document MTASC-safety properties.
53885         * manual/resource.texi: Document MTASC-safety properties.
53887         * manual/process.texi: Document MTASC-safety properties.
53889         * manual/platform.texi: Document MTASC-safety properties.
53891         * manual/pipe.texi: Document MTASC-safety properties.
53893         * manual/pattern.texi: Document MTASC-safety properties.
53895         * manual/message.texi: Document MTASC-safety properties.
53897         [BZ #12751]
53898         * manual/memory.texi: Document MTASC-safety properties.
53900         * manual/math.texi: Document MTASC-safety properties.
53902         * manual/locale.texi: Document MTASC-safety properties.
53904         * manual/llio.texi: Document MTASC-safety properties.
53906         * manual/libdl.texi: New.
53908         * manual/lang.texi: Document MTASC-safety properties.
53910         * manual/job.texi: Document MTASC-safety properties.
53912         * manual/getopt.texi: Document MTASC-safety properties.
53914         * manual/ctype.texi: Document MTASC-safety properties.
53916 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
53918         [BZ #16046]
53919         * csu/libc-tls.c (static_map): Remove variable.
53920         (__libc_setup_tls): Use main executable's link map for TLS data.
53921         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
53922         casing for LM_ID_BASE and GL(dl_nns).
53923         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
53924         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
53925         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
53926         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
53927         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
53928         member.
53929         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
53930         l_phnum members.
53932 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
53934         * manual/debug.texi: Document MTASC-safety properties.
53936 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
53938         [BZ #16510]
53939         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
53940         of __x86_64__ when disabling x87 inline functions.
53942 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
53944         * manual/charset.texi: Document MTASC-safety properties.
53946         * manual/crypt.texi: Document MTASC-safety properties.
53948         * manual/conf.texi: Document MTASC-safety properties.
53950         * manual/arith.texi: Document MTASC-safety properties.
53952         * manual/argp.texi: Document MTASC-safety properties.
53954         * manual/macros.texi: Introduce macros to document multi
53955         thread, asynchronous signal and asynchronous cancellation
53956         safety properties.
53957         * manual/intro.texi: Introduce the properties themselves.
53959 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53961         * sysdeps/sh/sh4/Makefile: New file.
53963 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
53965         * math/gen-libm-test.pl ($srcdir): New variable.
53966         ($auto_input): Use it.
53968 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53970         [BZ #16506]
53971         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
53972         access beyond array bounds when parsing netgroups file.
53974         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
53975         the old buffer before realloc.
53977 2014-01-27  Allan McRae  <allan@archlinux.org>
53979         * po/fr.po: Update French translation from translation project.
53981 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53983         * sysdeps/sh/libm-test-ulps: Regenerate.
53985 2014-01-24  David S. Miller  <davem@davemloft.net>
53987         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
53989 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53991         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
53992         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
53994 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
53996         [BZ #16474]
53997         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
53998         string pointers after reallocation.
54000 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54002         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
54003         __SH4A__ instead of __SH_FPU_ANY__.
54005 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54007         * sysdeps/sh/fpu_control.h: New file.
54008         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
54009         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
54010         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
54011         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
54012         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
54013         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
54014         * sysdeps/sh/sys/ucontext.h: Remove.
54015         * sysdeps/sh/sys: Remove directory.
54017 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54019         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
54020         s390/sys/ucontext.h.
54021         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
54022         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
54024 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
54026         [BZ #15605]
54027         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
54029 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54031         [BZ #16431]
54032         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
54033         Adjust the vDSO correctly for internal calls.
54034         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
54036 2014-01-20  Allan McRae  <allan@archlinux.org>
54038         * po/ca.po: Update Catalan translation from translation project.
54040 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
54042         * sysdeps/s390/sotruss-lib.c: New file.
54044 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54046         [BZ #16430]
54047         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
54048         (__GI___gettimeofday): Alias for a different internal symbol to avoid
54049         local calls issues by not having a PLT stub required for IFUNC calls.
54050         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
54052 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
54054         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
54055         * math/test-fpucw-static.c: Likewise.
54057 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54059         [BZ #16453]
54060         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
54062 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54064         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
54065         implementation for powerpc.
54067 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
54069         [BZ #14782]
54070         * sysdeps/posix/system.c (__libc_system): Do not enable
54071         asynchronous cancellation.
54073 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54075         [BZ #16427]
54076         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
54077         handling only for numbers special also in the IEEE case.
54079 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54081         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
54083 2014-01-11  Allan McRae  <allan@archlinux.org>
54085         * po/bg.po: Update Bulgarian translation from translation project.
54087         * po/de.po: Update German translation from translation project.
54089 2014-01-10  Roland McGrath  <roland@hack.frob.com>
54091         * sysdeps/generic/gcc-compat.h: New file.
54093 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54095         * benchtests/asin-inputs: Correct slow inputs.
54096         * benchtests/acos-inputs: Likewise.
54098 2014-01-10  Allan McRae  <allan@archlinux.org>
54100         * po:sv.po: Update Swedish translation from translation project.
54102         * po/vi.po: Update Vietnamese translation from translation project.
54104         * po/eo.po: Update Esperanto translation from translation project.
54106         * po/cs.po: Update Czech translation from translation project.
54108         * po/nl.po: Update Dutch translation from translation project.
54110         * po/pl.po: Update Polish translation from translation project.
54112         * po/ru.po: Update Russian translation from translation project.
54114         * po/uk.po: Update Ukrainian translation from translation project.
54116 2014-01-08  Brooks Moses  <bmoses@google.com>
54118         * elf/dl-load.c: Fix comment typo.
54120 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
54122         * po/header.pot: Rename to...
54123         * po/pot.header: ... this.
54124         * po/Makefile: Use pot.header.
54126 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
54127             Maxim Kuvyrkov  <maxim@kugelworks.com>
54129         [BZ #16394]
54130         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
54131         SRC and DEST against LEN.
54133 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54135         [BZ #16414]
54136         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
54137         implementation.
54138         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
54140 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54142         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54144 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
54146         [BZ #16408]
54147         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
54148         for large positive arguments.
54150 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
54152         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
54154         * math/auto-libm-test-in: Mark various tests with
54155         xfail-rounding:ldbl-128ibm.
54156         * math/auto-libm-test-out: Regenerated.
54158         [BZ #16407]
54159         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
54160         Increase overflow threshold.
54162 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
54164         [BZ #14286]
54165         * stdio-common/vfprintf.c: Check for integer overflow.
54167 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54169         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
54170         the first argument and return value of __tls_get_addr_internal.
54172 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54174         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
54175         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
54177 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54179         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
54180         * sysdeps/s390/rtld-global-offsets.sym: New file.
54181         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
54182         GLIBC_2.19 symbol.
54183         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
54184         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
54185         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
54186         ... this.
54187         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
54188         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
54189         ... this.
54190         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
54191         Regenerate.
54192         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
54193         Regenerate.
54194         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
54195         halfs of GPRs for high_gprs contexts.
54196         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
54197         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
54198         field.
54199         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
54200         uc_flags field.
54201         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
54202         64 bit versions:
54203         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
54204         for high GPRs (uc_high_gprs) and for future extensions
54205         (__reserved).
54206         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
54207         for future extensions (__reserved).
54208         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
54209         64 bit versions:
54210         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
54211         SC_HIGHGPRS offset definition.
54212         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
54213         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
54215         * Versions.def: Add GLIBC_2.19 for libpthread.
54216         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
54217         siglongjmp for libpthread with GLIBC_2.19 symver.
54218         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
54219         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
54220         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
54221         * sysdeps/s390/__longjmp.c: New file.
54222         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
54223         * sysdeps/s390/longjmp.c: New file.
54224         * sysdeps/s390/setjmp.S: New file.
54225         * sysdeps/s390/sigjmp.S: New file.
54226         * sysdeps/s390/v1-longjmp.c: New file.
54227         * sysdeps/s390/v1-setjmp.h: New file.
54228         * sysdeps/s390/v1-sigjmp.c: New file.
54229         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
54230         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
54231         GLIBC_2.19 version.
54232         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
54233         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
54234         versioned symbols for ____longjmp_chk.
54235         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
54236         Likewise.
54237         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
54238         Regenerate.
54239         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54240         Regenerate.
54241         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
54242         Regenerate.
54243         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54244         Regenerate.
54245         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
54246         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
54247         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
54248         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
54249         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
54250         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
54251         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
54252         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
54253         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
54254         * sysdeps/s390/rtld-__longjmp.c: New file.
54255         * sysdeps/s390/rtld-setjmp.S: New file.
54257 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
54259         [BZ #16400]
54260         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
54261         Return -__logl (x) for small positive arguments without evaluating
54262         a polynomial.
54264 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
54266         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
54267         Rename to ...
54268         (__ptrace_peeksiginfo_args): ... this.
54269         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54270         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54271         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54273 2014-01-06  Allan McRae  <allan@archlinux.org>
54275         * inet/netinet/in.h: Fix typo in comment.
54277 2014-01-05  Andreas Jaeger  <aj@suse.de>
54279         * sysdeps/i386/fpu/libm-test-ulps: Update.
54281 2014-01-05  Allan McRae  <allan@archlinux.org>
54283         * po/libc.pot: Regenerated.
54285         * malloc/memusagestat.c: Fix gettext call formatting.
54287 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
54289         * nscd/nscd.c: Improve usage() output.
54291 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
54293         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
54294         * sysdeps/unix/sysv/linux/configure: Regenerated.
54295         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
54296         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
54298 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
54300         [BZ #16390]
54301         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
54302         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
54304 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54306         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
54307         extra tokens at end of #undef directive.
54308         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
54309         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
54310         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
54312 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
54314         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
54316         * math/auto-libm-test-in: Mark various tests with
54317         xfail-rounding:ldbl-128ibm.
54318         * math/auto-libm-test-out: Regenerated.
54320 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
54322         [BZ #16386]
54323         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
54324         numbers with subnormal high part when calculating exponent.
54326         [BZ #16385]
54327         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
54328         fabs.
54330         [BZ #16384]
54331         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
54332         M_LN2l.
54333         (__ieee754_acoshl): Use __log1pl not __log1p.
54335 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
54337         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
54338         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
54339         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
54340         (grow_heap, heap_trim, _int_new_arena, get_free_list)
54341         (reused_arena, arena_get2): Convert to GNU style.
54342         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
54343         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
54344         (memalign_check, __malloc_set_state): Likewise.
54345         * malloc/mallocbug.c (main): Likewise.
54346         * malloc/malloc.c (__malloc_assert, malloc_init_state)
54347         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
54348         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
54349         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
54350         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
54351         (__posix_memalign, malloc_info): Likewise.
54352         * malloc/malloc.h: Likewise.
54353         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
54354         (mallochook, memalignhook, reallochook, mabort): Likewise.
54355         * malloc/mcheck.h: Likewise.
54356         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
54357         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
54358         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
54359         * malloc/morecore.c (__default_morecore): Likewise.
54360         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
54361         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
54362         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
54363         (print_and_abort): Likewise.
54364         * malloc/obstack.h: Likewise.
54365         * malloc/set-freeres.c (__libc_freeres): Likewise.
54366         * malloc/tst-mallocstate.c (main): Likewise.
54367         * malloc/tst-mtrace.c (main): Likewise.
54368         * malloc/tst-realloc.c (do_test): Likewise.
54370 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
54372         [BZ #16366]
54373         * nscd/netgroupcache.c (do_notfound): New function.
54374         (addgetnetgrentX): Use it.
54376         [BZ # 16365]
54377         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
54378         NSS_STATUS_NOTFOUND.
54380 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
54382         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
54383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54385 2014-01-01  Allan McRae  <allan@archlinux.org>
54387         * scripts/update-copyrights: Update configure input file suffix.
54389         * NEWS: Update copyright year.
54390         * catgets/gencat.c: Likewise.
54391         * csu/version.c: Likewise.
54392         * debug/catchsegv.sh: Likewise.
54393         * debug/pcprofiledump.c: Likewise.
54394         * debug/xtrace.sh: Likewise.
54395         * elf/ldconfig.c: Likewise.
54396         * elf/ldd.bash.in: Likewise.
54397         * elf/pldd.c: Likewise.
54398         * elf/sotruss.ksh: Likewise.
54399         * elf/sprof.c: Likewise.
54400         * iconv/iconv_prog.c: Likewise.
54401         * iconv/iconvconfig.c: Likewise.
54402         * locale/programs/locale.c: Likewise.
54403         * locale/programs/localedef.c: Likewise.
54404         * login/programs/pt_chown.c: Likewise.
54405         * malloc/memusage.sh: Likewise.
54406         * malloc/memusagestat.c: Likewise.
54407         * malloc/mtrace.pl: Likewise.
54408         * manual/libc.texinfo: Likewise.
54409         * nscd/nscd.c: Likewise.
54410         * nss/getent.c: Likewise.
54411         * nss/makedb.c: Likewise.
54412         * posix/getconf.c: Likewise.
54413         * scripts/test-installation.pl: Likewise.
54415         * All files with FSF copyright notices: Update copyright dates
54416         using scripts/update-copyrights.
54417         * intl/plural.c: Regenerated.
54418         * locale/programs/charmap-kw.h: Likewise.
54419         * locale/programs/locfile-kw.h: Likewise.
54421 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
54423         * sysdeps/unix/sysv/linux/configure: Regenerated.
54424         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
54425         the linux/fanotify.h header.
54426         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
54427         HAVE_LINUX_FANOTIFY_H is defined.
54429 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
54431         * benchtests/cos-inputs: New inputs.
54432         * benchtests/sin-inputs: Likewise.
54434         * benchtests/atan-inputs: New inputs. Fix name of multiple
54435         precision fallback inputs.
54437         * benchtests/atanh-inputs: New inputs.
54438         * benchtests/tanh-inputs: Likewise.
54440         * benchtests/acosh-inputs: New inputs.
54441         * benchtests/asinh-inputs: Likewise.
54443         * benchtests/cosh-inputs: New inputs.
54444         * benchtests/sinh-inputs: Likewise.
54446         * benchtests/acos-inputs: Add more inputs.
54447         * benchtests/asin-inputs: Likewise.
54449 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
54451         [BZ #16375]
54452         * manual/arith.texi: Fix spelling.
54453         * manual/charset.texi: Likewise.
54454         * manual/errno.texi: Likewise.
54455         * manual/filesys.texi: Likewise.
54456         * manual/lang.texi: Likewise.
54457         * manual/llio.texi: Likewise.
54458         * manual/locale.texi: Likewise.
54459         * manual/message.texi: Likewise.
54460         * manual/resource.texi: Likewise.
54461         * manual/search.texi: Likewise.
54462         * manual/setjmp.texi: Likewise.
54463         * manual/stdio.texi: Likewise.
54464         * manual/string.texi: Likewise.
54465         * manual/sysinfo.texi: Likewise.
54466         * manual/time.texi: Likewise.
54468 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
54470         * po/sl.po: New file.
54472 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
54474         * .gitignore: Add core/.gdbinit/.gdb_history.
54476 2013-12-27  Allan McRae  <allan@archlinux.org>
54478         [BZ #16369]
54479         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
54480         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
54482 2013-12-24  Brooks Moses  <bmoses@google.com>
54484         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
54485         all compilers that claim C++98 compliance, not just GCC.
54486         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
54487         Likewise.
54489 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
54491         * NEWS: Restore accidentally deleted bug-fix entries.
54493 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
54494             Ondřej Bílka  <neleai@seznam.cz>
54496         [BZ #15073]
54497         * malloc/malloc.c (_int_free): Perform sanity check only if we
54498         have_lock.
54500 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
54502         [BZ #12986]
54503         * manual/stdio.texi (String Input Conversions): Clarify that character
54504         classes are not supported.
54506 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54508         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54510 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
54512         [BZ #16337]
54513         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
54514         Calculate results for small negative arguments directly rather
54515         than using reflection formula with special underflow handling.
54517         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
54518         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
54519         sysdeps/unix/bsd/bsd4.4/syscalls.list.
54520         (fchflags): Likewise.
54521         (revoke): Likewise.
54522         (setlogin): Likewise.
54523         (sigaltstack): Likewise.
54524         (wait4): Likewise.
54525         (sigblock): Remove.
54526         (sigsetmask): Likewise.
54527         (wait3): Likewise.
54528         (waitpid): Likewise.
54529         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
54530         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
54531         file.
54532         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
54533         * sysdeps/unix/bsd/Makefile: ... here.
54534         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
54535         * sysdeps/unix/bsd/Versions: ... here.
54536         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
54537         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
54538         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
54539         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
54540         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
54541         * sysdeps/unix/bsd/sigblock.c: ... here.
54542         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
54543         * sysdeps/unix/bsd/sigsetmask.c: ... here.
54544         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
54545         * sysdeps/unix/bsd/sigvec.c: ... here.
54546         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
54547         * sysdeps/unix/bsd/tcdrain.c: ... here.
54548         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
54549         * sysdeps/unix/bsd/tcgetattr.c: ... here.
54550         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
54551         * sysdeps/unix/bsd/tcsetattr.c: ... here.
54552         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
54553         * sysdeps/unix/bsd/wait.c: ... here.
54554         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
54555         * sysdeps/unix/bsd/wait3.c: ... here.
54556         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
54557         * sysdeps/unix/bsd/waitpid.c: ... here.
54559 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
54561         [BZ #16356]
54562         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
54563         round-to-nearest for [!USE_AS_EXPM1L].
54564         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
54565         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
54566         more tests of exp and exp10.  Expect some exp10 tests to miss
54567         exceptions or fail in directed rounding modes.
54568         * math/auto-libm-test-out: Regenerated.
54569         * math/libm-test.inc (exp10_tonearest_test_data): New array.
54570         (exp10_test_tonearest): New function.
54571         (exp10_towardzero_test_data): New array.
54572         (exp10_test_towardzero): New function.
54573         (exp10_downward_test_data): New array.
54574         (exp10_test_downward): New function.
54575         (exp10_upward_test_data): New array.
54576         (exp10_test_upward): New function.
54577         (main): Call the new functions.
54578         * sysdeps/i386/fpu/libm-test-ulps: Update.
54579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54581 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
54583         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
54584         asinh, atan, atan2, atanh, cbrt, cos and cosh.
54585         * math/auto-libm-test-out: Regenerated.
54586         * math/libm-test.inc (acosh_test_data): Add more tests.
54587         (atanh_test_data): Likewise.
54588         (ceil_test_data): Likewise.
54589         (copysign_test_data): Likewise.
54590         * sysdeps/i386/fpu/libm-test-ulps: Update.
54591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54593         * timezone/checktab.awk: Update from tzcode 2013i.
54594         * timezone/private.h: Likewise.
54595         * timezone/scheck.c: Likewise.
54596         * timezone/tzfile.h: Likewise.
54597         * timezone/tzselect.ksh: Likewise.
54598         * timezone/zdump.c: Likewise.
54599         * timezone/zic.c: Likewise.
54601         * math/auto-libm-test-in: Add tests of cpow.
54602         * math/auto-libm-test-out: Regenerated.
54603         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
54604         * math/gen-auto-libm-tests.c (func_calc_method): Add value
54605         mpc_cc_c.
54606         (func_calc_desc): Add mpc_cc_c union field.
54607         (test_functions): Add cpow.
54608         (special_fill_2pi): New function.
54609         (special_real_inputs): Add 2pi.
54610         (calc_generic_results): Handle mpc_cc_c.
54611         * sysdeps/i386/fpu/libm-test-ulps: Update.
54612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54614         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
54615         csqrt, ctan and ctanh.
54616         * math/auto-libm-test-out: Regenerated.
54617         * math/libm-test.inc (TEST_COND_x86_64): New macro.
54618         (TEST_COND_x86): Likewise.
54619         (ccos_test_data): Use AUTO_TESTS_c_c.
54620         (ccosh_test_data): Likewise.
54621         (cexp_test_data): Likewise.
54622         (clog_test_data): Likewise.
54623         (csqrt_test_data): Likewise.
54624         (ctan_test_data): Likewise.
54625         (ctan_tonearest_test_data): Likewise.
54626         (ctan_towardzero_test_data): Likewise.
54627         (ctan_downward_test_data): Likewise.
54628         (ctan_upward_test_data): Likewise.
54629         (ctanh_test_data): Likewise.
54630         (ctanh_tonearest_test_data): Likewise.
54631         (ctanh_towardzero_test_data): Likewise.
54632         (ctanh_downward_test_data): Likewise.
54633         (ctanh_upward_test_data): Likewise.
54634         * math/gen-auto-libm-tests.c (func_calc_method): Add value
54635         mpc_c_c.
54636         (func_calc_desc): Add mpc_c_c union field.
54637         (FUNC_mpc_c_c): New macro.
54638         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
54639         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
54640         ctanh.
54641         (special_fill_min_subnorm_p120): New function.
54642         (special_real_inputs): Add min_subnorm_p120.
54643         (calc_generic_results): Handle mpc_c_c.
54644         * sysdeps/i386/fpu/libm-test-ulps: Update.
54645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54647 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
54649         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
54650         (do_sin_slow): New functions.
54651         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
54652         (cslow2, csloww1, csloww2): Use the new functions.
54654         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
54655         Use M to change sign of result instead of X.  Assume X is
54656         positive.
54657         (csloww1): Likewise.
54658         (__sin): Adjust.
54659         (__cos): Adjust.
54661         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
54662         arguments A and DA.
54663         (__sin): Adjust.
54664         (__cos): Likewise.
54666         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
54667         (__cos): Likewise.
54668         (sloww1): Don't adjust sign of DX.
54669         (csloww1): Likewise.
54670         (sloww2): Use X directly and don't adjust sign of DX.
54671         (csloww2): Likewise.
54673 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
54675         * math/auto-libm-test-in: Add tests of cabs and carg.
54676         * math/auto-libm-test-out: Regenerated.
54677         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
54678         (carg_test_data): Likewise.
54679         * math/gen-auto-libm-tests.c (func_calc_method): Add value
54680         mpc_c_f.
54681         (func_calc_desc): Add mpc_c_f union field.
54682         (test_functions): Add cabs and carg.
54683         (calc_generic_results): Handle mpc_c_f.
54685         * sysdeps/powerpc/powerpc32/libgcc-compat.S
54686         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
54687         as a macro and a compat symbol.
54688         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
54689         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
54690         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
54691         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
54692         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
54693         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
54694         not use .hidden.
54695         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
54696         Likewise.
54697         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
54698         Likewise.
54699         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
54700         Likewise.
54701         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
54702         Likewise.
54703         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
54704         Likewise.
54705         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
54706         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
54707         from GLIBC_2.3.2.
54709 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54711         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54713 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
54715         * manual/texinfo.tex: Update to version 2013-11-26.10 with
54716         trailing whitespace removed.
54717         * scripts/config.guess: Update to version 2013-11-29.
54718         * scripts/config.sub: Update to version 2013-10-01.
54720         * math/auto-libm-test-in: Add tests of sincos.
54721         * math/auto-libm-test-out: Regenerated.
54722         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
54723         * math/gen-auto-libm-tests.c (func_calc_method): Add value
54724         mpfr_f_11.
54725         (func_calc_desc): Add mpfr_f_11 union field.
54726         (test_functions): Add sincos.
54727         (calc_generic_results): Handle mpfr_f_11.
54728         * sysdeps/i386/fpu/libm-test-ulps: Update.
54729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54731 2013-12-19  Andreas Schwab  <schwab@suse.de>
54733         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
54734         CALL_MCOUNT.
54735         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
54736         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
54737         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
54739 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
54741         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
54742         * sysdeps/i386/fpu/libm-test-ulps: Update.
54743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54745         [BZ #16293]
54746         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
54747         round-to-nearest mode when using frndint.
54748         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
54749         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
54750         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
54751         Likewise.
54752         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
54753         sinh test to fail.
54754         * math/auto-libm-test-out: Regenerated.
54755         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
54756         (TEST_COND_x86): Likewise.
54757         (expm1_tonearest_test_data): New array.
54758         (expm1_test_tonearest): New function.
54759         (expm1_towardzero_test_data): New array.
54760         (expm1_test_towardzero): New function.
54761         (expm1_downward_test_data): New array.
54762         (expm1_test_downward): New function.
54763         (expm1_upward_test_data): New array.
54764         (expm1_test_upward): New function.
54765         (main): Run the new test functions.
54766         * sysdeps/i386/fpu/libm-test-ulps: Update.
54767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54769         * include/features.h: Update comment documenting feature test
54770         macros.  Mention _DEFAULT_SOURCE in comment.
54771         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
54772         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
54773         _BSD_SOURCE and _SVID_SOURCE.
54774         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
54775         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
54776         !_SVID_SOURCE]: Likewise.
54777         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
54778         (__USE_POSIX_IMPLICITLY): Define.
54779         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
54780         (_POSIX_SOURCE): Undefine and redefine.
54781         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
54782         (_POSIX_C_SOURCE): Likewise.
54783         * manual/creature.texi (_DEFAULT_SOURCE): Document.
54784         (Feature Test Macros): Update documentation of default features.
54786 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
54788         * benchtests/Makefile: Add bench-strtok.
54789         * benchtests/bench-strtok.c: New file: strtok benchtest.
54791 2013-12-19  Allan McRae  <allan@archlinux.org>
54793         * manual/install.texi: Suppress menu for plain text output.
54794         * INSTALL: Regenerated.
54796 2013-12-18  Brooks Moses  <bmoses@google.com>
54798         [BZ #15846]
54799         * misc/getauxval.c: Include errno.h.
54800         (__getauxval): Set errno to ENOENT if the requested type is not
54801         found.
54802         * misc/sys/auxv.h (getauxval): Document that it may set errno;
54803         don't declare with __attribute_const__.
54804         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
54805         * manual/startup.texi: Document that getauxval sets errno.
54807 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
54809         * math/auto-libm-test-in: Add tests of jn and yn.
54810         * math/auto-libm-test-out: Regenerated.
54811         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
54812         (yn_test_data): Likewise.
54813         * math/gen-auto-libm-tests.c (func_calc_method): Add value
54814         mpfr_if_f.
54815         (func_calc_desc): Add mpfr_if_f union field.
54816         (FUNC_mpfr_if_f): New macro.
54817         (test_functions): Add jn and yn.
54818         (calc_generic_results): Assert type of second input for
54819         mpfr_ff_f.  Handle mpfr_if_f.
54820         (output_for_one_input_case): Disable all checking for arguments
54821         fitting floating-point types in case of an integer argument.
54822         * sysdeps/i386/fpu/libm-test-ulps: Update.
54823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
54826         Don't expect fegetround reference in libm.so.
54828 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54830         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
54831         $(config-cflags-nofma).
54833 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
54835         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
54836         * math/auto-libm-test-out: Regenerated.
54838         [BZ #16338]
54839         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
54840         to determine exponent and adjust argument to have exponent of -1.
54841         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
54842         log2.
54843         * math/auto-libm-test-out: Regenerated.
54844         * sysdeps/i386/fpu/libm-test-ulps: Update.
54845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54847 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
54849         * manual/probes.texi: Remove cases when per-thread arenas are
54850         disabled.
54852 2013-12-18  Andreas Schwab  <schwab@suse.de>
54854         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
54855         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
54856         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
54857         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
54858         * sysdeps/i386/i686/multiarch/Makefile: Update.
54859         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
54861 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
54863         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
54864         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
54866 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
54868         [BZ #15968]
54869         Support TZ transition times < 00:00:00.
54870         This is needed for version-3 tz-format files; it supports time
54871         stamps past 2037 for America/Godthab (the only entry in the tz
54872         database for which this change is relevant).
54873         * manual/time.texi (TZ Variable): Document transition times
54874         from -167:59:59 through -00:00:01.
54875         * time/tzset.c (tz_rule): Time of day is now signed.
54876         (__tzset_parse_tz): Parse negative time of day.
54878         Document TZ transition times >= 25:00:00.
54879         * manual/time.texi (TZ Variable): Document transition times from
54880         25:00:00 through 167:59:59.  These are already supported, and this
54881         support will help with version-3 tz-format files.
54883         * manual/time.texi (TZ Variable): Modernize North America example
54884         to reflect current (i.e., 2007-and-later) daylight saving rules.
54886         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
54888 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
54890         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
54891         * sysdeps/unix/bsd/bits/stat.h: Likewise.
54892         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
54893         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
54894         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
54895         * sysdeps/unix/bsd/bsdstat.h: Likewise.
54896         * sysdeps/unix/bsd/clock.c: Likewise.
54897         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
54898         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
54899         * sysdeps/unix/bsd/init-posix.c: Likewise.
54900         * sysdeps/unix/bsd/poll.c: Likewise.
54901         * sysdeps/unix/bsd/ptsname.c: Likewise.
54902         * sysdeps/unix/bsd/seekdir.c: Likewise.
54903         * sysdeps/unix/bsd/setegid.c: Likewise.
54904         * sysdeps/unix/bsd/seteuid.c: Likewise.
54905         * sysdeps/unix/bsd/setgid.c: Likewise.
54906         * sysdeps/unix/bsd/setrgid.c: Likewise.
54907         * sysdeps/unix/bsd/setruid.c: Likewise.
54908         * sysdeps/unix/bsd/setsid.c: Likewise.
54909         * sysdeps/unix/bsd/setuid.c: Likewise.
54910         * sysdeps/unix/bsd/sigaction.c: Likewise.
54911         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
54912         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
54913         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
54914         * sysdeps/unix/bsd/telldir.c: Likewise.
54915         * sysdeps/unix/bsd/times.c: Likewise.
54916         * sysdeps/unix/bsd/usleep.c: Likewise.
54918         * misc/Makefile (install-lib): Remove libbsd-compat.a.
54919         ($(objpfx)libbsd-compat.a): Remove rule.
54921         * include/features.h (__FAVOR_BSD): Do not define.
54922         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
54923         features conflicting with POSIX.
54924         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
54925         (_BSD_SOURCE): Remove description of not being a subset of other
54926         feature test macros.
54927         * manual/job.texi (getpgrp): Do not document BSD version.
54928         (getpgid): Do not document by reference to BSD getpgrp.
54929         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
54930         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
54931         * signal/signal.h [__FAVOR_BSD]: Likewise.
54932         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
54933         instead of making contents conditional on [__FAVOR_BSD].
54934         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
54936 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54938         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54940 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
54942         [BZ #16314]
54943         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
54944         values below 2**-450, not 2**-500.
54945         * math/auto-libm-test-in: Don't allow spurious underflow from
54946         hypot.
54947         * math/auto-libm-test-out: Regenerated.
54949         [BZ #16316]
54950         [BZ #16330]
54951         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
54952         values of ha and hb and sort them after adjusting subnormal
54953         arguments.
54954         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
54955         Likewise.
54956         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
54957         values of ea and eb and sort them after adjusting subnormal
54958         arguments.
54959         * math/auto-libm-test-in: Do not expect some hypot tests of
54960         subnormals to fail.  Add more hypot tests.
54961         * math/auto-libm-test-out: Regenerated.
54963 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54965         [BZ #13304]
54966         * sysdeps/sh/s_fma.c: New file.
54967         * sysdeps/sh/s_fmaf.c: New file.
54968         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
54969         version.
54970         * sysdeps/sh/Implies: Add sh/soft-fp.
54972 2013-12-16  Roland McGrath  <roland@hack.frob.com>
54974         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
54975         level of indirection to members `objname', `errstring', `malloced'.
54976         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
54977         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
54978         it as the __longjmp argument (just pass 1 instead).
54979         (_dl_catch_error): Initialize C with argument pointers and address of
54980         volatile local ERRCODE rather than copying values out of C at return.
54982 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
54984         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
54985         * math/auto-libm-test-out: Regenerated.
54986         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
54987         (hypot_test_data): Likewise.
54988         (pow_test_data): Likewise.
54989         (pow_tonearest_test_data): Likewise.
54990         * math/gen-auto-libm-tests.c (func_calc_method): Add value
54991         mpfr_ff_f.
54992         (func_calc_desc): Add mpfr_ff_f union field.
54993         (FUNC_mpfr_ff_f): New macro.
54994         (test_functions): Add atan2, hypot and pow.
54995         (special_fill_min): New function.
54996         (special_fill_minus_min): Likewise.
54997         (special_fill_min_subnorm): Likewise.
54998         (special_fill_minus_min_subnorm): Likewise.
54999         (special_real_inputs): Add min, -min, min_subnorm and
55000         -min_subnorm.
55001         (calc_generic_results): Handle mpfr_ff_f.
55002         * sysdeps/i386/fpu/libm-test-ulps: Update.
55003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55005 2013-12-16  Will Newton  <will.newton@linaro.org>
55007         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
55008         (Aligned Memory Blocks): Add documentation for aligned_alloc
55009         and suggest it as an alternative to posix_memalign.
55010         (Hooks for Malloc): Document __memalign_hook is also called
55011         for aligned_alloc.  (Summary of Malloc): Add summary for
55012         aligned alloc.  Document __memalign_hook is also called
55013         for aligned_alloc.
55015 2013-12-16  Will Newton  <will.newton@linaro.org>
55017         * manual/memory.texi (Malloc Examples): Clarify default
55018         alignment documentation.  Suggest posix_memalign rather
55019         than memalign or valloc.
55020         (Aligned Memory Blocks): Remove suggestion to use memalign
55021         or valloc.  Remove obsolete comment about BSD.
55022         Document memalign errno values and mark the function obsolete.
55023         Document posix_memalign returned error codes.  Mark valloc
55024         as obsolete.  (Hooks for Malloc): __memalign_hook is also
55025         called for posix_memalign and valloc.
55026         (Summary of Malloc): Add posix_memalign to function summary.
55027         __memalign_hook is also called for posix_memalign and valloc.
55029 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55031         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
55032         TAYLOR_SIN.
55033         (__sin): Adjust.
55034         (__cos): Likewise.
55035         (sloww): Use mynumber union.  Expand ternary operator into
55036         if-else statements.
55037         (cslow): use mynumber union.
55039 2013-12-16  Allan McRae  <allan@archlinux.org>
55041         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
55042         * configure: Regenerated.
55044         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
55046         [BZ #14120]
55047         * configure.ac: Added --enable-maintainer-mode. Check for
55048         autoconf when enabled.
55049         * configure: Regenerated.
55051         * nscd/nscd.service: New file.
55052         * nscd/nscd.tmpfiles: New file.
55054 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
55056         [BZ #12100]
55057         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
55058         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
55059         * sysdeps/x86_64/multiarch/strstr.c: ... here.
55060         (strstr): Add __strstr_sse2_unaligned ifunc.
55061         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
55062         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
55063         (strcasestr): Remove __strcasestr_sse42 ifunc.
55064         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
55065         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
55066         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
55068 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55070         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
55071         * sysdeps/sh/bits/fenv.h: ... here.
55072         * sysdeps/sh/sh4/fpu/bits: Remove directory.
55074 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55076         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
55078         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
55079         hypotf multiarch implementations.
55080         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
55081         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
55082         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
55083         multiarch hypot for PPC64.
55084         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
55085         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
55086         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
55087         multiarch hypotf for PPC64.
55089         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
55090         modff multiarch implementations.
55091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
55092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
55093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
55094         multiarch modf for PPC64.
55095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
55096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
55097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
55098         multiarch modff for PPC64.
55100         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
55101         and logl multiarch implementations.
55102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
55103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
55104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
55105         multiarch logb for PPC64.
55106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
55107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
55108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
55109         multiarch logb for PPC64.
55110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
55111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
55112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
55113         multiarch logb for PPC64.
55115         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
55116         isinff multiarch implementation.
55117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
55118         file.
55119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
55120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
55121         multiarch isinf for PPC64.
55122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
55123         file.
55124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
55125         multiarch isinff for PPC64.
55127         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
55128         finitef multiarch implementation.
55129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
55130         file.
55131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
55132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
55133         multiarch finite for PPC64.
55134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
55135         file.
55136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
55137         multiarch finitef for PPC64.
55139         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
55140         lrint multiarch implementation.
55141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
55142         file.
55143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
55144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
55145         multiarch llrint for PPC64.
55146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
55147         multiarch lrint for PPC64.
55149         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
55150         copysignf multiarch implementation.
55151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
55152         file.
55153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
55154         file.
55155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
55156         multiarch copysign for PPC64.
55157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
55158         multiarch copysignf for PPC64.
55160         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
55161         multiarch implementation.
55162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
55163         file.
55164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
55165         file.
55166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
55167         file.
55168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
55169         file.
55170         multiarch llround for PPC64.
55171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
55172         multiarch trunc for PPC64.
55173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
55174         multiarch truncf for PPC64.
55176         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
55177         multiarch implementation.
55178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
55179         file.
55180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
55181         file.
55182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
55183         file.
55184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
55185         file.
55186         multiarch llround for PPC64.
55187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
55188         multiarch round for PPC64.
55189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
55190         multiarch roundf for PPC64.
55192         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
55193         multiarch implementation.
55194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
55195         file.
55196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
55197         file.
55198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
55199         file.
55200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
55201         file.
55202         multiarch llround for PPC64.
55203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
55204         multiarch floor for PPC64.
55205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
55206         multiarch floorf for PPC64.
55208         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
55209         multiarch implementation.
55210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
55211         file.
55212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
55213         file.
55214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
55215         file.
55216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
55217         file.
55218         multiarch llround for PPC64.
55219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
55220         multiarch ceil for PPC64.
55221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
55222         multiarch ceilf for PPC64.
55224         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
55225         multiarch implementation.
55226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
55227         file.
55228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
55229         file.
55230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
55231         file.
55232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
55233         multiarch llround for PPC64.
55234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
55235         multiarch lround for PPC64.
55237         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
55238         multiarch implementation.
55239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
55240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
55241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
55242         file.
55243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
55244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
55245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
55246         multiarch isnan for PPC64.
55247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
55248         multiarch isnanf for PPC64.
55250         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
55251         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
55252         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
55253         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
55254         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
55255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
55257         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
55258         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55259         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55260         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55262         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
55263         multiarch implementations.
55264         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55265         (__libc_ifunc_impl_list): Likewise.
55266         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
55267         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
55268         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
55269         multiarch stpcpy for PPC64.
55271         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
55272         multiarch implementations.
55273         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55274         (__libc_ifunc_impl_list): Likewise.
55275         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
55276         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
55277         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
55278         multiarch strcpy for PPC64.
55280         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
55281         redefine function name.
55282         (_wordcopy_fwd_dest_aligned): Likewise.
55283         (_wordcopy_bwd_aligned): Likewise.
55284         (_wordcopy_bwd_dest_aligned): Likewise.
55285         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
55286         multiarch implementations.
55287         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55288         (__libc_ifunc_impl_list): Likewise.
55289         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
55290         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
55291         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
55292         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
55293         multiarch wcscpy for PPC64.
55295         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
55296         multiarch implementations.
55297         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55298         (__libc_ifunc_impl_list): Likewise.
55299         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
55300         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
55301         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
55302         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
55303         multiarch wcscpy for PPC64.
55305         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
55306         multiarch implementations.
55307         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55308         (__libc_ifunc_impl_list): Likewise.
55309         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
55310         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
55311         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
55312         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
55313         multiarch wcsrchr for PPC64.
55315         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
55316         multiarch implementations.
55317         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55318         (__libc_ifunc_impl_list): Likewise.
55319         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
55320         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
55321         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
55322         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
55323         multiarch wcschr for PPC64.
55325         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
55326         multiarch implementations.
55327         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55328         (__libc_ifunc_impl_list): Likewise.
55329         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
55330         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
55331         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
55332         multiarch strchrnul for PPC64.
55334         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
55335         implementations.
55336         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55337         (__libc_ifunc_impl_list): Likewise.
55338         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
55339         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
55340         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
55341         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
55342         strchr for PPC64.
55344         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
55345         implementations.
55346         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55347         (__libc_ifunc_impl_list): Likewise.
55348         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
55349         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
55350         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
55351         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
55352         strncmp for PPC64.
55354         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
55355         multiarch implementations.
55356         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55357         (__libc_ifunc_impl_list): Likewise.
55358         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
55359         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
55360         strncasecmp for PPC64.
55361         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
55362         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
55363         multiarch strncasecmp_l for PPC64.
55365         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
55366         multiarch implementations.
55367         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
55368         (__libc_ifunc_impl_list): Likewise.
55369         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
55370         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
55371         multiarch strcasecmp for PPC64.
55372         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
55373         file.
55374         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
55375         multiarch strcasecmp_l for PPC64.
55377         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
55378         implementations.
55379         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55380         (__libc_ifunc_impl_list): Likewise.
55381         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
55382         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
55383         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
55384         strnlen for PPC64.
55386         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
55387         implementations.
55388         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55389         (__libc_ifunc_impl_list): Likewise.
55390         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
55391         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
55392         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
55393         strlen for PPC64.
55395         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
55396         implementations.
55397         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55398         (__libc_ifunc_impl_list): Likewise.
55399         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
55400         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
55401         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
55402         rawmemrchr for PPC64.
55404         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
55405         implementation.
55406         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55407         (__libc_ifunc_impl_list): Likewise.
55408         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
55409         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
55410         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
55411         memrchr for PPC64.
55413         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
55414         implementation.
55415         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55416         (__libc_ifunc_impl_list): Likewise.
55417         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
55418         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
55419         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
55420         memchr for PPC64.
55422         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
55423         implementation.
55424         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55425         (__libc_ifunc_impl_list): Likewise.
55426         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
55427         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
55428         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
55429         mempcpy for PPC64.
55431         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
55432         avoid cretion of __bzero symbol.
55433         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
55434         Likewise.
55435         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
55436         Likewise.
55437         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
55438         Likewise.
55439         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
55440         multiarch implementations.
55441         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55442         (__libc_ifunc_impl_list): Likewise.
55443         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
55444         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
55445         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
55446         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
55447         bzero for PPC32.
55448         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
55449         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
55450         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
55451         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
55452         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
55453         memset for PPC64.
55454         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
55456         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
55457         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
55458         implementations.
55459         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55460         (__libc_ifunc_impl_list): Likewise.
55461         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
55462         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
55463         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
55464         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
55465         memcmp for PPC64.
55467         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
55468         multiarch for POWER/PPC64.
55469         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
55470         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
55471         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
55472         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
55473         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
55474         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
55475         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
55476         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
55477         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
55478         memcpy for PPC64.
55480         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
55481         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
55482         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
55483         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
55484         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
55485         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
55486         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
55487         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
55488         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
55489         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
55490         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
55491         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
55492         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
55493         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
55494         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
55495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
55496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
55497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
55498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
55499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
55500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
55501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
55503 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55505         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
55507 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
55509         * benchtests/Makefile (bench): Add exp2 and log2.
55510         (LDLIBS-bench-exp2): Add -lm.
55511         (LDLIBS-bench-log2): Likewise.
55512         * benchtests/exp2-inputs: New inputs file.
55513         * benchtests/log2-inputs: New inputs file.
55514         * benchtests/log-inputs: Add new inputs.
55515         * benchtests/tan-inputs: Likewise.
55517 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
55519         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
55520         definition...
55521         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
55522         (csloww2): ... from here.
55524         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
55525         instead of structures.
55526         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
55527         (POLYNOMIAL): Likewise.
55528         (TAYLOR_SLOW): Likewise.
55529         (__sin): Likewise.
55530         (__cos): Likewise.
55531         (slow1): Likewise.
55532         (slow2): Likewise.
55533         (sloww): Likewise.
55534         (sloww1); Likewise.
55535         (sloww2): Likewise.
55536         (bsloww1): Likewise.
55537         (bsloww2): Likewise.
55538         (cslow2): Likewise.
55539         (csloww): Likewise.
55540         (csloww1): Likewise.
55541         (csloww2): Likewise.
55543 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
55545         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
55546         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
55547         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
55548         * malloc/hooks.c (realloc_check): Likewise.
55550         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
55551         * malloc/arena.c: Remove PER_THREAD conditional.
55552         [!PER_THREAD]: Remove code.
55553         (ptmalloc_unlock_all2): Likewise.
55554         (ptmalloc_init): Likewise.
55555         (_int_new_arena): Likewise.
55556         (arena_get2): Likewise.
55557         * malloc/hooks.c (__malloc_get_state): Likewise.
55558         (__malloc_set_state): Likewise.
55559         * malloc/malloc.c: Likewise.
55560         (struct malloc_state): Likewise.
55561         (struct malloc_par): Likewise.
55562         (__libc_realloc): Likewise.
55563         (__libc_mallopt): Likewise.
55565 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55567         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
55569 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
55571         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
55572         macro to a function.  Check for zero perturb_byte.
55573         (_int_malloc, _int_free): Remove zero perturb_byte checks.
55575         * malloc/malloc.c: (force_reg): Remove.
55576         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
55577         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
55578         force_reg by atomic_forced_read.
55579         * malloc/arena.c (ptmalloc_init): Likewise.
55580         * malloc/hooks.c (top_check): Likewise.
55582 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55584         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55586 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
55588         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55590 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
55592         * math/auto-libm-test-in: Add tests of lgamma.
55593         * math/auto-libm-test-out: Regenerated.
55594         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
55595         (M_LOG_2_SQRT_PIl): Likewise.
55596         (lgamma_test_data): Use AUTO_TESTS_f_f1.
55597         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55598         mpfr_f_f1.
55599         (func_calc_desc): Add mpfr_f_f1 union field.
55600         (ARGS1): New macro.
55601         (ARGS2): Likewise.
55602         (ARGS3): Likewise.
55603         (ARGS4): Likewise.
55604         (RET1): Likewise.
55605         (RET2): Likewise.
55606         (CALC): Likewise.
55607         (FUNC): Likewise.
55608         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
55609         (test_functions): Add lgamma.
55610         (calc_generic_results): Handle mpfr_f_f1.
55611         * sysdeps/i386/fpu/libm-test-ulps: Update.
55612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55614 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55616         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
55617         __mpn_add_n for PowerPC64/POWER7.
55618         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
55619         __mpn_sub_n for PowerPC64/POWER7.
55621         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
55622         __mpn_addmul_1 for PowerPC64.
55623         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
55624         __mpn_submul_1 for PowerPC64.
55625         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
55626         for PowerPC64.
55627         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
55628         for PowerPC64.
55630 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
55632         [BZ #15089]
55633         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
55635 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55637         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
55639         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
55640         add multiarch folders.
55641         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
55642         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
55643         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
55644         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
55645         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
55646         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
55647         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
55648         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
55649         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
55650         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
55651         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
55652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
55653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
55654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
55655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
55656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
55657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
55659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
55660         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
55661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
55662         New file.
55663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
55664         New file.
55665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
55666         multiarch __ieee754_hypot for PowerPC32.
55667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
55668         New file.
55669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
55670         New file.
55671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
55672         multiarch __ieee754_hypotf for PowerPC32.
55674         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
55675         long_double_symbol only if __logbl is defined.
55676         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
55677         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
55678         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
55679         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
55680         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
55681         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
55682         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
55683         path for implementation.
55684         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
55685         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
55686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
55687         logb, and logbl multiarch implementations for PowerPC32.
55688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
55689         file.
55690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
55691         file.
55692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
55693         multiarch logb for PowerPC32.
55694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
55695         file.
55696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
55697         file.
55698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
55699         multiarch logbf for PowerPC32.
55700         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
55701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
55702         file.
55703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
55704         multiarch logbl implementation for PowerPC32.
55706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
55707         and modff multiarch implementations.
55708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
55709         New file.
55710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
55711         New file.
55712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
55713         multiarch modf for PowerPC32.
55714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
55715         New file.
55716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
55717         New file.
55718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
55719         multiarch modff for PowerPC32.
55721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
55722         and lrintf multiarch implementations.
55723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
55724         New file.
55725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
55726         New file.
55727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
55728         multiarch lrint for PowerPC32.
55729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
55730         file: multiarch lrintf for PowerPC32.
55732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
55733         and lroundf multiarch implementations.
55734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
55735         New file.
55736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
55737         New file.
55738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
55739         New file.
55740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
55741         multiarch lround for PowerPC32.
55742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
55743         file: multiarch lroundf for PowerPC32.
55745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
55746         copysign and copysignf multiarch implementations.
55747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
55748         New file.
55749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
55750         New file.
55751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
55752         file: multiarch copysign for PowerPC32.
55753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
55754         file: multiarch copysignf for PowerPC32.
55756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
55757         and truncf multiarch implementations.
55758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
55759         New file.
55760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
55761         file.
55762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
55763         multiarch trunc for PowerPC32.
55764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
55765         New file.
55766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
55767         New file.
55768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
55769         multiarch truncf for PowerPC32.
55771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
55772         and roundf multiarch implementations.
55773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
55774         New file.
55775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
55776         file.
55777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
55778         multiarch round for PowerPC32.
55779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
55780         New file.
55781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
55782         New file.
55783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
55784         multiarch roundf for PowerPC32.
55786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
55787         and floorf multiarch implementations.
55788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
55789         New file.
55790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
55791         file.
55792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
55793         multiarch floor for PowerPC32.
55794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
55795         New file.
55796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
55797         New file.
55798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
55799         multiarch floorf for PowerPC32.
55801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
55802         and ceilf multiarch implementations.
55803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
55804         New file.
55805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
55806         file.
55807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
55808         multiarch ceil for PowerPC32.
55809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
55810         New file.
55811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
55812         file.
55813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
55814         multiarch ceilf for PowerPC32.
55816         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
55817         is defined.
55818         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
55819         FINITEF is defined.
55820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
55821         and finitef multiarch implementations.
55822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
55823         New file.
55824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
55825         file.
55826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
55827         multiarch finite for PowerPC32.
55828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
55829         New file.
55830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
55831         file: multiarch finitef for PowerPC32.
55833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
55834         and isinff multiarch implementations.
55835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
55836         file.
55837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
55838         file.
55839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
55840         multiarch isinf for PowerPC32.
55841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
55842         New file.
55843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
55844         multiarch isinff for PowerPC32.
55846         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
55847         alias when __isnan is defined.
55848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
55849         and isnanf multiarch implementations.
55850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
55851         file.
55852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
55853         file.
55854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
55855         file.
55856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
55857         file.
55858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
55859         multiarch isnan for PowerPC32.
55860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
55861         New file.
55862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
55863         New file.
55864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
55865         multiarch isnanf for PowerPC32.
55867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
55868         and sqrtf multiarch implementations.
55869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
55870         file.
55871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
55872         file.
55873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
55874         multiarch sqrt for PowerPC32.
55875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
55876         file.
55877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
55878         file.
55879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
55880         multiarch sqrtf for PowerPC32.
55882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
55883         and llroundf multiarch implementations.
55884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
55885         New file.
55886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
55887         New file.
55888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
55889         New file.
55890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
55891         file: multiarch llround for PowerPC32.
55892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
55893         file: multiarch llroundf for PowerPC32.
55895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
55896         multiarch PowerPC32 fpu implementations.
55897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
55898         New file.
55899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
55900         New file.
55901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
55902         multiarch llrint for PowerPC32.
55903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
55904         New file.
55905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
55906         New file.
55907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
55908         file.
55910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
55912         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
55913         file.
55914         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
55915         file.
55916         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
55917         file.
55918         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
55919         multiarch wordcopy for PPC32.
55920         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
55921         wordcopy objects.
55922         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55923         (__libc_ifunc_impl_list): Likewise.
55924         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
55925         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
55926         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
55927         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
55928         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
55929         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
55931         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
55932         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
55933         file.
55934         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
55935         file.
55936         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
55937         file.
55938         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
55939         multiarch wcscpy for PPC32.
55940         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
55941         multiarch objects.
55942         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55943         (__libc_ifunc_impl_list): Likewise.
55944         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
55945         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
55946         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
55947         sysdeps/powerpc/power6/wcscpy.c.
55949         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
55950         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
55951         file.
55952         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
55953         file.
55954         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
55955         file.
55956         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
55957         multiarch wcsrchr for PPC32.
55958         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
55959         multiarch objects.
55960         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55961         (__libc_ifunc_impl_list): Likewise.
55962         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
55963         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
55964         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
55965         sysdeps/powerpc/power6/wcsrchr.c.
55967         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
55968         file.
55969         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
55970         file.
55971         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
55972         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
55973         multiarch wcschr for PPc32.
55974         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
55975         multiarch objects.
55976         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55977         (__libc_ifunc_impl_list): Likewise.
55978         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
55979         * sysdeps/powerpc/power6/wcschr.c: ... to here.
55980         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
55981         sysdeps/powerpc/power6/wcschr.c.
55983         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
55984         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
55985         file.
55986         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
55987         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
55988         file: multiarch strchr for PPC32.
55989         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
55990         multiarch objects.
55991         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55992         (__libc_ifunc_impl_list): Likewise.
55994         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
55995         name.
55996         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
55997         file.
55998         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
55999         file.
56000         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
56001         multiarch strchrnul for PPC32.
56002         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
56003         multiarch objects.
56004         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56005         (__libc_ifunc_impl_list): Likewise.
56007         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
56008         file.
56009         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
56010         multiarch strncasecmp for PPC32.
56011         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
56012         file.
56013         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
56014         multiarch strncasecmp_l for PPC32.
56015         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
56016         strncasecmp multiarch objects.
56017         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56018         (__libc_ifunc_impl_list): Likewise.
56020         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
56021         file.
56022         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
56023         multiarch strncasecmp for PPC32.
56024         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
56025         New file.
56026         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
56027         multiarch strcasecmp_l for PPC32.
56028         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
56029         multiarch objects.
56030         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56031         (__libc_ifunc_impl_list): Likewise.
56033         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
56034         file.
56035         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
56036         file.
56037         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
56038         multiarch strncmp for PPC32.
56039         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
56040         multiarch objects.
56041         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56042         (__libc_ifunc_impl_list): Likewise.
56044         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
56045         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
56046         file.
56047         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
56048         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
56049         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
56050         multiarch objects.
56051         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56052         (__libc_ifunc_impl_list): Likewise.
56054         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
56055         file.
56056         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
56057         file.
56058         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
56059         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
56060         multiarch objects.
56061         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56062         (__libc_ifunc_impl_list): Likewise.
56064         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
56065         file.
56066         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
56067         file.
56068         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
56069         multiarch rawmemchr for PPC32.
56070         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
56071         multiarch objects.
56072         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56073         (__libc_ifunc_impl_list): Likewise.
56075         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
56076         file.
56077         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
56078         file.
56079         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
56080         file: memrchr multiarch for PPC32.
56081         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
56082         multiarch objects.
56083         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56084         (__libc_ifunc_impl_list): Likewise.
56086         * string/memchr.c (__memchr): Using macro to redefine symbol name.
56087         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
56088         file.
56089         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
56090         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
56091         multiarch memchr for PPC32.
56092         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
56093         multiarch objects.
56094         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
56095         (__libc_ifunc_impl_list): Likewise.
56097         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
56098         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
56099         file.
56100         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
56101         file.
56102         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
56103         file: multiarch mempcpy for PPC32.
56104         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
56105         multiarch objects.
56106         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
56107         (__libc_ifunc_impl_list): Likewise.
56109         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
56110         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
56111         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
56112         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
56113         multiarch bzero for PPC32.
56114         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
56115         file.
56116         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
56117         file.
56118         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
56119         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
56120         file: multiarch memset for PPC32.
56121         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
56122         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
56123         memset multiarch objects.
56124         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
56125         (__libc_ifunc_impl_list): Likewise.
56127         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
56128         file.
56129         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
56130         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
56131         memcmp for PPC32.
56132         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
56133         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
56134         multiarch objects.
56135         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
56136         (__libc_ifunc_impl_list): Likewise.
56138         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
56139         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
56140         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
56141         file.
56142         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
56143         file.
56144         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
56145         file.
56146         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
56147         multiarch memcpy for PPC32.
56148         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
56149         multiarch objects.
56150         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
56151         (__libc_ifunc_impl_list): Likewise.
56153         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
56154         support multiarch for POWER/PPC32.
56155         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
56156         Likewise.
56157         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
56158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
56159         Implies file to make multiarch folder appers before the fpu and
56160         default folder for power4 configuration.
56162 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56164         * scripts/bench.pl: Append volatile keyword to type.
56166 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56168         * sysdeps/sh/sotruss-lib.c: New file.
56169         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
56171 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56173         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56175 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
56177         [BZ #6810]
56178         * math/w_tgamma.c: Include <errno.h>.
56179         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
56180         * math/w_tgammaf.c: Include <errno.h>.
56181         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
56182         * math/w_tgammal.c: Include <errno.h>.
56183         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
56184         * math/auto-libm-test-in: Do not allow missing errno on tgamma
56185         underflow.  Add more tgamma tests.
56186         * math/auto-libm-test-out: Regenerated.
56187         * sysdeps/i386/fpu/libm-test-ulps: Update.
56188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56190         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
56191         sin, sinh, tan, tanh, tgamma, y0 and y1.
56192         * math/auto-libm-test-out: Regenerated.
56193         * math/libm-test.inc (TEST_COND_x86_64): New macro.
56194         (TEST_COND_x86): Likewise.
56195         (M_E2l): Remove macro.
56196         (M_E3l): Likewise.
56197         (M_2_SQRT_PIl): Likewise.
56198         (M_SQRT_PIl): Likewise.
56199         (M_1_DIV_El): Likewise.
56200         (log_test_data): Use AUTO_TESTS_f_f.
56201         (log10_test_data): Likewise.
56202         (log1p_test_data): Likewise.
56203         (log2_test_data): Likewise.
56204         (sin_test_data): Likewise.
56205         (sin_tonearest_test_data): Likewise.
56206         (sin_towardzero_test_data): Likewise.
56207         (sin_downward_test_data): Likewise.
56208         (sin_upward_test_data): Likewise.
56209         (sinh_test_data): Likewise.
56210         (sinh_tonearest_test_data): Likewise.
56211         (sinh_towardzero_test_data): Likewise.
56212         (sinh_downward_test_data): Likewise.
56213         (sinh_upward_test_data): Likewise.
56214         (tan_test_data): Likewise.
56215         (tan_tonearest_test_data): Likewise.
56216         (tan_towardzero_test_data): Likewise.
56217         (tan_downward_test_data): Likewise.
56218         (tan_upward_test_data): Likewise.
56219         (tanh_test_data): Likewise.
56220         (tgamma_test_data): Likewise.
56221         (y0_test_data): Likewise.
56222         (y1_test_data): Likewise.
56223         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
56224         (special_real_inputs): Add pi/4.
56225         * sysdeps/i386/fpu/libm-test-ulps: Update.
56226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56228 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56230         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
56231         "longjmp_target" static probes.
56232         (__longjmp): Rename to __longjmp_symbol.
56233         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
56234         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
56235         on which longjmp to generate.
56236         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
56237         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
56238         probe.
56239         (__sigsetjmp): Rename to __sigsetjmp_symbol.
56240         (__sigjmp_save): Rename to __sigjmp_save_symbol.
56241         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
56242         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
56243         and __sigjmp_save_symbol based on which sigsetjmp to generated.
56244         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
56245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
56246         __longjmp_symbol based on which __longjmp to generate.
56247         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
56248         probe.
56249         (setjmp): Rename to setjmp_symbol.
56250         (__sigsetjmp): Rename to __sigsetjmp_symbol.
56251         (_setjmp): Rename to _setjmp_symbol.
56252         (__sigsetjmp): Rename to __sigsetjmp_symbol.
56253         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
56254         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
56255         which setjmp to generate.
56256         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
56257         "longjmp_target" static probes.
56259 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
56261         * benchtests/README: Add note about output arguments.
56262         * benchtests/bench-sincos.c: Remove file.
56263         * benchtests/sincos-inputs: New file.
56264         * scripts/bench.pl: Identify output arguments and define
56265         static variables for them.
56267         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
56269         [BZ #15941]
56270         * Makefile (INSTALL): Add install-plain.texi as the primary
56271         dependency.
56272         * manual/install-plain.texi: New file.
56273         * manual/install.texi: Include node directive only for
56274         non-plaintext output.
56276 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
56278         * stdlib/longlong.h: Update from GCC.
56280         [BZ #6807]
56281         [BZ #15901]
56282         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
56283         * math/w_j0f.c (y0f): Likewise.
56284         * math/w_j0l.c (__y0l): Likewise.
56285         * math/w_j1.c (y1): Likewise.
56286         * math/w_j1f.c (y1f): Likewise.
56287         * math/w_j1l.c (__y1l): Likewise.
56288         * math/w_jn.c (yn): Likewise.
56289         * math/w_jnf.c (ynf): Likewise.
56290         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
56291         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
56292         value for Bessel function domain errors outside _SVID_ mode.
56293         Adjust sign of return value for yn (negative integer, 0).
56294         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
56295         by zero in return for negative x and set sign appropriately for
56296         negative n.
56297         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
56298         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
56299         * math/libm-test.inc (y0_test_data): Add more tests and adjust
56300         expectations in error cases.
56301         (y1_test_data): Likewise.
56302         (yn_test_data): Likewise.
56303         * sysdeps/i386/fpu/libm-test-ulps: Update.
56304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56306 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56308         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
56309         "64" to "64-v1".  Add "64-v2".
56310         (abi-64-options): Rename to ...
56311         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
56312         (abi-64-condition): Rename to ...
56313         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
56314         (abi-64-ld-soname): Rename to ...
56315         (abi-64-v1-ld-soname): ... this.
56316         (abi-64-v2-options): Define.
56317         (abi-64-v2-condition): Likewise.
56318         (abi-64-v2-ld-soname): Likewise.
56319         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
56320         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
56321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
56322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
56323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
56325 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56326             Alan Modra  <amodra@gmail.com>
56328         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
56329         New versions for use with the ELFv2 ABI.
56330         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
56331         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
56332         declaration.
56333         (struct La_ppc64v2_retval): Likewise.
56334         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
56335         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
56336         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
56337         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
56338         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
56339         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56340         Do not save or restore CR.
56341         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
56342         (_dl_profile_resolve): Do no save or restore CR.  Support extended
56343         return values for ELFv2 ABI.  Fix location of FPR return registers.
56344         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
56345         updated values for _CALL_ELF == 2.
56346         (La_regs, La_retval, int_retval): Likewise.
56348 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56350         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
56351         (FRAME_MIN_SIZE_PARM): Likewise.
56352         (FRAME_BACKCHAIN): Likewise.
56353         (FRAME_CR_SAVE): Likewise.
56354         (FRAME_LR_SAVE): Likewise.
56355         (FRAME_TOC_SAVE): Likewise.
56356         (FRAME_PARM_SAVE): Likewise.
56357         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
56358         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
56359         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
56360         (call_mcount_parm_offset): New macro.
56361         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
56362         (PROF): Use symbolic stack frame offsets.
56363         (TAIL_CALL_SYSCALL_ERROR): Likewise.
56364         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
56365         Redefine in terms of FRAME_MIN_SIZE.
56366         (_dl_runtime_resolve): Use symbolic stack frame offsets.
56367         (_dl_profile_resolve): Likewise.  Update comment.
56368         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
56369         symbols stack frame offsets.
56370         (__sigsetjmp): Likewise.
56371         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
56372         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
56373         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
56374         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
56376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
56377         (FRAME_BACKCHAIN): Remove.
56378         (FRAME_CR_SAVE): Likewise.
56379         (FRAME_LR_SAVE): Likewise.
56380         (FRAME_COMPILER_DW): Likewise.
56381         (FRAME_LINKER_DW): Likewise.
56382         (FRAME_TOC_SAVE): Likewise.
56383         (FRAME_PARM_SAVE): Likewise.
56384         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
56385         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
56386         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
56387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
56388         (CHECK_SP): Use symbolic stack frame offsets.
56389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
56390         zone" instead of caller's parameter save area for temp storage.
56391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56392         Likewise.  Also, use symbolic stack frame offsets.
56393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
56394         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
56395         our own stack frame instead of the caller's.
56396         (__socket): Use symbolic stack frame offsets.
56398 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56399             Alan Modra  <amodra@gmail.com>
56401         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
56402         Define.
56403         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
56404         (PPC64_LOCAL_ENTRY_OFFSET): Define.
56405         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
56406         New function.
56407         (elf_machine_fixup_plt): Call it.
56408         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
56409         reloc arguments.
56410         (elf_machine_rela): Update call to elf_machine_plt_conflict.
56411         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
56412         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
56413         r2 before calling target.
56415 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56416             Alan Modra  <amodra@gmail.com>
56418         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
56419         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
56420         versions of macros to support ELFv2 ABI.
56421         (LOCALENTRY): New macro.
56422         (ENTRY, EALIGN): Use it.
56423         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
56424         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
56425         fall through into ENTRY entry point.
56426         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
56427         Only define if _CALL_ELF != 2.
56429         (elf_machine_matches_host): Verify ABI version matches.
56430         (RTLD_START): Use LOCALENTRY.
56431         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
56432         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
56433         (PLT_ENTRY_WORDS): New macro.
56434         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
56435         (elf_machine_runtime_setup): Support ELFv2 ABI.
56436         (elf_machine_fixup_plt): Likewise.
56437         (elf_machine_plt_conflict): Likewise.
56438         (resolve_ifunc): Likewise.
56439         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
56440         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
56441         Likewise.
56442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
56443         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
56444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56445         (makecontext): Support ELFv2 ABI.
56446         * elf/elf.h (EF_PPC64_ABI): Define.
56448 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56450         * sysdeps/powerpc/powerpc64/sysdep.h
56451         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
56452         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
56453         (ENTRY) [ASSEMBLER]: ... but instead here ...
56454         (EALIGN) [ASSEMBLER]: ... and here.
56455         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
56456         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
56457         (ENTRY_2) [!ASSEMBLER]: Use it.
56458         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
56459         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
56460         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
56461         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
56462         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
56463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
56464         Use PPC64_LOAD_FUNCPTR.
56466         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
56468 2013-12-04  Alan Modra  <amodra@gmail.com>
56470         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
56471         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
56472         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
56473         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
56475         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
56476         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
56477         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
56478         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
56479         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
56480         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
56482 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56485         (__makecontext): Fix incorrect CFI when backtracing out of
56486         context created via makecontext.
56487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
56488         (__setcontext): Fix incorrect CFI during switch to new context.
56489         (__novec_setcontext): Likewise.
56491 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
56493         [BZ #4772]
56494         * time/strptime_l.c (__strptime_internal): Allow modifiers
56495         in strptime.
56496         * time/tst-strptime.c (day_tests): Add testcase.
56498 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56500         * scripts/bench.pl: Skip over blank lines.
56502 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
56504         [BZ #926]
56505         * manual/time.texi (Calendar Time): Clarify what timezone functions
56506         use.
56508 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56510         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56512 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
56514         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
56515         implementation.
56516         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
56517         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
56518         * debug/memset_chk.c (__memset_chk): Likewise.
56519         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
56520         * debug/strncpy_chk.c: Likewise.
56522 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
56524         [BZ #15268]
56525         [BZ #15425]
56526         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
56527         (__ieee754_exp): For possibly underflowing results, check size of
56528         result and force underflow exception if required.
56529         * math/auto-libm-test-in: Add more tests of exp.
56530         * math/auto-libm-test-out: Regenerated.
56531         * sysdeps/i386/fpu/libm-test-ulps: Update.
56532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56534         [BZ #16283]
56535         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
56536         * math/w_exp2f.c (__exp2f): Likewise.
56537         * math/w_exp2l.c (__exp2l): Likewise.
56538         * math/auto-libm-test-in: Do not allow missing errno on exp2
56539         underflow.
56540         * math/auto-libm-test-out: Regenerated.
56542 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
56544         [BZ #16274]
56545         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
56546         handle filename validation.
56547         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
56548         (do_open): Delete.
56550 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
56552         [BZ #6786]
56553         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
56554         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
56555         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
56556         <float.h>.
56557         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
56558         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
56559         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
56560         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
56561         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
56562         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
56563         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
56564         * math/auto-libm-test-in: Don't allow missing errno from erfc.
56565         Add more erfc tests.
56566         * math/auto-libm-test-out: Regenerated.
56567         * sysdeps/i386/fpu/libm-test-ulps: Update.
56568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56570         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
56571         exp2, expm1, j0 and j1.
56572         * math/auto-libm-test-out: Regenerated.
56573         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
56574         (erfc_test_data): Likewise.
56575         (exp_test_data): Likewise.
56576         (exp_tonearest_test_data): Likewise.
56577         (exp_towardzero_test_data): Likewise.
56578         (exp_downward_test_data): Likewise.
56579         (exp_upward_test_data): Likewise.
56580         (exp10_test_data): Likewise.
56581         (exp2_test_data): Likewise.
56582         (expm1_test_data): Likewise.
56583         (j0_test_data): Likewise.
56584         (j1_test_data): Likewise.
56585         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
56586         (input_flag_type): Add flag_xfail_rounding.
56587         (input_flags): Add xfail-rounding.
56588         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
56589         (output_for_one_input_case): Handle flag_xfail_rounding.
56590         * sysdeps/i386/fpu/libm-test-ulps: Update.
56591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56593 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
56595         [BZ #16289]
56596         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
56597         division by 0.
56599 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
56601         [BZ #16195]
56602         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
56603         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
56604         (STAP_PROBE0): New macro.
56605         (STAP_PROBE1): Likewise.
56606         (STAP_PROBE2): Likewise.
56607         (STAP_PROBE3): Likewise.
56608         (STAP_PROBE4): Likewise.
56610 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
56612         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
56614 2013-12-02  Steve Ellcey  <sellcey@mips.com>
56616         * benchtests/Makefile (bench): Add sqrt.
56617         (LDLIBS-bench-sqrt): New.
56618         * benchtests/sqrt-input: New.
56620 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
56622         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
56623         (GAIH_EAI): Likewise.
56624         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
56625         (gaih_inet): Likewise.
56626         (getaddrinfo): Don't use GAIH_EAI.
56628         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
56629         (struct gaih): Remove definition.
56631 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
56633         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
56634         Use HERRNOP directly.
56636 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56638         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56640 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
56642         * math/gen-auto-libm-tests.c (test_functions): Add more
56643         single-argument functions.
56644         (special_fill_pi_2): New function.
56645         (special_fill_minus_pi_2): Likewise.
56646         (special_fill_pi_6): Likewise.
56647         (special_fill_minus_pi_6): Likewise.
56648         (special_fill_pi_3): Likewise.
56649         (special_fill_2pi_3): Likewise.
56650         (special_fill_e): Likewise.
56651         (special_fill_1_e): Likewise.
56652         (special_fill_e_minus_1): Likewise.
56653         (special_real_inputs): Add more special inputs.
56654         (output_for_one_input_case): Do not require ERANGE on underflow to
56655         zero if round-to-nearest result does not underflow to zero, unless
56656         exact results required.
56657         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
56658         atan, atanh, cbrt, cos and cosh.
56659         * math/auto-libm-test-out: Regenerated.
56660         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
56661         (acos_tonearest_test_data): Likewise.
56662         (acos_towardzero_test_data): Likewise.
56663         (acos_downward_test_data): Likewise.
56664         (acos_upward_test_data): Likewise.
56665         (acosh_test_data): Likewise.
56666         (asin_test_data): Likewise.
56667         (asin_tonearest_test_data): Likewise.
56668         (asin_towardzero_test_data): Likewise.
56669         (asin_upward_test_data): Likewise.
56670         (asinh_test_data): Likewise.
56671         (atan_test_data): Likewise.
56672         (atanh_test_data): Likewise.
56673         (cbrt_test_data): Likewise.
56674         (cos_test_data): Likewise.
56675         (cos_tonearest_test_data): Likewise.
56676         (cos_towardzero_test_data): Likewise.
56677         (cos_downward_test_data): Likewise.
56678         (cos_upward_test_data): Likewise.
56679         (cosh_test_data): Likewise.
56680         (cosh_tonearest_test_data): Likewise.
56681         (cosh_towardzero_test_data): Likewise.
56682         (cosh_downward_test_data): Likewise.
56683         (cosh_upward_test_data): Likewise.
56684         * sysdeps/i386/fpu/libm-test-ulps: Update.
56685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56687 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
56689         [BZ #6787]
56690         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
56691         * math/w_exp10f.c (__exp10f): Likewise.
56692         * math/w_exp10l.c (__exp10l): Likewise.
56693         * math/libm-test.inc (exp10_test_data): Add more tests and expect
56694         errno settings in existing tests.
56696         [BZ #14032]
56697         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
56698         precision control set to double precision.
56699         * sysdeps/i386/fpu/w_sqrt.c: New file.
56700         * math/auto-libm-test-in: Add more tests.
56701         * math/auto-libm-test-out: Update.
56703         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
56704         (sqrt_test_tonearest): New function.
56705         (sqrt_towardzero_test_data): New variable.
56706         (sqrt_test_towardzero): New function.
56707         (sqrt_downward_test_data): New variable.
56708         (sqrt_test_downward): New function.
56709         (sqrt_upward_test_data): New variable.
56710         (sqrt_test_upward): New function.
56711         (main): Call the new functions.
56713         * math/gen-auto-libm-tests.c: New file.
56714         * math/auto-libm-test-in: Likewise.
56715         * math/auto-libm-test-out: New generated file.
56716         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
56717         variables.
56718         (%beautify): Add generated representations of zero.
56719         (top level): Set $auto_input and call parse_auto_input.
56720         (beautify): Remove trailing "f" from hex float constants.
56721         (parse_args): Handle XFAIL_TEST.
56722         (convert_condition): New function.
56723         (or_value): Likewise.
56724         (or_cond_value): Likewise.
56725         (generate_testfile): Handle AUTO_TESTS_* lines.
56726         (parse_auto_input): New function.
56727         * math/libm-test.inc (XFAIL_TEST): New macro.
56728         (ERRNO_UNCHANGED): Update value.
56729         (ERRNO_EDOM): Likewise.
56730         (ERRNO_ERANGE): Likewise.
56731         (IGNORE_RESULT): Likewise.
56732         (TEST_COND_flt_32): New macro.
56733         (TEST_COND_dbl_64): Likewise.
56734         (TEST_COND_ldbl_96_intel): Likewise.
56735         (TEST_COND_ldbl_96_m68k): Likewise.
56736         (TEST_COND_ldbl_128): Likewise.
56737         (TEST_COND_ldbl_128ibm): Likewise.
56738         (TEST_COND_long32): Likewise.
56739         (TEST_COND_long64): Likewise.
56740         (TEST_COND_before_rounding): Likewise.
56741         (TEST_COND_after_rounding): Likewise.
56742         (enable_test): Handle XFAIL_TEST flag.
56743         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
56744         with finite results.
56745         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
56746         auto-libm-test-out.
56748 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56749             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56751         [BZ #16214]
56752         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
56753         __tls_get_addr_internal instead of __tls_get_offset in order to
56754         avoid GOT pointer dependency.  Make rtld export
56755         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
56756         __tls_get_addr since we are a __tls_get_offset platform.
56757         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
56758         GOT pointer being set up before.
56759         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
56761 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
56763         * manual/math.texi (Errors in Math Functions): Document accuracy
56764         goals.
56766         [BZ #15004]
56767         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
56768         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
56769         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
56770         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56771         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56772         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56773         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56774         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
56775         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
56776         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56777         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56778         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56779         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56780         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56781         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
56782         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
56784         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
56785         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
56786         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
56787         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
56788         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
56789         Likewise.
56790         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
56791         Likewise.
56792         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
56793         Likewise.
56794         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
56795         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
56796         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
56797         atomic-feupdateenv and flt-rounds.
56798         * sysdeps/powerpc/nofpu/Versions (libc): Add
56799         __atomic_feholdexcept, __atomic_feclearexcept,
56800         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
56801         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
56802         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
56803         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
56804         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
56805         here.
56806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
56807         Update.
56809         * manual/arith.texi (FP Exceptions): Document that exceptions may
56810         not be raised when matherr is used.
56811         (Math Error Reporting): Document overflow in directed rounding
56812         modes.  Document that errno may not be set when finite values are
56813         returned on overflow.  Document intent to set errno on underflow
56814         only for underflow to zero.
56816         [BZ #16271]
56817         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
56818         round-to-nearest then adjust result for other rounding modes.
56819         * include/fenv.h (fegetround): Use libm_hidden_proto.
56820         * math/fegetround.c (fegetround): Use libm_hidden_def.
56821         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
56822         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
56823         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
56824         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
56825         Likewise.
56826         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
56827         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
56828         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
56829         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
56831 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56833         [BZ #16077]
56834         * nss/Versions (libnss_files): Add
56835         _nss_files_gethostbyname3_r.
56836         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
56837         New function.
56838         (HOST_DB_LOOKUP): Remove macro.
56839         (_nss_files_gethostbyname_r): Implement function without the
56840         HOST_DB_LOOKUP macro.
56841         (_nss_files_gethostbyname2_r): Likewise.
56843 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
56845         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
56847 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
56849         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
56850         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
56851         warning.
56853 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56855         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
56856         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
56857         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
56858         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
56859         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
56860         __fe_nomask_env_priv and attribute_hidden.
56861         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
56862         (libc_feupdateenv_test_ppc): Likewise.
56863         (libc_feresetround_ppc): Likewise.
56864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
56865         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
56866         compat_symbol macro.
56867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
56868         (__fe_nomask_env): Likewise.
56869         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
56871 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
56873         * string/Makefile: Remove ifunc tests.
56874         * string/test-string.h: Define TEST_IFUNC.
56875         * string/test-bcopy-ifunc.c: Remove.
56876         * string/test-bzero-ifunc.c: Likewise.
56877         * string/test-memccpy-ifunc.c: Likewise.
56878         * string/test-memchr-ifunc.c: Likewise.
56879         * string/test-memcmp-ifunc.c: Likewise.
56880         * string/test-memcpy-ifunc.c: Likewise.
56881         * string/test-memmem-ifunc.c: Likewise.
56882         * string/test-memmove-ifunc.c: Likewise.
56883         * string/test-mempcpy-ifunc.c: Likewise.
56884         * string/test-memrchr-ifunc.c: Likewise.
56885         * string/test-memset-ifunc.c: Likewise.
56886         * string/test-rawmemchr-ifunc.c: Likewise.
56887         * string/test-stpcpy-ifunc.c: Likewise.
56888         * string/test-stpncpy-ifunc.c: Likewise.
56889         * string/test-strcasecmp-ifunc.c: Likewise.
56890         * string/test-strcasestr-ifunc.c: Likewise.
56891         * string/test-strcat-ifunc.c: Likewise.
56892         * string/test-strchr-ifunc.c: Likewise.
56893         * string/test-strchrnul-ifunc.c: Likewise.
56894         * string/test-strcmp-ifunc.c: Likewise.
56895         * string/test-strcpy-ifunc.c: Likewise.
56896         * string/test-strcspn-ifunc.c: Likewise.
56897         * string/test-strlen-ifunc.c: Likewise.
56898         * string/test-strncasecmp-ifunc.c: Likewise.
56899         * string/test-strncat-ifunc.c: Likewise.
56900         * string/test-strncmp-ifunc.c: Likewise.
56901         * string/test-strncpy-ifunc.c: Likewise.
56902         * string/test-strnlen-ifunc.c: Likewise.
56903         * string/test-strpbrk-ifunc.c: Likewise.
56904         * string/test-strrchr-ifunc.c: Likewise.
56905         * string/test-strspn-ifunc.c: Likewise.
56906         * string/test-strstr-ifunc.c: Likewise.
56908 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
56910         * benchtests/Makefile: Remove ifunc tests.
56911         * benchtests/bench-string.h: Define TEST_IFUNC.
56912         * benchtests/bench-bcopy-ifunc.c: Remove.
56913         * benchtests/bench-bzero-ifunc.c: Likewise.
56914         * benchtests/bench-memccpy-ifunc.c: Likewise.
56915         * benchtests/bench-memchr-ifunc.c: Likewise.
56916         * benchtests/bench-memcmp-ifunc.c: Likewise.
56917         * benchtests/bench-memcpy-ifunc.c: Likewise.
56918         * benchtests/bench-memmem-ifunc.c: Likewise.
56919         * benchtests/bench-memmove-ifunc.c: Likewise.
56920         * benchtests/bench-mempcpy-ifunc.c: Likewise.
56921         * benchtests/bench-memrchr-ifunc.c: Likewise.
56922         * benchtests/bench-memset-ifunc.c: Likewise.
56923         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
56924         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
56925         * benchtests/bench-stpcpy-ifunc.c: Likewise.
56926         * benchtests/bench-stpncpy-ifunc.c: Likewise.
56927         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
56928         * benchtests/bench-strcasestr-ifunc.c: Likewise.
56929         * benchtests/bench-strcat-ifunc.c: Likewise.
56930         * benchtests/bench-strchr-ifunc.c: Likewise.
56931         * benchtests/bench-strchrnul-ifunc.c: Likewise.
56932         * benchtests/bench-strcmp-ifunc.c: Likewise.
56933         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
56934         * benchtests/bench-strcpy-ifunc.c: Likewise.
56935         * benchtests/bench-strcspn-ifunc.c: Likewise.
56936         * benchtests/bench-strlen-ifunc.c: Likewise.
56937         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
56938         * benchtests/bench-strncat-ifunc.c: Likewise.
56939         * benchtests/bench-strncmp-ifunc.c: Likewise.
56940         * benchtests/bench-strncpy-ifunc.c: Likewise.
56941         * benchtests/bench-strnlen-ifunc.c: Likewise.
56942         * benchtests/bench-strpbrk-ifunc.c: Likewise.
56943         * benchtests/bench-strrchr-ifunc.c: Likewise.
56944         * benchtests/bench-strsep-ifunc.c: Likewise.
56945         * benchtests/bench-strspn-ifunc.c: Likewise.
56946         * benchtests/bench-strstr-ifunc.c: Likewise.
56948 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
56950         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
56952 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
56954         * resolv/netdb.h: Use __glibc_reserved instead __unused.
56955         * rt/aio.h: Likewise.
56956         * sysdeps/gnu/bits/utmp.h: Likewise.
56957         * sysdeps/gnu/bits/utmpx.h: Likewise.
56958         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
56959         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
56960         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
56961         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
56962         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
56963         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
56964         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
56965         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
56966         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
56967         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
56968         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
56969         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
56970         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
56971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
56972         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
56973         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
56974         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
56975         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
56976         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
56977         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
56978         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
56979         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
56980         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
56981         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
56982         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
56983         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56984         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
56985         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
56986         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
56987         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
56988         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
56989         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
56990         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
56991         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
56992         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
56993         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
56994         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
56995         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
56996         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
56997         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
56998         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
56999         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
57001 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
57003         [BZ #16245]
57004         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
57005         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
57007 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
57009         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
57010         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
57011         Likewise.
57013 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57015         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
57016         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
57017         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
57018         (__fesetround): Remove define.
57019         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
57020         rounding and exceptions handling.
57021         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
57022         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
57023         (__fe_nomask_env): Likewise.
57024         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
57025         __fegetround instead of fegetround.
57026         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
57027         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
57029 2013-11-21  Roland McGrath  <roland@hack.frob.com>
57031         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
57032         it's there.
57034         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
57036 2013-11-21  Meador Inge  <meadori@codesourcery.com>
57038         [BZ #11157]
57039         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
57040         (encrypt_r): Likewise.
57041         * malloc/obstack.h (obstack_free): Likewise.
57042         * posix/unistd.h (encrypt): Likewise.
57044 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
57046         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
57047         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
57048         DL_CALL_DT_FINI() that call the functions directly.
57049         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
57050         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
57051         * elf/dl-fini.c: Likewise.
57053 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
57055         * malloc/hooks.c (memalign_check): Add alignment rounding.
57056         * malloc/malloc.c (_mid_memalign): New function.
57057         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
57058         Implement by calling _mid_memalign.
57059         * manual/probes.texi (Memory Allocation Probes): Remove
57060         memory_valloc_retry and memory_pvalloc_retry.
57062 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57064         * locale/programs/locarchive.c (open_archive): Add const
57065         qualifier to ARCHIVEFNAME and copy default fname to
57066         DEFAULT_FNAME.
57068         [BZ #15601]
57069         * libio/tst-widetext.input: Rename Oriya to Odia.
57070         * locale/iso-639.def: Likewise.
57072         * manual/probes.texi (Mathematical Function Probes): Add
57073         documentation for sin, cos, asin and acos probes.
57074         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
57075         (__sin32): Add slowasin probe.
57076         (__cos32): Add slowacos probe.
57077         (__mpsin): Add slowsin probe.
57078         (__mpcos): Add slowcos probe.
57080 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
57082         [BZ #15483]
57083         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
57084         thread-local __sim_exceptions_thread and global
57085         __sim_exceptions_global.
57086         (__sim_disabled_exceptions): Change to thread-local
57087         __sim_disabled_exceptions_thread and global
57088         __sim_disabled_exceptions_global.
57089         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
57090         and global __sim_round_mode_global.
57091         (__simulate_exceptions): Use thread-local floating-point state and
57092         set global state from it as needed.
57093         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
57094         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
57095         __sim_round_mode_thread.
57096         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
57097         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
57098         and global __sim_exceptions_global.
57099         (__sim_disabled_exceptions): Change to thread-local
57100         __sim_disabled_exceptions_thread and global
57101         __sim_disabled_exceptions_global.
57102         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
57103         and global __sim_round_mode_global.
57104         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
57105         (SIM_SET_GLOBAL): Likewise.
57106         * sysdeps/powerpc/soft-fp/sfp-machine.h
57107         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
57108         __sim_round_mode_thread.
57109         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
57110         __sim_disabled_exceptions_thread.
57111         (__sim_exceptions): Change to __sim_exceptions_thread.
57112         (__sim_disabled_exceptions): Change to
57113         __sim_disabled_exceptions_thread.
57114         (__sim_round_mode): Change to __sim_round_mode_thread.
57115         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
57116         thread-local floating-point state and set global state from it as
57117         needed.
57118         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
57119         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
57120         (__sim_disabled_exceptions): Remove extern declaration.
57121         (feenableexcept): Use thread-local floating-point state and set
57122         global state from it as needed.
57123         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
57124         extern declaration.
57125         (__sim_disabled_exceptions): Likewise.
57126         (__sim_round_mode): Likewise.
57127         (__fegetenv): Use thread-local floating-point state.
57128         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
57129         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
57130         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
57131         floating-point state and set global state from it as needed.
57132         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
57133         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
57134         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
57135         Likewise.
57136         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
57137         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
57138         Likewise.
57139         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
57140         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
57141         Use __sim_round_mode_thread.
57142         * math/test-fenv-tls.c: New file.
57143         * math/Makefile (tests): Add test-fenv-tls.
57144         ($(objpfx)test-fenv-tls): Depend on
57145         $(common-objpfx)nptl/libpthread.so.
57147 2013-11-19  Andreas Schwab  <schwab@suse.de>
57149         * locale/programs/locale.c (show_info): Decode wordarray elements.
57150         * locale/categories.def (LC_MONETARY): Add element for
57151         _NL_MONETARY_CRNCYSTR.
57152         * locale/C-monetary.c (conversion_rate): New variable.
57153         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
57154         element.
57156 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
57158         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
57159         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
57161 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
57163         * elf/Makefile (tst-auxv): New test.
57164         * elf/tst-auxv.c: New
57165         * elf/rtld.c (dl_main): Adjust AT_EXECFN
57167 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
57169         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
57170         (hidden_proto): Caller changed.
57171         (hidden_tls_proto): New macro.
57172         (libc_hidden_tls_proto): Likewise.
57173         (rtld_hidden_tls_proto): Likewise.
57174         (libm_hidden_tls_proto): Likewise.
57175         (libresolv_hidden_tls_proto): Likewise.
57176         (librt_hidden_tls_proto): Likewise.
57177         (libdl_hidden_tls_proto): Likewise.
57178         (libnss_files_hidden_tls_proto): Likewise.
57179         (libnsl_hidden_tls_proto): Likewise.
57180         (libnss_nisplus_hidden_tls_proto): Likewise.
57181         (libutil_hidden_tls_proto): Likewise.
57183 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
57185         [BZ #10253]
57186         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
57187         (decompose_rpath): Defer expansion to fillin_rpath.
57188         (_dl_init_paths): Pass linkmap to fillin_rpath.
57190 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
57192         * benchtests/Makefile: Add strsep.
57193         * benchtests/bench-strsep.c: New file: strsep benchtest.
57194         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
57196 2013-11-18  Andreas Schwab  <schwab@suse.de>
57198         * locale/programs/locale.c (show_info) [case byte]: Check for
57199         '\377' instead of '\177'.
57200         * locale/C-monetary.c (not_available): Always use "\377".
57201         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
57202         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
57203         detect unavailable sign_posn locale elements.
57204         * locale/localeconv.c (__localeconv): For grouping and
57205         mon_grouping handle "\177" and "\377" like no grouping.
57206         (INT_ELEM): New macro.  Use it to set all numeric members.
57207         * locale/programs/ld-monetary.c (monetary_read)
57208         <tok_mon_grouping>: Normalize single -1 to the empty string.
57209         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
57210         Likewise.
57212 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
57214         [BZ #16055]
57215         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
57216         when we match (nil).
57217         * stdio-common/tst-sscanf.c (struct test): Add testcase.
57219 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
57221         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
57222         (NO_TEST_INLINE): Update value.
57223         (ERRNO_UNCHANGED): Likewise.
57224         (ERRNO_EDOM): Likewise.
57225         (ERRNO_ERANGE): Likewise.
57226         (IGNORE_RESULT): Likewise.
57227         (check_float_internal): Check signs of NaN results if
57228         TEST_NAN_SIGN used.
57229         (check_complex): Pass TEST_NAN_SIGN flag through to second
57230         check_float_internal call.
57231         (copysign_test_data): Add tests with quiet NaNs as second
57232         argument.  Use TEST_NAN_SIGN.
57233         (fabs_test_data): Add test of negative quiet NaN argument.  Use
57234         TEST_NAN_SIGN.
57235         (signbit_test_data): Add tests of quiet NaN argument.
57236         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
57238         * math/gen-libm-test.pl (show_exceptions): Take extra argument
57239         $ignore_result.
57240         (parse_args): Handle function results specified as IGNORE.
57241         * math/libm-test.inc (IGNORE_RESULT): New macro.
57242         (check_float_internal): Do not check numerical result if flag
57243         IGNORE_RESULT set.
57244         (check_complex): Pass through IGNORE_RESULT to second
57245         check_float_internal call.
57246         (check_int): Do not check numerical result if flag IGNORE_RESULT
57247         set.
57248         (check_long): Likewise.
57249         (check_bool): Likewise.
57250         (check_longlong): Likewise.
57251         (lrint_test_data): Add tests of infinite and NaN arguments.
57252         (lrint_tonearest_test_data): Likewise.
57253         (lrint_towardzero_test_data): Likewise.
57254         (lrint_downward_test_data): Likewise.
57255         (lrint_upward_test_data): Likewise.
57256         (llrint_test_data): Likewise.
57257         (llrint_tonearest_test_data): Likewise.
57258         (llrint_towardzero_test_data): Likewise.
57259         (llrint_downward_test_data): Likewise.
57260         (llrint_upward_test_data): Likewise.
57261         (lround_test_data): Likewise.
57262         (llround_test_data): Likewise.
57264         * math/libm-test.inc (NO_TEST_INLINE): New macro.
57265         (ERRNO_UNCHANGED): Update value.
57266         (ERRNO_EDOM): Likewise.
57267         (ERRNO_ERANGE): Likewise.
57268         (NO_TEST_INLINE_FLOAT): New macro.
57269         (NO_TEST_INLINE_DOUBLE): Likewise.
57270         (enable_test): New function.
57271         (RUN_TEST_f_f): Check enable_test before running test.
57272         (RUN_TEST_2_f): Likewise.
57273         (RUN_TEST_fff_f): Likewise.
57274         (RUN_TEST_c_f): Likewise.
57275         (RUN_TEST_f_f1): Likewise.
57276         (RUN_TEST_fF_f1): Likewise.
57277         (RUN_TEST_fI_f1): Likewise.
57278         (RUN_TEST_ffI_f1): Likewise.
57279         (RUN_TEST_c_c): Likewise.
57280         (RUN_TEST_cc_c): Likewise.
57281         (RUN_TEST_f_i): Likewise.
57282         (RUN_TEST_f_i_tg): Likewise.
57283         (RUN_TEST_ff_i_tg): Likewise.
57284         (RUN_TEST_f_b): Likewise.
57285         (RUN_TEST_f_b_tg): Likewise.
57286         (RUN_TEST_f_l): Likewise.
57287         (RUN_TEST_f_L): Likewise.
57288         (RUN_TEST_fFF_11): Likewise.
57289         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
57290         conditionals.
57291         (cosh_test_data): Likewise.
57292         (exp_test_data): Likewise.
57293         (expm1_test_data): Likewise.
57294         (hypot_test_data): Likewise.
57295         (pow_test_data): Likewise.
57296         (sinh_test_data): Likewise.
57297         (tanh_test_data): Likewise.
57298         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
57299         flags argument.
57301         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
57302         tests with quiet NaN input and output.
57303         (acosh_test_data): Likewise.
57304         (asin_test_data): Likewise.
57305         (asinh_test_data): Likewise.
57306         (atan_test_data): Likewise.
57307         (atanh_test_data): Likewise.
57308         (atan2_test_data): Likewise.
57309         (cbrt_test_data): Likewise.
57310         (cos_test_data): Likewise.
57311         (cosh_test_data): Likewise.
57312         (erf_test_data): Likewise.
57313         (erfc_test_data): Likewise.
57314         (exp_test_data): Likewise.
57315         (exp10_test_data): Likewise.
57316         (exp2_test_data): Likewise.
57317         (expm1_test_data): Likewise.
57318         (hypot_test_data): Likewise.
57319         (j0_test_data): Likewise.
57320         (j1_test_data): Likewise.
57321         (jn_test_data): Likewise.
57322         (lgamma_test_data): Likewise.
57323         (log_test_data): Likewise.
57324         (log10_test_data): Likewise.
57325         (log1p_test_data): Likewise.
57326         (log2_test_data): Likewise.
57327         (pow_test_data): Likewise.
57328         (scalb_test_data): Likewise.
57329         (sin_test_data): Likewise.
57330         (sincos_test_data): Likewise.
57331         (sinh_test_data): Likewise.
57332         (tan_test_data): Likewise.
57333         (tanh_test_data): Likewise.
57334         (tgamma_test_data): Likewise.
57335         (y0_test_data): Likewise.
57336         (y1_test_data): Likewise.
57337         (yn_test_data): Likewise.
57339         [BZ #16167]
57340         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
57341         argument being NaN and avoid computations with second argument in
57342         that case.
57343         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
57344         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
57345         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
57347 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
57349         * locale/iso-639.def: Add Chitwani Tharu (the).
57351 2013-11-14  Andreas Schwab  <schwab@suse.de>
57353         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
57354         word instead of empty string.
57356 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
57359         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
57360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
57361         (__fe_nomask_env): Likewise.
57363 2013-11-13  Steve Ellcey  <sellcey@mips.com>
57365         * benchtests/bench-timing.h: Include time.h.
57367 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
57369         [BZ #15997]
57370         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
57371         to 3.4.0 for x32.
57372         * sysdeps/unix/sysv/linux/configure: Regenerated.
57374 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
57376         [BZ #16151]
57377         * stdlib/strtod_l.c (round_and_return): Do not consider
57378         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
57379         exponent one less than half the least subnormal exponent.
57380         * stdlib/test-strtod-round-data: Add more tests.
57381         * stdlib/tst-strtod-round.c (tests): Regenerated.
57383 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57385         [BZ #14143]
57386         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
57387         (__fe_mask_env): Likewise.
57388         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
57389         libm_hidden_proto and add function prototype.
57390         (__fe_mask_env): Add function prototype.
57391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
57392         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
57393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
57394         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
57395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
57396         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
57398 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57400         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
57401         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
57403 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57405         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
57406         of htab_find_slot().
57408 2013-11-11  David S. Miller  <davem@davemloft.net>
57410         [BZ #16150]
57411         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
57412         symbol in the non-vis3 case in static builds.
57413         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
57414         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
57415         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
57416         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
57418 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
57420         [BZ #387]
57421         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
57422         it is empty.
57424 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57426         * benchtests/Makefile: Add bench-strtod.
57427         * benchtests/bench-strtod.c: New file: strtod benchtest
57429 2013-11-11  Andreas Schwab  <schwab@suse.de>
57431         [BZ #16153]
57432         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
57433         terminating NUL in key length.
57435 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57437         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
57438         Add artificial ODP entry for vDSO symbol for PPC64.
57439         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
57440         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
57442 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
57444         [BZ #15374]
57445         * nss/getent.c (services_keys): Recognize services starting with digit.
57447 2013-11-06  David S. Miller  <davem@davemloft.net>
57449         [BZ #15985]
57450         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
57451         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
57453 2013-11-06  Will Newton  <will.newton@linaro.org>
57455         * manual/memory.texi (Malloc Examples): Remove register
57456         keyword from examples.
57458 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
57460         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
57462 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
57464         [BZ #6981]
57465         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
57466         depending on [__GCC_IEC_559 > 0].
57467         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
57468         depending on [__GCC_IEC_559_COMPLEX > 0].
57470 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
57472         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
57473         to iso-639.def.
57475 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
57477         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
57479 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
57481         [BZ #16112]
57482         * malloc/malloc (malloc_info): Do not handle first bin as
57483         special case.
57485 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
57487         * locale/iso-639.def: Add Central Nahuatl (nhn).
57489 2013-11-01  Bruno Haible  <bruno@clisp.org>
57491         [BZ #7003]
57492         * manual/math.texi (BSD Random): Specify range upper bound as
57493         in POSIX.
57495 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
57497         * locale/iso-639.def: Add Meadow Mari (mhr).
57499 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
57501         [BZ #14752], [BZ #15763]
57502         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
57503         Validate name.
57504         * rt/tst_shm.c: Add test for escaping directory.
57506 2013-10-31  Andreas Schwab  <schwab@suse.de>
57508         [BZ #15917]
57509         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
57510         followed by 'x' as part of digit sequence.
57511         * stdio-common/tst-sscanf.c (double_tests2): New tests.
57513 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
57515         [BZ #16037]
57516         * configure.ac: allow GNU Make 4.0 and greater.
57517         * configure: Regenerated.
57519 2013-10-30  Will Newton  <will.newton@linaro.org>
57521         [BZ #16038]
57522         * malloc/hooks.c (memalign_check): Limit alignment to the
57523         maximum representable power of two.
57524         * malloc/malloc.c (__libc_memalign): Likewise.
57525         * malloc/tst-memalign.c (do_test): Add test for very
57526         large alignment values.
57527         * malloc/tst-posix_memalign.c (do_test): Likewise.
57529 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
57531         [BZ #11087]
57532         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
57533         (munmap_chunk): Likewise.
57534         (mremap_chunk): Likewise.
57536 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
57538         [BZ #15799]
57539         * stdlib/div.c (div): Remove obsolete code.
57540         * stdlib/ldiv.c (ldiv): Likewise.
57541         * stdlib/lldiv.c (lldiv): Likewise.
57543 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
57545         [BZ #16071]
57546         * nss/nss_files/files-XXX.c (get_contents_ret): New
57547         enumerator.
57548         (get_contents): New function.
57549         (internal_getent): Use it.  Expand size of LINEBUFLEN.
57551 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
57553         * configure.in: Moved to ...
57554         * configure.ac: ... here. Change reference to configure.in
57555         to configure.ac.
57556         * sysdeps/arm/preconfigure.ac: ... here.
57557         configure.in to configure.ac.
57558         * sysdeps/gnu/configure.in: Moved to ...
57559         * sysdeps/gnu/configure.ac: ... here.
57560         * sysdeps/i386/configure.in: Moved to ...
57561         * sysdeps/i386/configure.ac: ... here.
57562         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
57563         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
57564         * sysdeps/mach/configure.in: Moved to ...
57565         * sysdeps/mach/configure.ac: ... here.
57566         * sysdeps/mach/hurd/configure.in: Moved to ...
57567         * sysdeps/mach/hurd/configure.ac: ... here.
57568         * sysdeps/powerpc/configure.in: Moved to ...
57569         * sysdeps/powerpc/configure.ac: ... here.
57570         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
57571         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
57572         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
57573         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
57574         * sysdeps/s390/s390-32/configure.in: Moved to ...
57575         * sysdeps/s390/s390-32/configure.ac: ... here.
57576         * sysdeps/s390/s390-64/configure.in: Moved to ...
57577         * sysdeps/s390/s390-64/configure.ac: ... here.
57578         * sysdeps/sh/configure.in: Moved to ...
57579         * sysdeps/sh/configure.ac: ... here.
57580         * sysdeps/sparc/configure.in: Moved to ...
57581         * sysdeps/sparc/configure.ac: ... here.
57582         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
57583         * sysdeps/unix/sysv/linux/configure.ac: ... here.
57584         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
57585         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
57586         * sysdeps/x86_64/configure.in: Moved to ...
57587         * sysdeps/x86_64/configure.ac: ... here.
57588         * sysdeps/x86_64/preconfigure.in: Moved to ...
57589         * sysdeps/x86_64/preconfigure.ac: ... here.
57590         * aclocal.m4: Change reference to configure.in to configure.ac.
57591         * config.h.in: Likewise.
57592         * manual/install.texi: Likewise.
57593         * manual/maint.texi: Likewise.
57594         * Makefile: Likewise.
57595         * malloc/Makefile: Likewise.
57596         * nscd/Makefile: Likewise.
57597         * Makeconfig: Change reference to configure.in and
57598         preconfigure.in to configure.ac and preconfigure.ac
57599         respectively.
57600         * INSTALL: Regenerated.
57601         * configure: Likewise.
57602         * sysdeps/gnu/configure: Likewise.
57603         * sysdeps/i386/configure: Likewise.
57604         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
57605         * sysdeps/mach/configure: Likewise.
57606         * sysdeps/mach/hurd/configure: Likewise.
57607         * sysdeps/powerpc/configure: Likewise.
57608         * sysdeps/powerpc/powerpc32/configure: Likewise.
57609         * sysdeps/powerpc/powerpc64/configure: Likewise.
57610         * sysdeps/s390/s390-32/configure: Likewise.
57611         * sysdeps/s390/s390-64/configure: Likewise.
57612         * sysdeps/sh/configure: Likewise.
57613         * sysdeps/sparc/configure: Likewise.
57614         * sysdeps/unix/sysv/linux/configure: Likewise.
57615         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
57616         * sysdeps/x86_64/configure: Likewise.
57617         * sysdeps/x86_64/preconfigure: Likewise.
57619 2013-10-29  Andreas Schwab  <schwab@suse.de>
57621         * stdio-common/Makefile (tst-swscanf-ENV): Define.
57623 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57625         * benchtests/pow-inputs: Add new inputs.
57627         * benchtests/exp-inputs: Add new inputs.
57629         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
57630         conditional check for return value.
57631         (__cos32): Likewise.
57633 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57635         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
57636         to provide a boost for large inputs with word alignment.
57637         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
57638         implementation based on optimized PPC64 strcpy.
57639         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
57640         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
57641         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
57642         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
57644 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
57646         [BZ #2801]
57647         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
57649 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
57651         [BZ #14876]
57652         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
57653         * time/tst-strptime.c (day_tests): Add testcase.
57655 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
57657         [BZ #14029]
57658         * manual/pattern.texi: Acknowledge that fnmatch can fail.
57660 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
57662         [BZ #16074]
57663         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
57664         MAP_FAILED on error.
57666 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57668         [BZ #16072]
57669         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
57670         heap for large requests.
57672 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
57674         [BZ #9954]
57675         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
57676         result if the result has no associated interface.
57677         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
57678         interface for all 127.X.Y.Z addresses.
57680 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
57682         * locale/iso-639.def: Add Ligurian (lij)
57684 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
57686         [BZ #15825]
57687         * sunrpc/rpc_main.c: Document rpcgen -5.
57689 2013-10-19  Michael Stahl  <mstahl@redhat.com>
57691         * elf/rtld.c (do_preload): Print the reason why preloading failed.
57693 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
57695         [BZ #10278]
57696         * posix/glob.c: Match only directories when trailing slash is present.
57697         * posix/tst-gnuglob.c (my_opendir): Do not open files.
57698         (main): Add testcase.
57700 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
57702         [BZ #15670]
57703         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
57705 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
57707         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
57708         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
57709         AUTH_DES and cindex for FIPS 140-2.
57710         (DES Encryption): Add cindex FIPS 46-3.
57712         * locale/locarchive.h (struct locarhandle): Add fname.
57713         * locale/programs/localedef.c (main): Pass ARGV[remaining]
57714         if an optional argument was specified to --list-archive,
57715         otherwise NULL.
57716         * locale/programs/locarchive.c (show_archive_content): Take new
57717         argument fname and pass it via ah.fname to open_archive.
57718         * locale/programs/localedef.h: Update decl.
57719         (open_archive): If AH->fname is non-null, open that file
57720         rather than the default file name, and don't ignore ENOENT.
57721         (create_archive): Set AH.fname to NULL.
57722         (delete_locales_from_archive): Likewise.
57723         (add_locales_to_archive): Likewise.
57724         * locale/programs/locfile.c (write_all_categories): Likewise.
57726 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
57727             Aldy Hernandez  <aldyh@redhat.com>
57729         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
57730         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
57731         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
57732         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
57733         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
57734         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
57735         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
57736         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
57737         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
57738         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
57739         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
57740         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
57741         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
57742         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
57743         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
57744         Likewise.
57745         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
57746         Likewise.
57747         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
57748         Likewise.
57749         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
57750         Likewise.
57751         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
57752         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
57753         Likewise.
57754         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
57755         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
57756         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
57757         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
57758         Likewise.
57759         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
57760         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
57761         * sysdeps/powerpc/preconfigure: Likewise.
57762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
57763         Likewise.
57764         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
57765         Replace contents of file by #include of <fenv_libc.h>.
57766         * sysdeps/powerpc/soft-fp/sfp-machine.h
57767         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
57768         and <sys/prctl.h>.
57769         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
57770         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
57771         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
57772         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
57773         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
57774         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
57775         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
57776         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
57777         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
57778         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
57779         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
57780         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
57781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
57782         Allow copysignl PLT reference to be missing.
57784 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
57785             Joseph Myers  <joseph@codesourcery.com
57787         [BZ #15948]
57788         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
57789         single character.
57790         (add_to_tablewc): Assert sequence of wide characters is nonempty.
57792 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57794         * elf/tst-tls-dlinfo.c: Don't include tls.h.
57795         * elf/tst-tls1.c: Likewise.
57796         * elf/tst-tls10.h: Likewise.
57797         * elf/tst-tls14.c: Likewise.
57798         * elf/tst-tls2.c: Likewise.
57799         * elf/tst-tls3.c: Likewise.
57800         * elf/tst-tls4.c: Likewise.
57801         * elf/tst-tls5.c: Likewise.
57802         * elf/tst-tls6.c: Likewise.
57803         * elf/tst-tls7.c: Likewise.
57804         * elf/tst-tls8.c: Likewise.
57805         * elf/tst-tls9.c: Likewise.
57806         * elf/tst-tlsmod1.c: Likewise.
57807         * elf/tst-tlsmod13.c: Likewise.
57808         * elf/tst-tlsmod13a.c: Likewise.
57809         * elf/tst-tlsmod14a.c: Likewise.
57810         * elf/tst-tlsmod16a.c: Likewise.
57811         * elf/tst-tlsmod16b.c: Likewise.
57812         * elf/tst-tlsmod2.c: Likewise.
57813         * elf/tst-tlsmod3.c: Likewise.
57814         * elf/tst-tlsmod4.c: Likewise.
57815         * elf/tst-tlsmod5.c: Likewise.
57816         * elf/tst-tlsmod6.c: Likewise.
57818 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
57820         [BZ #12486]
57821         * malloc/malloc.c: remove checks for statistics.
57823 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
57825         [BZ #15277]
57826         * inet/inet_net.c (inet_network): Detect additional invalid strings.
57827         * inet/tst-network.c: Add testcase.
57829 2013-10-17  Andreas Schwab  <schwab@suse.de>
57831         [BZ #15218]
57832         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
57833         to determine canonical name.
57835 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
57837         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
57838         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
57839         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57840         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
57841         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57842         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
57843         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57844         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
57845         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
57846         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
57847         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
57848         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57849         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57850         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
57851         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
57852         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
57853         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57854         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57855         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
57856         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
57857         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57858         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57859         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
57860         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
57861         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
57862         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57863         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57864         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
57865         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57866         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
57867         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
57868         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57869         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
57870         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
57871         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
57872         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
57873         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57874         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
57875         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
57876         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57877         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
57878         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
57879         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
57880         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
57881         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
57882         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57883         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
57884         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
57885         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
57886         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
57887         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
57888         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
57889         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
57890         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
57891         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57892         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
57893         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57894         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
57896 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
57898         [BZ #16041]
57899         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
57900         make result into a quiet NaN.
57902 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
57904         * soft-fp/adddf3.c: Fix horizontal whitespace.
57905         * soft-fp/addsf3.c: Likewise.
57906         * soft-fp/addtf3.c: Likewise.
57907         * soft-fp/divdf3.c: Likewise.
57908         * soft-fp/divsf3.c: Likewise.
57909         * soft-fp/divtf3.c: Likewise.
57910         * soft-fp/double.h: Likewise.
57911         * soft-fp/eqdf2.c: Likewise.
57912         * soft-fp/eqsf2.c: Likewise.
57913         * soft-fp/eqtf2.c: Likewise.
57914         * soft-fp/extenddftf2.c: Likewise.
57915         * soft-fp/extended.h: Likewise.
57916         * soft-fp/extendsfdf2.c: Likewise.
57917         * soft-fp/extendsftf2.c: Likewise.
57918         * soft-fp/extendxftf2.c: Likewise.
57919         * soft-fp/fixdfdi.c: Likewise.
57920         * soft-fp/fixdfsi.c: Likewise.
57921         * soft-fp/fixdfti.c: Likewise.
57922         * soft-fp/fixsfdi.c: Likewise.
57923         * soft-fp/fixsfsi.c: Likewise.
57924         * soft-fp/fixsfti.c: Likewise.
57925         * soft-fp/fixtfdi.c: Likewise.
57926         * soft-fp/fixtfsi.c: Likewise.
57927         * soft-fp/fixtfti.c: Likewise.
57928         * soft-fp/fixunsdfdi.c: Likewise.
57929         * soft-fp/fixunsdfsi.c: Likewise.
57930         * soft-fp/fixunsdfti.c: Likewise.
57931         * soft-fp/fixunssfdi.c: Likewise.
57932         * soft-fp/fixunssfsi.c: Likewise.
57933         * soft-fp/fixunssfti.c: Likewise.
57934         * soft-fp/fixunstfdi.c: Likewise.
57935         * soft-fp/fixunstfsi.c: Likewise.
57936         * soft-fp/fixunstfti.c: Likewise.
57937         * soft-fp/floatdidf.c: Likewise.
57938         * soft-fp/floatdisf.c: Likewise.
57939         * soft-fp/floatditf.c: Likewise.
57940         * soft-fp/floatsidf.c: Likewise.
57941         * soft-fp/floatsisf.c: Likewise.
57942         * soft-fp/floatsitf.c: Likewise.
57943         * soft-fp/floattidf.c: Likewise.
57944         * soft-fp/floattisf.c: Likewise.
57945         * soft-fp/floattitf.c: Likewise.
57946         * soft-fp/floatundidf.c: Likewise.
57947         * soft-fp/floatundisf.c: Likewise.
57948         * soft-fp/floatunditf.c: Likewise.
57949         * soft-fp/floatunsidf.c: Likewise.
57950         * soft-fp/floatunsisf.c: Likewise.
57951         * soft-fp/floatunsitf.c: Likewise.
57952         * soft-fp/floatuntidf.c: Likewise.
57953         * soft-fp/floatuntisf.c: Likewise.
57954         * soft-fp/floatuntitf.c: Likewise.
57955         * soft-fp/fmadf4.c: Likewise.
57956         * soft-fp/fmasf4.c: Likewise.
57957         * soft-fp/fmatf4.c: Likewise.
57958         * soft-fp/gedf2.c: Likewise.
57959         * soft-fp/gesf2.c: Likewise.
57960         * soft-fp/getf2.c: Likewise.
57961         * soft-fp/ledf2.c: Likewise.
57962         * soft-fp/lesf2.c: Likewise.
57963         * soft-fp/letf2.c: Likewise.
57964         * soft-fp/muldf3.c: Likewise.
57965         * soft-fp/mulsf3.c: Likewise.
57966         * soft-fp/multf3.c: Likewise.
57967         * soft-fp/negdf2.c: Likewise.
57968         * soft-fp/negsf2.c: Likewise.
57969         * soft-fp/negtf2.c: Likewise.
57970         * soft-fp/op-1.h: Likewise.
57971         * soft-fp/op-2.h: Likewise.
57972         * soft-fp/op-4.h: Likewise.
57973         * soft-fp/op-8.h: Likewise.
57974         * soft-fp/op-common.h: Likewise.
57975         * soft-fp/quad.h: Likewise.
57976         * soft-fp/single.h: Likewise.
57977         * soft-fp/soft-fp.h: Likewise.
57978         * soft-fp/sqrtdf2.c: Likewise.
57979         * soft-fp/sqrtsf2.c: Likewise.
57980         * soft-fp/sqrttf2.c: Likewise.
57981         * soft-fp/subdf3.c: Likewise.
57982         * soft-fp/subsf3.c: Likewise.
57983         * soft-fp/subtf3.c: Likewise.
57984         * soft-fp/truncdfsf2.c: Likewise.
57985         * soft-fp/trunctfdf2.c: Likewise.
57986         * soft-fp/trunctfsf2.c: Likewise.
57987         * soft-fp/trunctfxf2.c: Likewise.
57988         * soft-fp/unorddf2.c: Likewise.
57989         * soft-fp/unordsf2.c: Likewise.
57990         * soft-fp/unordtf2.c: Likewise.
57992 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
57994         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
57995         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
57997 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
57999         * elf/dl-libc.c: Clear initfini list after freeing.
58001 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
58003         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
58004         * soft-fp/addsf3.c: Likewise.
58005         * soft-fp/addtf3.c: Likewise.
58006         * soft-fp/divdf3.c: Likewise.
58007         * soft-fp/divsf3.c: Likewise.
58008         * soft-fp/divtf3.c: Likewise.
58009         * soft-fp/double.h: Likewise.
58010         * soft-fp/eqdf2.c: Likewise.
58011         * soft-fp/eqsf2.c: Likewise.
58012         * soft-fp/eqtf2.c: Likewise.
58013         * soft-fp/extenddftf2.c: Likewise.
58014         * soft-fp/extended.h: Likewise.
58015         * soft-fp/extendsfdf2.c: Likewise.
58016         * soft-fp/extendsftf2.c: Likewise.
58017         * soft-fp/extendxftf2.c: Likewise.
58018         * soft-fp/fixdfdi.c: Likewise.
58019         * soft-fp/fixdfsi.c: Likewise.
58020         * soft-fp/fixdfti.c: Likewise.
58021         * soft-fp/fixsfdi.c: Likewise.
58022         * soft-fp/fixsfsi.c: Likewise.
58023         * soft-fp/fixsfti.c: Likewise.
58024         * soft-fp/fixtfdi.c: Likewise.
58025         * soft-fp/fixtfsi.c: Likewise.
58026         * soft-fp/fixtfti.c: Likewise.
58027         * soft-fp/fixunsdfdi.c: Likewise.
58028         * soft-fp/fixunsdfsi.c: Likewise.
58029         * soft-fp/fixunsdfti.c: Likewise.
58030         * soft-fp/fixunssfdi.c: Likewise.
58031         * soft-fp/fixunssfsi.c: Likewise.
58032         * soft-fp/fixunssfti.c: Likewise.
58033         * soft-fp/fixunstfdi.c: Likewise.
58034         * soft-fp/fixunstfsi.c: Likewise.
58035         * soft-fp/fixunstfti.c: Likewise.
58036         * soft-fp/floatdidf.c: Likewise.
58037         * soft-fp/floatdisf.c: Likewise.
58038         * soft-fp/floatditf.c: Likewise.
58039         * soft-fp/floatsidf.c: Likewise.
58040         * soft-fp/floatsisf.c: Likewise.
58041         * soft-fp/floatsitf.c: Likewise.
58042         * soft-fp/floattidf.c: Likewise.
58043         * soft-fp/floattisf.c: Likewise.
58044         * soft-fp/floattitf.c: Likewise.
58045         * soft-fp/floatundidf.c: Likewise.
58046         * soft-fp/floatundisf.c: Likewise.
58047         * soft-fp/floatunsidf.c: Likewise.
58048         * soft-fp/floatunsisf.c: Likewise.
58049         * soft-fp/floatuntidf.c: Likewise.
58050         * soft-fp/floatuntisf.c: Likewise.
58051         * soft-fp/floatuntitf.c: Likewise.
58052         * soft-fp/fmadf4.c: Likewise.
58053         * soft-fp/fmasf4.c: Likewise.
58054         * soft-fp/fmatf4.c: Likewise.
58055         * soft-fp/gedf2.c: Likewise.
58056         * soft-fp/gesf2.c: Likewise.
58057         * soft-fp/getf2.c: Likewise.
58058         * soft-fp/ledf2.c: Likewise.
58059         * soft-fp/lesf2.c: Likewise.
58060         * soft-fp/letf2.c: Likewise.
58061         * soft-fp/muldf3.c: Likewise.
58062         * soft-fp/mulsf3.c: Likewise.
58063         * soft-fp/multf3.c: Likewise.
58064         * soft-fp/negdf2.c: Likewise.
58065         * soft-fp/negsf2.c: Likewise.
58066         * soft-fp/negtf2.c: Likewise.
58067         * soft-fp/op-1.h: Likewise.
58068         * soft-fp/op-2.h: Likewise.
58069         * soft-fp/op-4.h: Likewise.
58070         * soft-fp/op-8.h: Likewise.
58071         * soft-fp/op-common.h: Likewise.
58072         * soft-fp/quad.h: Likewise.
58073         * soft-fp/single.h: Likewise.
58074         * soft-fp/soft-fp.h: Likewise.
58075         * soft-fp/sqrtdf2.c: Likewise.
58076         * soft-fp/sqrtsf2.c: Likewise.
58077         * soft-fp/sqrttf2.c: Likewise.
58078         * soft-fp/subdf3.c: Likewise.
58079         * soft-fp/subsf3.c: Likewise.
58080         * soft-fp/subtf3.c: Likewise.
58081         * soft-fp/truncdfsf2.c: Likewise.
58082         * soft-fp/trunctfdf2.c: Likewise.
58083         * soft-fp/trunctfsf2.c: Likewise.
58084         * soft-fp/trunctfxf2.c: Likewise.
58085         * soft-fp/unorddf2.c: Likewise.
58086         * soft-fp/unordsf2.c: Likewise.
58087         * soft-fp/unordtf2.c: Likewise.
58089 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
58091         [BZ #15672]
58092         * misc/error.c (error_tail): Fix possible buffer overflow.
58094 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
58096         [BZ #13028]
58097         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
58098         address.
58100 2013-10-14  P. J. McDermott  <pj@pehjota.net>
58102         [BZ #832]
58103         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
58104         testing pipefail option.
58106 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
58108         * soft-fp/double.h: Indent preprocessor directives inside #if.
58109         * soft-fp/extended.h: Likewise.
58110         * soft-fp/op-2.h: Likewise.
58111         * soft-fp/op-4.h: Likewise.
58112         * soft-fp/op-common.h: Likewise.
58113         * soft-fp/quad.h: Likewise.
58114         * soft-fp/single.h: Likewise.
58115         * soft-fp/soft-fp.h: Likewise.
58117 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
58119         * iconv/iconv_prog.c: Fix typos.
58120         * stdio-common/psiginfo-data.h: Likewise.
58122 2013-10-12   Reuben Thomas <rrt@sc3d.org>
58124         [BZ #15764]
58125         * locale/setlocale.c: Fix typo.
58127 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
58129         [BZ #16036]
58130         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
58131         signaling NaN arguments.
58132         * soft-fp/unordsf2.c (__unordsf2): Likewise.
58133         * soft-fp/unordtf2.c (__unordtf2): Likewise.
58135         [BZ #14910]
58136         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
58137         unordered operands.
58138         * soft-fp/gesf2.c (__gesf2): Likewise.
58139         * soft-fp/getf2.c (__getf2): Likewise.
58140         * soft-fp/ledf2.c (__ledf2): Likewise.
58141         * soft-fp/lesf2.c (__lesf2): Likewise.
58142         * soft-fp/letf2.c (__letf2): Likewise.
58144         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
58145         * soft-fp/eqsf2.c (__eqsf2): Likewise.
58146         * soft-fp/eqtf2.c (__eqtf2): Likewise.
58147         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
58148         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
58149         * soft-fp/fixdfti.c (__fixdfti): Likewise.
58150         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
58151         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
58152         * soft-fp/fixsfti.c (__fixsfti): Likewise.
58153         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
58154         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
58155         * soft-fp/fixtfti.c (__fixtfti): Likewise.
58156         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
58157         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
58158         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
58159         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
58160         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
58161         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
58162         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
58163         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
58164         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
58165         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
58166         * soft-fp/floatdisf.c (__floatdisf): Likewise.
58167         * soft-fp/floatsisf.c (__floatsisf): Likewise.
58168         * soft-fp/floattidf.c (__floattidf): Likewise.
58169         * soft-fp/floattisf.c (__floattisf): Likewise.
58170         * soft-fp/floattitf.c (__floattitf): Likewise.
58171         * soft-fp/floatundidf.c (__floatundidf): Likewise.
58172         * soft-fp/floatundisf.c (__floatundisf): Likewise.
58173         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
58174         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
58175         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
58176         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
58177         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
58178         * soft-fp/gesf2.c (__gesf2): Likewise.
58179         * soft-fp/getf2.c (__getf2): Likewise.
58180         * soft-fp/ledf2.c (__ledf2): Likewise.
58181         * soft-fp/lesf2.c (__lesf2): Likewise.
58182         * soft-fp/letf2.c (__letf2): Likewise.
58184         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
58185         Undefine and redefine.
58186         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
58187         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
58188         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
58189         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
58190         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58191         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
58192         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58193         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
58194         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58195         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
58196         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58197         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
58198         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58199         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
58200         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58202         [BZ #16032]
58203         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
58204         without decrementing exponent if mantissa >= that for the
58205         denominator, not >.
58206         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
58207         denominator, not >.  Decrement exponent in < case instead of
58208         incrementing in >= case.
58209         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
58210         without decrementing exponent if mantissa >= that for the
58211         denominator, not >.
58213         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
58214         computing saturated result for unsigned overflow.
58216 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58217             Jeff Law  <law@redhat.com>
58219         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
58220         (atan2Mp): Add systemtap probe marker.
58221         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
58222         (__ieee754_log): Add systemtap probe marker.
58223         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
58224         (atanMp): Add systemtap probe marker.
58225         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
58226         (tanMp): Add systemtap probe marker.
58227         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
58228         (__slowexp): Add systemtap probe marker.
58229         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
58230         (__slowpow): Add systemtap probe marker.
58231         * manual/probes.texi: Document probes.
58233 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
58235         [BZ #15362]
58236         * libio/fileops.c (_IO_new_file_write): Return count of bytes
58237         written.
58238         (_IO_new_file_xsputn): Don't return EOF if nothing has been
58239         written.
58240         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
58241         written to buffer but not flushed.
58242         * libio/iofwrite_u.c:  Likewise.
58243         * libio/iopadn.c:  Return bytes returned even if EOF was
58244         encountered.
58245         * libio/iowpadn.c:  Likewise.
58246         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
58247         if _IO_padn does not write the whole buffer.
58248         [!COMPILE_WPRINTF] (PAD): Likewise.
58250 2013-10-10  David S. Miller  <davem@davemloft.net>
58252         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
58253         directory block.
58255 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
58257         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
58258         instead of FSF address.
58259         * soft-fp/fixdfti.c: Likewise.
58260         * soft-fp/fixsfti.c: Likewise.
58261         * soft-fp/fixtfti.c: Likewise.
58262         * soft-fp/fixunsdfti.c: Likewise.
58263         * soft-fp/fixunssfti.c: Likewise.
58264         * soft-fp/fixunstfti.c: Likewise.
58265         * soft-fp/floattidf.c: Likewise.
58266         * soft-fp/floattisf.c: Likewise.
58267         * soft-fp/floattitf.c: Likewise.
58268         * soft-fp/floatuntidf.c: Likewise.
58269         * soft-fp/floatuntisf.c: Likewise.
58270         * soft-fp/floatuntitf.c: Likewise.
58271         * soft-fp/trunctfxf2.c: Likewise.
58273         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
58274         * soft-fp/fixdfti.c: Likewise.
58275         * soft-fp/fixsfti.c: Likewise.
58276         * soft-fp/fixtfti.c: Likewise.
58277         * soft-fp/fixunsdfti.c: Likewise.
58278         * soft-fp/fixunssfti.c: Likewise.
58279         * soft-fp/fixunstfti.c: Likewise.
58280         * soft-fp/floattidf.c: Likewise.
58281         * soft-fp/floattisf.c: Likewise.
58282         * soft-fp/floattitf.c: Likewise.
58283         * soft-fp/floatuntidf.c: Likewise.
58284         * soft-fp/floatuntisf.c: Likewise.
58285         * soft-fp/floatuntitf.c: Likewise.
58286         * soft-fp/trunctfxf2.c: Likewise.
58288 2013-10-10  David S. Miller  <davem@davemloft.net>
58290         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58292 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
58294         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
58295         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
58296         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
58297         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
58298         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
58299         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
58300         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
58302         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
58303         for NaNs before doing comparisons on argument.
58304         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
58305         Likewise.
58307 2013-10-10  Will Newton  <will.newton@linaro.org>
58309         * malloc/hooks.c (memalign_check): Ensure the value of bytes
58310         passed to _int_memalign does not overflow.
58312 2013-10-10  Torvald Riegel  <triegel@redhat.com>
58314         * scripts/bench.pl: Add include-sources directive.
58315         * benchtests/README: Update documentation.
58317 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
58319         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
58320         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
58321         instead of FP_INIT_ROUNDMODE.
58322         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
58323         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
58325         [BZ #16034]
58326         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
58327         copy class of input value.
58328         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
58329         not handle exceptions.
58330         * soft-fp/negsf2.c (__negsf2): Likewise.
58331         * soft-fp/negtf2.c (__negtf2): Likewise.
58332         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
58334 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
58336         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
58337         semicolon.  From Linux kernel.
58339 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
58341         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
58343 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
58345         [BZ #156]
58346         * manual/socket.texi: Added statement about buffer
58347         for gethostbyname2_r.
58349 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
58351         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
58352         Use .p2align directive instead, throughout.
58353         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
58354         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
58355         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
58356         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
58357         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
58358         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
58359         * sysdeps/x86_64/strchr.S: Likewise.
58360         * sysdeps/x86_64/strrchr.S: Likewise.
58362 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
58364         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
58366         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
58368         * sysdeps/generic/math_private.h (__mpsin1): Remove
58369         declaration.
58370         (__mpcos1): Likewise.
58371         (__mpsin): New argument __range_reduce.
58372         (__mpcos): Likewise.
58373         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58374         (slow): Use __mpsin and __mpcos.
58375         (slow1): Likewise.
58376         (slow2): Likewise.
58377         (sloww): Likewise.
58378         (sloww1): Likewise.
58379         (sloww2): Likewise.
58380         (bsloww): Likewise.
58381         (bsloww1): Likewise.
58382         (bsloww2): Likewise.
58383         (cslow2): Likewise.
58384         (csloww): Likewise.
58385         (csloww1): Likewise.
58386         (csloww2): Likewise.
58387         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
58388         range_reduce.  Merge in __mpsin1.
58389         (__mpcos): Likewise.
58390         (__mpsin1): Remove.
58391         (__mpcos1): Likewise.
58393 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
58395         * locale/loadlocale.c (_nl_intern_locale_data): Use
58396         LOCFILE_ALIGNED_P.
58397         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
58398         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
58399         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
58400         obstack data is appropriately aligned.
58401         (obstack_int32_grow_fast): Likewise.
58402         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
58403         * locale/programs/locfile.c (add_locale_uint32): Likewise.
58404         (add_locale_uint32_array): Likewise.
58406 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
58408         * benchtests/Makefile: Remove ARGLIST and RET variables.
58409         ($(objpfx)bench-%.c): Pass only function name to the script.
58410         * benchtests/README: Update documentation.
58411         * benchtests/acos-inputs: Add new directives.
58412         * benchtests/acosh-inputs: Likewise.
58413         * benchtests/asin-inputs: Likewise.
58414         * benchtests/asinh-inputs: Likewise.
58415         * benchtests/atan-inputs: Likewise.
58416         * benchtests/atanh-inputs: Likewise.
58417         * benchtests/cos-inputs: Likewise.
58418         * benchtests/cosh-inputs: Likewise.
58419         * benchtests/exp-inputs: Likewise.
58420         * benchtests/log-inputs: Likewise.
58421         * benchtests/pow-inputs: Likewise.
58422         * benchtests/rint-inputs: Likewise.
58423         * benchtests/sin-inputs: Likewise.
58424         * benchtests/sinh-inputs: Likewise.
58425         * benchtests/tan-inputs: Likewise.
58426         * benchtests/tanh-inputs: Likewise.
58427         * scripts/bench.pl: Add support for new directives.
58429 2013-10-07  Alan Modra  <amodra@gmail.com>
58431         * README: Fix careless merge.
58433 2013-10-05  Alan Modra  <amodra@gmail.com>
58435         * NEWS: Mention powerpc64le support and bugs fixed.
58436         * README: Both big-endian and little-endian powerpc64 supported.
58438 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58440         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
58441         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
58442         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
58443         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
58445 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
58447         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
58448         match prototype.
58450 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
58452         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
58453         Move -mhard-float appending from
58454         ports/sysdeps/powerpc/powerpc32/Makefile.
58455         [$(with-fp) = yes] (ASFLAGS): Likewise.
58456         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
58457         * sysdeps/powerpc/nofpu: Move directory from
58458         ports/sysdeps/powerpc/nofpu.
58459         * sysdeps/powerpc/soft-fp: Move directory from
58460         ports/sysdeps/powerpc/soft-fp.
58461         * sysdeps/powerpc/powerpc32/405: Move directory from
58462         ports/sysdeps/powerpc/powerpc32/405.
58463         * sysdeps/powerpc/powerpc32/440: Move directory from
58464         ports/sysdeps/powerpc/powerpc32/440.
58465         * sysdeps/powerpc/powerpc32/464: Move directory from
58466         ports/sysdeps/powerpc/powerpc32/464.
58467         * sysdeps/powerpc/powerpc32/476: Move directory from
58468         ports/sysdeps/powerpc/powerpc32/476.
58469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
58470         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
58471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
58472         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
58473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
58474         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
58475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
58476         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
58477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
58478         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
58479         * README: Update for powerpc-*-linux-gnu software floating point
58480         support in libc.
58482         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
58483         case to powerpc/powerpc32*.
58484         * sysdeps/unix/sysv/linux/configure: Regenerated.
58486         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
58487         (_FPU_MASK_OM): Define as 0x04.
58488         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
58489         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
58490         0x00c10080.
58491         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
58492         0x0000003c.
58493         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
58495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
58496         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
58497         getcontext_e500.
58498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
58499         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
58500         setcontext_e500.
58501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
58502         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
58503         and setcontext_e500.
58505 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
58507         * locale/iso-3166.def: Update iso-1366.def and related occurrences
58509 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58511         * manual/threads.texi (Default Thread Attributes): Fix typo.
58513 2013-10-04  Will Newton  <will.newton@linaro.org>
58515         * malloc/Makefile: Add tst-memalign.
58516         * malloc/tst-memalign.c: New file.
58518         * malloc/tst-posix_memalign.c: Add comments.
58519         (do_test): Add comments and call free on all potentially
58520         allocated pointers. Add space after cast.
58522         * malloc/tst-pvalloc.c: Add comments.
58523         (do_test): Add comments and call free on all potentially
58524         allocated pointers. Remove duplicate check for NULL pointer.
58525         Add space after cast.
58527         * malloc/tst-valloc.c: Add comments.
58528         (do_test): Add comments and call free on all potentially
58529         allocated pointers. Remove duplicate check for NULL pointer.
58530         Add space after cast.
58532 2013-10-04  Alan Modra  <amodra@gmail.com>
58534         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
58535         Use stdint types in rather than __attribute__((mode())).
58536         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
58538 2013-10-04  Alan Modra  <amodra@gmail.com>
58540         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
58541         Correct handling of unaligned relocs for little-endian.
58542         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
58544 2013-10-04  Alan Modra  <amodra@gmail.com>
58546         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
58547         * configure: Regenerate.
58548         * nptl/shlib-versions: Powerpc*le starts at 2.18.
58549         * shlib-versions: Likewise.
58551 2013-10-04  Alan Modra  <amodra@gmail.com>
58553         * string/tester.c (test_memrchr): Increment reported test cycle.
58555 2013-10-04  Alan Modra  <amodra@gmail.com>
58557         * string/test-memcpy.c (do_one_test): When reporting errors, print
58558         string address and don't overrun end of string.
58560 2013-10-04  Alan Modra  <amodra@gmail.com>
58562         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
58563         insrdi.  Make better use of reg selection to speed exit slightly.
58564         Schedule entry path a little better.  Remove useless "are we done"
58565         checks on entry to main loop.  Handle wrapping around zero address.
58566         Correct main loop count.  Handle single left-over word from main
58567         loop inline rather than by using loop_small.  Remove extra word
58568         case in loop_small caused by wrong loop count.  Add little-endian
58569         support.
58570         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
58571         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
58572         cache hint.
58573         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
58574         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
58575         support.  Avoid rlwimi.
58576         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
58578 2013-10-04  Alan Modra  <amodra@gmail.com>
58580         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
58581         insrdi.  Formatting.
58582         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
58583         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
58584         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
58585         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
58586         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
58587         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
58589 2013-10-04  Alan Modra  <amodra@gmail.com>
58591         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
58592         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
58593         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
58594         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
58595         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
58596         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
58597         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
58598         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
58599         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
58600         use of regs.  Use power7 mtocrf.  Tidy function tails.
58602 2013-10-04  Alan Modra  <amodra@gmail.com>
58604         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
58605         Formatting.  Consistently use rXXX register defines or rN defines.
58606         Use early exit labels that avoid restoring unused non-volatile regs.
58607         Make cr field use more consistent with rWORDn compares.  Rename
58608         regs used as shift registers for unaligned loop, using rN defines
58609         for short lifetime/multiple use regs.
58610         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
58611         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
58612         addi 1,1,64 to pop stack frame.  Simplify return value code.
58613         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
58615 2013-10-04  Alan Modra  <amodra@gmail.com>
58617         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
58618         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
58619         rather than rlwimi.
58620         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
58621         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
58622         little-endian support.  Correct typos.
58623         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
58624         rather than rlwimi.
58625         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
58626         in loop and entry code to keep "and." results.
58627         (strchr): Add little-endian support.  Comment.  Move cntlzd
58628         earlier in tail.
58629         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
58631 2013-10-04  Alan Modra  <amodra@gmail.com>
58633         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
58634         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
58635         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
58636         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
58638 2013-10-04  Alan Modra  <amodra@gmail.com>
58640         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
58641         (rTMP): Define as r11.
58642         (strcmp): Add little-endian support.  Optimise tail.
58643         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
58644         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
58645         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
58646         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
58647         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
58648         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58649         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
58651 2013-10-04  Alan Modra  <amodra@gmail.com>
58653         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
58654         little-endian support.  Remove unnecessary "are we done" tests.
58655         Handle "s" wrapping around zero and extremely large "size".
58656         Correct main loop count.  Handle single left-over word from main
58657         loop inline rather than by using small_loop.  Correct comments.
58658         Delete "zero" tail, use "end_max" instead.
58659         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
58661 2013-10-04  Alan Modra  <amodra@gmail.com>
58663         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
58664         support.  Don't branch over align.
58665         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
58666         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
58667         support.  Rearrange tmp reg use to suit.  Comment.
58668         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
58670 2013-10-04  Alan Modra  <amodra@gmail.com>
58672         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
58674 2013-10-04  Alan Modra  <amodra@gmail.com>
58676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
58677         conditional form of branch and link when obtaining pc.
58678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
58680 2013-10-04  Alan Modra  <amodra@gmail.com>
58682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
58683         HIWORD/LOWORD.
58684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
58685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
58687 2013-10-04  Alan Modra  <amodra@gmail.com>
58689         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
58690         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
58691         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
58692         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
58693         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
58694         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
58695         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
58696         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
58697         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
58698         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
58700 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
58701             Alistair Popple <alistair@ozlabs.au.ibm.com>
58702             Alan Modra <amodra@gmail.com>
58704         [BZ #15723]
58705         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
58706         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
58707         _dl_hwcap access for little-endian.
58708         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
58709         destroy vmx regs when saving unaligned.
58710         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
58711         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
58712         destroy vmx regs when saving unaligned.
58714 2013-10-04  Alan Modra  <amodra@gmail.com>
58716         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
58717         Don't use a union to pack hi/low value.
58719 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
58721         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
58722         for little-endian.
58723         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
58724         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
58725         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
58726         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
58727         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
58729 2013-10-04  Alan Modra  <amodra@gmail.com>
58731         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
58732         constants to usual value for .cst8 section, and remove redundant
58733         high address load.
58734         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
58735         constant for 0x1p52.  Load little-endian words of double from
58736         correct stack offsets.
58738 2013-10-04  Alan Modra  <amodra@gmail.com>
58740         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
58741         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
58742         words of double from correct stack offsets.
58743         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
58744         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
58745         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
58746         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
58747         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
58748         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
58749         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
58750         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
58751         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
58752         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
58753         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
58754         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
58755         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
58756         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
58757         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
58758         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
58759         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
58761 2013-10-04  Alan Modra  <amodra@gmail.com>
58763         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
58764         64-bit int/double union.
58765         (_FPU_SETCW): Likewise.
58766         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
58767         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
58769 2013-10-04  Alan Modra  <amodra@gmail.com>
58771         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
58772         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
58774 2013-10-04  Alan Modra  <amodra@gmail.com>
58776         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
58777         use vector int constants.
58778         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
58780 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
58782         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
58783         array with long long.
58784         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
58785         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
58786         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
58787         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
58788         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
58789         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
58790         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
58791         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
58792         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
58793         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
58794         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
58795         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
58796         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
58798 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
58800         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
58801         (__signbit): Likewise.  Correct for little-endian.
58802         (__signbitl): Call __signbit.
58803         (lrint): Correct for little-endian.
58804         (lrintf): Call lrint.
58806 2013-10-04  Alan Modra  <amodra@gmail.com>
58808         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
58809         union 32-bit int array member with 64-bit int array.
58810         (t515, tm256): Double rather than long double.
58811         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
58813 2013-10-04  Alan Modra  <amodra@gmail.com>
58815         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
58816         Delete.
58817         (IEEE854_LONG_DOUBLE_BIAS): Delete.
58818         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
58819         version of math_ldbl.h.
58821 2013-10-04  Alan Modra  <amodra@gmail.com>
58823         [BZ #15734], [BZ #15735]
58824         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
58825         all uses of ieee875 long double macros and unions.  Simplify test
58826         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
58827         ldbl_extract_mantissa value for ix,iy exponents.  Properly
58828         normalize after ldbl_extract_mantissa, and don't add hidden bit
58829         already handled.  Don't treat low word of ieee854 mantissa like
58830         low word of IBM long double and mask off bit when testing for
58831         zero.
58832         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
58833         all uses of ieee875 long double macros and unions.  Simplify tests
58834         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
58835         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
58836         two1022, instead use their values.  Recognise that tests for large
58837         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
58838         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
58839         Rewrite all uses of ieee875 long double macros and unions.  Simplify
58840         test for 0.0L and nan.  Correct negation.
58841         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
58842         ieee875 long double macros and unions.  Correct output for large
58843         magnitude x.  Correct absolute value calculation.
58844         (__erfcl): Likewise.
58845         * math/libm-test.inc: Add tests for errors discovered in IBM long
58846         double versions of fmodl, remainderl, erfl and erfcl.
58848 2013-10-04  Alan Modra  <amodra@gmail.com>
58850         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
58851         all uses of ieee854 long double macros and unions.  Simplify tests
58852         for long doubles that are fully specified by the high double.
58853         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
58854         Likewise.
58855         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
58856         Remove dead code too.
58857         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
58858         (__ieee754_ynl): Likewise.
58859         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
58860         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
58861         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
58862         Remove dead code too.
58863         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
58864         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
58865         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
58866         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
58867         Simplify.
58868         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
58869         Simplify.
58870         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
58871         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
58872         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
58873         Comment on variable precision.
58874         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
58875         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
58876         Likewise.
58877         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
58878         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
58879         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
58880         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
58881         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
58883 2013-10-04  Alan Modra  <amodra@gmail.com>
58885         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
58886         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
58887         all uses of ieee854 long double macros and unions.
58888         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
58889         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
58890         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
58891         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
58892         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
58893         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
58894         Likewise.
58895         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
58896         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
58897         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
58898         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
58899         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
58900         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
58901         Simplify sign and nan test too.
58902         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
58903         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
58904         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
58905         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
58906         Likewise.
58907         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
58908         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
58909         Likewise.
58910         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
58911         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
58912         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
58913         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
58914         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
58915         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
58917 2013-10-04  Alan Modra  <amodra@gmail.com>
58919         * stdio-common/printf_size.c (__printf_size): Don't use
58920         union ieee854_long_double in fpnum union.
58921         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
58922         signbit macro to retrieve sign from long double.
58923         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
58924         retrieve sign from long double.
58925         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
58926         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
58927         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
58928         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
58929         * math/test-misc.c (main): Don't use union ieee854_long_double.
58931 2013-10-04  Alan Modra  <amodra@gmail.com>
58933         [BZ #15680]
58934         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
58935         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
58936         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
58937         calculation.  Remove unnecessary test for denormal exponent.
58938         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
58939         Correct handling of denormals.  Avoid undefined shift behaviour.
58940         Correct normalisation of low mantissa when low double is denormal.
58941         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
58942         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
58943         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
58944         Correct normalisation of low mantissa.  Test for overflow of high
58945         mantissa and normalise.
58946         (ldbl_nearbyint): Use more readable constant for two52.
58947         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
58948         (__mpn_construct_long_double): Fix test for overflow of high
58949         mantissa and correct normalisation.  Avoid undefined shift.
58951 2013-10-04  Alan Modra  <amodra@gmail.com>
58953         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
58954         (union ibm_extended_long_double): Define as an array of ieee754_double.
58955         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
58956         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
58957         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
58958         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
58959         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58960         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
58961         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
58962         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
58963         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
58964         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
58965         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
58967 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
58969         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
58970         page size instead of calling getpagesize.
58972         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
58973         (LOCFILE_ALIGN_MASK): Likewise.
58974         (LOCFILE_ALIGN_UP): Likewise.
58975         (LOCFILE_ALIGNED_P): Likewise.
58976         * locale/programs/ld-collate.c (collate_output): Use the new
58977         macros instead of __alignof__ (int32_t).
58978         * locale/weight.h (findidx): Likewise.
58980 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
58982         [BZ #431]
58983         * manual/string.texi: Fix strncat and wcsncat.
58985 2013-10-03  Brooks Moses  <bmoses@google.com>
58987         [BZ #15915]
58988         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
58989         * Makerules: ...here, and adjust associated comments.
58991 2013-10-02  Will Newton  <will.newton@linaro.org>
58993         * malloc/Makefile: Add tst-pvalloc.
58994         * malloc/tst-pvalloc.c: New file.
58996 2013-10-02  Will Newton  <will.newton@linaro.org>
58998         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
58999         improve test coverage.
59001 2013-10-02  Will Newton  <will.newton@linaro.org>
59003         * malloc/Makefile: Add tst-posix_memalign.
59004         * malloc/tst-posix_memalign.c: New file.
59006 2013-10-01  Eric Blake  <eblake@redhat.com>
59008         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
59009         Use __THROWNL rather than __THROW on static functions.
59011 2013-09-30  Petr Machata  <pmachata@redhat.com>
59013         * elf/elf.h (R_AARCH64_ABS16): New macro.
59014         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
59015         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
59016         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
59017         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
59018         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
59019         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
59020         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
59021         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
59022         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
59023         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
59024         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
59025         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
59026         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
59027         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
59028         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
59029         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
59030         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
59031         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
59032         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
59033         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
59034         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
59035         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
59036         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
59037         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
59038         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
59039         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
59040         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
59041         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
59042         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
59043         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
59044         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
59045         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
59046         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
59047         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
59048         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
59049         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
59050         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
59051         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
59052         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
59053         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
59054         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
59055         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
59056         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
59057         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
59058         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
59059         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
59060         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
59061         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
59062         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
59063         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
59064         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
59065         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
59066         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
59067         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
59068         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
59069         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
59070         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
59071         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
59072         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
59073         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
59074         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
59075         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
59076         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
59077         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
59078         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
59079         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
59080         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
59081         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
59082         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
59083         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
59084         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
59085         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
59086         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
59087         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
59088         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
59089         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
59090         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
59091         (R_AARCH64_TLSDESC_LDR): Likewise.
59092         (R_AARCH64_TLSDESC_ADD): Likewise.
59093         (R_AARCH64_TLSDESC_CALL): Likewise.
59095 2013-09-30  Andreas Schwab  <schwab@suse.de>
59097         [BZ #15048]
59098         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
59099         the nss database lookup.
59100         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59101         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
59103 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
59105         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
59107 2013-09-28  P. J. McDermott  <pj@pehjota.net>
59109         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
59110         ${Bash-specific parameter/pattern/string} parameter expansion.
59111         * sysdeps/unix/make-syscalls.sh: Likewise.
59113 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59115         * sysdeps/sh/stackguard-macros.h: New file.
59117 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
59119         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
59120         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
59121         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
59122         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
59123         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59124         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
59126 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59128         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
59129         Fix thread ID register.
59131 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
59133         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
59134         [POSIX || UNIX98]: Require rather than permitting all symbols from
59135         <time.h>.
59136         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
59137         element of struct sched_param.
59138         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
59139         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
59140         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
59141         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
59142         constant.
59144 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
59146         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
59147         argument calculation.
59149 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
59151         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
59152         Expect macro.
59153         [POSIX] (pthread_attr_t): Do not require type.
59154         [POSIX] (pthread_cond_t): Likewise.
59155         [POSIX] (pthread_condattr_t): Likewise.
59156         [POSIX] (pthread_key_t): Likewise.
59157         [POSIX] (pthread_mutex_t): Likewise.
59158         [POSIX] (pthread_mutexattr_t): Likewise.
59159         [POSIX] (pthread_once_t): Likewise.
59160         [POSIX] (pthread_t): Likewise.
59161         [POSIX-based standards] (pthread_atfork): Expect function.
59163 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
59164             Richard Sandiford  <richard@codesourcery.com>
59166         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
59167         (swap_endianness_p): New extern variable.
59168         (set_big_endian): New inline function.
59169         (maybe_swap_uint32): Likewise.
59170         (maybe_swap_uint32_array): Likewise.
59171         (maybe_swap_uint32_obstack): Likewise.
59172         * locale/programs/locfile.c: Include <stdbool.h>.
59173         (swap_endianness_p): New variable.
59174         (add_locale_uint32): Call maybe_swap_uint32.
59175         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
59176         (write_locale_data): Call maybe_swap_uint32_array.
59177         * locale/programs/ld-collate.c (obstack_int32_grow): Call
59178         maybe_swap_uint32.
59179         (obstack_int32_grow_fast): Likewise.
59180         (output_weightwc): Call maybe_swap_uint32_obstack.
59181         (collate_output): Likewise.
59182         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
59183         (OPT_LITTLE_ENDIAN): Likewise.
59184         (options): Add --little-endian and --big-endian options.
59185         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
59186         * locale/programs/locarchive.c: Include "locfile.h".
59187         (GET): New macro.
59188         (SET): Likewise.
59189         (INC): Likewise.
59190         (create_archive): Use the new macros to access fields of
59191         structures directly mapped from or written to locale archives.
59192         (oldlocrecentcmp): Likewise.
59193         (enlarge_archive): Likewise.
59194         (insert_name): Likewise.
59195         (add_alias): Likewise.
59196         (add_locale): Likewise.
59197         (delete_locales_from_archive): Likewise.
59198         (show_archive_content): Likewise.
59199         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
59200         locale data.
59202 2013-09-24  Roland McGrath  <roland@hack.frob.com>
59204         * manual/freemanuals.texi: Updated from (newly) canonical copy at
59205         http://www.gnu.org/doc/freemanuals.texi.
59206         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
59208 2013-09-24  Will Newton  <will.newton@linaro.org>
59210         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
59211         macro.
59213 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
59215         * locale/hashval.h (compute_hashval): Interpret bytes of key as
59216         unsigned char.
59218 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
59220         * manual/threads.texi (POSIX Threads): Fix a typo.
59222 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
59224         [BZ #14547]
59225         * string/tst-strcoll-overflow.c: New test case.
59226         * string/Makefile (xtests): Add tst-strcoll-overflow.
59227         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
59228         cache if string sizes may cause integer overflow.
59230         [BZ #14547]
59231         * string/strcoll_l.c (coll_seq): New members rule, idx,
59232         save_idx and back_us.
59233         (get_next_seq_nocache): New function.
59234         (do_compare_nocache): New function.
59235         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
59236         when malloc fails.
59238 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
59240         [BZ #15754]
59241         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
59242         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
59243         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
59245         [BZ #15754]
59246         * elf/Makefile (tests): Add tst-ptrguard1.
59247         (tests-static): Add tst-ptrguard1-static.
59248         (tst-ptrguard1-ARGS): Define.
59249         (tst-ptrguard1-static-ARGS): Define.
59250         * elf/tst-ptrguard1.c: New file.
59251         * elf/tst-ptrguard1-static.c: New file.
59252         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
59253         * sysdeps/i386/stackguard-macros.h: Likewise.
59254         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
59255         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
59256         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
59257         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
59258         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
59259         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
59261 2013-09-23  Hector Marco  <hecmargi@upv.es>
59262             Ismael Ripoll  <iripoll@disca.upv.es>
59263             Carlos O'Donell  <carlos@redhat.com>
59265         [BZ #15754]
59266         * sysdeps/generic/stackguard-macros.h: Define
59267         __pointer_chk_guard_local and POINTER_CHK_GUARD.
59268         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
59269         Define __pointer_chk_guard_local.
59270         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
59271         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
59273 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
59275         [BZ #15859]
59276         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
59278 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
59280         * include/string.h (__ffs): Declare as hidden.
59281         * string/ffs.c (__ffs): Define as hidden.
59282         * sysdeps/i386/ffs.c (__ffs): Likewise.
59283         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
59284         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
59285         * sysdeps/s390/ffs.c (__ffs): Likewise.
59286         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
59288 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
59290         * NEWS: Mention malloc probes.
59292         * malloc/arena.c (new_heap): New memory_heap_new probe.
59293         (grow_heap): New memory_heap_more probe.
59294         (shrink_heap): New memory_heap_less probe.
59295         (heap_trim): New memory_heap_free probe.
59296         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
59297         (systrim): New memory_sbrk_less probe.
59298         * manual/probes.texi: Document them.
59300         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
59301         * manual/probes.texi: Document it.
59303         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
59304         (__libc_realloc): Add memory_realloc_retry probe.
59305         (__libc_memalign): Add memory_memalign_retry probe.
59306         (__libc_valloc): Add memory_valloc_retry probe.
59307         (__libc_pvalloc): Add memory_pvalloc_retry probe.
59308         (__libc_calloc): Add memory_calloc_retry probe.
59309         * manual/probes.texi: Document them.
59311         * malloc/arena.c (get_free_list): Add probe
59312         memory_arena_reuse_free_list.
59313         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
59314         and memory_arena_reuse.
59315         (arena_get2) [!PER_THREAD]: Likewise.
59316         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
59317         memory_arena_reuse_realloc.
59318         * manual/probes.texi: Document them.
59320         * malloc/malloc.c (__libc_free): Add
59321         memory_mallopt_free_dyn_thresholds probe.
59322         (__libc_mallopt): Add multiple memory_mallopt probes.
59323         * manual/probes.texi: Document them.
59325         * malloc/malloc.c: Include stap-probe.h.
59326         (__libc_mallopt): Add memory_mallopt probe.
59327         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
59328         * manual/probes.texi: New.
59329         * manual/Makefile (chapters): Add probes.
59330         * manual/threads.texi: Set next node.
59332 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
59334         [BZ #15963, #13985]
59335         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
59336         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
59337         Add `Chinese' to `nan' entry name.
59339 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
59341         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
59342         (POLYNOMIAL): Likewise.
59343         (TAYLOR_SINCOS): Likewise.
59344         (TAYLOR_SLOW): Likewise.
59345         (__sin): Use TAYLOR_SINCOS.
59346         (__cos): Likewise.
59347         (slow): Use TAYLOR_SLOW.
59348         (sloww): Likewise.
59349         (bsloww): Likewise.
59350         (csloww): Likewise.
59352 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59354         * stdlib/strtod_l.c: Fix buffer overrun.
59356 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
59358         * benchtests/Makefile (bench): Add sincos.
59359         * benchtests/bench-sincos.c: New file.
59361         * math/libm-test.inc (cos_test_data): New test inputs.
59362         (sin_test_data): Likewise.
59364         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
59365         macro.
59366         (__sin): Use it.
59367         (__cos): Likewise.
59368         (slow1): Likewise.
59369         (slow2): Likewise.
59370         (sloww1): Likewise.
59371         (sloww2): Likewise.
59372         (bsloww1): Likewise.
59373         (bsloww2): Likewise.
59374         (cslow2): Likewise.
59375         (csloww1): Likewise.
59376         (csloww2): Likewise.
59378         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
59379         function.
59380         (__sin): Use it.
59381         (__cos): Likewise.
59383         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
59384         gotos.
59385         (__cos): Likewise.
59387 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
59389         * config.h.in (HAVE_MIPS_NAN2008): New macro.
59390         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
59391         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
59392         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
59393         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
59394         * elf/cache.c (print_entry): Handle the new cache flags.
59396 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
59397             Aldy Hernandez  <aldyh@redhat.com>
59399         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
59400         Change condition to [_SOFT_FLOAT].
59401         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
59402         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
59403         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
59404         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
59405         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
59406         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
59407         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
59408         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
59409         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
59410         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
59411         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
59412         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
59413         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
59414         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
59415         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
59416         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
59417         declaration.
59419 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
59421         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
59422         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
59423         (__longjmp): Use LOAD_GP to load saved GPRs.
59424         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
59425         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
59426         (__sigsetjmp): Use SAVE_GP to save GPRs.
59428         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
59429         Do not append -msoft-float.
59430         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
59432 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59434         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
59436 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
59438         [BZ #15966]
59439         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
59440         (_FPU_GETCW): Use initial "__" on variable and field names but not
59441         on macro parameter name.
59442         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
59443         parentheses around reference to macro parameter.
59445 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
59447         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
59448         prototype.
59449         (ctype_startup): Use uint32_t in cast and sizeof for
59450         ctype->charnames.
59452 2013-09-11  Jia Liu  <proljc@gmail.com>
59454         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
59455         __daddr_t_defined.
59456         [__FreeBSD__]: Likewise.
59458 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
59460         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
59461         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
59462         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
59463         (strchr): Remove __strchr_sse42 ifunc selection.
59464         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
59465         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
59467 2013-09-11  Will Newton  <will.newton@linaro.org>
59469         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
59470         parameter to RES. Remove hardcoded 1000 value.
59471         * benchtests/bench-skeleton.c (main): Pass RES parameter
59472         to TIMING_INIT and multiply result by 1000.
59474 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59476         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59478 2013-09-11  Andreas Schwab  <schwab@suse.de>
59480         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
59481         if not defined.
59482         (O_TMPFILE) [__USE_GNU]: Define.
59483         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
59484         Define.
59486 2013-09-11  Will Newton  <will.newton@linaro.org>
59488         [BZ #15857]
59489         * malloc/malloc.c (__libc_memalign): Check the value of bytes
59490         does not overflow.
59492 2013-09-11  Will Newton  <will.newton@linaro.org>
59494         [BZ #15856]
59495         * malloc/malloc.c (__libc_valloc): Check the value of bytes
59496         does not overflow.
59498 2013-09-11  Will Newton  <will.newton@linaro.org>
59500         [BZ #15855]
59501         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
59502         does not overflow.
59504 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
59506         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
59507         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
59508         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
59509         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
59510         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
59512 2013-09-10  Allan McRae  <allan@archlinux.org>
59514         [BZ #15748]
59515         * manual/arith.texi (Parsing of Floats): Clarify
59516         cross-reference.
59518         [BZ #15849]
59519         * manual/install.texi (Running make install): Mention
59520         --enable-pt-chown.
59521         * INSTALL: Regenerated.
59523 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
59525         * csu/init-first.c (_init): Remove the !SHARED condition around
59526         FPU control word initialization.
59527         * elf/dl-support.c (_dl_fpu_control): New variable.
59528         (_dl_aux_init) <AT_FPUCW>: Initialize it.
59529         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
59530         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
59531         * math/test-fpucw-static.c: New file.
59532         * math/test-fpucw-ieee.c: New file.
59533         * math/test-fpucw-ieee-static.c: New file.
59534         * math/Makefile (tests): Add `test-fpucw-ieee' and
59535         `$(tests-static)'.
59536         (tests-static): New variable.
59537         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
59538         dependency to...
59539         [($(build-shared),yes)]
59540         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
59541         ... this.
59542         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
59543         New dependency.
59545 2013-09-09  Allan McRae  <allan@archlinux.org>
59547         [BZ #15939]
59548         * manual/string.texi (Collation Functions): Fix typo in
59549         strcoll example.
59550         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
59552         [BZ #15893]
59553         * stdlib/isomac.c (get_null_defines): Fix memory leak.
59555         [BZ #15892]
59556         * libio/memstream.c (open_memstream): Fix memory leak.
59557         * libio/wmemstream.c (open_wmemstream): Likewise.
59559         [BZ #15895]
59560         * nscd/netgroupcache.c: Fix nesting of ifdefs.
59562 2013-09-09  Will Newton  <will.newton@linaro.org>
59564         * malloc/Makefile: Add tst-realloc to tests.
59565         * malloc/tst-realloc.c: New file.
59567 2013-09-09  Allan McRae  <allan@archlinux.org>
59569         [BZ #15844]
59570         * COPYING: Update from GNU website to fix FSF address.
59571         * COPYING.LIB: Likewise.
59573 2013-09-06  David S. Miller  <davem@davemloft.net>
59575         * po/zh_TW.po: Update Chinese (traditional) translation from
59576         translation project.
59578 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
59579             Joseph Myers  <joseph@codesourcery.com>
59581         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
59582         "localeinfo.h".
59583         (obstack_chunk_alloc): New macro.
59584         (obstack_chunk_free): Likewise.
59585         (record_offset): New function.
59586         (init_locale_data): Likewise.
59587         (align_locale_data): Likewise.
59588         (add_locale_empty): Likewise.
59589         (add_locale_raw_data): Likewise.
59590         (add_locale_raw_obstack): Likewise.
59591         (add_locale_string): Likewise.
59592         (add_locale_wstring): Likewise.
59593         (add_locale_uint32): Likewise.
59594         (add_locale_uint32_array): Likewise.
59595         (add_locale_char): Likewise.
59596         (start_locale_structure): Likewise.
59597         (end_locale_structure): Likewise.
59598         (start_locale_prelude): Likewise.
59599         (end_locale_prelude): Likewise.
59600         (write_locale_data): Take locale_file structure rather than an
59601         iovec.
59602         * locale/programs/locfile.h: Include "obstack.h".
59603         (struct locale_file): Change to store locale file contents instead
59604         of header.
59605         (init_locale_data): New prototype.
59606         (align_locale_data): Likewise.
59607         (add_locale_empty): Likewise.
59608         (add_locale_raw_data): Likewise.
59609         (add_locale_raw_obstack): Likewise.
59610         (add_locale_string): Likewise.
59611         (add_locale_wstring): Likewise.
59612         (add_locale_uint32): Likewise.
59613         (add_locale_uint32_array): Likewise.
59614         (add_locale_char): Likewise.
59615         (start_locale_structure): Likewise.
59616         (end_locale_structure): Likewise.
59617         (start_locale_prelude): Likewise.
59618         (end_locale_prelude): Likewise.
59619         (write_locale_data): Update prototype.
59620         * locale/programs/3level.h (struct TABLE): Remove result field.
59621         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
59622         Use new locale_file interface.
59623         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
59624         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
59625         * locale/programs/ld-address.c (address_output): Use new
59626         locale_file interface.
59627         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
59628         NO_ADD_LOCALE.
59629         (collate_finish): Don't call collseq_table_finalize.
59630         (collate_output): Use new locale_file interface.
59631         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
59632         in file.
59633         (NO_FINALIZE): Change to NO_ADD_LOCALE.
59634         (TABLE): Move defines earlier in file.
59635         (ELEMENT): Likewise.
59636         (DEFAULT): Likewise.
59637         (wctrans_table_add): Move macro and inline function earlier in
59638         file.
59639         (struct wctype_table): Move type earlier in file.
59640         (add_locale_wctype_table): New static prototype.
59641         (struct locale_ctype_t): Use logical types instead of struct iovec
59642         pointers for members.
59643         (ctype_output): Use new locale_file interface.
59644         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
59645         new locale_file interface.
59646         (allocate_arrays): Update for use of new locale_file interface.
59647         * locale/programs/ld-identification.c (identification_output): Use
59648         new locale_file interface.
59649         * locale/programs/ld-measurement.c (measurement_output): Likewise.
59650         * locale/programs/ld-messages.c (messages_output): Likewise.
59651         * locale/programs/ld-monetary.c (monetary_output): Likewise.
59652         * locale/programs/ld-name.c (name_output): Likewise.
59653         * locale/programs/ld-numeric.c (numeric_output): Likewise.
59654         * locale/programs/ld-paper.c (paper_output): Likewise.
59655         * locale/programs/ld-telephone.c (telephone_output): Likewise.
59656         * locale/programs/ld-time.c (time_output): Likewise.
59658 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59660         * benchtests/Makefile: Add memrchr benchmark.
59661         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
59662         benchmark as memrchr.
59663         * benchtests/bench-memrchr-ifunc.c: New file.
59664         * benchtests/bench-memrchr.c: New file.
59666 2013-09-06   Will Newton  <will.newton@linaro.org>
59668         * benchtests/Makefile (string-bench): Add memcpy.
59670 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
59671             Cong Wang  <amwang@redhat.com>
59673         [BZ #15850]
59674         * sysdeps/unix/sysv/linux/bits/in.h
59675         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
59676         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
59677         before __USE_KERNEL_IPV6_DEFS uses.
59678         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
59679         IPPROTO_BEETPH.
59680         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
59681         sockaddr_in6, or ipv6_mreq.
59683 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59685         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
59686         memory access for final bytes in some large inputs.
59687         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
59689 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59691         * string/test-memrchr.c: New file.
59692         * string/test-memrchr-ifunc.c: New file.
59693         * string/Makefile: Add new memrchr testcase.
59695 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
59697         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
59698         fanotify_init returns EPERM.
59700 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
59702         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
59703         errors.
59704         (top level): Treat second token from macro or constant entries for
59705         allowed headers as allowed.
59706         * include/complex.h: Condition internal declarations on
59707         [!_ISOMAC].
59708         * include/fenv.h: Condition include of <stdbool.h> and internal
59709         declarations on [!_ISOMAC].
59711 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
59713         [BZ #15923]
59714         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
59716 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
59718         * configure.in (--enable-versioning): Remove configure option.
59719         (libc_cv_asm_symver_directive): Remove configure test.
59720         (libc_cv_ld_version_script_option): Likewise.
59721         (VERSIONING): Remove variable and AC_SUBST.
59722         (DO_VERSIONING): Remove AC_DEFINE.
59723         * configure: Regenerated.
59724         * config.h.in (DO_VERSIONING): Remove macro.
59725         * Makerules [$(versioning) = yes]: Change conditionals to
59726         [$(build-shared) = yes].
59727         * config.make.in (versioning): Remove variable.
59728         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
59729         [$(build-shared) = yes].
59730         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
59731         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
59732         * elf/Makefile [$(versioning) = yes]: Change conditionals to
59733         [$(build-shared) = yes].
59734         * extra-lib.mk [$(versioning) = yes]: Likewise.
59735         * hurd/Makefile [$(versioning) = yes]: Likewise.
59736         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
59737         [SHARED].
59738         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
59739         [SHARED].
59740         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
59741         [SHARED && !NO_HIDDEN].
59742         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
59743         [SHARED].
59744         [SHARED && DO_VERSIONING]: Likewise..
59745         * libio/Makefile [$(versioning) = yes]: Change conditionals to
59746         [$(build-shared) = yes].
59747         * manual/install.texi (--disable-versioning): Remove
59748         documentation.
59749         * INSTALL: Regenerated.
59750         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
59751         to [SHARED].
59752         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
59753         [$(build-shared) = yes].
59754         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
59755         * sysdeps/i386/i686/multiarch/strstr-c.c
59756         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
59757         [SHARED && !NO_HIDDEN].
59758         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
59759         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
59760         * sysdeps/powerpc/powerpc32/dl-machine.c
59761         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
59762         * sysdeps/powerpc/powerpc32/sysdep.h
59763         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
59764         to [SHARED && PIC && !NO_HIDDEN].
59765         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
59766         conditional to [SHARED].
59768 2013-09-04   Will Newton  <will.newton@linaro.org>
59770         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
59771         * benchtests/bench-string.h: Include bench-timing.h instead
59772         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
59773         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
59774         call to HP_TIMING_DIFF_INIT.
59775         * benchtests/bench-memccpy.c: Use bench-timing.h macros
59776         instead of hp-timing.h macros.
59777         * benchtests/bench-memchr.c: Likewise.
59778         * benchtests/bench-memcmp.c: Likewise.
59779         * benchtests/bench-memcpy.c: Likewise.
59780         * benchtests/bench-memmem.c: Likewise.
59781         * benchtests/bench-memmove.c: Likewise.
59782         * benchtests/bench-memset.c: Likewise.
59783         * benchtests/bench-rawmemchr.c: Likewise.
59784         * benchtests/bench-strcasecmp.c: Likewise.
59785         * benchtests/bench-strcasestr.c: Likewise.
59786         * benchtests/bench-strcat.c: Likewise.
59787         * benchtests/bench-strchr.c: Likewise.
59788         * benchtests/bench-strcmp.c: Likewise.
59789         * benchtests/bench-strcpy.c: Likewise.
59790         * benchtests/bench-strcpy_chk.c: Likewise.
59791         * benchtests/bench-strlen.c: Likewise.
59792         * benchtests/bench-strncasecmp.c: Likewise.
59793         * benchtests/bench-strncat.c: Likewise.
59794         * benchtests/bench-strncmp.c: Likewise.
59795         * benchtests/bench-strncpy.c: Likewise.
59796         * benchtests/bench-strnlen.c: Likewise.
59797         * benchtests/bench-strpbrk.c: Likewise.
59798         * benchtests/bench-strrchr.c: Likewise.
59799         * benchtests/bench-strspn.c: Likewise.
59800         * benchtests/bench-strstr.c: Likewise.
59802 2013-09-04  Will Newton  <will.newton@linaro.org>
59804         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
59806 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
59808         [BZ #15427]
59809         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
59810         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
59811         * math/libm-test.inc (lgamma_test_data): Add more tests.
59812         * sysdeps/i386/fpu/libm-test-ulps: Update.
59813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59815 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
59817         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
59818         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
59819         Add ifunc.
59820         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
59821         Add strcmp-sse2-unaligned
59822         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
59824 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
59826         * Versions.def (libc): Add GLIBC_2.19.
59828 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
59830         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
59831         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
59833 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
59835         [BZ #14155]
59836         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
59837         intermediate calculations in recurrence.
59838         (__ieee754_ynf): Likewise.
59839         * math/libm-test.inc (jn_test_data): Do not allow spurious
59840         underflow exception.  Add more tests.
59841         (yn_test_data): Add more tests.
59842         * sysdeps/i386/fpu/libm-test-ulps: Update.
59843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59845 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
59847         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
59849 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
59851         * csu/init-first.c: Fix then/than typos.
59852         * locale/programs/ld-collate.c: Likewise.
59853         * locale/programs/linereader.h: Likewise.
59854         * manual/charset.texi: Likewise.
59855         * manual/filesys.texi: Likewise.
59856         * manual/stdio.texi: Likewise.
59857         * manual/string.texi: Likewise.
59858         * stdlib/fmtmsg.c: Likewise.
59859         * sysdeps/i386/stpncpy.S: Likewise.
59860         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
59861         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
59862         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
59863         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
59865 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
59867         * elf/dl-open.c: Fix typos.
59868         * iconvdata/gbbig5.c: Likewise.
59869         * iconvdata/iso-2022-jp.c: Likewise.
59870         * iconv/gconv_int.h: Likewise.
59871         * iconv/loop.c: Likewise.
59872         * nis/rpcsvc/nis.h: Likewise.
59873         * resolv/ns_name.c: Likewise.
59874         * stdio-common/vfscanf.c: Likewise.
59875         * streams/stropts.h: Likewise.
59876         * sunrpc/rpc_thread.c: Likewise.
59877         * sysdeps/i386/strpbrk.S: Likewise.
59878         * sysdeps/ieee754/k_standard.c: Likewise.
59879         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
59880         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59881         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
59882         * sysdeps/mach/hurd/profil.c: Likewise.
59883         * sysdeps/s390/dl-procinfo.h: Likewise.
59884         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
59885         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
59886         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
59887         * sysdeps/x86_64/dl-trampoline.S: Likewise.
59888         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
59890 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
59892         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
59893         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
59895 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
59897         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
59898         aix specific files.
59899         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
59900         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
59901         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
59902         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
59903         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
59904         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
59905         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
59906         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
59908 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
59909             Roland McGrath  <roland@hack.frob.com>
59911         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
59912         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
59914 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59916         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
59917         __executable_start symbol instead of _start.
59919 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
59921         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
59922         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
59923         Move macros to...
59924         * sysdeps/gnu/ldsodefs.h: ... this new file.
59926         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
59927         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
59928         instead of ELFOSABI_LINUX.
59930         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
59931         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
59932         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
59933         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
59934         Likewise.
59935         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
59936         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
59937         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
59938         Likewise.
59939         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
59940         (ibm_extended_long_double): Add ieee_nan member.
59941         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
59942         (do_test): New function.
59944         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
59945         TEST_TRUNC.
59946         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
59947         functions, renamed from truncdfsf_test, trunctfsf_test,
59948         trunctfdf_test.
59949         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
59950         functions.
59951         (do_test): Run all these.
59953 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
59955         * argp/argp-help.c: Fix typos.
59956         * argp/argp-parse.c: Likewise.
59957         * debug/backtracesyms.c: Likewise.
59958         * elf/elf.h: Likewise.
59959         * malloc/malloc.c: Likewise.
59960         * nis/nis_print.c: Likewise.
59961         * resolv/res_comp.c: Likewise.
59962         * stdlib/stdlib.h: Likewise.
59963         * sunrpc/clnt_tcp.c: Likewise.
59964         * sunrpc/clnt_udp.c: Likewise.
59965         * sunrpc/clnt_unix.c: Likewise.
59966         * sysdeps/unix/bsd/ptsname.c: Likewise.
59967         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
59968         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
59969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
59970         Likewise.
59971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
59972         Likewise.
59973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
59974         Likewise.
59975         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
59977 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59979         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
59980         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
59982 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
59984         [BZ #15897]
59985         * dlfcn/Makefile (tests): Add bug-dl-leaf.
59986         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
59987         ($(objpfx)bug-dl-leaf): New rule.
59988         ($(objpfx)bug-dl-leaf.so): Likewise.
59989         ($(objpfx)bug-dl-leaf.out): Likewise.
59990         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
59991         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
59992         * dlfcn/bug-dl-leaf.c: New test.
59993         * dlfcn/bug-dl-leaf-lib.c: Likewise.
59994         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
59995         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
59996         (dlclose): Likewise.
59997         (dlmopen): Likewise.
59999 2013-08-27  Roland McGrath  <roland@hack.frob.com>
60001         * include/netdb.h [!_ISOMAC]:
60002         Don't include <tls.h>.
60003         (h_errno, __libc_h_errno): Move declaration and macros out of
60004         [_LIBC_REENTRANT].
60006         * include/resolv.h [_RESOLV_H_]:
60007         Don't include <tls.h>.
60008         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
60009         * resolv/res_libc.c: Don't include <tls.h>.
60010         (_res): Use __attribute__ ((nocommon)) in place of
60011         __attribute__ ((section (".bss"))).
60013         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
60014         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
60016         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
60018         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
60019         only under [SIOCGIFCONF && SIOCGIFNETMASK].
60021         * resolv/res_mkquery.c: Include <sys/time.h>.
60023         * inet/ifreq.c: Moved to ...
60024         * sysdeps/unix/ifreq.c: ... here.
60025         * inet/ifreq.c: New file, true stub version.
60027         * socket/sa_len.c: New file.
60028         * socket/Makefile (aux): Add it.
60029         * sysdeps/unix/sysv/linux/Makefile
60030         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
60031         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
60032         and #include <socket/sa_len.c>.
60033         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
60034         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
60036         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
60037         * bits/socket.h: ... here.
60039         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
60040         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
60041         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
60043 2013-08-27  Andreas Schwab  <schwab@suse.de>
60045         [BZ #15736]
60046         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
60047         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
60048         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
60049         * string/test-strcasecmp.c (test_main): Run tests in several
60050         locales.
60051         * string/test-strncasecmp.c (test_main): Likewise.
60053         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
60054         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
60055         to __strcasecmp_nonascii and __strncasecmp_nonascii.
60056         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
60057         (__strncasecmp_ssse3) [PIC]: Likewise.
60059 2013-08-26  Roland McGrath  <roland@hack.frob.com>
60061         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
60063         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
60064         instead of explicitly declaring xdecrypt.
60065         * nis/nss_nis/nis-publickey.c: Likewise.
60067 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60069         [BZ #15890]
60070         * nscd/aicache.c: Include res_hconf.h.
60071         (addhstaiX): Initialize res_hconf.
60073 2013-08-26  Andreas Schwab  <schwab@suse.de>
60075         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
60076         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
60078 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60080         * nscd/aicache.c (addhstaiX): Fix indentation.
60082 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
60084         * configure.ac: Quote $build_pt_chown test.
60085         * configure: Regenerated.
60087 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
60089         [BZ #15532]
60090         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
60091         * math/s_cexpf.c (__cexpf): Likewise.
60092         * math/s_cexpl.c (__cexpl): Likewise.
60093         * math/libm-test.inc (cexp_test_data): Correct expected return
60094         value for NaN + i0.  Add another test.
60096 2013-08-22  David S. Miller  <davem@davemloft.net>
60098         * po/ca.po: Update Catalan translation from translation project.
60099         * po/uk.po: Add Ukrainian translations from translation project.
60101 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
60103         [BZ #15797]
60104         * math/s_fdim.c (__fdim): Check for infinite arguments if result
60105         is infinite, not alongside NaN test.
60106         * math/s_fdimf.c (__fdimf): Likewise.
60107         * math/s_fdiml.c (__fdiml): Likewise.
60108         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
60109         errno is unchanged.
60111 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
60113         * argp/argp-help.c: Fix typos.
60114         * crypt/speeds.c: Likewise.
60115         * csu/check_fds.c: Likewise.
60116         * elf/dl-load.c: Likewise.
60117         * elf/dl-open.c: Likewise.
60118         * elf/reldep3.c: Likewise.
60119         * elf/reldep.c: Likewise.
60120         * elf/sprof.c: Likewise.
60121         * iconv/iconv_charmap.c: Likewise.
60122         * iconv/skeleton.c: Likewise.
60123         * iconv/strtab.c: Likewise.
60124         * io/lockf64.c: Likewise.
60125         * libio/libioP.h: Likewise.
60126         * resolv/gai_notify.c: Likewise.
60127         * resolv/ns_name.c: Likewise.
60128         * resolv/ns_samedomain.c: Likewise.
60129         * resolv/res_send.c: Likewise.
60130         * stdlib/random.c: Likewise.
60131         * sunrpc/rpc/xdr.h: Likewise.
60132         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
60133         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
60134         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
60135         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
60136         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
60137         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
60138         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
60139         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
60140         * sysdeps/mach/hurd/check_fds.c: Likewise.
60141         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
60142         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
60143         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
60144         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
60145         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
60146         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
60147         * sysdeps/pthread/aio_notify.c: Likewise.
60148         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
60149         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
60150         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
60151         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
60152         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
60154 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60156         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
60157         version if bit_Slow_SSE4_2 is set.
60158         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60159         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
60161 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60163         [BZ #15867]
60164         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
60165         trampoline stack frame information.
60166         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
60167         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
60168         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
60169         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
60170         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
60171         * sysdeps/unix/sysv/linux/powerpc/init-first.c
60172         (_libc_vdso_platform_setup): Initialize the signal trampolines.
60173         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
60174         sa_flags value.
60175         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
60176         interrupting a syscall and set with option SA_SIGINFO.
60178 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
60180         [BZ #15531]
60181         * math/s_cproj.c (__cproj): Only return an infinity if one part of
60182         argument is infinite.
60183         * math/s_cprojf.c (__cprojf): Likewise.
60184         * math/s_cprojl.c (__cprojl): Likewise.
60185         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
60186         * math/libm-test.inc (cproj_test_data): Add more tests.
60188         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
60190         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
60191         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
60192         size.  Use __ffs to determine corresponding shift.
60194 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
60195             Roland McGrath  <roland@hack.frob.com>
60197         * Makefile (INSTALL): Remove trailing blank lines from output of
60198         makeinfo.
60200 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60202         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
60203         Align 32 bit compat elf_greg to 8 bytes.
60205 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
60207         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
60209 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
60211         * string/strcoll_l.c (coll_seq): New structure.
60212         (get_next_seq_cached): New function.
60213         (get_next_seq): New function.
60214         (do_compare): New function.
60215         (STRCOLL): Use GNU style definition.  Simplify implementation
60216         by using get_next_seq, get_next_seq_cached and do_compare.
60218 2013-08-16  Florian Weimer  <fweimer@redhat.com>
60220         [BZ #14699]
60221         CVE-2013-4237
60222         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
60223         member.
60224         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
60225         member.
60226         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
60227         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
60228         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
60229         conditional.
60230         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
60231         GETDENTS_64BIT_ALIGNED.
60232         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
60233         * manual/filesys.texi (Reading/Closing Directory): Document
60234         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
60235         strongly.
60236         * manual/conf.texi (Limits for Files): Add portability note to
60237         NAME_MAX, PATH_MAX.
60238         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
60240 2013-08-13  Andreas Schwab  <schwab@suse.de>
60242         [BZ #15749]
60243         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
60244         of fabs.
60245         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
60246         LDBL_MAX_EXP >= 16384]: Add tests for it.
60248 2013-08-12  David S. Miller  <davem@davemloft.net>
60250         * version.h (RELEASE): Set to "development".
60251         (VERSION): Set to "2.18.90".
60252         * NEWS: Add 2.19 section.
60254 2013-08-03  David S. Miller  <davem@davemloft.net>
60256         * po/ko.po: Update Korean translation from translation project.
60258 2013-08-01  David S. Miller  <davem@davemloft.net>
60260         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
60261         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
60262         Bilka.
60264 2013-07-30  David S. Miller  <davem@davemloft.net>
60266         * po/fr.po: Update French translation from translation project.
60268 2013-07-28  David S. Miller  <davem@davemloft.net>
60270         * po/cs.po: Update Czech translation from translation project.
60272         * po/sv.po: Update Swedish translation from translation project.
60274 2013-07-27  David S. Miller  <davem@davemloft.net>
60276         * po/eo.po: Update Esperanto translation from translation project.
60278         * po/vi.po: Update Vietnamese translation from translation project.
60280         * po/de.po: Update German translation from translation project.
60282 2013-07-26  David S. Miller  <davem@davemloft.net>
60284         * po/bg.po: Update Bulgarian translation from translation project.
60286         * po/nl.po: Update Dutch translation from translation project.
60287         * po/pl.po: Update Polish translation from translation project.
60288         * po/ru.po: Update Russian translation from translation project.
60290 2013-07-24  David S. Miller  <davem@davemloft.net>
60292         * po/libc.pot: Update.
60294 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60296         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
60297         variable page size.
60298         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
60299         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
60300         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
60302 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60304         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
60306 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60307             Andreas Schwab  <schwab@suse.de>
60308             Roland McGrath  <roland@hack.frob.com>
60309             Joseph Myers  <joseph@codesourcery.com>
60310             Carlos O'Donell  <carlos@redhat.com>
60312         [BZ #15755]
60313         * config.h.in: Define HAVE_PT_CHOWN.
60314         * config.make.in (build-pt-chown): New variable.
60315         * configure.in (--enable-pt_chown): New configure option.
60316         * configure: Regenerate.
60317         * login/Makefile: Include Makeconfig.  Build pt_chown only if
60318         build-pt-chown is enabled.
60319         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
60320         pt_chown to fix pty ownership.
60321         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
60322         CLOSE_ALL_FDS.
60323         * manual/install.texi (Configuring and compiling): Mention
60324         --enable-pt_chown. Add @findex for grantpt.
60325         * INSTALL: Regenerate.
60327 2013-07-20  David S. Miller  <davem@davemloft.net>
60329         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
60330         difference between 32-bit and 64-bit.
60332 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
60334         [BZ #15711]
60335         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
60336         Avoid system header dependency with -ffreestanding.
60337         ($(objpfx)bits/syscall%d): Likewise.
60339 2013-07-13  David S. Miller  <davem@davemloft.net>
60341         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
60342         underflows from atanl/atan2l due to bug 15319.
60343         (casinh_test_data): Likewise.
60345 2013-07-07  David S. Miller  <davem@davemloft.net>
60347         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
60349 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
60351         * sysdeps/i386/fpu/libm-test-ulps: Update.
60352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60354 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
60356         * configure.in (--enable-lock-elision): Fix message text.
60357         * INSTALL: Regenerate.
60358         * configure: Regenerate.
60360 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60362         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60364 2013-07-03  Andreas Jaeger  <aj@suse.de>
60366         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
60367         define.
60368         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
60369         (ptrace_peeksiginfo_args): Add.
60370         (__ptrace_peeksiginfo_flags): Add.
60371         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60372         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60373         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60375 2013-07-03  Allan McRae  <allan@archlinux.org>
60377         * sysdeps/i386/fpu/libm-test-ulps: Update.
60379 2013-07-02  David S. Miller  <davem@davemloft.net>
60381         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60383 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
60385         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60387 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
60389         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
60390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60392 2013-07-02  Andi Kleen <ak@linux.intel.com>
60394         * config.h.in (ENABLE_LOCK_ELISION): Add.
60395         * configure.in (--enable-lock-elision): Add option.
60396         * manual/install.texi: Document --enable lock elision.
60397         * configure: Regenerate
60398         * INSTALL: Regenerate.
60400 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
60402         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
60403         SSE4.2 strcasecmp for libc.a.
60404         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
60406 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
60408         [BZ #13304]
60409         * soft-fp/op-common.h (_FP_FMA): New macro.
60410         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
60411         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
60412         (_FP_MUL_MEAT_1_imm): ... here.
60413         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
60414         (_FP_MUL_MEAT_1_wide): ... here.
60415         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
60416         (_FP_MUL_MEAT_1_hard): ... here.
60417         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
60418         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
60419         (_FP_MUL_MEAT_2_wide): ... here.
60420         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
60421         (_FP_MUL_MEAT_2_wide_3mul): ... here.
60422         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
60423         (_FP_MUL_MEAT_2_gmp): ... here.
60424         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
60425         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
60426         (_FP_MUL_MEAT_4_wide): ... here.
60427         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
60428         (_FP_MUL_MEAT_4_gmp): ... here.
60429         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
60430         (_FP_WFRACBITS_DW_S): Likewise.
60431         (_FP_WFRACXBITS_DW_S): Likewise.
60432         (_FP_HIGHBIT_DW_S): Likewise.
60433         (FP_FMA_S): Likewise.
60434         (_FP_FRAC_HIGH_DW_S): Likewise.
60435         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
60436         (_FP_WFRACBITS_DW_D): Likewise.
60437         (_FP_WFRACXBITS_DW_D): Likewise.
60438         (_FP_HIGHBIT_DW_D): Likewise.
60439         (FP_FMA_D): Likewise.
60440         (_FP_FRAC_HIGH_DW_D): Likewise.
60441         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
60442         (_FP_WFRACBITS_DW_E): Likewise.
60443         (_FP_WFRACXBITS_DW_E): Likewise.
60444         (_FP_HIGHBIT_DW_E): Likewise.
60445         (FP_FMA_E): Likewise.
60446         (_FP_FRAC_HIGH_DW_E): Likewise.
60447         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
60448         (_FP_WFRACBITS_DW_Q): Likewise.
60449         (_FP_WFRACXBITS_DW_Q): Likewise.
60450         (_FP_HIGHBIT_DW_Q): Likewise.
60451         (FP_FMA_Q): Likewise.
60452         (_FP_FRAC_HIGH_DW_Q): Likewise.
60453         * soft-fp/fmasf4.c: New file.
60454         * soft-fp/fmadf4.c: Likewise.
60455         * soft-fp/fmatf4.c: Likewise.
60457 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60459         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
60460         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
60461         Silvermont.
60462         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
60463         macro.
60464         (index_Slow_SSE4_2): Likewise.
60465         (index_Prefer_PMINUB_for_stringop): Likewise.
60466         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
60467         bit_Slow_SSE4_2 is set.
60468         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
60469         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60471 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60473         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
60474         rtld_global._dl_hwcap2.
60475         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
60476         POWER8.
60477         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
60478         POWER8 feature descriptions defined in _dl_hwcap2.
60479         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
60480         string handling for POWER8 feature bits.
60481         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
60482         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
60483         _dl_powerpc_cap_flags.
60484         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
60485         * sysdeps/powerpc/rtld-global-offsets.sym
60486         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
60487         _dl_hwcap2 in the rtld_global_ro structure.
60489 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60491         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
60492         hardware capabilities in support of AT_HWCAP2.
60493         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
60494         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
60495         GLRO(dl_hwcap2).
60496         (_dl_show_auxv): Add support for calling _dl_procinfo to display
60497         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
60498         explicitly the unknown a_type display mechanism is used.
60499         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
60500         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
60501         struct member.
60502         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
60503         to macro prototype for AT_HWCAP2 support.
60504         * sysdeps/i386/dl-procinfo.h: Likewise.
60505         * sysdeps/s390/dl-procinfo.h: Likewise.
60506         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
60507         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
60508         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
60509         return -1 for unknown a_type display fallback.
60510         * sysdeps/sparc/dl-procinfo.h: Likewise.
60511         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
60512         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
60514 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
60516         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
60517         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
60519 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
60521         [BZ #12492]
60522         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
60523         mprotect making __stack_prot writable.
60525 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
60526             Joseph Myers  <joseph@codesourcery.com>
60528         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
60529         as being properly aligned.
60531 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
60533         * dlfcn/modstatic5.c: New file.
60534         * dlfcn/tststatic5.c: New file.
60535         * dlfcn/Makefile (tests): Add tststatic5.
60536         (tests-static): Likewise.
60537         (modules-names): Add modstatic5.
60538         (tststatic5-ENV): New variable.
60539         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
60541         [BZ #15022]
60542         * elf/dl-support.c (_dl_main_map): New variable.
60543         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
60544         (_dl_nns, _dl_load_adds): Set to 1.
60545         (_dl_initial_searchlist): Refer to _dl_main_map.
60546         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
60547         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
60548         call to _dl_get_origin.
60549         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
60550         around call_map.
60551         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
60552         * dlfcn/modstatic3.c: New file.
60553         * dlfcn/tststatic3.c: New file.
60554         * dlfcn/tststatic4.c: New file.
60555         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
60556         (tests-static): Likewise.
60557         (modules-names): Add modstatic3.
60558         (tststatic3-ENV, tststatic4-ENV): New variables.
60559         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
60560         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
60562 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
60564         * configure.in (CC): Require GCC version 4.4 or later.
60565         * configure: Regenerated.
60566         * manual/install.texi (Tools for Compilation): Update GCC version
60567         requirement.
60568         * INSTALL: Regenerated.
60570 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60572         [BZ #15674]
60573         * string/test-memcmp.c (check2): New.
60574         (main): Call check2.
60576         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
60578 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
60580         [BZ #15022]
60581         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
60582         over to...
60583         (dl_open_worker) [!SHARED]: ... here.
60585 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60587         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
60589 2013-06-25  Richard Henderson  <rth@redhat.com>
60591         * locale/programs/locarchive.c: Include <libc-internal.h>
60593 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
60595         * manual/texinfo.tex: Update to version 2013-06-21.17, with
60596         trailing whitespace removed.
60598 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
60600         [BZ #10283]
60601         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
60602         * locale/programs/locarchive.c: Include libc-mmap.h.
60603         (prepare_address_space): Take two new outputs (the mmap base and len).
60604         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
60605         values.
60606         (create_archive): Declare new mmap base and len values for
60607         prepare_address_space, and store the result in ah.
60608         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
60609         (enlarge_archive): If ah->mmap_base is not NULL, use that and
60610         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
60611         Declare new mmap base and len values for
60612         prepare_address_space, and store the result in new_ah.
60613         (open_archive): Declare new mmap base and len values for
60614         prepare_address_space, and store the result in ah.
60615         (close_archive): If ah->mmap_base is not NULL, use that and
60616         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
60617         * sysdeps/generic/libc-mmap.h: New file.
60619 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
60621         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
60622         (ALIGN_UP): Likewise.
60623         (PTR_ALIGN_DOWN): Likewise.
60624         (PTR_ALIGN_UP): Likewise.
60626 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60628         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
60629         entry mapped to PPC_PLATFORM_POWER8.
60630         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
60631         POWER8.
60632         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
60633         (_dl_string_platform): Add case for exporting platform position for
60634         POWER8.
60635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
60636         search path to sysdeps/powerpc/powerpc32/power8 directory.
60637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
60638         search path to sysdeps/powerpc/powerpc64/power8 directory.
60639         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
60640         power7 directories.
60641         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
60642         power7 directories.
60644 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
60646         * INSTALL: Regenerate.
60648         * nscd/connections.c (nscd_init): Fix comment.
60650 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
60652         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
60654         [BZ #15667]
60655         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
60656         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
60658 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
60660         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
60661         DL_DST_REQ_STATIC.
60662         (DL_DST_REQ_STATIC): Remove macro.
60664 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
60666         [BZ #7006]
60667         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
60668         with a shift of 0 bits.
60670 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
60672         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
60673         $(tststatic-ENV).
60675 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60677         [BZ #15655]
60678         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
60680 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60682         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
60683         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
60684         accepts -fno-tree-loop-distribute-patterns.
60685         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
60686         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
60687         recursive call.
60688         * string/memset.c (memset): Likewise.
60689         * string/test-memmove.c (simple_memmove): Disable loop transformation
60690         to library calls.
60691         * string/test-memset.c (simple_memset): Likewise.
60692         * benchtests/bench-memmove.c (simple_memmove): Likewise.
60693         * benchtests/bench-memset.c (simple_memset): Likewise.
60694         * configure: Regenerated.
60696 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
60698         * math/test-misc.c (main): Ignore fesetround failure when failures
60699         of subsequent rounding tests would be ignored.
60701         [BZ #15654]
60702         * math/fedisblxcpt.c (fedisableexcept): Return 0.
60703         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
60704         * math/fegetenv.c (__fegetenv): Return 0.
60705         * math/fegetexcept.c (fegetexcept): Return 0.
60706         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
60707         FE_TONEAREST.
60708         * math/feholdexcpt.c (feholdexcept): Return 0.
60709         * math/fesetenv.c (__fesetenv): Return 0.
60710         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
60711         argument FE_TONEAREST.
60712         * math/feupdateenv.c (__feupdateenv): Return 0.
60713         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
60715 2013-06-18  Roland McGrath  <roland@hack.frob.com>
60717         * elf/rtld-Rules (rtld-compile-command.S): New variable.
60718         (rtld-compile-command.s, rtld-compile-command.c): New variables.
60719         ($(objpfx)rtld-%.os rules): Use them.
60721 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60723         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
60724         fields.
60726 2013-06-17  Roland McGrath  <roland@hack.frob.com>
60728         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
60729         length of target pattern, then descending length of dependency pattern.
60730         * configure.in (AWK): Require gawk 3.1.2 or newer.
60731         * manual/install.texi (Tools for Compilation): Say that we do.
60732         * configure: Regenerated.
60734         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
60735         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
60736         * scripts/sysd-rules.awk: ... this new script.
60737         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
60738         than a glob-style pattern.
60740 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
60742         * math/test-misc.c (main): Do not treat incorrectly rounded
60743         conversions as failure unless ROUNDING_TESTS passes.
60745 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
60747         [BZ #15631]
60748         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
60749         restore exception state around main square root computation, then
60750         check for inexactness explicitly.
60752         * math/libm-test.inc (fma_test_data): Add another test.
60754 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60756         * manual/threads.texi (Non-POSIX Extensions): New document
60757         node.  Document pthread_getattr_default_np and
60758         pthread_setattr_default_np.
60760         * Versions.def (libpthread): Add GLIBC_2.18.
60761         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
60762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
60763         Likewise.
60764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
60765         Likewise.
60766         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
60767         Likewise.
60768         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
60769         Likewise.
60770         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
60771         Likewise.
60772         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
60773         Likewise.
60774         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
60775         Likewise.
60776         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
60777         Likewise.
60778         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
60779         Likewise.
60781 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60783         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60784         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
60786 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
60787             H.J. Lu  <hjl.tools@gmail.com>
60789         [BZ #15627]
60790         * sysdeps/x86_64/rtld-memset.c: Remove file.
60791         * sysdeps/x86_64/rtld-memset.S: New file.
60793 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
60795         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
60796         (test_in_one_mode): Take arguments for whether the rounding mode
60797         is supported for each floating-point type.
60798         (do_test): Pass new arguments to test_in_one_mode using
60799         ROUNDING_TESTS.
60801 2013-06-13  Roland McGrath  <roland@hack.frob.com>
60803         * posix/tst-waitid.c (do_test): Distinguish different instances of
60804         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
60805         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
60806         before entering the kernel for waitpid.
60808 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
60810         * NEWS: Fix note on clock function precision.  Text by Roland
60811         McGrath.
60813 2013-06-13  Roland McGrath  <roland@hack.frob.com>
60815         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
60816         it into place only when and if the sanity check passes.
60818 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
60820         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
60821         output for whether conversion result is exact.  Take argument
60822         indicating whether type is IBM long double.
60823         (round_for_all): Change need_exact field to ibm_ld.
60824         * stdlib/tst-strtod-round.c (struct exactness): New type.
60825         (struct test): Change bool ld_ok field to struct exactness exact.
60826         (TEST): Update all definitions for change to field.
60827         (tests): Regenerate array contents.
60828         (test_in_one_mode): Take pointer to new field instead of old ld_ok
60829         field value.  Check for IBM long double here.
60830         (do_test): Update calls to test_in_one_mode.
60832 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
60834         [BZ #12515]
60835         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
60836         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
60838 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60840         [BZ #15605]
60841         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
60842         generated by the compiler on loop optimizations.
60843         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
60844         general definitions.
60846 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
60848         * math/bug-nextafter.c: Include <math-tests.h>.
60849         (main): Only test for exceptions if EXCEPTION_TESTS is true for
60850         the relevant type.
60851         * math/bug-nexttoward.c: Include <math-tests.h>.
60852         (main): Only test for exceptions if EXCEPTION_TESTS is true for
60853         the relevant type.
60854         * math/test-misc.c: Include <math-tests.h>.
60855         (main): Only test for exceptions if EXCEPTION_TESTS is true for
60856         the relevant type.
60858 2013-06-12  Andreas Jaeger  <aj@suse.de>
60860         * po/ia.po: Update Interlingua translation from translation
60861         project.
60863 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
60865         * include/fenv.h: Include stdbool.h.
60866         (struct rm_ctx): New structure.
60867         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
60868         Define macro.
60869         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
60870         (SET_RESTORE_ROUNDF): Likewise.
60871         (SET_RESTORE_ROUNDL): Likewise.
60872         (SET_RESTORE_ROUND_NOEX): Likewise.
60873         (SET_RESTORE_ROUND_NOEXF): Likewise.
60874         (SET_RESTORE_ROUND_NOEXL): Likewise.
60875         (SET_RESTORE_ROUND_53BIT): Likewise.
60876         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
60877         (libc_feresetround_noexf_ctx): Likewise.
60878         (libc_feresetround_noexl_ctx): Likewise.
60879         (libc_feholdsetround_53bit_ctx): Likewise.
60880         (libc_feresetround_53bit_ctx): Likewise.
60881         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
60882         (libc_feholdexcept_setround_sse_ctx): New function.
60883         (libc_fesetenv_sse_ctx): Likewise.
60884         (libc_feupdateenv_sse_ctx): Likewise.
60885         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
60886         (libc_feholdexcept_setround_387_ctx): Likewise.
60887         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
60888         (libc_feholdsetround_387_prec_ctx): Likewise.
60889         (libc_feholdsetround_387_ctx): Likewise.
60890         (libc_feholdsetround_387_53bit_ctx): Likewise.
60891         (libc_feholdsetround_sse_ctx): Likewise.
60892         (libc_feresetround_sse_ctx): Likewise.
60893         (libc_feresetround_387_ctx): Likewise.
60894         (libc_feupdateenv_387_ctx): Likewise.
60895         (libc_feholdexcept_setroundf_ctx): Define macro.
60896         (libc_fesetenvf_ctx): Likewise.
60897         (libc_feupdateenvf_ctx): Likewise.
60898         (libc_feholdsetroundf_ctx): Likewise.
60899         (libc_feresetroundf_ctx): Likewise.
60900         (libc_feholdexcept_setround_ctx): Likewise.
60901         (libc_fesetenv_ctx): Likewise.
60902         (libc_feupdateenv_ctx): Likewise.
60903         (libc_feholdsetround_ctx): Likewise.
60904         (libc_feresetround_ctx): Likewise.
60905         (libc_feholdexcept_setroundl_ctx): Likewise.
60906         (libc_feupdateenvl_ctx): Likewise.
60907         (libc_feholdsetroundl_ctx): Likewise.
60908         (libc_feresetroundl_ctx): Likewise.
60909         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
60910         (libc_feresetround_53bit_ctx): Likewise.
60912 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60914         * locale/iso-639.def: Convert to UTF-8.
60916 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
60918         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
60919         (EXCEPTION_TESTS_double): Likewise.
60920         (EXCEPTION_TESTS_long_double): Likewise.
60921         (EXCEPTION_TESTS): Likewise.
60922         * math/libm-test.inc (test_exceptions): Only test exceptions if
60923         EXCEPTION_TESTS (FLOAT).
60925 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60927         * benchtests/Makefile (string-bench): Add strcpy_chk and
60928         stpcpy_chk.
60929         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
60930         * benchtests/bench-stpcpy_chk.c: New file.
60931         * benchtests/bench-strcpy_chk-ifunc.c: New file.
60932         * benchtests/bench-strcpy_chk.c: New file.
60933         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
60934         code.
60935         (do_test): Likewise.
60937 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60939         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
60940         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
60941         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
60942         with tabs where appropriate.
60943         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
60944         dl-procinfo.h.
60945         [PPC_PLATFORM_PPC440]: Likewise.
60946         [PPC_PLATFORM_PPC464]: Likewise.
60947         [PPC_PLATFORM_PPC476]: Likewise.
60948         (_dl_string_platform): Add support for detecting ppc405, ppc440,
60949         ppc464, and ppc476 platform strings merging from ports/
60950         dl-procinfo.h.
60952 2013-06-11  Andreas Schwab  <schwab@suse.de>
60954         [BZ #14991]
60955         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
60956         (from_ucs4_idx): Regenerate.
60957         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
60958         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
60959         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
60960         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
60961         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
60962         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
60963         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
60964         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
60965         from FROM_LOOP and TO_LOOP specific macros.
60966         (BODY): Handle combining characters.
60967         * iconvdata/BIG5HKSCS.irreversible: Update.
60968         * iconvdata/BIG5HKSCS.precomposed: New file.
60969         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
60970         characters.
60971         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
60973 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60975         * include/sys/time.h: Fix indentation and add copyright header.
60977         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
60978         (do_test): Likewise.
60979         * string/test-memchr.c (do_one_test): Likewise.
60980         (do_test): Likewise.
60981         * string/test-memcmp.c (do_one_test): Likewise.
60982         (do_test): Likewise.
60983         * string/test-memcpy.c (do_one_test): Likewise.
60984         (do_test): Likewise.
60985         * string/test-memmem.c (do_one_test): Likewise.
60986         (do_test): Likewise.
60987         (do_random_tests): Likewise.
60988         * string/test-memmove.c (do_one_test): Likewise.
60989         (do_test): Likewise.
60990         * string/test-memset.c (do_one_test): Likewise.
60991         (do_test): Likewise.
60992         * string/test-rawmemchr.c (do_one_test): Likewise.
60993         (do_test): Likewise.
60994         * string/test-strcasecmp.c (do_one_test): Likewise.
60995         (do_test): Likewise.
60996         * string/test-strcasestr.c (do_one_test): Likewise.
60997         (do_test): Likewise.
60998         * string/test-strcat.c (do_one_test): Likewise.
60999         (do_test): Likewise.
61000         * string/test-strchr.c (do_one_test): Likewise.
61001         (do_test): Likewise.
61002         * string/test-strcmp.c (do_one_test): Likewise.
61003         (do_test): Likewise.
61004         * string/test-strcpy.c (do_one_test): Likewise.
61005         (do_test): Likewise.
61006         * string/test-string.h: Likewise.
61007         (test_init): Likewise.
61008         * string/test-strlen.c (do_one_test): Likewise.
61009         (do_test): Likewise.
61010         * string/test-strncasecmp.c (do_one_test): Likewise.
61011         (do_test): Likewise.
61012         * string/test-strncat.c (do_one_test): Likewise.
61013         (do_test): Likewise.
61014         * string/test-strncmp.c (do_one_test): Likewise.
61015         (do_test_limit): Likewise.
61016         (do_test): Likewise.
61017         * string/test-strncpy.c (do_one_test): Likewise.
61018         (do_test): Likewise.
61019         * string/test-strnlen.c (do_one_test): Likewise.
61020         (do_test): Likewise.
61021         * string/test-strpbrk.c (do_one_test): Likewise.
61022         (do_test): Likewise.
61023         * string/test-strrchr.c (do_one_test): Likewise.
61024         (do_test): Likewise.
61025         * string/test-strspn.c (do_one_test): Likewise.
61026         (do_test): Likewise.
61027         * string/test-strstr.c (do_one_test): Likewise.
61028         (do_test): Likewise.
61030         * benchtests/Makefile (string-bench): Add string benchmarks.
61031         * benchtests/bench-bcopy-ifunc.c: New file.
61032         * benchtests/bench-bcopy.c: New file.
61033         * benchtests/bench-bzero-ifunc.c: New file.
61034         * benchtests/bench-bzero.c: New file.
61035         * benchtests/bench-memccpy-ifunc.c: New file.
61036         * benchtests/bench-memccpy.c: New file.
61037         * benchtests/bench-memchr-ifunc.c: New file.
61038         * benchtests/bench-memchr.c: New file.
61039         * benchtests/bench-memcmp-ifunc.c: New file.
61040         * benchtests/bench-memcmp.c: New file.
61041         * benchtests/bench-memmem-ifunc.c: New file.
61042         * benchtests/bench-memmem.c: New file.
61043         * benchtests/bench-memmove-ifunc.c: New file.
61044         * benchtests/bench-memmove.c: New file.
61045         * benchtests/bench-mempcpy-ifunc.c: New file.
61046         * benchtests/bench-mempcpy.c: New file.
61047         * benchtests/bench-memset-ifunc.c: New file.
61048         * benchtests/bench-memset.c: New file.
61049         * benchtests/bench-rawmemchr-ifunc.c: New file.
61050         * benchtests/bench-rawmemchr.c: New file.
61051         * benchtests/bench-stpcpy-ifunc.c: New file.
61052         * benchtests/bench-stpcpy.c: New file.
61053         * benchtests/bench-stpncpy-ifunc.c: New file.
61054         * benchtests/bench-stpncpy.c: New file.
61055         * benchtests/bench-strcasecmp-ifunc.c: New file.
61056         * benchtests/bench-strcasecmp.c: New file.
61057         * benchtests/bench-strcasestr-ifunc.c: New file.
61058         * benchtests/bench-strcasestr.c: New file.
61059         * benchtests/bench-strcat-ifunc.c: New file.
61060         * benchtests/bench-strcat.c: New file.
61061         * benchtests/bench-strchr-ifunc.c: New file.
61062         * benchtests/bench-strchr.c: New file.
61063         * benchtests/bench-strchrnul-ifunc.c: New file.
61064         * benchtests/bench-strchrnul.c: New file.
61065         * benchtests/bench-strcmp-ifunc.c: New file.
61066         * benchtests/bench-strcmp.c: New file.
61067         * benchtests/bench-strcpy-ifunc.c: New file.
61068         * benchtests/bench-strcpy.c: New file.
61069         * benchtests/bench-strcspn-ifunc.c: New file.
61070         * benchtests/bench-strcspn.c: New file.
61071         * benchtests/bench-strlen-ifunc.c: New file.
61072         * benchtests/bench-strlen.c: New file.
61073         * benchtests/bench-strncasecmp-ifunc.c: New file.
61074         * benchtests/bench-strncasecmp.c: New file.
61075         * benchtests/bench-strncat-ifunc.c: New file.
61076         * benchtests/bench-strncat.c: New file.
61077         * benchtests/bench-strncmp-ifunc.c: New file.
61078         * benchtests/bench-strncmp.c: New file.
61079         * benchtests/bench-strncpy-ifunc.c: New file.
61080         * benchtests/bench-strncpy.c: New file.
61081         * benchtests/bench-strnlen-ifunc.c: New file.
61082         * benchtests/bench-strnlen.c: New file.
61083         * benchtests/bench-strpbrk-ifunc.c: New file.
61084         * benchtests/bench-strpbrk.c: New file.
61085         * benchtests/bench-strrchr-ifunc.c: New file.
61086         * benchtests/bench-strrchr.c: New file.
61087         * benchtests/bench-strspn-ifunc.c: New file.
61088         * benchtests/bench-strspn.c: New file.
61089         * benchtests/bench-strstr-ifunc.c: New file.
61090         * benchtests/bench-strstr.c: New file.
61092         * benchtests/Makefile: Disable parallel execution of targets.
61093         (string-bench): Add memcpy.
61094         (benchset): New variable to store a list of benchmark sets.
61095         (bench-func): Renamed from bench.
61096         (bench-set): New target.
61097         (bench): Depend on bench-func and bench-set.
61098         * benchtests/README: Add section on benchmark sets.
61099         * benchtests/bench-memcpy-ifunc.c: New file.
61100         * benchtests/bench-memcpy.c: New file.
61101         * benchtests/bench-string.h: New file.
61103 2013-06-11  Andreas Schwab  <schwab@suse.de>
61105         [BZ #15577]
61106         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
61107         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
61108         values in the triple.
61109         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
61110         terminator in the group key.
61112 2013-06-11  Andreas Jaeger  <aj@suse.de>
61114         * po/zh_TW.po: Update Chinese (traditional) translation from
61115         translation project.
61117 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61119         * include/time.h (__clock_gettime): Add libc_hidden_proto.
61120         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
61121         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
61122         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61123         (clock_getcpuclockid): Likewise.
61124         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
61125         Add weak_alias and libc_hidden_def.
61126         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
61127         * rt/clock_gettime.c (clock_gettime): Rename to
61128         __clock_gettime.  Add weak_alias and libc_hidden_def.
61129         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
61130         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
61131         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
61132         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
61133         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
61134         Likewise.
61135         * rt/clock_settime.c (clock_settime): Rename to
61136         __clock_settime.  Add weak_alias and libc_hidden_def.
61137         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
61139 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
61141         * mach/err_boot.sub: Remove trailing whitespace.
61142         * mach/err_ipc.sub: Likewise.
61143         * mach/err_mach.sub: Likewise.
61145         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
61146         (ROUNDING_TESTS_double): Likewise.
61147         (ROUNDING_TESTS_long_double): Likewise.
61148         (ROUNDING_TESTS): Likewise.
61149         * math/libm-test.inc: Include <math-tests.h>.
61150         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
61151         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
61152         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
61153         (IF_ROUND_INIT_FE_UPWARD): Likewise.
61155 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61157         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
61158         of assigning.
61160 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
61162         * sysdeps/gnu/errlist.awk: Do not generate space at end of
61163         otherwise empty TRANS lines.
61164         * sysdeps/gnu/errlist.c: Regenerated.
61166         * catgets/gencat.c (error_print): Use (void) in function
61167         definition.
61168         * crypt/crypt_util.c (__init_des): Likewise.
61169         * crypt/speeds.c (Stop): Likewise.
61170         (main): Likewise.
61171         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
61172         * inet/ruserpass.c (token): Likewise.
61173         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
61174         * intl/localealias.c (extend_alias_table): Likewise.
61175         * intl/plural-exp.c (init_germanic_plural): Likewise.
61176         * libio/fcloseall.c (__fcloseall): Likewise.
61177         * libio/genops.c (_IO_flush_all): Likewise.
61178         (_IO_flush_all_linebuffered): Likewise.
61179         (_IO_cleanup): Likewise.
61180         (_IO_iter_begin): Likewise.
61181         (_IO_iter_end): Likewise.
61182         (_IO_list_lock): Likewise.
61183         (_IO_list_unlock): Likewise.
61184         (_IO_list_resetlock): Likewise.
61185         * libio/getchar.c (getchar): Likewise.
61186         * libio/getchar_u.c (getchar_unlocked): Likewise.
61187         * libio/getwchar.c (getwchar): Likewise.
61188         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
61189         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
61190         * login/getpt.c (__getpt): Likewise.
61191         * login/tst-utmp.c (main): Likewise.
61192         * malloc/hooks.c (__malloc_check_init): Likewise.
61193         * malloc/malloc.c (__malloc_stats): Likewise.
61194         * malloc/mtrace.c (tr_break): Likewise.
61195         (mtrace): Likewise.
61196         (muntrace): Likewise.
61197         * misc/fstab.c (endfsent): Likewise.
61198         * misc/getclktck.c (__getclktck): Likewise.
61199         * misc/getdtsz.c (__getdtablesize): Likewise.
61200         * misc/gethostid.c (gethostid): Likewise.
61201         * misc/getpagesize.c (__getpagesize): Likewise.
61202         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
61203         (__get_nprocs): Likewise.
61204         (__get_phys_pages): Likewise.
61205         (__get_avphys_pages): Likewise.
61206         * misc/getttyent.c (getttyent): Likewise.
61207         (setttyent): Likewise.
61208         (endttyent): Likewise.
61209         * misc/getusershell.c (getusershell): Likewise.
61210         (endusershell): Likewise.
61211         (setusershell): Likewise.
61212         (initshells): Likewise.
61213         * misc/hsearch.c (__hdestroy): Likewise.
61214         * misc/sync.c (sync): Likewise.
61215         * misc/syslog.c (closelog_internal): Likewise.
61216         (closelog): Likewise.
61217         * misc/ttyslot.c (ttyslot): Likewise.
61218         * misc/vhangup.c (vhangup): Likewise.
61219         * posix/fork.c (__fork): Likewise.
61220         * posix/getegid.c (__getegid): Likewise.
61221         * posix/geteuid.c (__geteuid): Likewise.
61222         * posix/getgid.c (__getgid): Likewise.
61223         * posix/getpid.c (__getpid): Likewise.
61224         * posix/getppid.c (__getppid): Likewise.
61225         * posix/getuid.c (__getuid): Likewise.
61226         * posix/pause.c (pause): Likewise.
61227         * posix/setpgrp.c (setpgrp): Likewise.
61228         * posix/setsid.c (__setsid): Likewise.
61229         * posix/test-vfork.c (noop): Likewise.
61230         * resolv/gethnamaddr.c (_endhtent): Likewise.
61231         (_gethtent): Likewise.
61232         (ht_endhostent): Likewise.
61233         (gethostent): Likewise.
61234         (dns_service): Likewise.
61235         * stdlib/drand48.c (drand48): Likewise.
61236         * stdlib/lrand48.c (lrand48): Likewise.
61237         * stdlib/mrand48.c (mrand48): Likewise.
61238         * stdlib/rand.c (rand): Likewise.
61239         * stdlib/random.c (__random): Likewise.
61240         * stdlib/setenv.c (clearenv): Likewise.
61241         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
61242         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
61243         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
61244         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
61245         (__get_nprocs): Likewise.
61246         (__get_phys_pages): Likewise.
61247         (__get_avphys_pages): Likewise.
61248         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
61249         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
61250         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
61251         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
61252         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
61253         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
61254         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
61255         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
61256         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
61257         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
61258         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
61259         * sysdeps/mach/hurd/sync.c (sync): Likewise.
61260         * sysdeps/posix/clock.c (clock): Likewise.
61261         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
61262         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
61263         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
61264         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
61265         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
61266         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
61267         (__get_nprocs_conf): Likewise.
61268         (__get_phys_pages): Likewise.
61269         (__get_avphys_pages): Likewise.
61270         * time/clock.c (clock): Likewise.
61271         * time/tzset.c (__tzname_max): Likewise.
61273 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
61275         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
61276         (__bswap_32): Do not use "register".
61277         * crypt/crypt.c (_ufc_doit_r): Likewise.
61278         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
61279         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
61280         * gmon/gmon.c (__monstartup): Likewise.
61281         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
61282         * hurd/hurdmalloc.c (more_memory): Likewise.
61283         (malloc): Likewise.
61284         (free): Likewise.
61285         (realloc): Likewise.
61286         (malloc_fork_prepare): Likewise.
61287         (malloc_fork_parent): Likewise.
61288         (malloc_fork_child): Likewise.
61289         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
61290         (_svcauth_des): Likewise.
61291         * inet/inet_lnaof.c (inet_lnaof): Likewise.
61292         * inet/inet_net.c (inet_network): Likewise.
61293         * inet/inet_netof.c (inet_netof): Likewise.
61294         * inet/rcmd.c (__validuser2_sa): Likewise.
61295         * io/fts.c (fts_open): Likewise.
61296         (fts_load): Likewise.
61297         (fts_close): Likewise.
61298         (fts_read): Likewise.
61299         (fts_children): Likewise.
61300         (fts_build): Likewise.
61301         (fts_stat): Likewise.
61302         (fts_sort): Likewise.
61303         (fts_alloc): Likewise.
61304         (fts_lfree): Likewise.
61305         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
61306         (_IO_file_xsgetn): Likewise.
61307         (_IO_file_xsgetn_mmap): Likewise.
61308         * libio/iofopncook.c (_IO_cookie_read): Likewise.
61309         (_IO_cookie_write): Likewise.
61310         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
61311         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
61312         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
61313         * malloc/obstack.c (_obstack_begin): Likewise.
61314         (_obstack_begin_1): Likewise.
61315         (_obstack_newchunk): Likewise.
61316         (_obstack_allocated_p): Likewise.
61317         (obstack_free): Likewise.
61318         (_obstack_memory_used): Likewise.
61319         * misc/getttyent.c (getttynam): Likewise.
61320         (getttyent): Likewise.
61321         (skip): Likewise.
61322         (value): Likewise.
61323         * misc/getusershell.c (initshells): Likewise.
61324         * misc/syslog.c (__vsyslog_chk): Likewise.
61325         * misc/ttyslot.c (ttyslot): Likewise.
61326         * nis/nis_hash.c (__nis_hash): Likewise.
61327         * posix/fnmatch_loop.c (FCT): Likewise.
61328         * posix/getconf.c (print_all): Likewise.
61329         (main): Likewise.
61330         * posix/getopt.c (exchange): Likewise.
61331         * posix/glob.c (globfree): Likewise.
61332         (prefix_array): Likewise.
61333         (__glob_pattern_type): Likewise.
61334         * resolv/arpa/nameser.h (NS_GET16): Likewise.
61335         (NS_GET32): Likewise.
61336         (NS_PUT16): Likewise.
61337         (NS_PUT32): Likewise.
61338         * resolv/gethnamaddr.c (getanswer): Likewise.
61339         (gethostbyname2): Likewise.
61340         (gethostbyaddr): Likewise.
61341         (_gethtent): Likewise.
61342         (_gethtbyname2): Likewise.
61343         (_gethtbyaddr): Likewise.
61344         * resolv/ns_print.c (dst_s_get_int16): Likewise.
61345         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
61346         * resolv/res_init.c (__res_vinit): Likewise.
61347         (net_mask): Likewise.
61348         * resolv/res_mkquery.c (outchar): Likewise.
61349         (PRINT): Likewise.
61350         * stdio-common/printf_fp.c (outchar): Likewise.
61351         (PRINT): Likewise.
61352         * stdio-common/printf_fphex.c (outchar): Likewise.
61353         (PRINT): Likewise.
61354         * stdio-common/printf_size.c (outchar): Likewise.
61355         (PRINT): Likewise.
61356         * stdio-common/test_rdwr.c (main): Likewise.
61357         * stdio-common/tfformat.c (matches): Likewise.
61358         * stdio-common/vfprintf.c (outchar): Likewise.
61359         (printf_unknown): Likewise.
61360         (buffered_vfprintf): Likewise.
61361         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
61362         * stdio-common/xbug.c (AppendToBuffer): Likewise.
61363         (ReadFile): Likewise.
61364         * stdlib/qsort.c (SWAP): Likewise.
61365         (_quicksort): Likewise.
61366         * stdlib/setenv.c (__add_to_environ): Likewise.
61367         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
61368         * stdlib/strtol_l.c (__strtol_l): Likewise.
61369         * stdlib/tst-strtod.c (main): Likewise.
61370         * stdlib/tst-strtol.c (main): Likewise.
61371         * stdlib/tst-strtoll.c (main): Likewise.
61372         * string/bits/string2.h (__strcmp_cc): Likewise.
61373         (__strcmp_cg): Likewise.
61374         (__strcspn_c1): Likewise.
61375         (__strcspn_c2): Likewise.
61376         (__strcspn_c3): Likewise.
61377         (__strspn_c1): Likewise.
61378         (__strspn_c2): Likewise.
61379         (__strspn_c3): Likewise.
61380         (__strsep_1c): Likewise.
61381         (__strsep_2c): Likewise.
61382         (__strsep_3c): Likewise.
61383         * string/memccpy.c (__memccpy): Likewise.
61384         * string/stpcpy.c (__stpcpy): Likewise.
61385         * string/strcmp.c (strcmp): Likewise.
61386         * string/strrchr.c (strrchr): Likewise.
61387         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
61388         Likewise.
61389         * sysdeps/mach/hurd/getcwd.c
61390         (_hurd_canonicalize_directory_name_internal): Likewise.
61391         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
61392         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
61393         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
61394         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
61395         Likewise, in both definitions.
61396         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
61397         definitions.
61398         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
61399         64] (__bswap_64): Likewise.
61400         * time/test_time.c (main): Likewise.
61401         * time/tzfile.c (__tzfile_read): Likewise.
61402         (__tzfile_compute): Likewise.
61403         * time/tzset.c (__tzset_parse_tz): Likewise.
61404         (tzset_internal): Likewise.
61405         (compute_change): Likewise.
61406         * wcsmbs/wcscat.c (__wcscat): Likewise.
61407         * wcsmbs/wcschr.c (wcschr): Likewise.
61408         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
61409         * wcsmbs/wcscspn.c (wcscspn): Likewise.
61410         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
61411         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
61412         * wcsmbs/wcsspn.c (wcsspn): Likewise.
61413         * wcsmbs/wcsstr.c (wcsstr): Likewise.
61414         * wcsmbs/wmemchr.c (wmemchr): Likewise.
61415         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
61416         * wcsmbs/wmemset.c (wmemset): Likewise.
61418 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
61420         * scripts/config.guess: Update to version 2013-05-16.
61421         * scripts/config.sub: Update to version 2013-04-24.
61422         * scripts/install-sh: Update to version 2011-11-20.07.
61423         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
61424         * scripts/move-if-change: Update to version 2012-01-06 07:23.
61426 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
61428         * debug/fgetws_u_chk.c: Fix leading whitespaces.
61429         * elf/sln.c: Likewise.
61430         * hurd/hurd/ioctl.h: Likewise.
61431         * hurd/hurdmalloc.c: Likewise.
61432         * hurd/xattr.c: Likewise.
61433         * include/shlib-compat.h: Likewise.
61434         * inet/ruserpass.c: Likewise.
61435         * libio/iofgets_u.c: Likewise.
61436         * libio/iofgetws_u.c: Likewise.
61437         * locale/programs/ld-identification.c: Likewise.
61438         * locale/programs/ld-time.c: Likewise.
61439         * mach/msg-destroy.c: Likewise.
61440         * nss/nss_files/files-netgrp.c: Likewise.
61441         * resolv/res_data.c: Likewise.
61442         * soft-fp/op-1.h: Likewise.
61443         * soft-fp/op-2.h: Likewise.
61444         * soft-fp/op-4.h: Likewise.
61445         * soft-fp/op-common.h: Likewise.
61446         * stdio-common/printf_fphex.c: Likewise.
61447         * stdlib/strtod_l.c: Likewise.
61448         * sunrpc/rpc/clnt.h: Likewise.
61449         * sysdeps/generic/framestate.c: Likewise.
61450         * sysdeps/i386/bsd-_setjmp.S: Likewise.
61451         * sysdeps/i386/bsd-setjmp.S: Likewise.
61452         * sysdeps/i386/__longjmp.S: Likewise.
61453         * sysdeps/i386/setjmp.S: Likewise.
61454         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
61455         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
61456         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
61457         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
61458         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
61459         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
61460         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
61461         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
61462         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
61463         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
61464         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
61465         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
61466         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
61467         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
61468         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
61469         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
61470         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
61471         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
61472         * sysdeps/ieee754/support.c: Likewise.
61473         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
61474         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
61475         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
61476         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
61477         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
61478         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
61479         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
61480         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
61481         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
61482         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
61483         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
61484         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
61485         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
61486         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
61487         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
61488         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
61489         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
61490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
61492 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
61494         * posix/transbug.c: Remove executable mode.
61496 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
61498         * crypt/speeds.c: Remove trailing whitespace.
61499         * dlfcn/default.c: Likewise.
61500         * elf/ifuncdep2.c: Likewise.
61501         * elf/ifuncmain1.c: Likewise.
61502         * elf/ifuncmain1vis.c: Likewise.
61503         * elf/testobj.h: Likewise.
61504         * elf/tst-stackguard1.c: Likewise.
61505         * gmon/sys/gmon.h: Likewise.
61506         * hurd/hurdmsg.c: Likewise.
61507         * hurd/new-fd.c: Likewise.
61508         * hurd/ports-get.c: Likewise.
61509         * iconvdata/ibm1008_420.c: Likewise.
61510         * inet/tst-getni1.c: Likewise.
61511         * inet/tst-getni2.c: Likewise.
61512         * libio/ioungetc.c: Likewise.
61513         * libio/wfiledoalloc.c: Likewise.
61514         * manual/libm-err-tab.pl: Likewise.
61515         * math/w_dremf.c: Likewise.
61516         * misc/ftruncate.c: Likewise.
61517         * posix/bug-glob2.c: Likewise.
61518         * posix/tst-pcre.c: Likewise.
61519         * posix/wait4.c: Likewise.
61520         * resolv/README: Likewise.
61521         * resolv/res_debug.h: Likewise.
61522         * resolv/tst-inet_ntop.c: Likewise.
61523         * setjmp/bug269-setjmp.c: Likewise.
61524         * soft-fp/extended.h: Likewise.
61525         * soft-fp/op-1.h: Likewise.
61526         * soft-fp/op-2.h: Likewise.
61527         * soft-fp/op-4.h: Likewise.
61528         * soft-fp/op-8.h: Likewise.
61529         * soft-fp/testit.c: Likewise.
61530         * stdio-common/bug16.c: Likewise.
61531         * stdlib/random.c: Likewise.
61532         * sunrpc/rpcsvc/rquota.x: Likewise.
61533         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
61534         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
61535         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
61536         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
61537         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
61538         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
61539         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
61540         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
61541         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
61542         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
61543         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
61544         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
61545         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
61546         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
61547         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
61548         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
61549         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
61550         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
61551         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
61552         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
61553         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
61554         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
61555         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
61556         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
61557         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
61558         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
61559         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
61560         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
61561         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
61562         * sysdeps/ieee754/s_lib_version.c: Likewise.
61563         * sysdeps/mach/hurd/check_fds.c: Likewise.
61564         * sysdeps/mach/hurd/getsockname.c: Likewise.
61565         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
61566         * sysdeps/mach/hurd/recvfrom.c: Likewise.
61567         * sysdeps/powerpc/bits/link.h: Likewise.
61568         * sysdeps/powerpc/dl-procinfo.c: Likewise.
61569         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
61570         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
61571         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
61572         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
61573         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
61574         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
61575         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
61576         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
61577         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
61578         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
61579         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
61580         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
61581         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
61582         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
61583         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
61584         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
61585         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
61586         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
61587         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
61588         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
61589         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
61590         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
61591         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
61592         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
61593         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
61594         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
61595         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
61596         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
61597         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
61598         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
61599         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
61600         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
61601         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
61602         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
61603         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
61604         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
61605         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
61606         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
61607         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
61608         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
61609         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
61610         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
61611         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
61612         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
61613         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
61614         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
61615         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
61616         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
61617         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
61618         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
61619         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
61620         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
61621         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
61622         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
61623         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
61624         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
61625         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
61626         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
61627         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
61628         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
61629         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
61630         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
61631         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
61632         * sysdeps/powerpc/sysdep.h: Likewise.
61633         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
61634         * sysdeps/s390/s390-64/sub_n.S: Likewise.
61635         * sysdeps/sh/dl-trampoline.S: Likewise.
61636         * sysdeps/sh/memset.S: Likewise.
61637         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
61638         * sysdeps/sh/strlen.S: Likewise.
61639         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
61640         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
61641         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
61642         * sysdeps/sparc/sparc32/rem.S: Likewise.
61643         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
61644         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
61645         * sysdeps/sparc/sparc32/strchr.S: Likewise.
61646         * sysdeps/sparc/sparc32/udiv.S: Likewise.
61647         * sysdeps/sparc/sparc32/urem.S: Likewise.
61648         * sysdeps/sparc/sparc64/add_n.S: Likewise.
61649         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
61650         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
61651         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
61652         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
61653         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
61654         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
61655         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
61656         * sysdeps/unix/bsd/times.c: Likewise.
61657         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
61658         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
61659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
61660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
61661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
61662         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
61663         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
61664         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
61665         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
61666         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
61667         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
61668         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
61669         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
61670         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
61671         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
61672         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
61673         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
61674         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
61675         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
61676         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
61677         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
61678         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
61679         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
61680         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
61681         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
61682         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
61683         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
61684         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
61685         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
61686         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
61687         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
61688         * sysdeps/x86_64/strcspn.S: Likewise.
61690 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61692         * locale/C-translit.h: Revert #include <stdint.h> because this is a
61693         generated file.  Regenerate properly from gen-translit.pl.
61694         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
61695         locale/C-translit.h.
61697 2013-06-05  Andreas Schwab  <schwab@suse.de>
61699         [BZ #15100]
61700         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
61701         week as 6 instead of -1.
61702         * time/tst-strptime.c (day_tests): Add test case.
61704 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61706         * sysdeps/generic/math_private.h
61707         (libc_feholdexcept_setround_53bit): Replace with
61708         libc_feholdsetround_53bit.
61709         (libc_feupdateenv_53bit): Replace with
61710         libc_feresetround_53bit.
61711         (SET_RESTORE_ROUND_53BIT): Adjust.
61713 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
61715         * string/test-strchrnul.c: Add copyright header.
61717         * posix/tst-getaddrinfo4.c: Increase test timeout.
61719 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
61721         [BZ #15536]
61722         * math/libm-test.inc (MAX_EXP): Remove
61723         (MIN_EXP): Define.
61724         (ulp): Use MIN_EXP - MANT_DIG.
61725         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
61727 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
61729         * po/be.po: Revert last change.
61730         * po/zh_CN.po: Likewise.
61731         * po/header.pot: Likewise.
61733 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
61735         * Makefile ($(common-objpfx)linkobj/libc.so): Define
61736         link-libc-deps to empty as target-specific variable.
61737         * Makerules (link-libc-args): New variable.
61738         (libc-for-link): Likewise.
61739         (link-libc-deps): Likewise.
61740         (lib%.so): Depend on $(link-libc-deps).  Link with
61741         $(link-libc-args).
61742         (build-module): Link with $(link-libc-args).
61743         (build-module-asneeded): Likewise.
61744         (build-module-helper-objlist): Filter out $(link-libc-deps) from
61745         list of objects.
61746         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
61747         target-specific variable.
61748         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
61749         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
61750         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
61751         libc.
61752         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
61753         libc and ld.so.
61754         ($(objpfx)libpcprofile.so): Likewise.
61755         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
61756         libc_nonshared.a.
61757         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
61758         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
61759         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
61760         $(link-libc-deps).
61761         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
61762         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
61763         * login/Makefile ($(objpfx)libutil.so): Likewise.
61764         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
61765         * math/Makefile ($(objpfx)libm.so): Likewise.
61766         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
61767         $(objpfx)libnsl.so): Define libc-for-link as target-specific
61768         variable instead of depending directly on libc.
61769         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
61770         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
61771         $(link-libc-deps).
61772         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
61773         libc.
61774         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
61775         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
61776         ($(objpfx)libanl.so): Likewise.
61777         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
61778         ld.so.
61779         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
61780         $(link-libc-deps).
61781         * sysdeps/i386/fpu/Makefile: Remove file.
61782         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
61783         ($(objpfx)libm.so): Remove dependency on ld.so.
61785 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
61787         [BZ # 15553]
61788         * nis/yp_xdr.c (XDRMAXNAME): Define.
61789         (XDRMAXRECORD): Define.
61790         (xdr_domainname): Use XDRMAXNAME.
61791         (xdr_mapname): Likewise.
61792         (xdr_peername): Likewise.
61793         (xdr_keydat): Use XDRMAXRECORD.
61794         (xdr_valdat): Likewise.
61796 2013-05-30  Jeff Law  <law@redhat.com>
61798         [BZ #14256]
61799         * manual/errno.texi (ESTALE): Update to account for more than
61800         just NFS file systems.
61801         * sysdeps/gnu/errlist.c: Regenerated.
61803 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61805         [BZ #15465]
61806         * elf/Makefile (tests): Add tst-null-argv.
61807         (modules-names):  Add tst-null-argv-lib.
61808         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
61809         (tst-null-argv-ENV): Set environment for tst-null-argv.
61810         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
61811         (RTLD_PROGNAME): New macro.
61812         * elf/tst-null-argv.c: New test case.
61813         * elf/tst-null-argv-lib.c: Library for test case.
61814         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
61815         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
61816         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
61817         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
61818         * elf/dl-init.c (call_init): Likewise.
61819         (_dl_init): Likewise.
61820         * elf/dl-load.c (print_search_path): Likewise.
61821         (_dl_map_object): Likewise.
61822         * elf/dl-lookup.c (do_lookup_x): Likewise.
61823         (add_dependency): Likewise.
61824         (_dl_lookup_symbol_x): Likewise.
61825         (_dl_debug_bindings): Likewise.
61826         * elf/dl-open.c (_dl_show_scope): Likewise.
61827         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
61828         * elf/dl-version.c (match_symbol): Likewise.
61829         (_dl_check_map_versions): Likewise.
61830         * elf/rtld.c (dl_main): Likewise.
61831         (print_unresolved): Use RTLD_PROGNAME.
61832         (print_missing_version): Likewise.
61833         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
61834         (elf_machine_rela): Likewise.
61835         * sysdeps/powerpc/powerpc32/dl-machine.c
61836         (__process_machine_rela): Likewise.
61837         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61838         Likewise.
61839         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
61840         Likewise.
61841         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
61842         Likewise.
61843         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
61844         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
61845         Likewise.
61846         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
61847         Likewise.
61848         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
61850 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
61852         * po/be.po: Add descriptive title.
61853         * po/zh_CN.po: Likewise.
61854         * po/header.pot: Likewise.
61856 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
61858         * locale/programs/locarchive.c (create_archive): Inlucde fname in
61859         error message.
61860         (enlarge_archive): Likewise.
61862 2013-05-28  Ben North  <ben@redfrontdoor.org>
61864         * manual/arith.texi (frexp): It is the magnitude of the return
61865         value which lies in [0.5, 1), not the return value itself.
61867 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61869         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61871 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
61873         * stdio-common/bug26.c (main): Correct fscanf template.
61875         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
61876         declare _dl_skip_args.
61878         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
61879         Don't declare.
61881         * manual/platform.texi: Add missing @end deftypefun.
61883 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
61885         [BZ #15529]
61886         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
61887         bit of mantissa of 2^16382.
61888         * math/libm-test.inc (hypot_test_data): Add more tests.
61890         * math/libm-test.inc: Add drem and pow10 to list of tested
61891         functions.
61892         (pow10_test): New function.
61893         (drem_test): Likewise.
61894         (drem_test_tonearest): Likewise.
61895         (drem_test_towardzero): Likewise.
61896         (drem_test_downward): Likewise.
61897         (drem_test_upward): Likewise.
61898         (main): Call the new functions.
61900         * math/libm-test.inc (finite_test_data): Remove.
61901         (finite_test): Run tests from isfinite_test_data.
61902         (gamma_test_data): Remove.
61903         (gamma_test): Run tests from lgamma_test_data.
61904         * sysdeps/i386/fpu/libm-test-ulps: Update.
61905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61907 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61909         * manual/platform.texi: Add PowerPC PPR function set documentation.
61910         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
61911         implementation.
61913 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
61915         * math/libm-test.inc (MAX_EXP): Define.
61916         (ULPDIFF): Define.
61917         (ulp): New function.
61918         (check_float_internal): Use ULPDIFF.
61919         (cpow_test): Disable failing test.
61920         (check_ulp): Test ulp() implementation.
61921         (main): Call check_ulp before starting tests.
61923 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
61925         * math/gen-libm-test.pl (generate_testfile): Do not handle
61926         START_DATA and END_DATA.
61927         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
61928         END_DATA.
61929         (acos_tonearest_test_data): Likewise.
61930         (acos_towardzero_test_data): Likewise.
61931         (acos_downward_test_data): Likewise.
61932         (acos_upward_test_data): Likewise.
61933         (acosh_test_data): Likewise.
61934         (asin_test_data): Likewise.
61935         (asin_tonearest_test_data): Likewise.
61936         (asin_towardzero_test_data): Likewise.
61937         (asin_downward_test_data): Likewise.
61938         (asin_upward_test_data): Likewise.
61939         (asinh_test_data): Likewise.
61940         (atan_test_data): Likewise.
61941         (atanh_test_data): Likewise.
61942         (atan2_test_data): Likewise.
61943         (cabs_test_data): Likewise.
61944         (cacos_test_data): Likewise.
61945         (cacosh_test_data): Likewise.
61946         (carg_test_data): Likewise.
61947         (casin_test_data): Likewise.
61948         (casinh_test_data): Likewise.
61949         (catan_test_data): Likewise.
61950         (catanh_test_data): Likewise.
61951         (cbrt_test_data): Likewise.
61952         (ccos_test_data): Likewise.
61953         (ccosh_test_data): Likewise.
61954         (ceil_test_data): Likewise.
61955         (cexp_test_data): Likewise.
61956         (cimag_test_data): Likewise.
61957         (clog_test_data): Likewise.
61958         (clog10_test_data): Likewise.
61959         (conj_test_data): Likewise.
61960         (copysign_test_data): Likewise.
61961         (cos_test_data): Likewise.
61962         (cos_tonearest_test_data): Likewise.
61963         (cos_towardzero_test_data): Likewise.
61964         (cos_downward_test_data): Likewise.
61965         (cos_upward_test_data): Likewise.
61966         (cosh_test_data): Likewise.
61967         (cosh_tonearest_test_data): Likewise.
61968         (cosh_towardzero_test_data): Likewise.
61969         (cosh_downward_test_data): Likewise.
61970         (cosh_upward_test_data): Likewise.
61971         (cpow_test_data): Likewise.
61972         (cproj_test_data): Likewise.
61973         (creal_test_data): Likewise.
61974         (csin_test_data): Likewise.
61975         (csinh_test_data): Likewise.
61976         (csqrt_test_data): Likewise.
61977         (ctan_test_data): Likewise.
61978         (ctan_tonearest_test_data): Likewise.
61979         (ctan_towardzero_test_data): Likewise.
61980         (ctan_downward_test_data): Likewise.
61981         (ctan_upward_test_data): Likewise.
61982         (ctanh_test_data): Likewise.
61983         (ctanh_tonearest_test_data): Likewise.
61984         (ctanh_towardzero_test_data): Likewise.
61985         (ctanh_downward_test_data): Likewise.
61986         (ctanh_upward_test_data): Likewise.
61987         (erf_test_data): Likewise.
61988         (erfc_test_data): Likewise.
61989         (exp_test_data): Likewise.
61990         (exp_tonearest_test_data): Likewise.
61991         (exp_towardzero_test_data): Likewise.
61992         (exp_downward_test_data): Likewise.
61993         (exp_upward_test_data): Likewise.
61994         (exp10_test_data): Likewise.
61995         (exp2_test_data): Likewise.
61996         (expm1_test_data): Likewise.
61997         (fabs_test_data): Likewise.
61998         (fdim_test_data): Likewise.
61999         (finite_test_data): Likewise.
62000         (floor_test_data): Likewise.
62001         (fma_test_data): Likewise.
62002         (fma_towardzero_test_data): Likewise.
62003         (fma_downward_test_data): Likewise.
62004         (fma_upward_test_data): Likewise.
62005         (fmax_test_data): Likewise.
62006         (fmin_test_data): Likewise.
62007         (fmod_test_data): Likewise.
62008         (fpclassify_test_data): Likewise.
62009         (frexp_test_data): Likewise.
62010         (gamma_test_data): Likewise.
62011         (hypot_test_data): Likewise.
62012         (ilogb_test_data): Likewise.
62013         (isfinite_test_data): Likewise.
62014         (isgreater_test_data): Likewise.
62015         (isgreaterequal_test_data): Likewise.
62016         (isinf_test_data): Likewise.
62017         (isless_test_data): Likewise.
62018         (islessequal_test_data): Likewise.
62019         (islessgreater_test_data): Likewise.
62020         (isnan_test_data): Likewise.
62021         (isnormal_test_data): Likewise.
62022         (issignaling_test_data): Likewise.
62023         (isunordered_test_data): Likewise.
62024         (j0_test_data): Likewise.
62025         (j1_test_data): Likewise.
62026         (jn_test_data): Likewise.
62027         (ldexp_test_data): Likewise.
62028         (lgamma_test_data): Likewise.
62029         (lrint_test_data): Likewise.
62030         (lrint_tonearest_test_data): Likewise.
62031         (lrint_towardzero_test_data): Likewise.
62032         (lrint_downward_test_data): Likewise.
62033         (lrint_upward_test_data): Likewise.
62034         (llrint_test_data): Likewise.
62035         (llrint_tonearest_test_data): Likewise.
62036         (llrint_towardzero_test_data): Likewise.
62037         (llrint_downward_test_data): Likewise.
62038         (llrint_upward_test_data): Likewise.
62039         (log_test_data): Likewise.
62040         (log10_test_data): Likewise.
62041         (log1p_test_data): Likewise.
62042         (log2_test_data): Likewise.
62043         (logb_test_data): Likewise.
62044         (logb_downward_test_data): Likewise.
62045         (lround_test_data): Likewise.
62046         (llround_test_data): Likewise.
62047         (modf_test_data): Likewise.
62048         (nearbyint_test_data): Likewise.
62049         (nextafter_test_data): Likewise.
62050         (nexttoward_test_data): Likewise.
62051         (pow_test_data): Likewise.
62052         (pow_tonearest_test_data): Likewise.
62053         (pow_towardzero_test_data): Likewise.
62054         (pow_downward_test_data): Likewise.
62055         (pow_upward_test_data): Likewise.
62056         (remainder_test_data): Likewise.
62057         (remainder_tonearest_test_data): Likewise.
62058         (remainder_towardzero_test_data): Likewise.
62059         (remainder_downward_test_data): Likewise.
62060         (remainder_upward_test_data): Likewise.
62061         (remquo_test_data): Likewise.
62062         (rint_test_data): Likewise.
62063         (rint_tonearest_test_data): Likewise.
62064         (rint_towardzero_test_data): Likewise.
62065         (rint_downward_test_data): Likewise.
62066         (rint_upward_test_data): Likewise.
62067         (round_test_data): Likewise.
62068         (scalb_test_data): Likewise.
62069         (scalbn_test_data): Likewise.
62070         (scalbln_test_data): Likewise.
62071         (signbit_test_data): Likewise.
62072         (sin_test_data): Likewise.
62073         (sin_tonearest_test_data): Likewise.
62074         (sin_towardzero_test_data): Likewise.
62075         (sin_downward_test_data): Likewise.
62076         (sin_upward_test_data): Likewise.
62077         (sincos_test_data): Likewise.
62078         (sinh_test_data): Likewise.
62079         (sinh_tonearest_test_data): Likewise.
62080         (sinh_towardzero_test_data): Likewise.
62081         (sinh_downward_test_data): Likewise.
62082         (sinh_upward_test_data): Likewise.
62083         (sqrt_test_data): Likewise.
62084         (tan_test_data): Likewise.
62085         (tan_tonearest_test_data): Likewise.
62086         (tan_towardzero_test_data): Likewise.
62087         (tan_downward_test_data): Likewise.
62088         (tan_upward_test_data): Likewise.
62089         (tanh_test_data): Likewise.
62090         (tgamma_test_data): Likewise.
62091         (trunc_test_data): Likewise.
62092         (y0_test_data): Likewise.
62093         (y1_test_data): Likewise.
62094         (yn_test_data): Likewise.
62095         (significand_test_data): Likewise.
62097         * math/gen-libm-test.pl (@functions): Remove variable.
62098         (generate_testfile): Don't handle START and END lines.
62099         * math/libm-test.inc (START): New macro.
62100         (END): Likewise.
62101         (END_COMPLEX): Likewise.
62102         (acos_test): Use END macro without arguments.
62103         (acos_test_tonearest): Likewise.
62104         (acos_test_towardzero): Likewise.
62105         (acos_test_downward): Likewise.
62106         (acos_test_upward): Likewise.
62107         (acosh_test): Likewise.
62108         (asin_test): Likewise.
62109         (asin_test_tonearest): Likewise.
62110         (asin_test_towardzero): Likewise.
62111         (asin_test_downward): Likewise.
62112         (asin_test_upward): Likewise.
62113         (asinh_test): Likewise.
62114         (atan_test): Likewise.
62115         (atanh_test): Likewise.
62116         (atan2_test): Likewise.
62117         (cabs_test): Likewise.
62118         (cacos_test): Use END_COMPLEX macro without arguments.
62119         (cacosh_test): Likewise.
62120         (carg_test): Use END macro without arguments.
62121         (casin_test): Use END_COMPLEX macro without arguments.
62122         (casinh_test): Likewise.
62123         (catan_test): Likewise.
62124         (catanh_test): Likewise.
62125         (cbrt_test): Use END macro without arguments.
62126         (ccos_test): Use END_COMPLEX macro without arguments.
62127         (ccosh_test): Likewise.
62128         (ceil_test): Use END macro without arguments.
62129         (cexp_test): Use END_COMPLEX macro without arguments.
62130         (cimag_test): Use END macro without arguments.
62131         (clog_test): Use END_COMPLEX macro without arguments.
62132         (clog10_test): Likewise.
62133         (conj_test): Likewise.
62134         (copysign_test): Use END macro without arguments.
62135         (cos_test): Likewise.
62136         (cos_test_tonearest): Likewise.
62137         (cos_test_towardzero): Likewise.
62138         (cos_test_downward): Likewise.
62139         (cos_test_upward): Likewise.
62140         (cosh_test): Likewise.
62141         (cosh_test_tonearest): Likewise.
62142         (cosh_test_towardzero): Likewise.
62143         (cosh_test_downward): Likewise.
62144         (cosh_test_upward): Likewise.
62145         (cpow_test): Use END_COMPLEX macro without arguments.
62146         (cproj_test): Likewise.
62147         (creal_test): Use END macro without arguments.
62148         (csin_test): Use END_COMPLEX macro without arguments.
62149         (csinh_test): Likewise.
62150         (csqrt_test): Likewise.
62151         (ctan_test): Likewise.
62152         (ctan_test_tonearest): Likewise.
62153         (ctan_test_towardzero): Likewise.
62154         (ctan_test_downward): Likewise.
62155         (ctan_test_upward): Likewise.
62156         (ctanh_test): Likewise.
62157         (ctanh_test_tonearest): Likewise.
62158         (ctanh_test_towardzero): Likewise.
62159         (ctanh_test_downward): Likewise.
62160         (ctanh_test_upward): Likewise.
62161         (erf_test): Use END macro without arguments.
62162         (erfc_test): Likewise.
62163         (exp_test): Likewise.
62164         (exp_test_tonearest): Likewise.
62165         (exp_test_towardzero): Likewise.
62166         (exp_test_downward): Likewise.
62167         (exp_test_upward): Likewise.
62168         (exp10_test): Likewise.
62169         (exp2_test): Likewise.
62170         (expm1_test): Likewise.
62171         (fabs_test): Likewise.
62172         (fdim_test): Likewise.
62173         (finite_test): Likewise.
62174         (floor_test): Likewise.
62175         (fma_test): Likewise.
62176         (fma_test_towardzero): Likewise.
62177         (fma_test_downward): Likewise.
62178         (fma_test_upward): Likewise.
62179         (fmax_test): Likewise.
62180         (fmin_test): Likewise.
62181         (fmod_test): Likewise.
62182         (fpclassify_test): Likewise.
62183         (frexp_test): Likewise.
62184         (gamma_test): Likewise.
62185         (hypot_test): Likewise.
62186         (ilogb_test): Likewise.
62187         (isfinite_test): Likewise.
62188         (isgreater_test): Likewise.
62189         (isgreaterequal_test): Likewise.
62190         (isinf_test): Likewise.
62191         (isless_test): Likewise.
62192         (islessequal_test): Likewise.
62193         (islessgreater_test): Likewise.
62194         (isnan_test): Likewise.
62195         (isnormal_test): Likewise.
62196         (issignaling_test): Likewise.
62197         (isunordered_test): Likewise.
62198         (j0_test): Likewise.
62199         (j1_test): Likewise.
62200         (jn_test): Likewise.
62201         (ldexp_test): Likewise.
62202         (lgamma_test): Likewise.
62203         (lrint_test): Likewise.
62204         (lrint_test_tonearest): Likewise.
62205         (lrint_test_towardzero): Likewise.
62206         (lrint_test_downward): Likewise.
62207         (lrint_test_upward): Likewise.
62208         (llrint_test): Likewise.
62209         (llrint_test_tonearest): Likewise.
62210         (llrint_test_towardzero): Likewise.
62211         (llrint_test_downward): Likewise.
62212         (llrint_test_upward): Likewise.
62213         (log_test): Likewise.
62214         (log10_test): Likewise.
62215         (log1p_test): Likewise.
62216         (log2_test): Likewise.
62217         (logb_test): Likewise.
62218         (logb_test_downward): Likewise.
62219         (lround_test): Likewise.
62220         (llround_test): Likewise.
62221         (modf_test): Likewise.
62222         (nearbyint_test): Likewise.
62223         (nextafter_test): Likewise.
62224         (nexttoward_test): Likewise.
62225         (pow_test): Likewise.
62226         (pow_test_tonearest): Likewise.
62227         (pow_test_towardzero): Likewise.
62228         (pow_test_downward): Likewise.
62229         (pow_test_upward): Likewise.
62230         (remainder_test): Likewise.
62231         (remainder_test_tonearest): Likewise.
62232         (remainder_test_towardzero): Likewise.
62233         (remainder_test_downward): Likewise.
62234         (remainder_test_upward): Likewise.
62235         (remquo_test): Likewise.
62236         (rint_test): Likewise.
62237         (rint_test_tonearest): Likewise.
62238         (rint_test_towardzero): Likewise.
62239         (rint_test_downward): Likewise.
62240         (rint_test_upward): Likewise.
62241         (round_test): Likewise.
62242         (scalb_test): Likewise.
62243         (scalbn_test): Likewise.
62244         (scalbln_test): Likewise.
62245         (signbit_test): Likewise.
62246         (sin_test): Likewise.
62247         (sin_test_tonearest): Likewise.
62248         (sin_test_towardzero): Likewise.
62249         (sin_test_downward): Likewise.
62250         (sin_test_upward): Likewise.
62251         (sincos_test): Likewise.
62252         (sinh_test): Likewise.
62253         (sinh_test_tonearest): Likewise.
62254         (sinh_test_towardzero): Likewise.
62255         (sinh_test_downward): Likewise.
62256         (sinh_test_upward): Likewise.
62257         (sqrt_test): Likewise.
62258         (tan_test): Likewise.
62259         (tan_test_tonearest): Likewise.
62260         (tan_test_towardzero): Likewise.
62261         (tan_test_downward): Likewise.
62262         (tan_test_upward): Likewise.
62263         (tanh_test): Likewise.
62264         (tgamma_test): Likewise.
62265         (trunc_test): Likewise.
62266         (y0_test): Likewise.
62267         (y1_test): Likewise.
62268         (yn_test): Likewise.
62269         (significand_test): Likewise.
62271 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
62273         [BZ #15381]
62274         * libio/genops.c (_IO_no_init): Initialize wide struct info.
62276 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
62278         [BZ #14894]
62279         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
62280         __ppc_mdoio and __ppc_mdoom.
62281         * manual/platform.texi: Document new functions __ppc_yield,
62282         __ppc_mdoio and __ppc_mdoom.
62284 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
62286         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
62287         (main): Mention "tls" pseudo-hwcap is legacy.
62288         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
62290 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
62292         * math/gen-libm-test.pl (parse_args): Output only string of
62293         arguments as text for test name, not full call or descriptions of
62294         tests for extra outputs.
62295         (generate_testfile): Do not pass function name to parse_args.
62296         Generate this_func variable from START.
62297         * math/libm-test.inc (struct test_f_f_data): Rename test_name
62298         field to arg_str.
62299         (struct test_ff_f_data): Likewise.
62300         (test_ff_f_data_nexttoward): Likewise.
62301         (struct test_fi_f_data): Likewise.
62302         (struct test_fl_f_data): Likewise.
62303         (struct test_if_f_data): Likewise.
62304         (struct test_fff_f_data): Likewise.
62305         (struct test_c_f_data): Likewise.
62306         (struct test_f_f1_data): Likewise.  Remove field extra_name.
62307         (struct test_fF_f1_data): Likewise.
62308         (struct test_ffI_f1_data): Likewise.
62309         (struct test_c_c_data): Rename test_name field to arg_str.
62310         (struct test_cc_c_data): Likewise.
62311         (struct test_f_i_data): Likewise.
62312         (struct test_ff_i_data): Likewise.
62313         (struct test_f_l_data): Likewise.
62314         (struct test_f_L_data): Likewise.
62315         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
62316         and extra2_name.
62317         (COMMON_TEST_SETUP): New macro.
62318         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
62319         (COMMON_TEST_CLEANUP): Likewise.
62320         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
62321         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
62322         macros.
62323         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
62324         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
62325         macros.
62326         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
62327         (RUN_TEST_fff_f): Take argument string.  Call new setup and
62328         cleanup macros.
62329         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
62330         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
62331         macros.
62332         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
62333         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
62334         macros.
62335         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
62336         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
62337         cleanup macros.
62338         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
62339         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
62340         cleanup macros.
62341         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
62342         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
62343         cleanup macros.
62344         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
62345         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
62346         macros.
62347         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
62348         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
62349         macros.
62350         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
62351         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
62352         macros.
62353         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
62354         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
62355         cleanup macros.
62356         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
62357         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
62358         cleanup macros.
62359         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
62360         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
62361         macros.
62362         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
62363         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
62364         cleanup macros.
62365         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
62366         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
62367         macros.
62368         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
62369         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
62370         macros.
62371         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
62372         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
62373         cleanup macros.
62374         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
62376 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
62378         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
62379         to _sifields.sigfault.
62380         (si_addr_lsb): Define new macro.
62381         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
62382         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
62383         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
62385 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
62387         [BZ #15441]
62388         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
62389         returns -1.
62390         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
62391         null return -1.
62392         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
62393         loading the domain.
62395 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
62397         * math/gen-libm-test.pl (parse_args): Do not include expected
62398         result in test name.
62399         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
62400         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62401         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
62402         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
62403         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
62404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62406 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
62408         * benchtests/Makefile: Sort function entries.
62410         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
62411         tanh, asinh, acosh, atanh.
62412         * benchtests/acos-inputs: New file.
62413         * benchtests/acosh-inputs: New file.
62414         * benchtests/asin-inputs: New file.
62415         * benchtests/asinh-inputs: New file.
62416         * benchtests/atanh-inputs: New file.
62417         * benchtests/cosh-inputs: New file.
62418         * benchtests/log-inputs: New file.
62419         * benchtests/sinh-inputs: New file.
62420         * benchtests/tanh-inputs: New file.
62422 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
62424         [BZ #15339]
62425         * posix/tst-getaddrinfo4.c: New test.
62426         * posix/Makefile (tests): Add it.
62428 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62430         [BZ #15339]
62431         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
62432         when no services were used.
62433         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
62434         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
62436 2013-05-21  Andreas Schwab  <schwab@suse.de>
62438         [BZ #15014]
62439         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
62440         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
62441         successful.
62442         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
62443         redundant variable declarations and reallocation of buffer when
62444         parsing as IPv6 address.  Always set NSS status when called from
62445         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
62446         buffer too small.  Correct computation of needed size.
62447         * nss/Makefile (tests): Add test-digits-dots.
62448         * nss/test-digits-dots.c: New test.
62450 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62452         * benchtests/Makefile: Remove instructions for adding
62453         benchmark tests.
62454         * benchtests/README: New file to explain how to execute and
62455         enhance the benchmark tests.
62457 2013-05-21  Andreas Schwab  <schwab@suse.de>
62459         [BZ #15493]
62460         * setjmp/Makefile (tests): Add tst-sigsetjmp.
62461         * setjmp/tst-sigsetjmp.c: New test.
62463 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
62465         * sysdeps/x86_64/memset.S (memset): New implementation.
62466         (__bzero): Likewise.
62467         (__memset_tail): New function.
62469 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
62471         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
62472         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
62473         __memcpy_sse2_unaligned ifunc selection.
62474         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
62475         Add memcpy-sse2-unaligned.S.
62476         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
62477         Add: __memcpy_sse2_unaligned.
62479 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
62481         [BZ #15490]
62482         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
62483         math_force_eval before restoring floating-point envrionment.
62484         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
62485         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
62486         Likewise.
62487         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
62488         <math_private.h>.
62489         (__nearbyintl): Use math_force_eval before restoring
62490         floating-point environment.
62491         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
62493         * math/gen-libm-test.pl (special_functions): Remove.
62494         (parse_args): Don't handle TEST_extra.  Handle functions with no
62495         return value.
62496         * math/libm-test.inc (struct test_sincos_data): Replace with
62497         struct test_fFF_11_data.
62498         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
62499         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
62500         (sincos_test_data): Change element type to struct
62501         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
62502         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
62503         RUN_TEST_LOOP_sincos.
62504         * math/README.libm-test: Don't mention special handling of
62505         individual functions.
62506         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
62507         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62508         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
62509         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
62510         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
62511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62513         * math/gen-libm-test.pl (get_variable): Remove function.
62514         (parse_args): Don't show pointer parameters to call in test
62515         names.  Use "extra output N" in test names for extra outputs
62516         rather than naming variables.
62518 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
62520         [BZ #15488]
62521         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
62522         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
62523         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
62524         double tests.
62525         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
62526         disable.
62527         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
62528         check_long_double.
62530         * math/gen-libm-test.pl (@tests): Remove variable.
62531         ($count): Likewise.
62532         (new_test): Remove function.
62533         (show_exceptions): New function.
62534         (special_functions): Use show_exceptions instead of new_test.
62535         (parse_args): Likewise.
62536         (generate_testfile): Pass only function name in generated call to
62537         print_max_error or print_complex_max_error.
62538         (get_ulps): Do not handle complex tests specially.
62539         (output_test): Rename to ...
62540         (get_all_ulps_for_test): ... this.  Return a string rather than
62541         printing to a file.  Require ulps to be present.
62542         (output_ulps): Generate arrays rather than #defines.
62543         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
62544         (struct ulp_data): New type.
62545         (BUILD_COMPLEX_ULP): Remove macro.
62546         (compare_ulp_data): New function.
62547         (find_ulps): Likewise.
62548         (find_test_ulps): Likewise.
62549         (find_function_ulps): Likewise.
62550         (find_complex_function_ulps): Likewise.
62551         (print_max_error): Determine allowed ulps using
62552         find_function_ulps.
62553         (print_complex_max_error): Determine allowed ulps using
62554         find_complex_function_ulps.
62555         (check_float_internal): Determine max ulps using find_test_ulps.
62556         (check_float): Do not take max_ulp parameter.  Update call to
62557         check_float_internal.
62558         (check_complex): Likewise.
62559         (check_int): Do not take max_ulp parameter.
62560         (check_long): Likewise.
62561         (check_bool): Likewise.
62562         (check_longlong): Likewise.
62563         (struct test_f_f_data): Remove max_ulp field.
62564         (struct test_ff_f_data): Likewise.
62565         (struct test_ff_f_data_nexttoward): Likewise.
62566         (struct test_fi_f_data): Likewise.
62567         (struct test_fl_f_data): Likewise.
62568         (struct test_if_f_data): Likewise.
62569         (struct test_fff_f_data): Likewise.
62570         (struct test_c_f_data): Likewise.
62571         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
62572         (struct test_fF_f1_data): Likewise.
62573         (struct test_ffI_f1_data): Likewise.
62574         (struct test_c_c_data): Remove max_ulp field.
62575         (struct test_cc_c_data): Likewise.
62576         (struct test_f_i_data): Likewise.
62577         (struct test_ff_i_data): Likewise.
62578         (struct test_f_l_data): Likewise.
62579         (struct test_f_L_data): Likewise.
62580         (struct test_sincos_data): Likewise.
62581         (RUN_TEST_f_f): Do not handle ulps.
62582         (RUN_TEST_LOOP_f_f): Likewise.
62583         (RUN_TEST_2_f): Likewise.
62584         (RUN_TEST_LOOP_2_f): Likewise.
62585         (RUN_TEST_fff_f): Likewise.
62586         (RUN_TEST_LOOP_fff_f): Likewise.
62587         (RUN_TEST_c_f): Likewise.
62588         (RUN_TEST_LOOP_c_f): Likewise.
62589         (RUN_TEST_f_f1): Likewise.
62590         (RUN_TEST_LOOP_f_f1): Likewise.
62591         (RUN_TEST_fF_f1): Likewise.
62592         (RUN_TEST_LOOP_fF_f1): Likewise.
62593         (RUN_TEST_fI_f1): Likewise.
62594         (RUN_TEST_LOOP_fI_f1): Likewise.
62595         (RUN_TEST_ffI_f1): Likewise.
62596         (RUN_TEST_LOOP_ffI_f1): Likewise.
62597         (RUN_TEST_c_c): Likewise.
62598         (RUN_TEST_LOOP_c_c): Likewise.
62599         (RUN_TEST_cc_c): Likewise.
62600         (RUN_TEST_LOOP_cc_c): Likewise.
62601         (RUN_TEST_f_i): Likewise.
62602         (RUN_TEST_LOOP_f_i): Likewise.
62603         (RUN_TEST_f_i_tg): Likewise.
62604         (RUN_TEST_LOOP_f_i_tg): Likewise.
62605         (RUN_TEST_ff_i_tg): Likewise.
62606         (RUN_TEST_LOOP_ff_i_tg): Likewise.
62607         (RUN_TEST_f_b): Likewise.
62608         (RUN_TEST_LOOP_f_b): Likewise.
62609         (RUN_TEST_f_b_tg): Likewise.
62610         (RUN_TEST_LOOP_f_b_tg): Likewise.
62611         (RUN_TEST_f_l): Likewise.
62612         (RUN_TEST_LOOP_f_l): Likewise.
62613         (RUN_TEST_f_L): Likewise.
62614         (RUN_TEST_LOOP_f_L): Likewise.
62615         (RUN_TEST_sincos): Likewise.
62616         (RUN_TEST_LOOP_sincos): Likewise.
62618 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
62620         [BZ #15480]
62621         [BZ #15485]
62622         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
62623         main case of finite arguments, set rounding mode to FE_TONEAREST
62624         and discard exceptions.
62625         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
62626         exceptions.
62627         (remainder_tonearest_test_data): New variable.
62628         (remainder_test_tonearest): New function.
62629         (remainder_towardzero_test_data): New variable.
62630         (remainder_test_towardzero): New function.
62631         (remainder_downward_test_data): New variable.
62632         (remainder_test_downward): New function.
62633         (remainder_upward_test_data): New variable.
62634         (remainder_test_upward): New function.
62635         (main): Call the new test functions.
62637         * math/libm-test.inc (struct test_f_f1_data): Remove field
62638         extra_init.
62639         (struct test_fF_f1_data): Likewise.
62640         (struct test_ffI_f1_data): Likewise.
62641         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
62642         based on value of EXTRA_EXPECTED.
62643         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
62644         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
62645         EXTRA_VAR based on value of EXTRA_EXPECTED.
62646         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
62647         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
62648         EXTRA_VAR based on value of EXTRA_EXPECTED.
62649         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
62650         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
62651         EXTRA_VAR based on value of EXTRA_EXPECTED.
62652         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
62653         * math/gen-libm-test.pl (parse_args): Don't output initializers
62654         for extra output values.
62656         * math/libm-test.inc (check_int): Expect result to be exactly
62657         equal to expected value and do not handle ulps.
62658         (check_long): Likewise.
62659         (check_longlong): Likewise.
62661         * math/libm-test.inc (ceil_test_data): Test for "inexact"
62662         exceptions.
62663         (cimag_test_data): Likewise.
62664         (conj_test_data): Likewise.
62665         (copysign_test_data): Likewise.
62666         (cproj_test_data): Likewise.
62667         (creal_test_data): Likewise.
62668         (fabs_test_data): Likewise.
62669         (fdim_test_data): Likewise.
62670         (finite_test_data): Likewise.
62671         (floor_test_data): Likewise.
62672         (fmax_test_data): Likewise.
62673         (fmin_test_data): Likewise.
62674         (fmod_test_data): Likewise.
62675         (fpclassify_test_data): Likewise.
62676         (frexp_test_data): Likewise.
62677         (ilogb_test_data): Likewise.
62678         (isfinite_test_data): Likewise.
62679         (isgreater_test_data): Likewise.
62680         (isgreaterequal_test_data): Likewise.
62681         (isinf_test_data): Likewise.
62682         (isless_test_data): Likewise.
62683         (islessequal_test_data): Likewise.
62684         (islessgreater_test_data): Likewise.
62685         (isnan_test_data): Likewise.
62686         (isnormal_test_data): Likewise.
62687         (issignaling_test_data): Likewise.
62688         (isunordered_test_data): Likewise.
62689         (ldexp_test_data): Likewise.
62690         (lrint_test_data): Likewise.
62691         (lrint_test_data) [TEST_FLOAT]: Disable one test.
62692         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
62693         (lrint_tonearest_test_data): Test for "inexact" exceptions.
62694         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
62695         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
62696         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
62697         test input.
62698         (lrint_towardzero_test_data): Test for "inexact" exceptions.
62699         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
62700         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
62701         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
62702         that test input.
62703         (lrint_downward_test_data): Test for "inexact" exceptions.
62704         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
62705         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
62706         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
62707         test input.
62708         (lrint_upward_test_data): Test for "inexact" exceptions.
62709         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
62710         test input.
62711         (llrint_test_data): Test for "inexact" exceptions.
62712         (llrint_test_data) [TEST_FLOAT]: Disable one test.
62713         (llrint_tonearest_test_data): Test for "inexact" exceptions.
62714         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
62715         (llrint_towardzero_test_data): Test for "inexact" exceptions.
62716         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
62717         (llrint_downward_test_data): Test for "inexact" exceptions.
62718         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
62719         (llrint_upward_test_data): Test for "inexact" exceptions.
62720         (logb_test_data): Likewise.
62721         (logb_downward_test_data): Likewise.
62722         (nextafter_test_data): Likewise.
62723         (nexttoward_test_data): Likewise.
62724         (remainder_test_data): Likewise.
62725         (remquo_test_data): Likewise.
62726         (scalbn_test_data): Likewise.
62727         (scalbln_test_data): Likewise.
62728         (signbit_test_data): Likewise.
62729         (sqrt_test_data): Likewise.
62730         (significand_test_data): Likewise.
62732 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
62734         [BZ #15424]
62735         * benchtests/bench-modf.c (struct args): Mark arg0 as
62736         volatile.
62737         * scripts/bench.pl: Mark members of struct args as volatile.
62739 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62741         [BZ # 15497]
62742         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
62743         negative infinity on POWER6 or lower.
62744         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
62746 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
62748         [BZ #15442]
62749         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
62750         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
62751         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
62752         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
62753         (_FP_SETQNAN): New macro.
62754         (_FP_SETQNAN_SEMIRAW): Likewise.
62755         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
62756         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
62757         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
62758         (FP_EXTEND): Use _FP_FRAC_SNANP.
62759         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
62760         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
62761         into account.
62762         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
62763         New macro.
62764         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
62765         Likewise.
62767 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
62769         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
62770         with DIVIDE_BY_ZERO_EXCEPTION.
62771         (gamma_test_data): Likewise.
62772         (lgamma_test_data): Likewise.
62773         (log_test_data): Likewise.
62774         (log10_test_data): Likewise.
62775         (log2_test_data): Likewise.
62776         (tgamma_test_data): Likewise.
62778         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
62779         (acos_test_tonearest): Likewise.
62780         (acos_test_towardzero): Likewise.
62781         (acos_test_downward): Likewise.
62782         (acos_test_upward): Likewise.
62783         (acosh_test): Likewise.
62784         (asin_test): Likewise.
62785         (asin_test_tonearest): Likewise.
62786         (asin_test_towardzero): Likewise.
62787         (asin_test_downward): Likewise.
62788         (asin_test_upward): Likewise.
62789         (asinh_test): Likewise.
62790         (atan_test): Likewise.
62791         (atanh_test): Likewise.
62792         (atan2_test): Likewise.
62793         (cabs_test): Likewise.
62794         (cacos_test): Likewise.
62795         (cacosh_test): Likewise.
62796         (casin_test): Likewise.
62797         (casinh_test): Likewise.
62798         (catan_test): Likewise.
62799         (catanh_test): Likewise.
62800         (cbrt_test): Likewise.
62801         (ccos_test): Likewise.
62802         (ccosh_test): Likewise.
62803         (cexp_test): Likewise.
62804         (clog_test): Likewise.
62805         (clog10_test): Likewise.
62806         (cos_test): Likewise.
62807         (cos_test_tonearest): Likewise.
62808         (cos_test_towardzero): Likewise.
62809         (cos_test_downward): Likewise.
62810         (cos_test_upward): Likewise.
62811         (cosh_test): Likewise.
62812         (cosh_test_tonearest): Likewise.
62813         (cosh_test_towardzero): Likewise.
62814         (cosh_test_downward): Likewise.
62815         (cosh_test_upward): Likewise.
62816         (cpow_test): Likewise.
62817         (csin_test): Likewise.
62818         (csinh_test): Likewise.
62819         (csqrt_test): Likewise.
62820         (ctan_test): Likewise.
62821         (ctan_test_tonearest): Likewise.
62822         (ctan_test_towardzero): Likewise.
62823         (ctan_test_downward): Likewise.
62824         (ctan_test_upward): Likewise.
62825         (ctanh_test): Likewise.
62826         (ctanh_test_tonearest): Likewise.
62827         (ctanh_test_towardzero): Likewise.
62828         (ctanh_test_downward): Likewise.
62829         (ctanh_test_upward): Likewise.
62830         (erf_test): Likewise.
62831         (erfc_test): Likewise.
62832         (exp_test): Likewise.
62833         (exp_test_tonearest): Likewise.
62834         (exp_test_towardzero): Likewise.
62835         (exp_test_downward): Likewise.
62836         (exp_test_upward): Likewise.
62837         (exp10_test): Likewise.
62838         (exp2_test): Likewise.
62839         (expm1_test): Likewise.
62840         (fmod_test): Likewise.
62841         (gamma_test): Likewise.
62842         (hypot_test): Likewise.
62843         (j0_test): Likewise.
62844         (j1_test): Likewise.
62845         (jn_test): Likewise.
62846         (lgamma_test): Likewise.
62847         (log_test): Likewise.
62848         (log10_test): Likewise.
62849         (log1p_test): Likewise.
62850         (log2_test): Likewise.
62851         (logb_test_downward): Likewise.
62852         (pow_test): Likewise.
62853         (pow_test_tonearest): Likewise.
62854         (pow_test_towardzero): Likewise.
62855         (pow_test_downward): Likewise.
62856         (pow_test_upward): Likewise.
62857         (remainder_test): Likewise.
62858         (remquo_test): Likewise.
62859         (sin_test): Likewise.
62860         (sin_test_tonearest): Likewise.
62861         (sin_test_towardzero): Likewise.
62862         (sin_test_downward): Likewise.
62863         (sin_test_upward): Likewise.
62864         (sincos_test): Likewise.
62865         (sinh_test): Likewise.
62866         (sinh_test_tonearest): Likewise.
62867         (sinh_test_towardzero): Likewise.
62868         (sinh_test_downward): Likewise.
62869         (sinh_test_upward): Likewise.
62870         (sqrt_test): Likewise.
62871         (tan_test): Likewise.
62872         (tan_test_tonearest): Likewise.
62873         (tan_test_towardzero): Likewise.
62874         (tan_test_downward): Likewise.
62875         (tan_test_upward): Likewise.
62876         (tanh_test): Likewise.
62877         (tgamma_test): Likewise.
62878         (y0_test): Likewise.
62879         (y1_test): Likewise.
62880         (yn_test): Likewise.
62882         * math/gen-libm-test.pl (adjust_arg): Remove function.
62883         (special_function): Remove argument $in_func.  Only handle
62884         generating output for tables of tests, not inside functions.
62885         (parse_args): Likewise.
62886         (generate_testfile): Remove variable $in_func.  Update call to
62887         parse_args.
62888         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
62889         (MINUS_ZERO_INIT): Rename macro to minus_zero.
62890         (PLUS_INFTY_INIT): Rename macro to plus_infty.
62891         (MINUS_INFTY_INIT): Rename macro to minus_infty.
62892         (QNAN_VALUE_INIT): Rename macro to qnan_value.
62893         (MAX_VALUE_INIT): Rename macro to max_value.
62894         (MIN_VALUE_INIT): Rename macro to min_value.
62895         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
62896         (plus_zero): Remove variable.
62897         (minus_zero): Likewise.
62898         (plus_infty): Likewise.
62899         (minus_infty): Likewise.
62900         (qnan_value): Likewise.
62901         (max_value): Likewise.
62902         (min_value): Likewise.
62903         (min_subnorm_value): Likewise.
62905 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62907         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
62908         uint64_t or uint32_t usage.
62909         * crypt/sha256-block.c: Likewise.
62910         * crypt/sha256-crypt.c: Likewise.
62911         * crypt/sha256.c: Likewise.
62912         * crypt/sha512-block.c: Likewise.
62913         * crypt/sha512-crypt.c: Likewise.
62914         * crypt/sha512.c: Likewise.
62915         * debug/backtrace-tst.c: Likewise.
62916         * debug/pcprofiledump.c: Likewise.
62917         * elf/cache.c: Likewise.
62918         * elf/dl-cache.c: Likewise.
62919         * elf/dl-misc.c: Likewise.
62920         * elf/dl-profile.c: Likewise.
62921         * elf/dl-support.c: Likewise.
62922         * elf/ldconfig.c: Likewise.
62923         * elf/sprof.c: Likewise.
62924         * iconv/dummy-repertoire.c: Likewise.
62925         * iconv/iconv_charmap.c: Likewise.
62926         * iconv/skeleton.c: Likewise.
62927         * iconvdata/8bit-generic.c: Likewise.
62928         * iconvdata/cp737.h: Likewise.
62929         * iconvdata/cp775.h: Likewise.
62930         * iconvdata/ibm1008.h: Likewise.
62931         * iconvdata/ibm1025.h: Likewise.
62932         * iconvdata/ibm1046.h: Likewise.
62933         * iconvdata/ibm1097.h: Likewise.
62934         * iconvdata/ibm1112.h: Likewise.
62935         * iconvdata/ibm1122.h: Likewise.
62936         * iconvdata/ibm1123.h: Likewise.
62937         * iconvdata/ibm1124.h: Likewise.
62938         * iconvdata/ibm1129.h: Likewise.
62939         * iconvdata/ibm1130.h: Likewise.
62940         * iconvdata/ibm1132.h: Likewise.
62941         * iconvdata/ibm1133.h: Likewise.
62942         * iconvdata/ibm1137.h: Likewise.
62943         * iconvdata/ibm1140.h: Likewise.
62944         * iconvdata/ibm1141.h: Likewise.
62945         * iconvdata/ibm1142.h: Likewise.
62946         * iconvdata/ibm1143.h: Likewise.
62947         * iconvdata/ibm1144.h: Likewise.
62948         * iconvdata/ibm1145.h: Likewise.
62949         * iconvdata/ibm1146.h: Likewise.
62950         * iconvdata/ibm1147.h: Likewise.
62951         * iconvdata/ibm1148.h: Likewise.
62952         * iconvdata/ibm1149.h: Likewise.
62953         * iconvdata/ibm1153.h: Likewise.
62954         * iconvdata/ibm1154.h: Likewise.
62955         * iconvdata/ibm1155.h: Likewise.
62956         * iconvdata/ibm1156.h: Likewise.
62957         * iconvdata/ibm1157.h: Likewise.
62958         * iconvdata/ibm1158.h: Likewise.
62959         * iconvdata/ibm1160.h: Likewise.
62960         * iconvdata/ibm1161.h: Likewise.
62961         * iconvdata/ibm1162.h: Likewise.
62962         * iconvdata/ibm1163.h: Likewise.
62963         * iconvdata/ibm1164.h: Likewise.
62964         * iconvdata/ibm1166.h: Likewise.
62965         * iconvdata/ibm1167.h: Likewise.
62966         * iconvdata/ibm12712.h: Likewise.
62967         * iconvdata/ibm1390.h: Likewise.
62968         * iconvdata/ibm1399.h: Likewise.
62969         * iconvdata/ibm16804.h: Likewise.
62970         * iconvdata/ibm4517.h: Likewise.
62971         * iconvdata/ibm4899.h: Likewise.
62972         * iconvdata/ibm4909.h: Likewise.
62973         * iconvdata/ibm4971.h: Likewise.
62974         * iconvdata/ibm5347.h: Likewise.
62975         * iconvdata/ibm803.h: Likewise.
62976         * iconvdata/ibm856.h: Likewise.
62977         * iconvdata/ibm901.h: Likewise.
62978         * iconvdata/ibm902.h: Likewise.
62979         * iconvdata/ibm9030.h: Likewise.
62980         * iconvdata/ibm9066.h: Likewise.
62981         * iconvdata/ibm921.h: Likewise.
62982         * iconvdata/ibm922.h: Likewise.
62983         * iconvdata/ibm9448.h: Likewise.
62984         * iconvdata/isiri-3342.h: Likewise.
62985         * iconvdata/jis0201.h: Likewise.
62986         * include/link.h: Likewise.
62987         * include/netdb.h: Likewise.
62988         * inet/check_native.c: Likewise.
62989         * inet/check_pf.c: Likewise.
62990         * inet/getipv4sourcefilter.c: Likewise.
62991         * inet/getnameinfo.c: Likewise.
62992         * inet/getsourcefilter.c: Likewise.
62993         * inet/htonl.c: Likewise.
62994         * inet/setipv4sourcefilter.c: Likewise.
62995         * inet/setsourcefilter.c: Likewise.
62996         * inet/test-inet6_opt.c: Likewise.
62997         * inet/tst-network.c: Likewise.
62998         * locale/C-collate.c: Likewise.
62999         * locale/C-ctype.c: Likewise.
63000         * locale/C-time.c: Likewise.
63001         * locale/C-translit.h: Likewise.
63002         * locale/loadarchive.c: Likewise.
63003         * locale/programs/3level.h: Likewise.
63004         * locale/programs/charmap.c: Likewise.
63005         * locale/programs/charmap.h: Likewise.
63006         * locale/programs/ld-address.c: Likewise.
63007         * locale/programs/ld-collate.c: Likewise.
63008         * locale/programs/ld-ctype.c: Likewise.
63009         * locale/programs/ld-identification.c: Likewise.
63010         * locale/programs/ld-measurement.c: Likewise.
63011         * locale/programs/ld-messages.c: Likewise.
63012         * locale/programs/ld-monetary.c: Likewise.
63013         * locale/programs/ld-name.c: Likewise.
63014         * locale/programs/ld-numeric.c: Likewise.
63015         * locale/programs/ld-paper.c: Likewise.
63016         * locale/programs/ld-telephone.c: Likewise.
63017         * locale/programs/ld-time.c: Likewise.
63018         * locale/programs/linereader.c: Likewise.
63019         * locale/programs/locale.c: Likewise.
63020         * locale/programs/locarchive.c: Likewise.
63021         * locale/programs/locfile.h: Likewise.
63022         * locale/programs/repertoire.c: Likewise.
63023         * locale/programs/simple-hash.c: Likewise.
63024         * locale/programs/simple-hash.h: Likewise.
63025         * malloc/memusage.c: Likewise.
63026         * malloc/memusagestat.c: Likewise.
63027         * nis/nis_defaults.c: Likewise.
63028         * nis/nis_hash.c: Likewise.
63029         * nis/nis_print.c: Likewise.
63030         * nis/nis_xdr.c: Likewise.
63031         * nscd/connections.c: Likewise.
63032         * nscd/hstcache.c: Likewise.
63033         * nscd/nscd_gethst_r.c: Likewise.
63034         * nscd/nscd_getserv_r.c: Likewise.
63035         * nscd/nscd_helper.c: Likewise.
63036         * nscd/servicescache.c: Likewise.
63037         * nss/makedb.c: Likewise.
63038         * nss/nss_db/db-XXX.c: Likewise.
63039         * nss/nss_db/db-initgroups.c: Likewise.
63040         * nss/nss_db/db-netgrp.c: Likewise.
63041         * nss/nss_files/files-network.c: Likewise.
63042         * nss/nss_files/files-parse.c: Likewise.
63043         * posix/bug-regex5.c: Likewise.
63044         * posix/fnmatch_loop.c: Likewise.
63045         * posix/regcomp.c: Likewise.
63046         * posix/regexec.c: Likewise.
63047         * posix/tst-rfc3484-2.c: Likewise.
63048         * posix/tst-rfc3484-3.c: Likewise.
63049         * posix/tst-rfc3484.c: Likewise.
63050         * resolv/nss_dns/dns-canon.c: Likewise.
63051         * resolv/nss_dns/dns-network.c: Likewise.
63052         * resolv/res_init.c: Likewise.
63053         * resolv/res_mkquery.c: Likewise.
63054         * resolv/tst-aton.c: Likewise.
63055         * stdlib/cxa_atexit.c: Likewise.
63056         * stdlib/cxa_finalize.c: Likewise.
63057         * stdlib/gen-fpioconst.c: Likewise.
63058         * stdlib/strtol_l.c: Likewise.
63059         * string/tst-endian.c: Likewise.
63060         * sunrpc/auth_des.c: Likewise.
63061         * sunrpc/clnt_udp.c: Likewise.
63062         * sunrpc/rtime.c: Likewise.
63063         * sunrpc/svcauth_des.c: Likewise.
63064         * sunrpc/xdr.c: Likewise.
63065         * sunrpc/xdr_intXX_t.c: Likewise.
63066         * sunrpc/xdr_rec.c: Likewise.
63067         * sysdeps/generic/ldconfig.h: Likewise.
63068         * sysdeps/generic/ldsodefs.h: Likewise.
63069         * sysdeps/generic/memusage.h: Likewise.
63070         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
63071         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
63072         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
63073         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
63074         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
63075         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
63076         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
63077         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
63078         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
63079         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
63080         * sysdeps/posix/getaddrinfo.c: Likewise.
63081         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
63082         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
63083         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
63084         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
63085         * sysdeps/powerpc/test-gettimebase.c: Likewise.
63086         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
63087         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
63088         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
63089         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
63090         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
63091         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
63092         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
63093         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
63094         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
63095         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
63096         * sysdeps/x86_64/dl-tls.h: Likewise.
63097         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
63098         * time/alt_digit.c: Likewise.
63099         * time/era.c: Likewise.
63100         * wcsmbs/tst-c16c32-1.c: Likewise.
63102 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
63104         * math/libm-test.inc (struct test_sincos_data): New type.
63105         (RUN_TEST_LOOP_sincos): New macro.
63106         (sincos_test_data): New variable.
63107         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
63109 2013-05-16  Richard Henderson  <rth@redhat.com>
63111         * math/atest-exp2.c (LIMB64): New macro.
63112         (CONSTSZ): New macro.
63113         (mp_exp1, mp_exp_m1, mp_log2): New variables.
63114         (hexdig): Move ...
63115         (print_mpn_fp): ... to function scope.
63116         (read_mpn_hex): Remove.
63117         (get_log2): Remove.
63118         (exp2_mpn): Use mp_log2.
63119         (main): Use mp_exp1.
63121 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
63123         * math/libm-test.inc: Remove comment about not testing "inexact"
63124         exceptions.
63125         (INEXACT_EXCEPTION): New macro.
63126         (NO_INEXACT_EXCEPTION): Likewise.
63127         (INVALID_EXCEPTION_OK): Update value.
63128         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
63129         (OVERFLOW_EXCEPTION_OK): Likewise.
63130         (UNDERFLOW_EXCEPTION_OK): Likewise.
63131         (IGNORE_ZERO_INF_SIGN): Likewise.
63132         (ERRNO_UNCHANGED): Likewise.
63133         (ERRNO_EDOM): Likewise.
63134         (ERRNO_ERANGE): Likewise.
63135         (test_exceptions): Handle testing "inexact" exceptions.
63136         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
63137         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
63138         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
63139         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
63140         INEXACT_EXCEPTION.
63141         (rint_towardzero_test_data): Likewise.
63142         (rint_downward_test_data): Likewise.
63143         (rint_upward_test_data): Likewise.
63145         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
63146         with OVERFLOW_EXCEPTION.
63147         (exp10_test_data): Likewise.
63148         (exp2_test_data): Likewise.
63149         (expm1_test_data): Likewise.
63150         (lgamma_test_data): Likewise.
63151         (pow_test_data): Likewise.
63152         (tgamma_test_data): Likewise.
63153         (yn_test_data): Remove duplicate test of overflow.
63155         * math/libm-test.inc (struct test_cc_c_data): New type.
63156         (RUN_TEST_LOOP_cc_c): New macro.
63157         (cpow_test_data): New variable.
63158         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
63160         * math/libm-test.inc (struct test_f_L_data): New type.
63161         (RUN_TEST_LOOP_f_L): New macro.
63162         (llrint_test_data): New variable.
63163         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
63164         (llrint_tonearest_test_data): New variable.
63165         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
63166         (llrint_towardzero_test_data): New variable.
63167         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
63168         (llrint_downward_test_data): New variable.
63169         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
63170         (llrint_upward_test_data): New variable.
63171         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
63172         (llround_test_data): New variable.
63173         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
63175 2013-05-13  Peter Collingbourne  <pcc@google.com>
63177         * math/atest-exp2.c (get_log2): Remove const attribute.
63179 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
63181         * math/libm-test.inc (struct test_f_l_data): New type.
63182         (RUN_TEST_LOOP_f_l): New macro.
63183         (lrint_test_data): New variable.
63184         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
63185         (lrint_tonearest_test_data): New variable.
63186         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
63187         (lrint_towardzero_test_data): New variable.
63188         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
63189         (lrint_downward_test_data): New variable.
63190         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
63191         (lrint_upward_test_data): New variable.
63192         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
63193         (lround_test_data): New variable.
63194         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
63196 2013-05-15  Peter Collingbourne  <pcc@google.com>
63198         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
63199         (EXTRACT_WORDS64) Use where appropriate.
63200         (INSERT_WORDS64) Likewise.
63202         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
63203         constraints with x constraints.
63204         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
63206         * malloc/obstack.c (_obstack_compat): Add initializer.
63208 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
63210         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
63211         si_trapno and add si_addr_lsb to _sifields.sigfault.
63212         (si_trapno): Remove macro.
63213         (si_addr_lsb): Define new macro.
63214         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
63216 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
63218         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
63219         instead of TEST_f_l.
63220         (llrint_test_tonearest): Likewise.
63221         (llrint_test_towardzero): Likewise.
63222         (llrint_test_downward): Likewise.
63223         (llrint_test_upward): Likewise.
63224         (llround_test): Likewise.
63226         * math/libm-test.inc (struct test_f_i_data): Add comment.
63227         (RUN_TEST_LOOP_f_b): New macro.
63228         (RUN_TEST_LOOP_f_b_tg): Likewise.
63229         (finite_test_data): New variable.
63230         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
63231         (isfinite_test_data): New variable.
63232         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63233         (isinf_test_data): New variable.
63234         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63235         (isnan_test_data): New variable.
63236         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63237         (isnormal_test_data): New variable.
63238         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63239         (issignaling_test_data): New variable.
63240         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63241         (signbit_test_data): New variable.
63242         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63244         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
63245         with INVALID_EXCEPTION.
63246         (acosh_test_data): Likewise.
63247         (asin_test_data): Likewise.
63248         (atanh_test_data): Likewise.
63249         (fmod_test_data): Likewise.
63250         (log_test_data): Likewise.
63251         (log10_test_data): Likewise.
63252         (log2_test_data): Likewise.
63253         (pow_test_data): Likewise.
63254         (sqrt_test_data): Likewise.
63255         (y0_test_data): Likewise.
63256         (y1_test_data): Likewise.
63257         (yn_test_data): Likewise.
63259         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
63260         function contents.
63262         * math/libm-test.inc (struct test_ff_i_data): New type.
63263         (RUN_TEST_LOOP_ff_i_tg): New macro.
63264         (isgreater_test_data): New variable.
63265         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63266         (isgreaterequal_test_data): New variable.
63267         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63268         (isless_test_data): New variable.
63269         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63270         (islessequal_test_data): New variable.
63271         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63272         (islessgreater_test_data): New variable.
63273         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63274         (isunordered_test_data): New variable.
63275         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63277 2013-05-14  David S. Miller  <davem@davemloft.net>
63279         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63281 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
63283         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
63285         * math/libm-test.inc (struct test_fF_f1_data): Change type of
63286         extra_test to int.
63287         (struct test_f_i_data): Change type of max_ulp to int.
63289         * math/libm-test.inc (test_ffI_f1_data): New type.
63290         (RUN_TEST_LOOP_ffI_f1): New macro.
63291         (remquo_test_data): New variable.
63292         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
63294         * setjmp/tst-setjmp-fp.c: New file.
63295         * setjmp/Makefile (tests): Add tst-setjmp-fp.
63296         (link-libm): New variable.
63297         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
63299         * math/libm-test.inc (struct test_f_i_data): New type.
63300         (RUN_TEST_LOOP_f_i): New macro.
63301         (RUN_TEST_LOOP_f_i_tg): Likewise.
63302         (fpclassify_test_data): New variable.
63303         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
63304         (ilogb_test_data): New variable.
63305         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
63307         * math/libm-test.inc (scalbln_test): Correct function name in END
63308         call.
63310         * math/libm-test.inc (struct test_f_f1_data): Add comment.
63311         (RUN_TEST_LOOP_fI_f1): New macro.
63312         (frexp_test_data): New variable.
63313         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
63315         * math/libm-test.inc (struct test_fF_f1_data): New type.
63316         (RUN_TEST_LOOP_fF_f1): New macro.
63317         (modf_test_data): New variable.
63318         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
63320         * math/libm-test.inc (struct test_f_f1_data): New type.
63321         (RUN_TEST_LOOP_f_f1): New macro.
63322         (gamma_test_data): New variable.
63323         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
63324         (lgamma_test_data): New variable.
63325         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
63327 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
63329         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
63330         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
63331         (main): Comment "tls" pseudo-hwcap.
63333 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
63335         * math/libm-test.inc (struct test_fl_f_data): New type.
63336         (RUN_TEST_LOOP_fl_f): New variable.
63337         (scalbln_test_data): New variable.
63338         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
63340         * math/libm-test.inc (struct test_fi_f_data): New type.
63341         (RUN_TEST_LOOP_fi_f): New macro.
63342         (ldexp_test_data): New variable.
63343         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
63344         (scalbn_test_data): New variable.
63345         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
63347         * math/libm-test.inc (struct test_c_f_data): New type.
63348         (RUN_TEST_LOOP_c_f): New macro.
63349         (cabs_test_data): New variable.
63350         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
63351         (carg_test_data): New variable.
63352         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
63353         (cimag_test_data): New variable.
63354         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
63355         (creal_test_data): New variable.
63356         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
63358         * math/libm-test.inc (struct test_if_f_data): New type.
63359         (RUN_TEST_LOOP_if_f): New macro.
63360         (jn_test_data): New variable.
63361         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
63362         (yn_test_data): New variable.
63363         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
63365         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
63367 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63369         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
63370         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
63372 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
63374         * benchtests/Makefile (CPPFLAGS-nonlib): Add
63375         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
63376         (bench-deps): Add bench-timing.h.
63377         * benchtests-bench-skeleton.c: Include bench-timing.h.
63378         (main): Use TIMING_* macros instead of clock_gettime.
63379         * benchtests/bench-timing.h: New file.
63381         [BZ #14582]
63382         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
63383         Renamed from _LIB_VERSION.
63384         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
63386 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
63388         * math/libm-test.inc (struct test_fff_f_data): New type.
63389         (RUN_TEST_LOOP_fff_f): New macro.
63390         (fma_test_data): New variable.
63391         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
63392         (fma_towardzero_test_data): New variable.
63393         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
63394         (fma_downward_test_data): New variable.
63395         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
63396         (fma_upward_test_data): New variable.
63397         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
63399         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
63400         (struct test_c_c_data): New type.
63401         (RUN_TEST_LOOP_c_c): New macro.
63402         (cacos_test_data): New variable.
63403         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
63404         (cacosh_test_data): New variable.
63405         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
63406         (casin_test_data): New variable.
63407         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
63408         (casinh_test_data): New variable.
63409         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
63410         (catan_test_data): New variable.
63411         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
63412         (catanh_test_data): New variable.
63413         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
63414         (ccos_test_data): New variable.
63415         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
63416         (ccosh_test_data): New variable.
63417         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
63418         (cexp_test_data): New variable.
63419         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
63420         (clog_test_data): New variable.
63421         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
63422         (clog10_test_data): New variable.
63423         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
63424         (conj_test_data): New variable.
63425         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
63426         (cproj_test_data): New variable.
63427         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
63428         (csin_test_data): New variable.
63429         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
63430         (csinh_test_data): New variable.
63431         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
63432         (csqrt_test_data): New variable.
63433         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
63434         (ctan_test_data): New variable.
63435         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
63436         (ctan_tonearest_test_data): New variable.
63437         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
63438         (ctan_towardzero_test_data): New variable.
63439         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
63440         (ctan_downward_test_data): New variable.
63441         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
63442         (ctan_upward_test_data): New variable.
63443         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
63444         (ctanh_test_data): New variable.
63445         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
63446         (ctanh_tonearest_test_data): New variable.
63447         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
63448         (ctanh_towardzero_test_data): New variable.
63449         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
63450         (ctanh_downward_test_data): New variable.
63451         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
63452         (ctanh_upward_test_data): New variable.
63453         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
63454         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
63455         of BUILD_COMPLEX.
63457         * math/libm-test.inc (struct test_ff_f_data): New type.
63458         (struct test_ff_f_data_nexttoward): Likewise.
63459         (RUN_TEST_LOOP_2_f): New macro.
63460         (RUN_TEST_LOOP_ff_f): Likewise.
63461         (atan2_test_data): New variable.
63462         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
63463         (copysign_test_data): New variable.
63464         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
63465         (fdim_test_data): New variable.
63466         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
63467         (fmax_test_data): New variable.
63468         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
63469         (fmin_test_data): New variable.
63470         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
63471         (fmod_test_data): New variable.
63472         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
63473         (hypot_test_data): New variable.
63474         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
63475         (nextafter_test_data): New variable.
63476         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
63477         (nexttoward_test_data): New variable.
63478         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
63479         (pow_test_data): New variable.
63480         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
63481         (pow_tonearest_test_data): New variable.
63482         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
63483         (pow_towardzero_test_data): New variable.
63484         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
63485         (pow_downward_test_data): New variable.
63486         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
63487         (pow_upward_test_data): New variable.
63488         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
63489         (remainder_test_data): New variable.
63490         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
63491         (scalb_test_data): New variable.
63492         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
63493         * sysdeps/i386/fpu/libm-test-ulps: Update.
63495 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
63497         * math/libm-test.inc (fma_test): Use max_value instead of local
63498         variable fltmax.
63499         (nextafter_test): Likewise.
63501         * math/libm-test.inc (acos_towardzero_test_data): New variable.
63502         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63503         (acos_downward_test_data): New variable.
63504         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63505         (acos_upward_test_data): New variable.
63506         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63507         (acosh_test_data): New variable.
63508         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
63509         (asin_test_data): New variable.
63510         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
63511         (asin_tonearest_test_data): New variable.
63512         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63513         (asin_towardzero_test_data): New variable.
63514         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63515         (asin_downward_test_data): New variable.
63516         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63517         (asin_upward_test_data): New variable.
63518         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63519         (asinh_test_data): New variable.
63520         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
63521         (atan_test_data): New variable.
63522         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
63523         (atanh_test_data): New variable.
63524         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
63525         (cbrt_test_data): New variable.
63526         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
63527         (ceil_test_data): New variable.
63528         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
63529         (cos_test_data): New variable.
63530         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
63531         (cos_tonearest_test_data): New variable.
63532         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63533         (cos_towardzero_test_data): New variable.
63534         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63535         (cos_downward_test_data): New variable.
63536         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63537         (cos_upward_test_data): New variable.
63538         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63539         (cosh_test_data): New variable.
63540         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
63541         (cosh_tonearest_test_data): New variable.
63542         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63543         (cosh_towardzero_test_data): New variable.
63544         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63545         (cosh_downward_test_data): New variable.
63546         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63547         (cosh_upward_test_data): New variable.
63548         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63549         (erf_test_data): New variable.
63550         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
63551         (erfc_test_data): New variable.
63552         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
63553         (exp_test_data): New variable.
63554         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
63555         (exp_tonearest_test_data): New variable.
63556         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63557         (exp_towardzero_test_data): New variable.
63558         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63559         (exp_downward_test_data): New variable.
63560         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63561         (exp_upward_test_data): New variable.
63562         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63563         (exp10_test_data): New variable.
63564         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
63565         (exp2_test_data): New variable.
63566         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
63567         (expm1_test_data): New variable.
63568         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
63569         (fabs_test_data): New variable.
63570         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
63571         (floor_test_data): New variable.
63572         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
63573         (j0_test_data): New variable.
63574         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
63575         (j1_test_data): New variable.
63576         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
63577         (log_test_data): New variable.
63578         (log_test): Run tests with RUN_TEST_LOOP_f_f.
63579         (log10_test_data): New variable.
63580         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
63581         (log1p_test_data): New variable.
63582         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
63583         (log2_test_data): New variable.
63584         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
63585         (logb_test_data): New variable.
63586         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
63587         (logb_downward_test_data): New variable.
63588         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63589         (nearbyint_test_data): New variable.
63590         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
63591         (rint_test_data): New variable.
63592         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
63593         (rint_tonearest_test_data): New variable.
63594         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63595         (rint_towardzero_test_data): New variable.
63596         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63597         (rint_downward_test_data): New variable.
63598         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63599         (rint_upward_test_data): New variable.
63600         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63601         (round_test_data): New variable.
63602         (round_test): Run tests with RUN_TEST_LOOP_f_f.
63603         (sin_test_data): New variable.
63604         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
63605         (sin_tonearest_test_data): New variable.
63606         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63607         (sin_towardzero_test_data): New variable.
63608         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63609         (sin_downward_test_data): New variable.
63610         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63611         (sin_upward_test_data): New variable.
63612         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63613         (sinh_test_data): New variable.
63614         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
63615         (sinh_tonearest_test_data): New variable.
63616         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63617         (sinh_towardzero_test_data): New variable.
63618         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63619         (sinh_downward_test_data): New variable.
63620         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63621         (sinh_upward_test_data): New variable.
63622         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63623         (sqrt_test_data): New variable.
63624         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
63625         (tan_test_data): New variable.
63626         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
63627         (tan_tonearest_test_data): New variable.
63628         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63629         (tan_towardzero_test_data): New variable.
63630         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63631         (tan_downward_test_data): New variable.
63632         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63633         (tan_upward_test_data): New variable.
63634         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63635         (tanh_test_data): New variable.
63636         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
63637         (tgamma_test_data): New variable.
63638         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
63639         (trunc_test_data): New variable.
63640         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
63641         (y0_test_data): New variable.
63642         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
63643         (y1_test_data): New variable.
63644         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
63645         (significand_test_data): New variable.
63646         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
63648 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
63650         [BZ #12387]
63651         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
63653 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63655         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
63657 2013-05-10  Andreas Jaeger  <aj@suse.de>
63659         [BZ #15448]
63660         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
63661         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
63663 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
63665         * math/gen-libm-test.pl (adjust_arg): New function.
63666         (special_functions): Handle generating output in both functions
63667         and arrays.
63668         (parse_args): Likewise.
63669         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
63670         $in_func argument to parse_args.
63671         * math/libm-test.inc (struct test_f_f_data): New type.
63672         (IF_ROUND_INIT_): New macro.
63673         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
63674         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
63675         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
63676         (IF_ROUND_INIT_FE_UPWARD): Likewise.
63677         (ROUND_RESTORE_): Likewise.
63678         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
63679         (ROUND_RESTORE_FE_TONEAREST): Likewise.
63680         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
63681         (ROUND_RESTORE_FE_UPWARD): Likewise.
63682         (RUN_TEST_LOOP_f_f): New macro.
63683         (acos_test_data): New variable.
63684         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
63685         (acos_tonearest_test_data): New variable.
63686         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63688 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
63690         * benchtests/bench-skeleton.c (startup): Fix coding style.
63692 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
63694         [BZ #6809]
63695         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
63696         negative infinity argument.
63697         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
63698         negative infinity argument.
63699         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
63700         negative infinity argument.
63701         * math/libm-test.inc (tgamma_test): Expect errno to be set for
63702         domain errors.
63704 2013-05-10  Florian Weimer  <fweimer@redhat.com>
63706         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
63707         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
63708         * iconv/iconv_prog.c (main): Likewise.
63709         * locale/programs/charmap-dir.c (charmap_readdir)
63710         (fopen_uncompressed): Likewise.
63711         * locale/programs/locfile.c (siblings_uncached)
63712         (write_locale_data): Use lstat64 instead of lstat.
63713         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
63714         stat.
63716 2013-05-10  Andreas Jaeger  <aj@suse.de>
63718         [BZ #15395]
63719         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
63720         localization.
63721         Include <locale.h>.
63723 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
63725         * elf/dl-close.c (_dl_close_worker): Add comments.
63727 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
63729         [BZ #15359]
63730         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
63731         high part of pi/2.
63732         (__ieee754_rem_pio2l): Update comments.
63734         [BZ #15429]
63735         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
63736         high part of pi/2.
63737         (__ieee754_rem_pio2l): Update comments.
63739         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
63740         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
63742         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
63743         M_PI_4l.
63745         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
63746         (M_PI_34_LOG10El): Likewise.
63747         (M_PI2_LOG10El): Likewise.
63748         (M_PI4_LOG10El): Likewise.
63749         (M_PI_LOG10El): Likewise.
63751 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63753         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63755 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
63757         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
63758         (MINUS_ZERO_INIT): Likewise.
63759         (PLUS_INFTY_INIT): Likewise.
63760         (MINUS_INFTY_INIT): Likewise.
63761         (QNAN_VALUE_INIT): Likewise.
63762         (MAX_VALUE_INIT): Likewise.
63763         (MIN_VALUE_INIT): Likewise.
63764         (MIN_SUBNORM_VALUE_INIT): Likewise.
63765         (plus_zero): Initialize with PLUS_ZERO_INIT.
63766         (minus_zero): Initialize with MINUS_ZERO_INIT.
63767         (plus_infty): Initialize with PLUS_INFTY_INIT.
63768         (minus_infty): Initialize with MINUS_INFTY_INIT.
63769         (qnan_value): Initialize with QNAN_VALUE_INIT.
63770         (max_value): Initialize with MAX_VALUE_INIT.
63771         (min_value): Initialize with MIN_VALUE_INIT.
63772         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
63774         * math/libm-test.inc (RUN_TEST_if_f): New macro.
63775         (jn_test): Use TEST_if_f instead of TEST_ff_f.
63776         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
63777         (yn_test): Use TEST_if_f instead of TEST_ff_f.
63779         * math/libm-test.inc (RUN_TEST_f_f): New macro.
63780         (RUN_TEST_2_f): Likewise.
63781         (RUN_TEST_ff_f): Likewise.
63782         (RUN_TEST_fi_f): Likewise.
63783         (RUN_TEST_fl_f): Likewise.
63784         (RUN_TEST_fff_f): Likewise.
63785         (RUN_TEST_c_f): Likewise.
63786         (RUN_TEST_f_f1): Likewise.
63787         (RUN_TEST_fF_f1): Likewise.
63788         (RUN_TEST_fI_f1): Likewise.
63789         (RUN_TEST_ffI_f1): Likewise.
63790         (RUN_TEST_c_c): Likewise.
63791         (RUN_TEST_cc_c): Likewise.
63792         (RUN_TEST_f_i): Likewise.
63793         (RUN_TEST_f_i_tg): Likewise.
63794         (RUN_TEST_ff_i_tg): Likewise.
63795         (RUN_TEST_f_b): Likewise.
63796         (RUN_TEST_f_b_tg): Likewise.
63797         (RUN_TEST_f_l): Likewise.
63798         (RUN_TEST_f_L): Likewise.
63799         (RUN_TEST_sincos): Likewise.
63800         * math/gen-libm-test.pl (new_test): Take new argument to indicate
63801         whether to show exceptions.  Do not include ");\n" in return
63802         value.
63803         (special_functions): Output call to RUN_TEST_sincos instead of
63804         check_float calls.  Update calls to new_test.
63805         (parse_args): Output call to single RUN_TEST_* macro instead of
63806         check_* calls and other assignments.  Update calls to new_test.
63808         [BZ #2546]
63809         [BZ #2560]
63810         [BZ #5159]
63811         [BZ #15426]
63812         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
63813         input to result for tgamma overflow.
63814         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
63815         (gamma_coeff): New variable.
63816         (NCOEFF): New macro.
63817         (gamma_positive): New function.
63818         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
63819         underflow here.  Use gamma_positive instead of exp (lgamma) for
63820         other arguments.
63821         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
63822         (gamma_coeff): New variable.
63823         (NCOEFF): New macro.
63824         (gammaf_positive): New function.
63825         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
63826         underflow here.  Use gamma_positive instead of exp (lgamma) for
63827         other arguments.
63828         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
63829         (gamma_coeff): New variable.
63830         (NCOEFF): New macro.
63831         (gammal_positive): New function.
63832         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
63833         underflow here.  Use gamma_positive instead of exp (lgamma) for
63834         other arguments.
63835         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
63836         (gamma_coeff): New variable.
63837         (NCOEFF): New macro.
63838         (gammal_positive): New function.
63839         (__ieee754_gammal_r): Handle positive infinity, overflow and
63840         underflow here.  Handle NaN the same as positive infinity.  Remove
63841         check x < 0xffffffff for negative integers.  Use gamma_positive
63842         instead of exp (lgamma) for other arguments.
63843         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
63844         (gamma_coeff): New variable.
63845         (NCOEFF): New macro.
63846         (gammal_positive): New function.
63847         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
63848         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
63849         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
63850         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
63851         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
63852         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
63853         * sysdeps/generic/math_private.h (__gamma_productf): New
63854         prototype.
63855         (__gamma_product): Likewise.
63856         (__gamma_productl): Likewise.
63857         * math/Makefile (libm-calls): Add gamma_product.
63858         * math/libm-test.inc (tgamma_test): Add more tests.
63859         * sysdeps/i386/fpu/libm-test-ulps: Update.
63860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63862 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
63864         * benchtests/bench-skeleton.c (main): Preheat CPU.
63866 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
63868         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
63870 2013-05-07  Roland McGrath  <roland@hack.frob.com>
63872         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
63873         and _dl_skip_args_internal.
63875 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
63877         * manual/message.texi (Message Translation): Talk about users.
63878         Message to key mapping impacts design.
63880 2013-05-06  Roland McGrath  <roland@hack.frob.com>
63882         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
63884         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
63886         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
63887         * sysdeps/wordsize-64/glob64.c: ... here.
63889         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
63890         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
63891         New macros.
63893         * debug/getlogin_r_chk.c: Moved to ...
63894         * login/getlogin_r_chk.c: ... here.
63895         * debug/Makefile (routines): Move getlogin_r_chk to ...
63896         * login/Makefile (routines): ... here.
63897         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
63898         * login/Versions (libc: GLIBC_2.4): ... here.
63900         * io/poll.c (__poll): Renamed from poll.
63901         Add libc_hidden_def.
63902         (poll): Define as weak alias.
63904         * debug/ptsname_r_chk.c: Moved to ...
63905         * login/ptsname_r_chk.c: ... here.
63906         * debug/Makefile (routines): Move ptsname_r_chk to ...
63907         * login/Makefile (routines): ... here.
63908         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
63909         * login/Versions (libc: GLIBC_2.4): ... here.
63911         * posix/getlogin.c: Moved to ...
63912         * login/getlogin.c: ... here.
63913         * posix/getlogin_r.c: Moved to ...
63914         * login/getlogin_r.c: ... here.
63915         * posix/getlogin_r.c: Moved to ...
63916         * login/getlogin_r.c: ... here.
63917         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
63918         * login/Makefile (routines): ... here.
63919         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
63920         * login/Versions (libc: GLIBC_2.0): ... here.
63922         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
63923         (setrlimit): Define as weak alias.
63925         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
63926         Call __ names for open, ftruncate, and close.
63927         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
63928         (truncate): Define as weak alias.
63930 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
63932         * math/gen-libm-test.pl (parse_args): Initialize x before each
63933         test of frexp, modf and remquo.
63935         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
63936         test signgam value.
63938 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63940         [BZ #15418]
63941         [BZ #15419]
63942         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
63943         internal tests.
63944         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
63946 2013-05-06  Roland McGrath  <roland@hack.frob.com>
63948         * elf/dl-writev.h: New file.
63949         * elf/dl-misc.c: Include it.
63950         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
63951         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
63953 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
63955         * math/libm-test.inc (noXFails): Remove variable.
63956         (noXPasses): Likewise.
63957         (BUILD_COMPLEX_INT): Remove macro.
63958         (print_screen): Remove xfail argument.
63959         (print_screen_max_error): Likewise.
63960         (update_stats): Likewise.
63961         (print_max_error): Likewise.  Update calls to other affected
63962         functions.
63963         (print_complex_max_error): Likewise.
63964         (test_single_exception): Update calls to print_screen.
63965         (test_single_errno): Likewise.
63966         (check_float_internal): Remove xfail argument.  Update calls to
63967         other affected functions.
63968         (check_float): Likewise.
63969         (check_complex): Likewise.
63970         (check_int): Likewise.
63971         (check_long): Likewise.
63972         (check_bool): Likewise.
63973         (check_longlong): Likewise.
63974         (main): Don't print noXFails and noXPasses.
63975         * math/gen-libm-test.pl (top level): Don't mention expected
63976         failure handling in comment.
63977         (new_test): Don't handle expected failures.
63978         (parse_args): Don't mention expected failure handling in comment.
63979         (generate_testfile): Don't handle expected failures.
63980         (parse_ulps): Likewise.
63981         (print_ulps_file): Likewise.
63982         (get_failure): Remove function.
63983         (output_test): Don't handle expected failures.
63984         * make/README.libm-test: Don't mention expected failure handling.
63986         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
63987         (minus_zero): Likewise.
63988         (plus_infty): Likewise.
63989         (minus_infty): Likewise.
63990         (qnan_value): Likewise.
63991         (max_value): Likewise.
63992         (min_value): Likewise.
63993         (min_subnorm_value): Likewise.
63994         (initialize): Do not initialize those variables dynamically.
63996 2013-05-03  Roland McGrath  <roland@hack.frob.com>
63998         * io/open.c (__open_2): Moved to ...
63999         * io/open_2.c: ... this new file.
64000         * io/open64.c (__open64_2): Moved to ...
64001         * io/open64_2.c: ... this new file.
64002         * io/openat.c (__openat_2): Moved to ...
64003         * io/openat_2.c: ... this new file.
64004         * io/openat64.c (__openat64_2): Moved to ...
64005         * io/openat64_2.c: ... this new file.
64006         * io/Makefile (routines): Add them.
64007         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
64008         * sysdeps/unix/sysv/linux/open_2.c: File removed.
64009         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
64010         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
64011         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
64012         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
64013         (__openat64): Add hidden_ver.
64014         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
64015         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
64017         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
64018         Separately conditionalize setting of GLRO(dl_sysinfo) so
64019         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
64020         as well, but the actual setting is only under [NEED_DL_SYSINFO].
64022 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64024         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
64025         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
64026         definition.
64027         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
64028         * sysdeps/unix/sysv/linux/powerpc/init-first.c
64029         (_libc_vdso_platform_setup): Add __vdso_time initialization.
64030         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
64031         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
64033 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
64035         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
64036         test signgam value.
64038         * math/libm-test.inc (hypot_test): Do not use
64039         IGNORE_ZERO_INF_SIGN.
64041 2013-05-03  Andreas Jaeger  <aj@suse.de>
64043         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
64044         Linux 3.9.
64045         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
64046         (PF_MAX): Adjust for VSOCK change.
64048 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64050         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64052 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
64054         [BZ #15264]
64055         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
64056         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
64057         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
64059 2013-05-02  David S. Miller  <davem@davemloft.net>
64061         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64063 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
64065         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
64067 2013-05-01  Roland McGrath  <roland@hack.frob.com>
64069         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
64071 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
64073         [BZ #14952]
64074         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
64075         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
64076         Use __attribute__ ((__gnu_inline__)).
64077         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
64078         Don't use __attribute__ ((__gnu_inline__)).
64080 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
64082         [BZ #15423]
64083         * math/s_catan.c (__catan): Handle small real or imaginary part of
64084         input specially to avoid spurious underflow.
64085         * math/s_catanf.c (__catanf): Likewise.
64086         * math/s_catanh.c (__catanh): Likewise.
64087         * math/s_catanhf.c (__catanhf): Likewise.
64088         * math/s_catanhl.c (__catanhl): Likewise.
64089         * math/s_catanl.c (__catanl): Likewise.
64090         * math/libm-test.inc (catan_test): Add more tests.
64091         (catanh_test): Likewise.
64092         * sysdeps/i386/fpu/libm-test-ulps: Update.
64093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64095 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64097         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64099 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
64101         [BZ #15416]
64102         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
64103         accurately for denominator in atan2.
64104         * math/s_catanf.c (__catanf): Likewise.
64105         * math/s_catanh.c (__catanh): Likewise.
64106         * math/s_catanhf.c (__catanhf): Likewise.
64107         * math/s_catanhl.c (__catanhl): Likewise.
64108         * math/s_catanl.c (__catanl): Likewise.
64109         * math/libm-test.inc (catan_test): Add more tests.
64110         (catanh_test): Likewise.
64111         * sysdeps/i386/fpu/libm-test-ulps: Update.
64112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64114 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
64116         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
64118         * benchtests/Makefile (bench): Remove slow benchmarks.
64119         * benchtests/atan-inputs: Add slow benchmark inputs.
64120         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
64121         (BENCH_FUNC): Accept variant offset.
64122         (VARIANT): Define.
64123         * benchtests/bench-skeleton.c (main): Run benchmark for each
64124         variant.
64125         * benchtests/cos-inputs: Add slow benchmark inputs.
64126         * benchtests/exp-inputs: Likewise.
64127         * benchtests/pow-inputs: Likewise.
64128         * benchtests/sin-inputs: Likewise.
64129         * benchtests/slowatan-inputs: Remove.
64130         * benchtests/slowatan.c: Remove.
64131         * benchtests/slowcos-inputs: Remove.
64132         * benchtests/slowcos.c: Remove.
64133         * benchtests/slowexp-inputs: Remove.
64134         * benchtests/slowexp.c: Remove.
64135         * benchtests/slowpow-inputs: Remove.
64136         * benchtests/slowpow.c: Remove.
64137         * benchtests/slowsin-inputs: Remove.
64138         * benchtests/slowsin.c: Remove.
64139         * benchtests/slowtan-inputs: Remove.
64140         * benchtests/slowtan.c: Remove.
64141         * benchtests/tan-inputs: Add slow benchmark inputs.
64142         * scripts/bench.pl: Parse comments and directives.
64144         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
64145         in CPPFLAGS.
64146         ($(objpfx)bench-%.c): Remove *-ITER.
64147         * benchtests/bench-modf.c: Remove definition of ITER.
64148         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
64149         (main): Loop for DURATION seconds instead of fixed number of
64150         iterations.
64151         * scripts/bench.pl: Don't expect iterations in parameters.
64153 2013-04-29  Roland McGrath  <roland@hack.frob.com>
64155         * io/fchdir.c (__fchdir): Renamed from fchdir.
64156         (fchdir): Define as weak alias.
64158 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
64160         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
64161         (ERRNO_EDOM): Likewise.
64162         (ERRNO_ERANGE): Likewise.
64163         (noErrnoTests): New variable.
64164         (init_max_error): Set errno to 0.
64165         (test_single_errno): New function.
64166         (test_errno): Likewise.
64167         (check_float_internal): Call test_errno.  Set errno to 0.
64168         (check_complex): Refer to errno tests in comment.
64169         (check_int): Call test_errno.  Set errno to 0.
64170         (check_long): Likewise.
64171         (check_bool): Likewise.
64172         (check_longlong): Likewise.
64173         (cos_test): Use ERRNO_* flags for errno tests instead of
64174         check_int.
64175         (expm1_test): Likewise.
64176         (fmod_test): Likewise.
64177         (ilogb_test): Likewise.
64178         (lgamma_test): Likewise.
64179         (pow_test): Likewise.
64180         (remainder_test): Likewise.
64181         (sin_test): Likewise.
64182         (tan_test): Likewise.
64183         (yn_test): Likewise.
64184         (initialize): Set errno to 0.
64185         (main): Print number of errno tests.
64186         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
64188 2013-04-29  Andreas Jaeger  <aj@suse.de>
64190         [BZ #15084]
64191         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
64192         and RES_USEVC.
64194         [BZ #15085]
64195         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
64196         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
64197         unimplemented.
64199         [BZ #15380]
64200         * stdlib/random.c (__initstate): Return NULL if
64201         __initstate fails.
64203         [BZ #15086]
64204         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
64205         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
64206         RES_SNGLKUPREOP.
64208 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64210         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64212 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
64214         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
64215         of individual tests.
64216         (casin_test): Likewise.
64217         (casinh_test): Likewise.
64219 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
64221         [BZ #15409]
64222         * math/s_catan.c (__catan): Handle arguments with large real or
64223         imaginary part separately without squaring.
64224         * math/s_catanf.c (__catanf): Likewise.
64225         * math/s_catanh.c (__catanh): Likewise.
64226         * math/s_catanhf.c (__catanhf): Likewise.
64227         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
64228         and redefine.
64229         (__catanhl): Handle arguments with large real or imaginary part
64230         separately without squaring.
64231         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
64232         and redefine.
64233         (__catanl): Handle arguments with large real or imaginary part
64234         separately without squaring.
64235         * math/libm-test.inc (catan_test): Add more tests.
64236         (catanh_test): Likewise.
64237         * sysdeps/i386/fpu/libm-test-ulps: Update.
64238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64240 2013-04-27  Andreas Jaeger  <aj@suse.de>
64242         [BZ #15007]
64243         * stdlib/stdlib.h: Update guards for qecvt.
64244         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
64245         <stdlib.h>.
64247 2013-04-27  Allan McRae  <allan@archlinux.org>
64249         * sysdeps/i386/fpu/libm-test-ulps: Update.
64251 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
64253         [BZ #15406]
64254         * math/s_catan.c: Include <float.h>.
64255         (__catan): Ensure underflow exception occurs for underflowed
64256         result.
64257         * math/s_catanf.c: Include <float.h>.
64258         (__catanf): Ensure underflow exception occurs for underflowed
64259         result.
64260         * math/s_catanh.c: Include <float.h>.
64261         (__catanh): Ensure underflow exception occurs for underflowed
64262         result.
64263         * math/s_catanhf.c: Include <float.h>.
64264         (__catanhf): Ensure underflow exception occurs for underflowed
64265         result.
64266         * math/s_catanhl.c: Include <float.h>.
64267         (__catanhl): Ensure underflow exception occurs for underflowed
64268         result.
64269         * math/s_catanl.c: Include <float.h>.
64270         (__catanl): Ensure underflow exception occurs for underflowed
64271         result.
64272         * math/libm-test.inc (catan_test): Add more tests.
64273         (catanh_test): Likewise.
64275         [BZ #15405]
64276         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
64277         underflowed result.
64278         * math/s_ccoshf.c (__ccoshf): Likewise.
64279         * math/s_ccoshl.c (__ccoshl): Likewise.
64280         * math/s_csin.c (__csin): Likewise.
64281         * math/s_csinf.c (__csinf): Likewise.
64282         * math/s_csinh.c (__csinh): Likewise.
64283         * math/s_csinhf.c (__csinhf): Likewise.
64284         * math/s_csinhl.c (__csinhl): Likewise.
64285         * math/s_csinl.c (__csinl): Likewise.
64286         * math/libm-test.inc (ccos_test): Add more tests.
64287         (ccosh_test): Likewise.
64288         (csin_test): Likewise.
64289         (csinh_test): Likewise.
64291 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64293         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
64294         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
64295         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
64296         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
64297         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
64298         powerpc/power5+/fpu folders.
64299         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
64302 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
64304         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64306 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
64308         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
64309         additions to variable.
64310         [$(config-machine) = x86_64] (modules-names): Likewise.
64311         ($(objpfx)tst-audit3): Remove dependency.
64312         ($(objpfx)tst-audit3.out): Likewise.
64313         ($(objpfx)tst-audit4): Likewise.
64314         ($(objpfx)tst-audit4.out): Likewise.
64315         ($(objpfx)tst-audit5): Likewise.
64316         ($(objpfx)tst-audit5.out): Likewise.
64317         ($(objpfx)tst-audit6): Likewise.
64318         ($(objpfx)tst-audit6.out): Likewise.
64319         ($(objpfx)tst-audit7): Likewise.
64320         ($(objpfx)tst-audit7.out): Likewise.
64321         (tst-audit3-ENV): Remove variable.
64322         (tst-audit4-ENV): Likewise.
64323         (tst-audit5-ENV): Likewise.
64324         (tst-audit6-ENV): Likewise.
64325         (tst-audit7-ENV): Likewise.
64326         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
64327         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
64328         addition to variable.
64329         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
64330         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
64331         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
64332         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
64333         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
64334         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
64335         tst-audit3, tst-audit4 and tst-audit5.
64336         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
64337         tst-audit6 and tst-audit7.
64338         [$(subdir) = elf] (modules-names): Add audit modules for those
64339         tests.
64340         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
64341         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
64342         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
64343         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
64344         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
64345         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
64346         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
64347         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
64348         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
64349         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
64350         [$(subdir) = elf] (tst-audit3-ENV): New variable.
64351         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
64352         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
64353         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
64354         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
64355         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
64356         Likewise.
64357         [$(subdir) = elf && $(config-cflags-avx) = yes]
64358         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
64359         [$(subdir) = elf && $(config-cflags-avx) = yes]
64360         (CFLAGS-tst-auditmod4a.c): Likewise.
64361         [$(subdir) = elf && $(config-cflags-avx) = yes]
64362         (CFLAGS-tst-auditmod4b.c): Likewise.
64363         [$(subdir) = elf && $(config-cflags-avx) = yes]
64364         (CFLAGS-tst-auditmod6b.c): Likewise.
64365         [$(subdir) = elf && $(config-cflags-avx) = yes]
64366         (CFLAGS-tst-auditmod6c.c): Likewise.
64367         [$(subdir) = elf && $(config-cflags-avx) = yes]
64368         (CFLAGS-tst-auditmod7b.c): Likewise.
64369         * elf/tst-audit3.c: Move to ...
64370         * sysdeps/x86_64/tst-audit3.c: ... here.
64371         * elf/tst-audit4.c: Move to ...
64372         * sysdeps/x86_64/tst-audit4.c: ... here.
64373         * elf/tst-audit5.c: Move to ...
64374         * sysdeps/x86_64/tst-audit5.c: ... here.
64375         * elf/tst-audit6.c: Move to ...
64376         * sysdeps/x86_64/tst-audit6.c: ... here.
64377         * elf/tst-audit7.c: Move to ...
64378         * sysdeps/x86_64/tst-audit7.c: ... here.
64379         * elf/tst-auditmod3a.c: Move to ...
64380         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
64381         * elf/tst-auditmod3b.c: Move to ...
64382         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
64383         * elf/tst-auditmod4a.c: Move to ...
64384         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
64385         * elf/tst-auditmod4b.c: Move to ...
64386         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
64387         * elf/tst-auditmod5a.c: Move to ...
64388         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
64389         * elf/tst-auditmod5b.c: Move to ...
64390         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
64391         * elf/tst-auditmod6a.c: Move to ...
64392         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
64393         * elf/tst-auditmod6b.c: Move to ...
64394         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
64395         * elf/tst-auditmod6c.c: Move to ...
64396         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
64397         * elf/tst-auditmod7a.c: Move to ...
64398         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
64399         * elf/tst-auditmod7b.c: Move to ...
64400         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
64402 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
64404         [BZ #15366]
64405         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
64406         define unconditionally.
64407         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
64408         define unconditionally.
64409         (INT8_C, INT16_C, etc.): Likewise.
64411 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
64413         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
64414         __ehdr_start with hidden visibility.
64416         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
64418 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
64420         * math/libm-test.inc (cos_test): Use accurate hex constants.
64421         (sincost_test): Likewise.
64423 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
64425         * math/libm-test.inc (catan_test): Add more tests.
64426         (catanh_test): Likewise.
64428         * math/s_catanf.c (__catanf): Use suffixed floating-point
64429         constants.
64430         * math/s_catanhf.c (__catanhf): Likewise.
64431         * math/s_catanhl.c (__catanhl): Likewise.
64432         * math/s_catanl.c (__catanl): Likewise.
64434         [BZ #15394]
64435         * math/s_catan.c (__catan): Calculate imaginary part of result
64436         with log1p not log unless computing log of number close to 0.
64437         * math/s_catanf.c (__catanf): Likewise.
64438         * math/s_catanl.c (__catanl): Likewise.
64439         * math/s_catanh.c (__catanh): Calculate real part of result with
64440         log1p not log unless computing log of number close to 0.
64441         * math/s_catanhf.c (__catanhf): Likewise.
64442         * math/s_catanhl.c (__catanhl): Likewise.
64443         * math/libm-test.inc (catan_test): Add more tests.
64444         (catanh_test): Likewise.
64445         * sysdeps/i386/fpu/libm-test-ulps: Update.
64446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64448 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
64450         * benchtests/Makefile: Mention files in which fast and slow
64451         paths of math functions are implemented.
64453 2013-04-23  Roland McGrath  <roland@hack.frob.com>
64455         * sysdeps/posix/timespec_get.c: New file.
64457 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64459         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
64460         POWER.
64461         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
64462         for POWER.
64463         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
64464         powerpc/power5/fpu folders.
64465         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
64466         * benchtests/Makefile: Add modf testcase.
64467         * benchtests/bench-modf.c: New file: Benchmark test for mo
64469 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
64471         [BZ #14888]
64472         * time/Makefile (tests): Add tst-strptime-whitespace.
64473         * time/strptime_l.c (get_number): Use ISSPACE.
64474         (__strptime_internal): Likewise.
64475         * time/tst-strptime-whitespace.c: New test case.
64477 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
64479         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
64480         member.
64481         (_nss_files_init): Set it here.
64483 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
64485         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
64486         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
64487         unsigned.
64489 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
64491         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
64493 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
64495         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
64496         size just once.
64498 2013-04-21  David S. Miller  <davem@davemloft.net>
64500         * po/ru.po: Update Russion translation from translation project.
64502 2013-04-17  Adam Conrad  <adconrad@0c3.net>
64504         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
64505         and setfsgid.
64507 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
64509         * configure.in: Remove i386 configure warning. Remove i386 case.
64510         * configure: Regenerate.
64511         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
64512         Add example to error message.
64513         * sysdeps/i386/configure: Regenerate.
64515 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
64517         * benchtests/Makefile (bench): Add cos, tan, slowcos and
64518         slowtan.
64519         * benchtests/cos-inputs: New file.
64520         * benchtests/slowcos-inputs: New file.
64521         * benchtests/slowcos.c: New file.
64522         * benchtests/slowtan-inputs: New file.
64523         * benchtests/slowtan.c: New file.
64524         * benchtests/tan-inputs: New file.
64526 2013-04-16  Roland McGrath  <roland@hack.frob.com>
64528         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
64529         considered kosher.
64531 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
64533         * benchtests/Makefile: Include cppflags-iterator.mk to add
64534         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
64536         * Makefile.in (bench-clean): New target.
64537         * benchtests/Makefile (bench-clean): Likewise.
64539 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
64541         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
64543 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
64545         * stdio-common/tstdiomisc.c: Fix coding-style violation.
64547 2013-04-15  Andreas Schwab  <schwab@suse.de>
64549         * nscd/grpcache.c (cache_addgr): Properly check for short write.
64550         * nscd/initgrcache.c (addinitgroupsX): Likewise.
64551         * nscd/pwdcache.c (cache_addpw): Likewise.
64552         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
64553         more than recsize.
64555 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64557         * benchtests/Makefile (bench): Write all output to
64558         bench-out.tmp together.
64560 2013-04-15  Andreas Schwab  <schwab@suse.de>
64562         * nscd/nscd.c (main): Don't fork again after closing files.
64564 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64566         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
64568         * benchtests/Rules (bench-deps): Collect dependencies into a
64569         single variable.  Add Makefile to dependencies.
64570         ($(objpfx)bench-%.c): Depend on bench-deps.
64572 2013-04-12  Roland McGrath  <roland@hack.frob.com>
64573             Xavier Roche  <roche+kml2@exalead.com>
64575         [BZ #15361]
64576         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
64577         just that it's a file descriptor.
64578         * manual/llio.texi (Synchronizing AIO Operations): Update description
64579         for EBADF error from aio_fsync.
64581 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
64583         * Rules (bench): Move target definition...
64584         * benchtests/Makefile: ... here.
64586 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
64588         * math/libm-test.inc (cos_test): Fix PI/2 test.
64589         (sincos_test): Likewise.
64590         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
64591         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
64593 2013-04-11  Andreas Schwab  <schwab@suse.de>
64595         [BZ #13988]
64596         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
64597         accept exponent character only when digits were seen.
64598         * stdio-common/Makefile (tests): Add bug26.
64599         * stdio-common/bug26.c: New file.
64601         [BZ #14293]
64602         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
64603         non-freeable.
64605 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
64607         * Makeconfig (rtld-prefix): Define built linker prefix.
64608         * Rules (run-bench): Use it.
64609         * math/Makefile (run-regen-ulps): Likewise.
64611         * Rules (bench): Remove eval.
64613 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
64614             Roland McGrath  <roland@hack.frob.com>
64615             Ondrej Bilka  <neleai@seznam.cz>
64617         [BZ #15346]
64618         * time/getdate.c: Include ctype.h and alloca.h.
64619         (__getdate_r): Trim leading and trailing spaces of input.
64620         * time/tst-getdate.c (tests): Add tests with leading and
64621         trailing spaces.
64623 2013-04-08  Roland McGrath  <roland@hack.frob.com>
64625         [BZ #14280]
64626         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
64627         when computing value.
64629 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
64631         * math/README.libm-test (How can I generate "libm-test-ulps"?):
64632         Use testrun.sh to run libm tests.
64634         [BZ #15309]
64635         * elf/dl-open.c (dl_open_worker): memset all of seen array.
64637 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
64639         [BZ #15264]
64640         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
64642 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
64644         * Makefile.in (regen-ulps): New target.
64645         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
64646         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
64647         [ifneq (no,$(PERL)] (regen-ulps): New target.
64648         [ifeq (no,$(PERL)] (regen-ulps): New target.
64649         * math/libm-test.inc (ulps_file_name): Define.
64650         (output_dir): New variable.
64651         (options): Add "output-dir" option.
64652         (parse_opt): Handle 'o' case.
64653         (main): If output_dir is non-NULL use it as a prefix
64654         otherwise use "".
64655         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
64657 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
64659         [BZ #10060, #10062]
64660         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
64661         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
64662         fail configure if __sync_val_compare_and_swap is not inlined.
64663         * sysdeps/i386/configure: Regenerate.
64664         * configure.in: Build for i686 when configured for i386.
64665         * configure: Regenerate.
64666         * README: Remove i386 reference.
64668 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
64670         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
64671         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64673 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
64675         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
64676         (lmsnanval): New variables.
64677         (F): Add conversion tests.
64678         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
64679         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
64681         * stdio-common/tstdiomisc.c (F): Properly collect individual
64682         tests' results.
64684         [BZ #14686, #15336]
64685         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
64686         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
64687         Instead, use input NaN values or generate a qNaN by arithmetic
64688         operation.  Also fix bugs to comply with the standard.
64689         * math/libm-test.inc (remainder_test): Add more tests.
64691         [BZ #15335, #15342]
64692         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
64693         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
64694         input NaN values or generate a qNaN by arithmetic operation.
64696         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
64697         unreachable code.
64699         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
64700         definitions.
64702 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
64704         [BZ #14478]
64705         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
64706         underflowed result.
64707         * math/s_cexpf.c (__cexpf): Likewise.
64708         * math/s_cexpl.c (__cexpl): Likewise.
64709         * math/libm-test.inc (cexp_test): Add more tests.
64711 2013-04-03  Andreas Schwab  <schwab@suse.de>
64713         [BZ #15330]
64714         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
64715         order arrays from heap if bigger than alloca cutoff.
64717 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
64719         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
64720         (SNAN_TESTS_double): Refer to GCC PR56831.
64721         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
64722         GCC PR56828.
64724 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
64726         * Rules (bench): Move bench.out after the run is complete.
64728         * Rules (bench): Echo currently running benchmark.
64730         * benchtests/Makefile (bench): Add atan and slowatan.
64731         * benchtests/atan-inputs: New file.
64732         * benchtests/slowatan-inputs: New file.
64733         * benchtests/slowatan.c: New file.
64735         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
64736         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
64737         its value.
64739         [BZ #15305]
64740         * sysdeps/unix/sysv/linux/kernel-features.h
64741         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
64742         __ASSUME_XFS_RESTRICTED_CHOWN.
64743         * sysdeps/unix/sysv/linux/pathconf.c
64744         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
64745         Save and restore errno.
64747 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
64749         [BZ #15327]
64750         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
64751         arguments using __kernel_casinh.
64752         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
64753         arguments using __kernel_casinhf.
64754         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
64755         arguments using __kernel_casinhl.
64756         * math/libm-test.inc (cacosh_test): Add more tests.
64757         * sysdeps/i386/fpu/libm-test-ulps: Update.
64758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64760 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
64762         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
64763         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
64765         * bench/Makefile (bench): Add sin and slowsin.
64766         * benchtests/sin-inputs: New file.
64767         * benchtests/slowsin-inputs: New file.
64768         * benchtests/slowsin.c: New file.
64770         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
64771         (bench): Add slowexp and slowpow.
64772         (exp-ITER): Increase iterations.
64773         (pow-ITER): Likewise.
64774         * benchtests/exp-inputs: Change input.
64775         * benchtests/pow-inputs: Likewise.
64776         * benchtests/slowexp-inputs: New file.
64777         * benchtests/slowexp.c: New file.
64778         * benchtests/slowpow-inputs: New file.
64779         * benchtests/slowpow.c: New file.
64781 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64783         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
64784         instructions.
64785         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
64786         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
64787         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
64788         * benchtests/Makefile: Add rint benchtest.
64789         * benchtests/rint-inputs: Input for rint benchtest.
64791 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
64793         * Versions.def (libm): Add GLIBC_2.18.
64794         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
64795         hidden libm prototypes.
64796         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
64797         * math/Makefile (libm-calls): Add s_issignaling.
64798         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
64799         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
64800         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
64801         declaration.
64802         * math/math.h [__USE_GNU] (issignaling): New macro.
64803         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
64804         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
64805         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
64806         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
64807         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
64808         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
64809         * manual/arith.texi (issignaling): New section.
64810         * manual/libm-err-tab.pl (@all_functions): Update comment.
64811         * math/gen-libm-test.pl (parse_args): Apply special handling for
64812         issignaling.
64813         * math/libm-test.inc (print_float, issignaling_test): New
64814         functions.
64815         (check_float_internal): Add issignaling checks.
64816         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
64817         default definition.
64818         * sysdeps/powerpc/math-tests.h: New file.
64819         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
64820         tests.
64821         * math/test-snan.c (TEST_FUNC): Likewise.
64823 2013-03-30  David S. Miller  <davem@davemloft.net>
64825         * po/de.po: Update from translation team.
64827 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
64829         [BZ #10357]
64830         * math/k_casinh.c (__kernel_casinh): Handle arguments with
64831         imaginary part less than 1.0 and real part less than 0.5
64832         specially.
64833         * math/k_casinhf.c (__kernel_casinhf): Likewise.
64834         * math/k_casinhl.c (__kernel_casinhl): Likewise.
64835         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
64836         (cacos_test): Add more tests.
64837         (casin_test): Likewise.
64838         (casinh_test): Likewise.
64839         * sysdeps/i386/fpu/libm-test-ulps: Update.
64840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64842 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
64844         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
64845         ONE with its value.
64847         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
64848         (__pow_mp): Replace ONE and MONE with their values.
64849         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
64850         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
64851         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
64852         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
64853         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
64854         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
64856         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
64858         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
64859         (__pow_mp): Replace ZERO and MZERO with their values.
64860         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
64861         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
64862         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
64863         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
64864         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
64865         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
64866         (__sqr): Likewise.
64868         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
64870         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
64872 2013-03-28  Roland McGrath  <roland@hack.frob.com>
64874         * include/stdlib.h [!SHARED] (__call_tls_dtors):
64875         Declare with __attribute__ ((weak)).
64876         * stdlib/exit.c (__libc_atexit) [!SHARED]:
64877         Call __call_tls_dtors only if it's not NULL.
64879 2013-03-28  Roland McGrath  <roland@hack.frob.com>
64881         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
64882         didn't do it already, then set _dl_phdr and _dl_phnum based on the
64883         magic __ehdr_start linker symbol if it's defined.
64884         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
64885         them up here if it was already done.
64887         * elf/dl-support.c (_dl_phdr): Make pointer to const.
64888         (_dl_aux_init): Use const in cast when setting it.
64889         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
64890         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
64891         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
64893         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
64894         Declare them here.
64895         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
64896         * csu/libc-tls.c: Nor here.
64897         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
64899         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
64900         (__libc_message): Never call vsyslog.
64902 2013-03-28  Alan Modra  <amodra@gmail.com>
64904         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
64905         Define as empty.
64906         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
64907         Likewise.
64909 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64911         [BZ #15214]
64912         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
64913         underflow.
64914         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64916 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64918         [BZ #15304]
64919         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
64920         Don't add gid passed as argument.
64922         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
64924 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
64926         [BZ #15307]
64927         * math/k_casinh.c (__kernel_casinh): Handle arguments with
64928         imaginary part between 1.0 and 1.5 and real part less than 0.5
64929         specially.
64930         * math/k_casinhf.c (__kernel_casinhf): Likewise.
64931         * math/k_casinhl.c (__kernel_casinhl): Likewise.
64932         * math/libm-test.inc (cacos_test): Add more tests.
64933         (casin_test): Likewise.
64934         (casinh_test): Likewise.
64935         * sysdeps/i386/fpu/libm-test-ulps: Update.
64936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64938 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64940         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
64941         constants.
64942         (norm): Likewise.
64943         (denorm): Likewise.
64944         (__dbl_mp): Likewise.
64945         (add_magnitudes): Likewise.
64946         (sub_magnitudes): Likewise.
64947         (__add): Likewise.
64948         (__sub): Likewise.
64949         (__mul): Likewise.
64950         (__sqr): Likewise.
64951         (__inv): Likewise.
64952         (__dvd): Likewise.
64954         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
64955         commented code.
64956         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
64957         (__dubcos): Likewise.
64958         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
64959         (__ieee754_acos): Likewise.
64960         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
64961         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
64962         (__exp1): Likewise.
64963         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
64964         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
64965         (log1): Likewise.
64966         (my_log2): Likewise.
64967         (checkint): Likewise.
64968         * sysdeps/ieee754/dbl-64/e_remainder.c
64969         (__ieee754_remainder): Likewise.
64970         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
64971         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
64972         (bsloww): Likewise.
64973         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
64975         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
64976         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
64977         MANTISSA_STORE_T to store computations on mantissa.  Use
64978         macros for rounding and division.
64979         (denorm): Likewise.
64980         (__dbl_mp): Likewise.
64981         (add_magnitudes): Likewise.
64982         (sub_magnitudes): Likewise.
64983         (__mul): Likewise.
64984         (__sqr): Likewise.
64985         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
64986         powers of two in terms of TWOPOW macro.
64987         (mp_no): Make type of mantissa as MANTISSA_T.
64988         [!RADIXI]: Define RADIXI.
64989         [!TWO52]: Define TWO52.
64990         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
64992 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64994         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
64995         llroundl symbol when building for PPC32.
64997 2013-03-24  Mark H Weaver  <mhw@netris.org>
64999         * manual/arith.texi (Normalization Functions): Fix prototypes for
65000         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
65002 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65004         [BZ #13889]
65005         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
65006         high value to check if expl overflow.
65007         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
65008         to check for underflow and overflow.
65009         * math/libm-test.inc: Add exp test.
65011 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
65013         [BZ #11120]
65014         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
65015         with NOT_IN_libc.
65017 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65019         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
65020         symbol.
65022 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
65024         * math/gen-libm-test.pl (parse_args, special_functions): Properly
65025         wrap blocks consisting of several statements.
65027         * sysdeps/generic/math-tests.h: New file.
65028         * sysdeps/i386/fpu/math-tests.h: Likewise.
65029         * math/test-snan.c: Include it.
65030         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
65032 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
65034         [BZ #15285]
65035         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
65036         (__ieee754_j0l): Do not improve calculations using cos of twice
65037         input for inputs above LDBL_MAX / 2.0L.
65038         (__ieee754_y0l): Likewise.
65039         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
65040         (__ieee754_j1l): Do not improve calculations using cos of twice
65041         input for inputs above LDBL_MAX / 2.0L.
65042         (__ieee754_y1l): Likewise.
65043         * math/libm-test.inc (j0_test): Add another test.
65044         (j1_test): Likewise.
65045         (y0_test): Likewise.
65046         (y1_test): Likewise.
65047         * sysdeps/i386/fpu/libm-test-ulps: Update.
65049 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
65051         * Rules ($(objpfx)bench-%.c): Include code from a C source
65052         file.
65054 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
65056         [BZ #15287]
65057         * math/k_casinh.c (__kernel_casinh): Handle arguments with
65058         imaginary part 1.0 and real part less than 0.5 specially.
65059         * math/k_casinhf.c (__kernel_casinhf): Likewise.
65060         * math/k_casinhl.c (__kernel_casinhl): Likewise.
65061         * math/libm-test.inc (cacos_test): Add more tests.
65062         (casin_test): Likewise.
65063         (casinh_test): Likewise.
65064         * sysdeps/i386/fpu/libm-test-ulps: Update.
65065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65067 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
65069         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
65070         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
65072 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
65074         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
65075         * config.make.in (config-cflags-sse4): Remove variable.
65076         (config-cflags-avx): Likewise.
65077         (config-cflags-sse2avx): Likewise.
65078         (config-cflags-novzeroupper): Likewise.
65079         (config-asflags-i686): Likewise.
65080         (have-mfma4): Likewise.
65081         (have-as-vis3): Likewise.
65082         (MIG): Likewise.
65083         * configure.in (MIG): Do not AC_SUBST.
65084         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
65085         (libc_cv_cc_sse4): Do not AC_SUBST.
65086         (libc_cv_cc_avx): Likewise.
65087         (libc_cv_cc_sse2avx): Likewise.
65088         (libc_cv_cc_novzeroupper): Likewise.
65089         (libc_cv_cc_fma4): Likewise.
65090         (libc_cv_as_i686): Likewise.
65091         (libc_cv_sparc_as_vis3): Likewise.
65092         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
65093         LIBC_CONFIG_VAR.
65094         (config-asflags-i686): Likewise.
65095         (config-cflags-avx): Likewise.
65096         (config-cflags-sse2avx): Likewise.
65097         (have-mfma4): Likewise.
65098         (config-cflags-novzeroupper): Likewise.
65099         * sysdeps/mach/configure.in (MIG): Likewise.
65100         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
65101         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
65102         LIBC_CONFIG_VAR.
65103         (config-cflags-avx): Likewise.
65104         (config-cflags-sse2avx): Likewise.
65105         (have-mfma4): Likewise.
65106         (config-cflags-novzeroupper): Likewise.
65107         * configure: Regenerated.
65108         * sysdeps/i386/configure: Likewise.
65109         * sysdeps/mach/configure: Likewise.
65110         * sysdeps/sparc/configure: Likewise.
65111         * sysdeps/x86_64/configure: Likewise.
65113 2013-03-20  Roland McGrath  <roland@hack.frob.com>
65115         [BZ #14812]
65116         * locale/programs/localedef.c (options): Put N_ translation marker
65117         on argument names, not just descriptions.
65119 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65121         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
65123 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
65125         [BZ #14176]
65126         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
65128 2013-03-19  Roland McGrath  <roland@hack.frob.com>
65130         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
65131         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
65132         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
65133         [!BEFORE_ABORT] (before_abort): New function.
65134         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
65135         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
65136         (writev_for_fatal): New function.
65137         (WRITEV_FOR_FATAL): New macro; call that.
65138         (backtrace_and_maps): New function.
65139         (BEFORE_ABORT): New macro; call that.
65140         (struct str_list): Type removed.
65141         (__libc_message, __libc_fatal): Functions removed.
65142         Include <sysdeps/posix/libc_fatal.c> instead.
65144 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
65146         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
65147         constants.
65148         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
65149         double constants.
65151 2013-03-19  Andreas Schwab  <schwab@suse.de>
65153         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
65154         * sysdeps/gnu/configure: Regenerate.
65156         * configure.in: Substitute libc_cv_rtlddir.
65157         * configure: Regenerate.
65158         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
65159         * Makeconfig (rtlddir, inst_rtlddir): New variables.
65160         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
65161         * elf/Makefile (install-others, CFLAGS-interp.c)
65162         (ldso_install, common-ldd-rewrite): Likewise.
65163         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
65164         $(inst_slibdir)/$(rtld-installed-name).
65165         * scripts/rellns-sh: Add -p option.
65166         * Makerules (make-shlib-link): Use rellns-sh to get relative name
65167         for source.
65169 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
65171         * manual/nptl.texi: Renamed to ...
65172         * manual/threads.texi: ... this.
65173         * manual/Makefile (chapters): Update.
65175 2013-03-18  Roland McGrath  <roland@hack.frob.com>
65177         [BZ #14812]
65178         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
65179         on argument names, not just descriptions.
65180         * malloc/memusagestat.c (options): Likewise.
65181         * nss/getent.c (options): Likewise.
65183 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
65185         [BZ #14812]
65186         * iconv/iconv_prog.c (options): Put N_ translation marker
65187         on argument names, not just descriptions.
65188         * iconv/iconvconfig.c (options): Likewise.
65190 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
65192         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
65193         implementation which is faster on all x86_64 architectures.
65194         Tested on AMD, Intel Nehalem, SNB, IVB.
65195         * sysdeps/x86_64/strnlen.S: Likewise.
65197         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
65198         Remove all multiarch strlen and strnlen versions.
65199         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
65200         Remove strlen and strnlen related parts.
65202         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
65203         Inline strlen part.
65204         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
65206         * sysdeps/x86_64/multiarch/strlen.S: Remove.
65207         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
65208         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
65209         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
65210         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
65211         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
65213 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
65215         * manual/memory.texi (Malloc Tunable Parameters):
65216         Sort parameters alphabetically. Add comments for missing entries.
65218 2013-03-17  David S. Miller  <davem@davemloft.net>
65220         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65222 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
65224         [BZ #15283]
65225         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
65226         for arguments at most half maximum finite value.
65227         * math/libm-test.inc (j0_test): Add more tests.
65228         (j1_test): Likewise.
65229         (y0_test): Likewise.
65230         (y1_test): Likewise.
65231         * sysdeps/i386/fpu/libm-test-ulps: Update.
65232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65234         [BZ #14155]
65235         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
65236         1 / x and functions P and Q for arguments above 0x1p256L.
65237         (__ieee754_y0l): Likewise.
65238         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
65239         (__ieee754_y1l): Likewise.
65240         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
65241         (j1_test): Likewise.
65242         (y0_test): Likewise.
65243         (y1_test): Likewise.
65245 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
65247         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
65248         variable.
65250 2013-03-15  Roland McGrath  <roland@hack.frob.com>
65252         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
65253         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
65254         zero since it's initialized to EXEC_PAGESIZE.
65256         * sysdeps/unix/sysv/linux/ldsodefs.h
65257         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
65258         * sysdeps/generic/ldsodefs.h: ... here.
65260 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
65262         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
65264         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
65265         math/test-snan.c.
65266         * math/test-snan.c: Renamed from
65267         sysdeps/powerpc/fpu/test-powerpc-snan.c.
65268         * math/Makefile (tests): Add test-snan.
65269         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
65270         test-powerpc-snan.
65272         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
65273         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
65274         functions.
65275         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
65276         __builtin_nan family of functions.
65277         * math/libm-test.inc (initialize): Initialize qnan_value with
65278         __builtin_nan family of functions.
65279         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
65280         Remove variables.
65281         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
65282         Remove functions.
65283         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
65284         storage class.  Initialize qNaN_var and sNaN_var with
65285         __builtin_nan and __builtin_nans families of functions,
65286         respectively.
65288         * math/libm-test.inc (acosh_test): Also test with qNaN input.
65289         (sqrt_test): Remove duplicate test with qNaN input.
65290         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
65291         (round_test, signbit_test, significand_test): Note missing +/-Inf
65292         as well as qNaN tests.
65294         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
65295         qNaN_var.  Fix a few strings, too.
65296         * math/libm-test.inc (nan_value): Rename to qnan_value.
65297         * math/gen-libm-test.pl (%beautify): Adjust to that.
65298         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
65299         * math/test-misc.c (main): Likewise.
65300         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
65301         to __qnan_bytes, and __qnan_union, respectively.
65302         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
65303         Likewise.
65304         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
65305         and lqnanval, respectively.
65306         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
65307         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
65308         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
65309         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
65311         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
65312         * math/test-misc.c (main) [__x86_64__]: Enable test for long
65313         doubles.
65315         * math/test-misc.c (main): Fix copy'n'pastos.
65316         * misc/tst-efgcvt.c (special): Likewise.
65318         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
65319         Remove declarations.
65321 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65323         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
65324         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
65325         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
65326         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
65328 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65330         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
65331         macro to return vdso values correctly in IFUNC implementations.
65332         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
65333         Optimization by using IFUNC.
65335 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65336             Richard Henderson  <rth@redhat.com>
65337             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65339         * Makefile.in (bench): New target.
65340         * NEWS: Mention the benchmark framework.
65341         * Rules (bench): Likewise.
65342         (binaries-bench): Generate binaries for functions to
65343         benchmark.
65344         * benchtests/Makefile: New makefile for benchmark tests.
65345         * benchtests/bench-skeleton.c: New skeleton file for benchmark
65346         programs.
65347         * benchtests/exp-inputs: New input file for EXP function.
65348         * benchtests/pow-inputs: New input file for POW function.
65349         * scripts/bench.pl: New script to generate source files for
65350         benchmark programs.
65352 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65354         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
65355         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
65356         computations on mantissa.  Use macros for rounding and
65357         division.
65358         (denorm): Likewise.
65359         (__dbl_mp): Likewise.
65360         (add_magnitudes): Likewise.
65361         (sub_magnitudes): Likewise.
65362         (__mul): Likewise.
65363         (__sqr): Likewise.
65364         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
65365         powers of two in terms of TWOPOW macro.
65366         (mp_no): Make type of mantissa as MANTISSA_T.
65367         [!RADIXI]: Define RADIXI.
65368         [!TWO52]: Define TWO52.
65369         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
65371         * manual/nptl.texi (cindex): Modify threads to pthreads.
65373 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
65375         * sysdeps/x86_64/preconfigure: Regenerated.
65377 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
65379         [BZ #14155]
65380         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
65381         0x1p28 and above.
65382         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
65383         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
65384         0x1p28 and above.
65385         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
65386         * math/libm-test.inc (j0_test): Do not allow one spurious
65387         underflow exception.
65388         (y1_test): Likewise.
65390 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
65392         * manual/Makefile (chapters): Add nptl.
65393         * manual/debug.texi (Debugging Support): Add link to Threads
65394         chapter.
65395         * manual/nptl.texi: New file.
65397         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
65399 2013-03-14  Petr Baudis  <pasky@ucw.cz>
65401         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
65402         for non-NULL pointer before the memory validity test. Pointed
65403         out by Holger Brunck <holger.brunck@keymile.com>.
65405 2013-03-13  Andreas Schwab  <schwab@suse.de>
65407         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
65408         instead of .os.
65410 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
65412         * timezone/zic.c: Update from tzcode 2013b.
65414 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
65416         * manual/install.texi (Configuring and compiling):
65417         Mention i686 and i586.
65418         * INSTALL: Regenerate.
65420 2013-03-12  Roland McGrath  <roland@hack.frob.com>
65422         * sysdeps/init_array/elf-init.c: New file.
65423         * csu/elf-init.c
65424         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
65425         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
65427         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
65428         __gmon_start__ as global, but as static with a .preinit_array pointer.
65429         * sysdeps/init_array/gmon-start.c: New file.  Use that.
65430         * sysdeps/init_array/crti.S: New file, empty except for comments.
65431         * sysdeps/init_array/crtn.S: Likewise.
65433 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
65435         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
65436         definining bcopy.
65437         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65438         Remove Prefer_SSE_for_memop.
65439         * sysdeps/x86_64/multiarch/init-arch.h: Remove
65440         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
65441         HAS_PREFER_SSE_FOR_MEMOP.
65442         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
65443         memset-x86-64.
65444         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
65445         Remove bzero, memset ifunc support.
65446         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
65447         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
65448         * sysdeps/x86_64/multiarch/memset.S: Likewise.
65449         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
65451 2013-03-11  Andreas Schwab  <schwab@suse.de>
65453         [BZ #15234]
65454         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
65455         by SHLIB_COMPAT.
65456         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
65457         (GLIBC_2.16): Remove pthread_atfork.
65459 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
65461         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
65462         (ptestcases.h): Likewise.
65464 2013-03-08  Roland McGrath  <roland@hack.frob.com>
65466         * Makeconfig ($(common-objpfx)config.status): Depend on
65467         sysdeps/*/preconfigure{,.in} too.
65469 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
65471         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
65472         (__free_hook): Use void * instead of __malloc_ptr_t.
65473         (__malloc_hook): Likewise.
65474         (__realloc_hook): Likewise.
65475         (__memalign_hook): Likewise.
65476         (__after_morecore_hook): Likewise.
65477         * malloc/arena.c (save_malloc_hook): Likewise.
65478         (save_free_hook): Likewise.
65479         * malloc/hooks.c (malloc_hook_ini): Likewise.
65480         (realloc_hook_ini): Likewise.
65481         (memalign_hook_ini): Likewise.
65482         * malloc/malloc.c (malloc_hook_ini): Likewise.
65483         (realloc_hook_ini): Likewise.
65484         (memalign_hook_ini): Likewise.
65485         (__free_hook): Likewise.
65486         (__malloc_hook): Likewise.
65487         (__realloc_hook): Likewise.
65488         (__memalign_hook): Likewise.
65489         (__libc_malloc): Likewise.
65490         (__libc_free): Likewise.
65491         (__libc_realloc): Likewise.
65492         (__libc_memalign): Likewise.
65493         (__libc_valloc): Likewise.
65494         (__libc_pvalloc): Likewise.
65495         (__libc_calloc): Likewise.
65496         (__posix_memalign): Likewise.
65497         * malloc/morecore.c (__sbrk): Likewise.
65498         (__default_morecore): Likewise.
65500         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
65502         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
65503         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
65504         __malloc_ptrdiff_t.
65506         * malloc/malloc.h (__malloc_size_t): Remove macro.
65507         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
65508         __malloc_size_t.
65509         (old_memalign_hook): Likewise.
65510         (old_realloc_hook): Likewise.
65511         (struct hdr): Likewise.
65512         (flood): Likewise.
65513         (mallochook): Likewise.
65514         (memalignhook): Likewise.
65515         (reallochook): Likewise.
65516         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
65517         (tr_old_realloc_hook): Likewise.
65518         (tr_old_memalign_hook): Likewise.
65519         (tr_mallochook): Likewise.
65520         (tr_reallochook): Likewise.
65521         (tr_memalignhook): Likewise.
65523 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65525         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
65526         default_ldbl_pack and using as default implementation.
65527         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
65528         implementation.
65529         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
65530         redundant definition.
65531         (ldbl_insert_mantissa): Likewise.
65532         (ldbl_canonicalize): Likewise.
65533         (ldbl_nearbyint): Likewise.
65534         (ldbl_pack): Rename to ldbl_pack_ppc.
65535         (ldbl_unpack): Rename to ldbl_unpack_ppc.
65536         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
65537         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
65539 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
65541         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
65542         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
65543         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
65544         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
65545         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
65546         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
65547         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
65548         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
65550 2013-03-07  Andreas Jaeger  <aj@suse.de>
65552         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65553         bits/mman-linux.h.
65555 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
65557         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
65558         Include mpa.h and declare __MPEXP.
65559         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
65560         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
65561         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
65562         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
65563         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
65564         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
65565         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
65567         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
65568         (__slowpow): Use long double EXPL and LOGL functions to
65569         compute POW.
65570         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
65571         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
65572         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
65573         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
65574         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
65575         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
65577         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
65578         intermediate variable to calculate exponent.
65579         (__sqr): Likewise.
65580         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
65581         Likewise.
65582         (__sqr): Likewise.
65584         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
65585         [!NO__SQR]: Define __sqr.
65586         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
65587         and NO__SQR.  Remove all code except __mul and __sqr.  Include
65588         sysdeps/ieee754/dbl-64/mpa.c.
65589         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65591         [BZ #12723]
65592         * posix/Makefile (tests): Add tst-pathconf.
65593         * posix/tst-pathconf.c: New test case.
65594         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
65595         _PC_PIPE_BUF.
65596         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
65598 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
65600         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
65602 2013-03-06  Andreas Jaeger  <aj@suse.de>
65604         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
65605         definition via __MAP_ANONYMOUS.
65607         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
65608         it's not part of Linux headers.
65610         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
65611         (MAP_HUGE_MASK): Define.
65613         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
65614         Define.
65615         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
65616         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
65617         Define.
65618         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
65619         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
65620         Define.
65621         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
65622         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
65623         Define.
65624         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
65626         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
65627         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
65628         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
65629         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
65630         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
65631         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
65633         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
65634         Handle f2fs.
65636         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65637         Handle f2fs and efivarfs.
65639         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
65640         f2fs.
65642         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
65643         (EFIVARFS_MAGIC): Add.
65644         (F2FS_LINK_MAX): Add.
65646 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
65648         * stdio-common/vfprintf.c: Replace __builtin_expect with
65649         __glibc_unlikely.
65651 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
65653         [BZ #13550]
65654         * sysdeps/generic/bp-sym.h: Remove file.
65655         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
65656         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
65657         <bp-sym.h> and <bp-asm.h>.
65658         (__longjmp): Don't use BP_SYM.
65659         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
65660         and <bp-asm.h>.
65661         (memcpy): Don't use BP_SYM.
65662         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
65663         <bp-sym.h> and <bp-asm.h>.
65664         (memcpy): Don't use BP_SYM.
65665         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
65666         <bp-asm.h>.
65667         (memcpy): Don't use BP_SYM.
65668         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
65669         <bp-asm.h>.
65670         (memset): Don't use BP_SYM.
65671         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
65672         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
65673         (__bzero): Don't use BP_SYM.
65674         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
65675         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
65676         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
65677         <bp-sym.h> and <bp-asm.h>.
65678         (memcmp): Don't use BP_SYM.  Remove comment about bounded
65679         pointers.
65680         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
65681         <bp-sym.h> and <bp-asm.h>.
65682         (memcpy): Don't use BP_SYM.
65683         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
65684         <bp-sym.h> and <bp-asm.h>.
65685         (memset): Don't use BP_SYM.
65686         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
65687         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
65688         (__bzero): Don't use BP_SYM.
65689         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
65690         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
65691         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
65692         <bp-sym.h> and <bp-asm.h>.
65693         (strncmp): Don't use BP_SYM.  Remove comment about bounded
65694         pointers.
65695         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
65696         <bp-sym.h> and <bp-asm.h>.
65697         (memcpy): Don't use BP_SYM.
65698         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
65699         <bp-sym.h> and <bp-asm.h>.
65700         (memset): Don't use BP_SYM.
65701         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
65702         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
65703         (__bzero): Don't use BP_SYM.
65704         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
65705         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
65706         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
65707         <bp-sym.h> and <bp-asm.h>.
65708         (__memchr): Don't use BP_SYM.
65709         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
65710         <bp-sym.h> and <bp-asm.h>.
65711         (memcmp): Don't use BP_SYM.  Remove comment about bounded
65712         pointers.
65713         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
65714         <bp-sym.h> and <bp-asm.h>.
65715         (memcpy): Don't use BP_SYM.
65716         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
65717         <bp-sym.h> and <bp-asm.h>.
65718         (__mempcpy): Don't use BP_SYM.
65719         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
65720         <bp-sym.h> and <bp-asm.h>.
65721         (__memrchr): Don't use BP_SYM.
65722         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
65723         <bp-sym.h> and <bp-asm.h>.
65724         (memset): Don't use BP_SYM.
65725         (__bzero): Likewise.
65726         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
65727         <bp-sym.h> and <bp-asm.h>.
65728         (__rawmemchr): Don't use BP_SYM.
65729         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
65730         <bp-sym.h> and <bp-asm.h>.
65731         (__STRCMP): Don't use BP_SYM.
65732         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
65733         <bp-sym.h> and <bp-asm.h>.
65734         (strchr): Don't use BP_SYM.
65735         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
65736         <bp-sym.h> and <bp-asm.h>.
65737         (__strchrnul): Don't use BP_SYM.
65738         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
65739         <bp-sym.h> and <bp-asm.h>.
65740         (strlen): Don't use BP_SYM.
65741         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
65742         <bp-sym.h> and <bp-asm.h>.
65743         (strncmp): Don't use BP_SYM.  Remove comment about bounded
65744         pointers.
65745         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
65746         <bp-sym.h> and <bp-asm.h>.
65747         (__strnlen): Don't use BP_SYM.
65748         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
65749         <bp-sym.h> and <bp-asm.h>.
65750         (__GI__setjmp): Don't use BP_SYM.
65751         (_setjmp): Likewise.
65752         (__sigsetjmp): Likewise.
65753         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
65754         (L(start_addresses)): Don't use BP_SYM.
65755         (_start): Likewise.
65756         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
65757         <bp-asm.h>.
65758         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
65759         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
65760         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
65761         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
65762         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
65763         <bp-asm.h>.
65764         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
65765         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
65766         about bounded pointers.
65767         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
65768         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
65769         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
65770         <bp-asm.h>.
65771         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
65772         about bounded pointers.  Remove GKM FIXME comments.
65773         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
65774         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
65775         <bp-asm.h>.
65776         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
65777         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
65778         Remove GKM FIXME comments.
65779         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
65780         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
65781         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
65782         <bp-asm.h>.
65783         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
65784         about bounded pointers.  Remove GKM FIXME comment.
65785         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
65786         and <bp-asm.h>.
65787         (strncmp): Don't use BP_SYM.  Remove comment about bounded
65788         pointers.
65789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
65790         <bp-sym.h> and <bp-asm.h>.
65791         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
65792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
65793         <bp-sym.h> and <bp-asm.h>.
65794         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
65795         comment.
65797 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
65799         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
65800         call free(NULL).
65802 2013-03-05  David S. Miller  <davem@davemloft.net>
65804         * po/es.po: Update from translation team.
65806 2013-03-05  Andreas Jaeger  <aj@suse.de>
65808         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
65809         <bits/mman-linux.h>.
65810         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
65811         is fine.
65812         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
65813         <bits/mman-linux.h> to end of file.
65814         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
65815         is fine.
65816         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
65817         <bits/mman-linux.h> to end of file.
65818         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
65819         is fine.
65820         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
65821         <bits/mman-linux.h> to end of file.
65823         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
65824         (MCL_CURRENT, MCL_FUTURE): Define here.
65826 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65828         [BZ #15232]
65829         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
65830         attribute_hidden.
65831         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
65833 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65835         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
65836         fourth parameter needed for rt_sigprocmask syscall.
65837         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
65838         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
65839         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
65840         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
65841         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
65842         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
65844 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
65846         [BZ #13550]
65847         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
65848         comment about bounded pointers.
65849         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
65850         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
65852 2013-03-04  Andreas Jaeger  <aj@suse.de>
65854         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
65855         common definitions.
65857         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
65858         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
65859         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
65860         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
65861         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
65862         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
65864 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65866         [BZ #15055]
65867         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
65868         __ieee754_sqrl instead of __sqrl.
65870 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
65872         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
65873         * sysdeps/powerpc/fpu_control.h: ... here.
65874         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
65875         * sysdeps/powerpc/bits/fenvinline.h: ... here.
65876         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
65877         * sysdeps/powerpc/bits/mathinline.h: ... here.
65879 2013-03-01  Roland McGrath  <roland@hack.frob.com>
65881         * elf/dl-hwcaps.c (_dl_important_hwcaps):
65882         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
65883         to just [NEED_DL_SYSINFO_DSO].
65884         * elf/dl-support.c: Likewise.
65885         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
65886         * elf/rtld.c (dl_main): Likewise.
65887         * elf/setup-vdso.h (setup_vdso): Likewise.
65888         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
65889         * sysdeps/unix/sysv/linux/dl-sysdep.c
65890         (_dl_discover_osversion): Likewise.
65892 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
65894         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
65895         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
65897 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
65899         * NEWS: Mention libm performance improvements and non-x86 PI
65900         futex support.
65902         * csu/libc-start.c (__pthread_initialize_minimal): Change
65903         function arguments.
65904         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
65906 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
65908         [BZ #13550]
65909         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
65910         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
65911         <bp-sym.h> and <bp-asm.h>.
65912         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
65913         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
65914         and <bp-asm.h>.
65915         (memcpy): Don't use BP_SYM.
65916         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
65917         <bp-asm.h>.
65918         (__mpn_add_n): Don't use BP_SYM.
65919         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
65920         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
65921         and <bp-asm.h>.
65922         (__mpn_addmul_1): Don't use BP_SYM.
65923         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65924         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
65925         <bp-sym.h>.
65926         (_setjmp): Don't use BP_SYM.
65927         (__novmx_setjmp): Likewise.
65928         (__GI__setjmp): Likewise.
65929         (__vmx_setjmp): Likewise.
65930         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
65931         <bp-sym.h>.
65932         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
65933         (__bzero): Don't use BP_SYM.
65934         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
65935         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
65936         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
65937         <bp-sym.h> and <bp-asm.h>.
65938         (memcpy): Don't use BP_SYM.
65939         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
65940         <bp-sym.h> and <bp-asm.h>.
65941         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
65942         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
65943         <bp-sym.h> and <bp-asm.h>.
65944         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
65945         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
65946         <bp-asm.h>.
65947         (__mpn_lshift): Don't use BP_SYM.
65948         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
65949         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
65950         <bp-asm.h>.
65951         (memset): Don't use BP_SYM.
65952         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
65953         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
65954         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
65955         <bp-asm.h>.
65956         (__mpn_mul_1): Don't use BP_SYM.
65957         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65958         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
65959         <bp-sym.h> and <bp-asm.h>.
65960         (memcmp): Don't use BP_SYM.
65961         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
65962         <bp-sym.h> and <bp-asm.h>.
65963         (memcpy): Don't use BP_SYM.
65964         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
65965         <bp-sym.h> and <bp-asm.h>.
65966         (memset): Don't use BP_SYM.
65967         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
65968         <bp-sym.h> and <bp-asm.h>.
65969         (strncmp): Don't use BP_SYM.
65970         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
65971         <bp-sym.h> and <bp-asm.h>.
65972         (memcpy): Don't use BP_SYM.
65973         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
65974         <bp-sym.h> and <bp-asm.h>.
65975         (memset): Don't use BP_SYM.
65976         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
65977         <bp-sym.h> and <bp-asm.h>.
65978         (__memchr): Don't use BP_SYM.
65979         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
65980         <bp-sym.h> and <bp-asm.h>.
65981         (memcmp): Don't use BP_SYM.
65982         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
65983         <bp-sym.h> and <bp-asm.h>.
65984         (memcpy): Don't use BP_SYM.
65985         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
65986         <bp-sym.h> and <bp-asm.h>.
65987         (__mempcpy): Don't use BP_SYM.
65988         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
65989         <bp-sym.h> and <bp-asm.h>.
65990         (__memrchr): Don't use BP_SYM.
65991         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
65992         <bp-sym.h> and <bp-asm.h>.
65993         (memset): Don't use BP_SYM.
65994         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
65995         <bp-sym.h> and <bp-asm.h>.
65996         (__rawmemchr): Don't use BP_SYM.
65997         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
65998         <bp-sym.h> and <bp-asm.h>.
65999         (__STRCMP): Don't use BP_SYM.
66000         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
66001         <bp-sym.h> and <bp-asm.h>.
66002         (strchr): Don't use BP_SYM.
66003         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
66004         <bp-sym.h> and <bp-asm.h>.
66005         (__strchrnul): Don't use BP_SYM.
66006         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
66007         <bp-sym.h> and <bp-asm.h>.
66008         (strlen): Don't use BP_SYM.
66009         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
66010         <bp-sym.h> and <bp-asm.h>.
66011         (strncmp): Don't use BP_SYM.
66012         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
66013         <bp-sym.h> and <bp-asm.h>.
66014         (__strnlen): Don't use BP_SYM.
66015         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
66016         <bp-asm.h>.
66017         (__mpn_rshift): Don't use BP_SYM.
66018         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
66019         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
66020         <bp-sym.h> and <bp-asm.h>.
66021         (__sigsetjmp): Don't use BP_SYM.
66022         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
66023         (L(start_addresses)): Don't use BP_SYM.
66024         (_start): Likewise.
66025         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
66026         <bp-asm.h>.
66027         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
66028         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
66029         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
66030         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
66031         <bp-asm.h>.
66032         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
66033         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
66034         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
66035         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
66036         <bp-asm.h>.
66037         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
66038         comments.
66039         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
66040         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
66041         <bp-asm.h>.
66042         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
66043         FIXME comments.
66044         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
66045         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
66046         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
66047         <bp-asm.h>.
66048         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
66049         comment.
66050         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
66051         and <bp-asm.h>.
66052         (strncmp): Don't use BP_SYM,
66053         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
66054         <bp-asm.h>.
66055         (__mpn_sub_n): Don't use BP_SYM.
66056         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
66057         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
66058         and <bp-asm.h>.
66059         (__mpn_submul_1): Don't use BP_SYM.
66060         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
66062         <bp-sym.h> and <bp-asm.h>.
66063         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
66064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
66065         <bp-sym.h> and <bp-asm.h>.
66066         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
66067         comment.
66069 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66071         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
66072         Use ZK to minimize writes to Z.
66073         (sub_magnitudes): Simplify code a bit.
66074         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
66075         Use ZK to minimize writes to Z.
66076         (sub_magnitudes): Simplify code a bit.
66078 2013-02-27  Roland McGrath  <roland@hack.frob.com>
66080         * csu/gmon-start.c: Add special exception to license text.
66082 2013-02-27  Richard Henderson  <rth@redhat.com>
66084         * scripts/config.guess: Update from config.git.
66085         * scripts/config.sub: Likewise.
66087 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
66089         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
66091         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
66093         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
66095         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
66097         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
66099 2013-02-26  Roland McGrath  <roland@hack.frob.com>
66101         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
66102         [$(build-shared = yes].
66104 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
66106         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
66107         (__mul): Reduce iterations for calculating mantissa.
66109         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
66110         MPTWO.
66111         (__mpranred): Likewise.
66113         [BZ #15160]
66114         * malloc/memusagestat.c (main): Draw graphs for heap and stack
66115         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
66117 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
66119         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
66120         Define __attribute__.
66122 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
66124         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
66125         unused.
66126         * posix/regex_internal.h (__attribute): Remove.
66127         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
66128         (re_string_context_at): Likewise.
66129         (bitset_not): Use __attribute__ and mark function as possibly
66130         unused.
66131         (bitset_merge): Likewise.
66132         (bitset_mask): Likewise.
66133         (re_string_char_size_at): Likewise.
66134         (re_string_wchar_at): Likewise.
66135         (re_string_elem_size_at): Likewise.
66137 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
66139         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
66140         code.
66141         (cc32): Likewise.
66143         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
66144         (__acr): Likewise.
66145         (__cpy): Likewise.
66146         (norm): Likewise.
66147         (denorm): Likewise.
66148         (__dbl_mp): Likewise.
66149         (add_magnitudes): Likewise.
66150         (sub_magnitudes): Likewise.
66151         (__mul): Likewise.
66152         (__inv): Likewise.
66154         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
66155         style.
66157         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
66158         style.
66160         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
66161         code.
66163         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
66164         up changes with default code.
66165         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
66166         Likewise.
66168 2013-02-24  Allan McRae  <allan@archlinux.org>
66170         * manual/socket.texi (The Internet Namespace): Order menu items
66171         to match that in the file.
66173         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
66174         node listing of the info page menu.
66176 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
66178         [BZ #13550]
66179         * sysdeps/i386/bp-asm.h: Remove file.
66180         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
66181         (PARMS): Do not use macros from bp-asm.h.
66182         (S1): Likewise.
66183         (S2): Likewise.
66184         (SIZE): Likewise.
66185         (__mpn_add_n): Do not use BP_SYM
66186         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
66187         "bp-asm.h".
66188         (PARMS): Do not use macros from bp-asm.h.
66189         (S1): Likewise.
66190         (SIZE): Likewise.
66191         (__mpn_addmul_1): Do not use BP_SYM
66192         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
66193         "bp-asm.h".
66194         (PARMS): Do not use macros from bp-asm.h.
66195         (SIGMSK): Likewise.
66196         (_setjmp): Likewise.  Do not use BP_SYM.
66197         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
66198         "bp-asm.h".
66199         (PARMS): Do not use macros from bp-asm.h.
66200         (SIGMSK): Likewise.
66201         (setjmp): Likewise.  Do not use BP_SYM.
66202         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
66203         "bp-asm.h".
66204         (PARMS): Do not use macros from bp-asm.h.
66205         (__frexp): Do not use BP_SYM.
66206         (frexp): Likewise.
66207         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
66208         "bp-asm.h".
66209         (PARMS): Do not use macros from bp-asm.h.
66210         (__frexpf): Do not use BP_SYM.
66211         (frexpf): Likewise.
66212         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
66213         "bp-asm.h".
66214         (PARMS): Do not use macros from bp-asm.h.
66215         (__frexpl): Do not use BP_SYM.
66216         (frexpl): Likewise.
66217         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
66218         "bp-asm.h".
66219         (PARMS): Do not use macros from bp-asm.h.
66220         (__remquo): Do not use BP_SYM.
66221         (remquo): Likewise.
66222         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
66223         "bp-asm.h".
66224         (PARMS): Do not use macros from bp-asm.h.
66225         (__remquof): Do not use BP_SYM.
66226         (remquof): Likewise.
66227         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
66228         "bp-asm.h".
66229         (PARMS): Do not use macros from bp-asm.h.
66230         (__remquol): Do not use BP_SYM.
66231         (remquol): Likewise.
66232         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
66233         "bp-asm.h".
66234         (PARMS): Do not use macros from bp-asm.h.
66235         (DEST): Likewise.
66236         (SRC): Likewise.
66237         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
66238         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
66239         "bp-asm.h".
66240         (PARMS): Do not use macros from bp-asm.h.
66241         (strlen): Do not use BP_SYM.
66242         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
66243         "bp-asm.h".
66244         (PARMS): Do not use macros from bp-asm.h.
66245         (S1): Likewise.
66246         (S2): Likewise.
66247         (SIZE): Likewise.
66248         (__mpn_add_n): Do not use BP_SYM.
66249         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
66250         "bp-asm.h".
66251         (PARMS): Do not use macros from bp-asm.h.
66252         (S1): Likewise.
66253         (SIZE): Likewise.
66254         (__mpn_addmul_1): Do not use BP_SYM.
66255         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
66256         weak_alias.
66257         (bzero): Likewise.
66258         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
66259         "bp-asm.h".
66260         (PARMS): Do not use macros from bp-asm.h.
66261         (S): Likewise.
66262         (SIZE): Likewise.
66263         (__mpn_lshift): Do not use BP_SYM.
66264         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
66265         "bp-asm.h".
66266         (PARMS): Do not use macros from bp-asm.h.
66267         (DEST): Likewise.
66268         (SRC): Likewise.
66269         (LEN): Likewise.
66270         (memcpy): Likewise.  Do not use BP_SYM.
66271         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
66272         libc_hidden_def and weak_alias.
66273         (mempcpy): Do not use BP_SYM in weak_alias.
66274         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
66275         "bp-asm.h".
66276         (PARMS): Do not use macros from bp-asm.h.
66277         (DEST): Likewise.
66278         (LEN): Likewise.
66279         [!BZERO_P] (CHR): Likewise.
66280         (memset): Likewise.  Do not use BP_SYM.
66281         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
66282         "bp-asm.h".
66283         (PARMS): Do not use macros from bp-asm.h.
66284         (S1): Likewise.
66285         (SIZE): Likewise.
66286         (__mpn_mul_1): Do not use BP_SYM.
66287         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
66288         "bp-asm.h".
66289         (PARMS): Do not use macros from bp-asm.h.
66290         (S): Likewise.
66291         (SIZE): Likewise.
66292         (__mpn_rshift): Do not use BP_SYM.
66293         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
66294         "bp-asm.h".
66295         (PARMS): Do not use macros from bp-asm.h.
66296         (STR): Likewise.
66297         (CHR): Likewise.
66298         (strchr): Likewise.  Do not use BP_SYM.
66299         (index): Do not use BP_SYM in weak_alias.
66300         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
66301         "bp-asm.h".
66302         (PARMS): Do not use macros from bp-asm.h.
66303         (DEST): Likewise.
66304         (SRC): Likewise.
66305         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
66306         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
66307         "bp-asm.h".
66308         (PARMS): Do not use macros from bp-asm.h.
66309         (strlen): Do not use BP_SYM.
66310         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
66311         "bp-asm.h".
66312         (PARMS): Do not use macros from bp-asm.h.
66313         (S1): Likewise.
66314         (S2): Likewise.
66315         (SIZE): Likewise.
66316         (__mpn_sub_n): Do not use BP_SYM.
66317         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
66318         "bp-asm.h".
66319         (PARMS): Do not use macros from bp-asm.h.
66320         (S1): Likewise.
66321         (SIZE): Likewise.
66322         (__mpn_submul_1): Do not use BP_SYM.
66323         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
66324         "bp-asm.h".
66325         (PARMS): Do not use macros from bp-asm.h.
66326         (S1): Likewise.
66327         (S2): Likewise.
66328         (SIZE): Likewise.
66329         (__mpn_add_n): Do not use BP_SYM.
66330         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
66331         weak_alias.
66332         (bzero): Likewise.
66333         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
66334         "bp-asm.h".
66335         (PARMS): Do not use macros from bp-asm.h.
66336         (BLK2): Likewise.
66337         (LEN): Likewise.
66338         (memcmp): Do not use BP_SYM.
66339         (bcmp): Do not use BP_SYM in weak_alias.
66340         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
66341         "bp-asm.h".
66342         (PARMS): Do not use macros from bp-asm.h.
66343         (DEST): Likewise.
66344         (SRC): Likewise.
66345         (LEN): Likewise.
66346         (memcpy): Likewise.  Do not use BP_SYM.
66347         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
66348         "bp-asm.h".
66349         (PARMS): Do not use macros from bp-asm.h.
66350         (DEST): Likewise.
66351         (SRC): Likewise.
66352         (LEN): Likewise.
66353         (memmove): Likewise.  Do not use BP_SYM.
66354         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
66355         "bp-asm.h".
66356         (PARMS): Do not use macros from bp-asm.h.
66357         (DEST): Likewise.
66358         (SRC): Likewise.
66359         (LEN): Likewise.
66360         (__mempcpy): Likewise.  Do not use BP_SYM.
66361         (mempcpy): Do not use BP_SYM in weak_alias.
66362         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
66363         "bp-asm.h".
66364         (PARMS): Do not use macros from bp-asm.h.
66365         (DEST): Likewise.
66366         (LEN): Likewise.
66367         [!BZERO_P] (CHR): Likewise.
66368         (memset): Likewise.  Do not use BP_SYM.
66369         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
66370         "bp-asm.h".
66371         (PARMS): Do not use macros from bp-asm.h.
66372         (STR2): Likewise.
66373         (strcmp): Do not use BP_SYM.
66374         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
66375         "bp-asm.h".
66376         (PARMS): Do not use macros from bp-asm.h.
66377         (STR): Likewise.
66378         (DELIM): Likewise.
66379         [USE_AS_STRTOK_R] (SAVE): Likewise.
66380         (FUNCTION): Likewise.  Do not use BP_SYM.
66381         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
66382         aliases.
66383         (strtok_r): Likewise.
66384         (__GI___strtok_r): Likewise.
66385         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
66386         (PARMS): Do not use macros from bp-asm.h.
66387         (S): Likewise.
66388         (SIZE): Likewise.
66389         (__mpn_lshift): Do not use BP_SYM.
66390         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
66391         (PARMS): Do not use macros from bp-asm.h.
66392         (STR): Likewise.
66393         (CHR): Likewise.
66394         (__memchr): Do not use BP_SYM.
66395         (memchr): Do not use BP_SYM in weak_alias.
66396         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
66397         (PARMS): Do not use macros from bp-asm.h.
66398         (BLK2): Likewise.
66399         (LEN): Likewise.
66400         (memcmp): Do not use BP_SYM.
66401         (bcmp): Do not use BP_SYM in weak_alias.
66402         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
66403         (PARMS): Do not use macros from bp-asm.h.
66404         (S1): Likewise.
66405         (SIZE): Likewise.
66406         (__mpn_mul_1): Do not use BP_SYM.
66407         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
66408         "bp-asm.h".
66409         (PARMS): Do not use macros from bp-asm.h.
66410         (STR): Likewise.
66411         (CHR): Likewise.
66412         (__rawmemchr): Do not use BP_SYM.
66413         (rawmemchr): Do not use BP_SYM in weak_alias.
66414         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
66415         (PARMS): Do not use macros from bp-asm.h.
66416         (S): Likewise.
66417         (SIZE): Likewise.
66418         (__mpn_rshift): Do not use BP_SYM.
66419         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
66420         (PARMS): Do not use macros from bp-asm.h.
66421         (SIGMSK): Likewise.
66422         (__sigsetjmp): Likewise.  Do not use BP_SYM.
66423         * sysdeps/i386/start.S: Do not include "bp-sym.h".
66424         (_start): Do not use BP_SYM.
66425         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
66426         (PARMS): Do not use macros from bp-asm.h.
66427         (DEST): Likewise.
66428         (SRC): Likewise.
66429         (__stpcpy): Likewise.  Do not use BP_SYM.
66430         (stpcpy): Do not use BP_SYM in weak_alias.
66431         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
66432         "bp-asm.h".
66433         (PARMS): Do not use macros from bp-asm.h.
66434         (DEST): Likewise.
66435         (SRC): Likewise.
66436         (LEN): Likewise.
66437         (__stpncpy): Likewise.  Do not use BP_SYM.
66438         (stpncpy): Do not use BP_SYM in weak_alias.
66439         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
66440         (PARMS): Do not use macros from bp-asm.h.
66441         (STR): Likewise.
66442         (CHR): Likewise.
66443         (strchr): Likewise.  Do not use BP_SYM.
66444         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
66445         "bp-asm.h".
66446         (PARMS): Do not use macros from bp-asm.h.
66447         (STR): Likewise.
66448         (CHR): Likewise.
66449         (__strchrnul): Likewise.  Do not use BP_SYM.
66450         (strchrnul): Do not use BP_SYM in weak_alias.
66451         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
66452         "bp-asm.h".
66453         (PARMS): Do not use macros from bp-asm.h.
66454         (STOP): Likewise.
66455         (strcspn): Do not use BP_SYM.
66456         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
66457         "bp-asm.h".
66458         (PARMS): Do not use macros from bp-asm.h.
66459         (STR): Likewise.
66460         (STOP): Likewise.
66461         (strpbrk): Likewise.  Do not use BP_SYM.
66462         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
66463         "bp-asm.h".
66464         (PARMS): Do not use macros from bp-asm.h.
66465         (STR): Likewise.
66466         (CHR): Likewise.
66467         (strrchr): Likewise.  Do not use BP_SYM.
66468         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
66469         (PARMS): Do not use macros from bp-asm.h.
66470         (SKIP): Likewise.
66471         (strspn): Do not use BP_SYM.
66472         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
66473         (PARMS): Do not use macros from bp-asm.h.
66474         (STR): Likewise.
66475         (DELIM): Likewise.
66476         (SAVE): Likewise.
66477         (FUNCTION): Likewise.  Do not use BP_SYM.
66478         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
66479         aliases.
66480         (strtok_r): Likewise.
66481         (__GI___strtok_r): Likewise.
66482         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
66483         (PARMS): Do not use macros from bp-asm.h.
66484         (S1): Likewise.
66485         (S2): Likewise.
66486         (SIZE): Likewise.
66487         (__mpn_sub_n): Do not use BP_SYM.
66488         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
66489         "bp-asm.h".
66490         (PARMS): Do not use macros from bp-asm.h.
66491         (S1): Likewise.
66492         (SIZE): Likewise.
66493         (__mpn_submul_1): Do not use BP_SYM.
66494         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
66495         <bp-sym.h>.
66496         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
66497         and <bp-asm.h>.
66498         (PARMS): Do not use macros from bp-asm.h.
66499         (FLAGS): Likewise.
66500         (PTID): Likewise.
66501         (TLS): Likewise.
66502         (CTID): Likewise.
66503         (__clone): Do not use BP_SYM.
66504         (clone): Do not use BP_SYM in weak_alias.
66505         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
66506         and <bp-asm.h>.
66507         (PARMS): Do not use macros from bp-asm.h.
66508         (LEN): Likewise.
66509         (__mmap64): Do not use BP_SYM.
66510         (mmap64): Do not use BP_SYM in weak_alias.
66511         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
66512         <bp-sym.h> and <bp-asm.h>.
66513         (PARMS): Do not use macros from bp-asm.h.
66514         (__posix_fadvise64_l64): Do not use BP_SYM.
66515         * sysdeps/unix/sysv/linux/i386/semtimedop.S
66516         (PARMS): Do not use macros from bp-asm.h.
66517         (NSOPS): Likewise.
66518         (semtimedop): Do not use BP_SYM.
66519         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
66520         and <bp-asm.h>.
66522 2013-02-21  Allan McRae  <allan@archlinux.org>
66524         * manual/message.texi (Charset conversion in gettext):
66525         Move @end statement to beginning of line.
66527 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
66529         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
66530         static.
66531         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
66532         Likewise.
66534         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
66535         (denorm): Likewise.
66536         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
66537         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
66539 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66541         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
66542         tail-call to the resolved function if pltexit isn't needed.
66544 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
66546         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
66547         or Y being zero as being unlikely.
66548         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
66549         Likewise.
66551 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
66553         * manual/nss.texi (System Databases and Name Service Switch):
66554         Remove frobnicate @pxref.
66556 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
66558         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
66559         __attribute__ ((unused)) to __attribute__ ((__unused__)).
66561 2013-02-20  Petr Machata  <pmachata@redhat.com>
66563         * elf/elf.h (R_ARM_TARGET1): New macro.
66564         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
66565         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
66566         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
66567         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
66568         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
66569         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
66570         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
66571         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
66572         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
66573         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
66574         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
66575         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
66576         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
66577         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
66578         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
66579         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
66580         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
66581         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
66582         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
66583         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
66584         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
66585         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
66586         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
66587         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
66588         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
66589         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
66590         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
66591         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
66592         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
66593         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
66594         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
66595         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
66596         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
66597         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
66598         (R_ARM_THM_GOT_BREL12): Likewise.
66599         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
66600         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
66601         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
66602         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
66603         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
66604         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
66605         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
66606         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
66607         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
66609 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
66611         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
66612         __attribute_used__ to __attribute__ ((unused)).
66614 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
66616         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
66617         powerpc mpa.c.
66618         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
66619         comment formatting.
66620         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
66622 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
66624         [BZ #13550]
66625         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
66626         Remove macro.
66627         (ENTER): Remove both macro definitions.
66628         (LEAVE): Likewise.
66629         (CHECK_BOUNDS_LOW): Likewise.
66630         (CHECK_BOUNDS_HIGH): Likewise.
66631         (CHECK_BOUNDS_BOTH): Likewise.
66632         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
66633         (RETURN_BOUNDED_POINTER): Likewise.
66634         (RETURN_NULL_BOUNDED_POINTER): Likewise.
66635         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
66636         (POP_ERRNO_LOCATION_RETURN): Likewise.
66637         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
66638         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
66639         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
66640         macros.
66641         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66642         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
66643         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
66644         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
66645         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
66646         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
66647         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
66648         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
66649         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
66650         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
66651         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
66652         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
66653         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
66654         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
66655         removed macros.
66656         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66657         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
66658         macros.
66659         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
66660         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
66661         * sysdeps/i386/i586/memset.S (memset): Likewise.
66662         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
66663         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66664         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
66665         macros.
66666         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
66667         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
66668         Change uses of L(2) to L(out).
66669         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
66670         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
66671         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
66672         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
66673         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
66674         removed macros.
66675         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66676         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
66677         macros.
66678         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
66679         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
66680         (RETURN): Do not use macro LEAVE.
66681         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
66682         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
66683         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
66684         * sysdeps/i386/i686/memset.S (memset): Likewise.
66685         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
66686         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
66687         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
66688         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
66689         Likewise.
66690         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
66691         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
66692         L(1_2) and L(1_3) into L(1).
66693         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
66694         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
66695         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
66696         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
66697         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
66698         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
66699         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
66700         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66701         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
66702         macros.
66703         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
66704         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
66705         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
66706         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
66707         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
66708         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
66709         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
66710         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
66711         * sysdeps/i386/strcspn.S (strcspn): Likewise.
66712         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
66713         * sysdeps/i386/strrchr.S (strrchr): Likewise.
66714         * sysdeps/i386/strspn.S (strspn): Likewise.
66715         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
66716         conditional code.
66717         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
66718         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
66719         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
66720         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
66721         L(1_3) into L(1_1).
66722         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
66723         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
66724         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
66725         macros.
66726         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66728 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
66730         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
66731         macro.
66733 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
66735         * math/atest-exp.c (exp_mpn): Remove ROUND.
66736         * math/atest-exp2.c (exp_mpn): Likewise.
66737         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
66739         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
66740         * stdlib/tst-tls-atexit-lib.c: Likewise.
66741         * stdlib/tst-tls-atexit.c: Likewise.
66743 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
66745         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
66746         and __attribute_alloc_size__.
66748 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
66750         * include/programs/xmalloc.h: Change __attribute_alloc_size to
66751         __attribute_alloc_size__.
66752         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
66753         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
66755 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
66757         * include/programs/xmalloc.h: New file.
66758         * catgets/gencat.c: Include it.
66759         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
66760         * elf/pldd.c: Likewise.
66761         * iconv/iconv_charmap.c: Likewise.
66762         * iconv/iconvconfig.c: Likewise.
66763         * iconv/strtab.c: Likewise.
66764         * locale/programs/locale.c: Likewise.
66765         * locale/programs/localedef.h: Likewise.
66766         * locale/programs/simple-hash.c: Likewise.
66767         * nscd/nscd.h: Likewise.
66768         * nss/makedb.c: Likewise.
66769         * sysdeps/generic/ldconfig.h: Likewise.
66771 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
66773         * Versions.def: Add GLIBC_2.18.
66774         * include/link.h (struct link_map): New member l_tls_dtor_count.
66775         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
66776         (__call_tls_dtors): Likewise.
66777         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
66778         __cxa_thread_atexit_impl.
66779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66780         Likewise.
66781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66782         Likewise.
66783         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
66784         Likewise.
66785         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
66786         Likewise.
66787         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
66788         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
66789         Likewise.
66790         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
66791         Likewise.
66792         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
66793         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
66794         Likewise.
66795         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
66796         (tests): Add test case tst-tls-atexit.
66797         (modules-names): Add shared library for tst-tls-atexit.
66798         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
66799         (GLIBC_PRIVATE): Add __call_tls_dtors.
66800         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
66801         for libstdc++.
66802         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
66803         * stdlib/tst-tls-atexit.c: New test case.
66804         * stdlib/tst-tls-atexit-lib.c: New test case.
66806         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
66808         * elf/Versions (ld): Add _dl_find_dso_for_object.
66809         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
66810         * elf/dl-open.c (_dl_find_dso_for_object): New function.
66811         (dl_open_worker): Use _dl_find_dso_for_object.
66812         * elf/dl-sym.c (do_sym): Likewise.
66813         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
66815 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66817         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
66818         Syntactic changes only.
66819         (_dl_runtime_profile): Do a tail-call to the resolved function.
66821 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
66823         [BZ #13550]
66824         * sysdeps/x86_64/bp-asm.h: Remove file.
66825         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
66826         <bp-sym.h> and <bp-asm.h>.
66827         (__clone): Do not use BP_SYM.
66828         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
66829         <bp-sym.h> and <bp-asm.h>.
66830         * sysdeps/unix/x86_64/sysdep.S: Likewise.
66831         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
66832         "bp-asm.h".
66833         (_setjmp): Do not use BP_SYM.
66834         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
66835         "bp-asm.h".
66836         (setjmp): Do not use BP_SYM.
66837         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
66838         libc_hidden_def.
66839         (mempcpy): Do not use BP_SYM in weak_alias.
66840         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
66841         "bp-asm.h".
66842         (strchr): Do not use BP_SYM.
66843         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
66844         "bp-asm.h".
66845         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
66846         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
66847         (_start): Do not use BP_SYM.
66848         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
66849         "bp-asm.h".
66850         (strcat): Do not use BP_SYM.
66851         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
66852         "bp-asm.h".
66853         (STRCMP): Do not use BP_SYM.
66854         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
66855         "bp-asm.h".
66856         (STRCPY): Do not use BP_SYM.
66857         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
66858         "bp-asm.h".
66859         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
66860         "bp-asm.h".
66861         (FUNCTION): Do not use BP_SYM.
66862         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
66863         weak_alias.
66864         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
66866 2013-02-17  Andreas Jaeger  <aj@suse.de>
66868         * time/Versions: Sort entries.
66869         * string/Versions: Likewise.
66870         * resolv/Versions: Likewise.
66871         * posix/Versions: Likewise.
66872         * iconv/Versions: Likewise.
66873         * elf/Versions: Likewise.
66874         * wcsmbs/Versions: Likewise.
66876 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
66878         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
66879         loop termination condition.
66881         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
66882         variable to calculate EZ.
66883         (__sqr): Likewise.
66885         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
66886         the lower precision input.
66888 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
66890         [BZ #13550]
66891         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
66892         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
66893         (run-via-rtld-prefix): Do not handle %-bp tests.
66894         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
66895         (all-object-suffixes): Remove .ob.
66896         (bppfx): Remove variable.
66897         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
66898         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
66899         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
66900         [$(build-bounded) = yes] (libtype.ob): Likewise.
66901         * Makerules (elide-routines.ob): Remove variable.
66902         (do-tests-clean): Do not handle *-bp.out.
66903         (common-mostlyclean): Do not handle *-bp and *-bp.out.
66904         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
66905         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
66906         (tests): Do not include $(tests-bp.out).
66907         (xtests): Do not include $(xtests-bp.out).
66908         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
66909         [$(build-bounded) = yes] ($(addprefix
66910         $(objpfx),$(binaries-bounded))): Remove rule.
66911         ($(objpfx)%-bp.out): Remove rule.
66912         * config.make.in (build-bounded): Remove variable.
66913         * crypt/Makefile [$(build-bounded) = yes]
66914         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
66915         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
66916         append to variable.
66917         [$(build-bounded) = yes] (install-lib): Likewise.
66918         [$(build-bounded) = yes] (generated): Likewise.
66919         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
66920         Remove rule.
66921         * intl/Makefile [$(build-bounded) = yes]
66922         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
66923         * math/Makefile [$(build-bounded) = yes]
66924         ($(tests:%=$(objpfx)%-bp): Likewise.
66925         * misc/Makefile [$(build-bounded) = yes]
66926         ($(objpfx)tst-tsearch-bp): Likewise.
66927         * nptl/Makeconfig (bounded-thread-library): Remove variable.
66928         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
66929         Remove dependency.
66930         * string/Makefile (o-objects.ob): Remove variable.
66931         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
66932         (CFLAGS-.ob): Remove variable.
66933         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
66934         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
66935         both definitions of variable.
66936         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
66937         (ASFLAGS-.ob): Remove variable.
66939 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
66941         [BZ #13550]
66942         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
66943         Remove __BOUNDED_POINTERS__ from condition.
66944         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
66945         * string/bits/string2.h [!__NO_STRING_INLINES &&
66946         !__BOUNDED_POINTERS__]: Likewise.
66947         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
66948         Likewise.
66949         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
66950         Remove conditional code.
66951         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
66952         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
66953         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
66954         condition.
66956         [BZ #13550]
66957         * csu/libc-start.c: Do not include <bp-sym.h>.
66958         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
66959         * elf/dl-open.c: Do not include <bp-sym.h>.
66960         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
66961         * math/fegetenv.c: Do not include <bp-sym.h>.
66962         (fegetenv): Do not use BP_SYM in versioned symbols.
66963         * nptl/sysdeps/pthread/bits/libc-lockP.h
66964         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
66965         <bp-sym.h>.
66966         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66967         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
66968         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66969         (__pthread_mutex_destroy): Likewise.
66970         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66971         (__pthread_mutex_lock): Likewise.
66972         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66973         (__pthread_mutex_trylock): Likewise.
66974         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66975         (__pthread_mutex_unlock): Likewise.
66976         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66977         (__pthread_mutexattr_init): Likewise.
66978         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66979         (__pthread_mutexattr_destroy): Likewise.
66980         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66981         (__pthread_mutexattr_settype): Likewise.
66982         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66983         (__pthread_rwlock_init): Likewise.
66984         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66985         (__pthread_rwlock_destroy): Likewise.
66986         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66987         (__pthread_rwlock_rdlock): Likewise.
66988         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66989         (__pthread_rwlock_tryrdlock): Likewise.
66990         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66991         (__pthread_rwlock_wrlock): Likewise.
66992         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66993         (__pthread_rwlock_trywrlock): Likewise.
66994         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66995         (__pthread_rwlock_unlock): Likewise.
66996         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66997         (__pthread_key_create): Likewise.
66998         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66999         (__pthread_setspecific): Likewise.
67000         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67001         (__pthread_getspecific): Likewise.
67002         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
67003         Likewise.
67004         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67005         (_pthread_cleanup_push_defer): Likewise.
67006         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67007         (_pthread_cleanup_pop_restore): Likewise.
67008         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67009         (pthread_setcancelstate): Likewise.
67010         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
67011         <bp-sym.h>.
67012         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
67013         (memchr): Do not use BP_SYM in weak_alias.
67014         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
67015         (fegetenv): Do not use BP_SYM in versioned symbols.
67016         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
67017         (fesetenv): Do not use BP_SYM in versioned symbols.
67018         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
67019         (feupdateenv): Do not use BP_SYM in versioned symbols.
67020         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
67021         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
67022         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
67023         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
67024         (open64): Do not use BP_SYM in weak_alias.
67025         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
67026         (fegetenv): Do not use BP_SYM in versioned symbols.
67027         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
67028         (fesetenv): Do not use BP_SYM in versioned symbols.
67029         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
67030         (feupdateenv): Do not use BP_SYM in versioned symbols.
67031         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
67032         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
67033         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
67034         (feraiseexcept): Do not use BP_SYM in versioned symbols.
67035         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
67036         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
67037         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
67038         <bp-sym.h>.
67039         (__libc_start_main): Do not use BP_SYM.
67041 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
67043         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
67044         redundant return line.
67045         (norm): Likewise.
67046         (denorm): Likewise.
67047         (dbl_mp): Likewise.
67048         (sub_magnitudes): Likewise.
67049         (__add): Likewise.
67050         (__sub): Likewise.
67051         (__mul): Likewise.
67052         (__inv): Likewise.
67053         (__dvd): Likewise.
67054         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
67055         (norm): Likewise.
67056         (denorm): Likewise.
67057         (dbl_mp): Likewise.
67058         (sub_magnitudes): Likewise.
67059         (__add): Likewise.
67060         (__sub): Likewise.
67061         (__mul): Likewise.
67062         (__inv): Likewise.
67063         (__dvd): Likewise.
67065         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
67066         instead of __mul.
67067         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
67068         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
67069         (cc32): Likewise.
67071         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
67072         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
67073         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
67074         of __mul for squares.
67075         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
67076         function
67077         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
67078         Likewise.
67079         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
67080         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
67082 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
67084         [BZ #13550]
67085         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
67086         code.
67087         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
67088         prototype or function definition.  Rename ubp_* variables and
67089         parameters.  Remove argv definitions conditional on
67090         [__BOUNDED_POINTERS__].
67091         * debug/backtrace.c (__backtrace): Do not use __unbounded.
67092         * elf/dl-runtime.c (_dl_fixup): Likewise.
67093         * include/set-hooks.h (RUN_HOOK): Likewise.
67094         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
67095         definition.
67096         * string/strcpy.c (strcpy): Do not use __unbounded.
67097         * sysdeps/generic/frame.h (struct layout): Likewise.
67098         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
67099         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
67100         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
67101         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
67102         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
67103         (__backtrace): Likewise.
67104         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
67105         use __ptrvalue.
67106         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
67107         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
67108         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
67109         Likewise.
67110         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
67111         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
67112         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
67113         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
67114         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
67115         Do not use __unbounded.
67116         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
67117         Rename __unboundedrlimits parameter to rlimits in prototype.
67118         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
67119         Do not use __unbounded.
67120         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
67121         not use __ptrvalue.
67122         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
67123         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
67124         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
67125         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
67126         __ptrvalue or __unbounded.
67127         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
67128         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
67129         use __unbounded.
67130         (__new_msgctl): Do not use __ptrvalue.
67131         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
67132         __unbounded.
67133         (__libc_msgrcv): Do not use __ptrvalue.
67134         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
67135         startup_info): Do not use __unbounded.
67136         (__libc_start_main): Likewise.  Rename ubp_* variables and
67137         parameters.  Remove argv definitions conditional on
67138         [__BOUNDED_POINTERS__].
67139         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
67140         __ptrvalue.
67141         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
67142         use __unbounded.
67143         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
67144         or __ptrvalue.
67145         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
67146         use __unbounded.
67147         (__new_shmctl): Do not use __ptrvalue.
67148         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
67149         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
67150         Likewise.
67151         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
67152         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
67153         (__libc_sigaction): Likewise.
67154         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
67155         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
67156         Likewise.
67157         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
67159 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
67161         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
67163         * string/mempcpy.c: Implement by calling memcpy.
67165 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
67167         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
67169         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
67170         evaluation.
67172         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
67173         values in the mantissa.
67175         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
67176         minimize writes to Z.
67177         (sub_magnitudes): Simplify code a bit.
67179 2013-02-12  Roland McGrath  <roland@hack.frob.com>
67181         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
67182         from the message.  The linker prefixes all warnings with that already.
67184 2013-02-12  Andreas Schwab  <schwab@suse.de>
67186         [BZ #15078]
67187         * posix/regexec.c (extend_buffers): Add parameter min_len.
67188         (check_matching): Pass minimum needed length.
67189         (clean_state_log_if_needed): Likewise.
67190         (get_subexp): Likewise.
67191         * posix/Makefile (tests): Add bug-regex34.
67192         (bug-regex34-ENV): Define.
67193         * posix/bug-regex34.c: New file.
67195         [BZ #11561]
67196         * posix/regcomp.c (parse_bracket_exp): When looking up collating
67197         elements compare against the byte sequence of it, not its name.
67198         * posix/Makefile (tests): Add bug-regex35.
67199         (bug-regex35-ENV): Define.
67200         * posix/bug-regex35.c: New file.
67202 2013-02-11  Tom de Vries  <tom@codesourcery.com>
67204         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
67205         comment.
67206         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
67207         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
67208         (CHECK_EOL): Add undef.
67210 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
67212         * bits/stdlib-bsearch.h: New file.
67213         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
67214         * stdlib/stdlib.h: Likewise.
67216 2013-02-11  Roland McGrath  <roland@hack.frob.com>
67218         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
67219         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
67220         declaration.
67221         * manual/search.texi (Array Search Function): Add missing const in
67222         lfind prototype.
67223         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
67224         declaration to use rlim_t.
67225         (Basic Scheduling Functions): Remove erroneous const from
67226         sched_getparam prototype.  Remove erroneous * from
67227         sched_get_priority_max and sched_get_priority_min prototypes.
67228         (Resource Usage): Fix summary @comment on vtimes to refer to
67229         sys/vtimes.h rather than vtimes.h.
67230         Add missing *s in vtimes prototype.
67231         (Limits on Resources): Fix ulimit prototype to return long int.
67232         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
67233         prototypes to use long int rather than double.
67234         (BSD Random): Fix initstate and setstate to use char *, not void *.
67235         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
67236         prototype to make second argument 'struct aiocb64 *const[]'.
67237         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
67238         (Status of AIO Operations): Remove erroneous const in aio_return and
67239         aio_return64 prototypes.
67240         (Synchronizing I/O): Fix sync prototype to return void.
67241         * manual/startup.texi (Suboptions): Remove an erroneous const in
67242         getsubopt prototype.
67243         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
67244         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
67245         use size_t rather than int.
67246         (Scanning All Users): Likewise for getpwent_r.
67247         (Setting Groups): Add missing const to setgroups prototype.
67248         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
67249         * manual/socket.texi (Host Names): Fix gethostbyaddr and
67250         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
67251         'const void *' rather than 'const char *'.
67252         (Host Address Functions): Likewise for inet_ntop.
67253         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
67254         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
67255         ssize_t for return value.
67256         (Sending Data): Likewise for send, sendto, sendmsg.
67257         (Socket Option Functions): Add a missing const in setsockopt prototype.
67258         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
67259         use wchar_t for the argument.
67260         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
67261         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
67262         take no arguments.
67263         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
67264         double/float/long double for second argument.
67265         Fix return types of significand, significandf, significandl.
67266         * manual/filesys.texi (Setting Permissions): Use mode_t for second
67267         argument in fchmod prototype.
67268         (File Owner): Use uid_t and gid_t in fchown prototype.
67269         (File Times): Add const to utimes, futimes, and lutimes prototypes.
67270         (Making Special Files): Use mode_t and dev_t in mknod prototype.
67271         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
67272         use 'const struct dirent **' as argument types to CMP function pointer
67273         argument.
67274         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
67275         (File Times): Fix summary magic @comment for struct utimbuf and utime
67276         to refer to utime.h, not time.h.
67277         * manual/string.texi (Argz Functions): Add missing const in
67278         argz_extract and argz_next prototypes.
67279         (Finding Tokens in a String): Likewise for basename.
67280         (String/Array Comparison): Fix typo in wcscasecmp prototype.
67281         (Copying and Concatenation): Fix typo in wmemmove prototype.
67282         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
67283         (Signal Stack): Remove erroneous const in sigstack prototype.
67284         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
67285         prototype.
67286         (Simple Calendar Time): Likewise for stime.
67287         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
67288         prototype.
67289         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
67290         say sys/sysctl.h instead.
67291         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
67292         and vsyslog prototypes.
67294 2013-02-11  Tom de Vries  <tom@codesourcery.com>
67296         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
67297         Remove.
67299 2013-02-11  Roland McGrath  <roland@hack.frob.com>
67301         * misc/sys/mman.h: Fix typo in mremap comment.
67303 2013-02-08  Roland McGrath  <roland@hack.frob.com>
67305         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
67306         the '\0' terminator.
67308 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
67310         [BZ #13550]
67311         * debug/segfault.c: Don't include <bp-checks.h>.
67312         * sysdeps/generic/bp-checks.h: Remove file.
67313         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
67314         (__GETDENTS): Don't use CHECK_N.
67315         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
67316         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
67317         (__getgroups): Don't use CHECK_N.
67318         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
67319         (setgroups): Don't use CHECK_N.
67320         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
67321         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
67322         (__libc_msgrcv): Don't use CHECK_N.
67323         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
67324         (__libc_msgsnd): Don't use CHECK_N.
67325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
67326         <bp-checks.h>.
67327         (__libc_pread): Don't use CHECK_N.
67328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
67329         include <bp-checks.h>.
67330         (__libc_pread64): Don't use CHECK_N.
67331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
67332         include <bp-checks.h>.
67333         (__libc_pwrite): Don't use CHECK_N.
67334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
67335         include <bp-checks.h>.
67336         (__libc_pwrite64): Don't use CHECK_N.
67337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
67338         <bp-checks.h>.
67339         (__libc_pread): Don't use CHECK_N.
67340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
67341         include <bp-checks.h>.
67342         (__libc_pread64): Don't use CHECK_N.
67343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
67344         include <bp-checks.h>.
67345         (__libc_pwrite): Don't use CHECK_N.
67346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
67347         include <bp-checks.h>.
67348         (__libc_pwrite64): Don't use CHECK_N.
67349         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
67350         (do_pread): Don't use CHECK_N.
67351         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
67352         (do_pread64): Don't use CHECK_N.
67353         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
67354         (do_pwrite): Don't use CHECK_N.
67355         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
67356         (do_pwrite64): Don't use CHECK_N.
67357         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
67358         (__libc_readv): Don't use CHECK_N.
67359         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
67360         (semop): Don't use CHECK_N.
67361         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
67362         <bp-checks.h>.
67363         (semtimedop): Don't use CHECK_N.
67364         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
67365         (__libc_pread): Don't use CHECK_N.
67366         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
67367         <bp-checks.h>.
67368         (__libc_pread64): Don't use CHECK_N.
67369         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
67370         <bp-checks.h>.
67371         (__libc_pwrite): Don't use CHECK_N.
67372         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
67373         <bp-checks.h>.
67374         (__libc_pwrite64): Don't use CHECK_N.
67375         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
67376         <bp-checks.h>.
67377         (__libc_msgrcv): Don't use CHECK_N.
67378         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
67379         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
67380         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
67381         (__libc_writev): Don't use CHECK_N.
67383 2013-02-08  Roland McGrath  <roland@hack.frob.com>
67385         * string/strcpy.c: Removed unused variable.
67387         * Makeconfig (+sysdep-includes): Define with := rather than =.
67388         Use an existing include/ subdir of each sysdeps dir before it.
67390 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
67392         * nscd/connection.c (register_traced_file): Comment function.
67393         [HAVE_INOTIFY] (union __inev): Define.
67394         [HAVE_INOTIFY] (inotify_check_files): New function.
67395         [HAVE_INOTIFY] (clear_db_cache): Likewise.
67396         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
67397         clear_db_cache.
67398         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
67400 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
67402         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
67403         loaded if not already and that a failure is permanent.
67405 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
67407         [BZ #15006]
67408         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
67409         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
67411 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
67413         [BZ #13550]
67414         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
67415         (CHECK_1_NULL_OK): Likewise.
67416         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
67417         (__fxstat): Do not use CHECK_1.
67418         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
67419         <bp-checks.h>.
67420         (___fxstat64): Do not use CHECK_1.
67421         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
67422         <bp-checks.h>.
67423         (__fxstatat): Do not use CHECK_1.
67424         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
67425         <bp-checks.h>.
67426         (__fxstatat64): Do not use CHECK_1.
67427         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
67428         <bp-checks.h>.
67429         (__fxstat): Do not use CHECK_1.
67430         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
67431         <bp-checks.h>.
67432         (__fxstatat): Do not use CHECK_1.
67433         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
67434         <bp-checks.h>.
67435         (__getresgid): Do not use CHECK_1.
67436         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
67437         <bp-checks.h>.
67438         (__getresuid): Do not use CHECK_1.
67439         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
67440         <bp-checks.h>.
67441         (__lxstat): Do not use CHECK_1.
67442         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
67443         <bp-checks.h>.
67444         (__old_msgctl): Do not use CHECK_1.
67445         (__new_msgctl): Likewise.
67446         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
67447         <bp-checks.h>.
67448         (__new_setrlimit): Do not use CHECK_1.
67449         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
67450         <bp-checks.h>.
67451         (__old_shmctl): Do not use CHECK_1.
67452         (__new_shmctl): Likewise.
67453         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
67454         <bp-checks.h>.
67455         (__xstat): Do not use CHECK_1.
67456         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
67457         (__lxstat): Do not use CHECK_1.
67458         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
67459         <bp-checks.h>.
67460         (___lxstat64): Do not use CHECK_1.
67461         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
67462         (__old_msgctl): Do not use CHECK_1.
67463         (__new_msgctl): Likewise.
67464         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
67465         <bp-checks.h>.
67466         (__gettimeofday): Do not use CHECK_1.
67467         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
67468         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
67469         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
67470         <bp-checks.h>.
67471         (__gettimeofday): Do not use CHECK_1.
67472         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
67473         (__old_shmctl): Do not use CHECK_1_NULL_OK.
67474         (__new_shmctl): Do not use CHECK_1.
67475         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
67476         <bp-checks.h>.
67477         (do_sigtimedwait): Do not use CHECK_1.
67478         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
67479         <bp-checks.h>.
67480         (do_sigwaitinfo): Do not use CHECK_1.
67481         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
67482         <bp-checks.h>.
67483         (msgctl): Do not use CHECK_1.
67484         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
67485         <bp-checks.h>.
67486         (shmctl): Do not use CHECK_1.
67487         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
67488         (ustat): Do not use CHECK_1.
67489         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
67490         <bp-checks.h>.
67491         (__fxstat): Do not use CHECK_1.
67492         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
67493         <bp-checks.h>.
67494         (__fxstatat): Do not use CHECK_1.
67495         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
67496         <bp-checks.h>.
67497         (__lxstat): Do not use CHECK_1.
67498         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
67499         <bp-checks.h>.
67500         (__xstat): Do not use CHECK_1.
67501         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
67502         (__xstat): Do not use CHECK_1.
67503         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
67504         (___xstat64): Do not use CHECK_1.
67506         [BZ #13550]
67507         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
67508         definitions.
67509         (CHECK_BOUNDS_HIGH): Likewise.
67510         * string/strcpy.c: Do not include <bp-checks.h>.
67511         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
67513 2013-02-07  Roland McGrath  <roland@hack.frob.com>
67515         * nscd/nscd-client.h (__nscd_drop_map_ref):
67516         Add __attribute__ ((unused)).
67517         * nis/nss-nisplus.h (niserr2nss): Likewise.
67519         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
67520         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
67522         * csu/libc-tls.c (init_static_tls, init_slotinfo):
67523         Remove inline keyword.
67524         * include/rounding-mode.h (round_away): Likewise.
67525         * libio/wfileops.c (adjust_wide_data): Likewise.
67526         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
67527         (__m128i_strloadu_tolower): Likewise.
67528         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
67529         (__m128i_strloadu_tolower): Likewise.
67530         * time/mktime.c (ydhms_diff): Likewise.
67531         * locale/elem-hash.h (elem_hash): Likewise.
67532         * locale/setlocale.c (setdata): Likewise.
67533         * posix/regex_internal.h (re_string_char_size_at): Likewise.
67534         (re_string_wchar_at): Likewise.
67535         (bitset_not, bitset_merge, bitset_mask): Likewise.
67536         [!(__GNUC__ > 3)] (inline): Remove macro.
67537         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
67538         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
67539         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
67540         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
67541         * string/memcmp.c (memcmp_bytes): Likewise.
67542         * locale/programs/locarchive.c (compute_hashval): Likewise.
67543         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
67544         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
67545         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
67546         * nss/getent.c (print_rpc, print_protocols): Likewise.
67547         (print_passwd, print_group, print_aliases): Likewise.
67548         * nis/nss-nisplus.h (niserr2nss): Likewise.
67549         * nscd/connections.c (restart_p): Likewise.
67550         Change return type to bool.
67552 2013-02-05  Roland McGrath  <roland@hack.frob.com>
67554         * Makeconfig (all-Depend-files): Add existing
67555         $(sorted-subdirs:=/Depend) files.
67556         (all-subdirs): Remove nss.
67557         * sysdeps/unix/inet/Subdirs: Add it here instead.
67558         * hesiod/Depend: New file.
67560         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
67561         instead of calling alloca.
67563         * io/lseek.c (__lseek): Rename to __libc_lseek.
67564         Define __lseek as an alias.
67566         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
67568 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
67570         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
67571         else clause and remove check for non-standard endianness.
67573 2013-02-04  David S. Miller  <davem@davemloft.net>
67575         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67577 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
67579         [BZ #13550]
67580         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
67581         (__ubp_memchr): Remove prototype.
67582         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
67583         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
67584         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
67585         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
67586         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
67587         Remove alias.
67588         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
67589         (__ubp_memchr): Likewise.
67590         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
67591         (__ubp_memchr): Likewise.
67592         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
67593         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
67594         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
67595         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
67596         CHECK_STRING.
67597         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
67598         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
67599         (__getcwd): Do not use CHECK_STRING.
67600         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
67601         <bp-checks.h>.
67602         (__real_chown): Do not use CHECK_STRING.
67603         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
67604         <bp-checks.h>.
67605         (fchownat): Do not use CHECK_STRING.
67606         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
67607         CHECK_STRING.
67608         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
67609         <bp-checks.h>.
67610         (__lchown): Do not use CHECK_STRING.
67611         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
67612         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
67613         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
67614         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
67615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
67616         include <bp-checks.h>.
67617         (truncate64): Do not use CHECK_STRING.
67618         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
67619         <bp-checks.h>.
67620         (__real_chown): Do not use CHECK_STRING.
67621         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
67622         <bp-checks.h>.
67623         (__lchown): Do not use CHECK_STRING.
67624         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
67625         <bp-checks.h>.
67626         (__chown): Do not use CHECK_STRING.
67627         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
67628         <bp-checks.h>.
67629         (truncate64): Do not use CHECK_STRING.
67630         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
67631         Likewise.
67632         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
67633         (__xmknod): Do not use CHECK_STRING.
67634         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
67635         <bp-checks.h>.
67636         (__xmknodat): Do not use CHECK_STRING.
67637         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
67638         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
67640 2013-02-04  Andreas Schwab  <schwab@suse.de>
67642         [BZ #14142]
67643         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
67644         * include/netdb.h: Likewise for h_errno.
67645         * elf/tst-stackguard1.c: Include <tls.h>.
67647 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
67649         * elf/link.h (struct link_map): Extend the l_addr comment.
67650         * include/link.h (struct link_map): Likewise.
67652 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
67654         [BZ #13550]
67655         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
67656         (BOUNDED_1): Remove macro.
67657         * debug/backtrace.c: Don't include <bp-checks.h>.
67658         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
67659         (__backtrace): Likewise.
67660         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
67661         <bp-checks.h>.
67662         (__backtrace): Don't use BOUNDED_1.
67663         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
67664         <bp-checks.h>.
67665         (__backtrace): Don't use BOUNDED_1.
67666         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
67667         (__backtrace): Don't use BOUNDED_1.
67668         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
67669         (shmat): Don't use BOUNDED_N.
67671 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
67673         [BZ #13550]
67674         * sysdeps/generic/bp-start.h: Remove file.
67675         * csu/libc-start.c: Don't include <bp-start.h>.
67676         (LIBC_START_MAIN): Set up __environ directly instead of using
67677         INIT_ARGV_and_ENVIRON.
67678         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
67679         <bp-start.h>.
67681         [BZ #13550]
67682         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
67683         definitions.
67684         (CHECK_FCNTL): Likewise.
67685         (CHECK_N_PAGES): Likewise.
67687         [BZ #13550]
67688         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
67689         definitions.
67690         (CHECK_SIGSET_NULL_OK): Likewise.
67691         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
67692         <bp-checks.h>.
67693         (sigpending): Don't use CHECK_SIGSET.
67694         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
67695         <bp-checks.h>.
67696         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
67697         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
67698         <bp-checks.h>.
67699         (do_sigsuspend): Don't use CHECK_SIGSET.
67700         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
67701         use CHECK_SIGSET.
67702         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
67703         (do_sigwait): Don't use CHECK_SIGSET.
67704         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
67705         use CHECK_SIGSET.
67706         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
67707         include <bp-checks.h>.
67708         (sigpending): Don't use CHECK_SIGSET.
67709         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
67710         include <bp-checks.h>.
67711         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
67712         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
67713         <bp-checks.h>.
67714         (sigpending): Don't use CHECK_SIGSET.
67715         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
67716         <bp-checks.h>.
67717         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
67719         [BZ #13550]
67720         * sysdeps/generic/bp-semctl.h: Remove file.
67721         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
67722         <bp-checks.h> and <bp-semctl.h>.
67723         (__old_semctl): Don't use CHECK_SEMCTL.
67724         (__new_semctl): Likewise.
67725         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
67726         and <bp-semctl.h>.
67727         (__old_semctl): Don't use CHECK_SEMCTL.
67728         (__new_semctl): Likewise.
67729         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
67730         <bp-checks.h> and <bp-semctl.h>.
67731         (__old_semctl): Don't use CHECK_SEMCTL.
67732         (__new_semctl): Likewise.
67733         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
67734         <bp-checks.h> and <bp-semctl.h>.
67735         (semctl): Don't use CHECK_SEMCTL.
67737         [BZ #13550]
67738         * Makerules (elide-bp-thunks): Remove variable.
67739         (elide-routines.oS): Don't use $(elide-bp-thunks).
67740         (elide-routines.os): Likewise.
67741         (elide-routines.o): Likewise.
67742         (elide-routines.op): Likewise.
67743         (elide-routines.og): Likewise.
67744         (objects): Don't use $(bp-thunks).
67745         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
67746         include.
67747         (common-generated): Do not add s-proto-bp.d.
67748         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
67749         (int): Likewise.
67750         (typ): Likewise.
67751         Do not generate makefile rules for bounded-pointer thunks.
67752         * sysdeps/generic/bp-thunks.h: Remove file.
67753         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
67754         * sysdeps/unix/s-proto-bp.S: Likewise.
67756         [BZ #15062]
67757         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
67758         parts of result separately when argument is not close to line from
67759         -i to i and one part of argument is small.
67760         * math/k_casinhf.c (__kernel_casinhf): Likewise.
67761         * math/k_casinhl.c (__kernel_casinhl): Likewise.
67762         * math/libm-test.inc (cacos_test): Add more tests.
67763         (casin_test): Likewise.
67764         (casinh_test): Likewise.
67765         * sysdeps/i386/fpu/libm-test-ulps: Update.
67766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67768 2013-01-31  David S. Miller  <davem@davemloft.net>
67770         * po/de.po: Update from translation team.
67772 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
67774         * time/tzfile.c: Include stdint.h for SIZE_MAX.
67776 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
67778         * configure.in (_AC_PROG_CC_C89): New definition.
67779         * configure: Regenerate.
67781         * configure.in (AC_PROG_CPP): New definition.
67782         * configure: Regenerate.
67784 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
67786         * debug/tst-backtrace.h: New file.
67787         * debug/tst-backtrace2.c: Include tst-backtrace.h.
67788         (ret): Remove variable.
67789         (x): Likewise.
67790         (FAIL): Remove macro.
67791         (NO_INLINE): Likewise.
67792         (fn1): Use match function instead of strstr.
67793         * debug/tst-backtrace3.c: Include tst-backtrace.h.
67794         (ret): Remove variable.
67795         (x): Likewise.
67796         (FAIL): Remove macro.
67797         (NO_INLINE): Likewise.
67798         (fn): Use match function instead of strstr.
67799         * debug/tst-backtrace4.c: Include tst-backtrace.h.
67800         (ret): Remove variable.
67801         (x): Likewise.
67802         (FAIL): Remove macro.
67803         (NO_INLINE): Likewise.
67804         (handle_signal): Use match function instead of strstr.
67805         * debug/tst-backtrace5.c: Include tst-backtrace.h.
67806         (ret): Remove variable.
67807         (x): Likewise.
67808         (FAIL): Remove macro.
67809         (NO_INLINE): Likewise.
67810         (handle_signal): Use match function instead of strstr.
67812 2013-01-23  Roland McGrath  <roland@hack.frob.com>
67814         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
67816 2013-01-23  David S. Miller  <davem@davemloft.net>
67818         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
67819         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
67820         argument of CAS if possible.
67821         * sysdeps/sparc/sparc64/bits/atomic.h
67822         (__arch_compare_and_exchange_val_32_acq): Likewise.
67823         (__arch_compare_and_exchange_val_64_acq): Likewise.
67825 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
67827         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
67828         * sysdeps/posix/ulimit.c: ... this.
67829         Include <limits.h>.
67830         * sysdeps/unix/bsd/ulimit.c: Remove file.
67832 2013-01-23  Adam Conrad  <adconrad@0c3.net>
67834         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
67835         (LDFLAGS-tst-array5): Likewise.
67837 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
67839         [BZ #15036]
67840         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
67841         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
67842         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
67843         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
67845 2013-01-21  David S. Miller  <davem@davemloft.net>
67847         * sysdeps/sparc/backtrace.c: New file.
67848         * sysdeps/sparc/sparc32/backtrace.h: New file.
67849         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
67850         * sysdeps/sparc/sparc64/backtrace.h: New file.
67851         * sysdeps/sparc/sparc64/backtrace.c: Delete.
67852         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
67853         -funwind-tables.
67855 2013-01-21  Andreas Schwab  <schwab@suse.de>
67857         [BZ #15020]
67858         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
67859         closed its stdout.
67861 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
67863         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
67864         "mpa2.h".
67865         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
67867 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
67868             Mark Mitchell  <mark@codesourcery.com>
67869             Tom de Vries  <tom@codesourcery.com>
67870             Paul Pluzhnikov  <ppluzhnikov@google.com>
67872         * debug/tst-backtrace2.c: New file.
67873         * debug/tst-backtrace3.c: Likewise.
67874         * debug/tst-backtrace4.c: Likewise.
67875         * debug/tst-backtrace5.c: Likewise.
67876         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
67877         (CFLAGS-tst-backtrace3.c): Likewise.
67878         (CFLAGS-tst-backtrace4.c): Likewise.
67879         (CFLAGS-tst-backtrace5.c): Likewise.
67880         (LDFLAGS-tst-backtrace2): Likewise.
67881         (LDFLAGS-tst-backtrace3): Likewise.
67882         (LDFLAGS-tst-backtrace4): Likewise.
67883         (LDFLAGS-tst-backtrace5): Likewise.
67884         (tests): Add new tests tst-backtrace2, tst-backtrace3,
67885         tst-backtrace4 and tst-backtrace5.
67887 2013-01-18  Anton Blanchard  <anton@samba.org>
67888             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
67890         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
67891         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
67892         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
67893         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
67894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
67895         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
67896         "+r" and remove output regs list as redundant.  Add explicit inline
67897         asm to specify register of return val to work around compiler codegen
67898         bug.  Remove (int) cast on return value.  Add return type parameter to
67899         use in macro so that this macro does not truncate return value for
67900         64-bit values.
67901         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
67902         pass to INTERNAL_VSYSCALL_NCS.
67903         (INLINE_VSYSCALL): Add 'long int' as return type to
67904         INTERNAL_VSYSCALL_NCS macro invocation.
67905         (INTERNAL_VSYSCALL): Add 'long int' as return type to
67906         INTERNAL_VSYSCALL_NCS macro invocation.
67907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
67909 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
67911         [BZ #14496]
67912         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
67913         Fix application of SIMD FP exception mask.
67915         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
67916         mp_no from a power of two.
67917         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
67918         __mpexp_twomm1.  Use __pow_mp.
67920         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
67921         multiplication.
67923 2013-01-17  David S. Miller  <davem@davemloft.net>
67925         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67927 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
67929         [BZ #15023]
67930         * include/complex.h: Condition contents on [!_COMPLEX_H].
67931         (__kernel_casinhf): New prototype.
67932         (__kernel_casinh): Likewise.
67933         (__kernel_casinhl): Likewise.
67934         * math/Makefile (libm_calls): Add k_casinh.
67935         * math/k_casinh.c: New file.
67936         * math/k_casinhf.c: Likewise.
67937         * math/k_casinhl.c: Likewise.
67938         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
67939         finite nonzero arguments.
67940         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
67941         finite nonzero arguments.
67942         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
67943         finite nonzero arguments.
67944         * math/s_casinh.c: Do not include <float.h>.
67945         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
67946         * math/s_casinhf.c: Do not include <float.h>.
67947         (__casinhf): Move code for finite nonzero arguments to
67948         k_casinhf.c.
67949         * math/s_casinhl.c: Do not include <float.h>.
67950         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
67951         redefine.
67952         (__casinhl): Move code for finite nonzero arguments to
67953         k_casinhl.c.
67954         * math/libm-test.inc (cacos_test): Add more tests.
67955         * sysdeps/i386/fpu/libm-test-ulps: Update.
67956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67958 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
67960         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
67961         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
67962         [!HAVE_MREMAP]: Remove [defined linux] case.
67963         * malloc/arena.c: Do not include <malloc-sysdep.h>.
67965 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
67967         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
67969 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
67971         * elf/elf.h (R_386_SIZE32): New relocation.
67972         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
67973         R_386_SIZE32.
67974         (elf_machine_rela): Likewise.
67975         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
67976         R_X86_64_SIZE64 and R_X86_64_SIZE32.
67978 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
67980         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
67981         (FP_FAST_FMA): Do not define.
67982         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
67983         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
67984         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
67985         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
67986         !_SOFT_FLOAT]: Likewise.
67987         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
67988         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
67989         value.
67990         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
67991         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
67992         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
67993         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
67994         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
67995         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
67996         file.
67998 2013-01-16  Andreas Schwab  <schwab@suse.de>
68000         [BZ #14327]
68001         * include/stdlib.h (__mktemp): Add declaration.
68002         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
68003         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
68005 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
68007         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
68008         definitions.
68009         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
68010         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
68011         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
68012         definitions here.
68013         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
68014         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
68015         definitions.
68016         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
68017         and ONE.
68018         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
68019         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
68020         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
68021         definitions.
68022         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
68023         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
68024         definitions.
68025         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
68027         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
68029 2013-01-15  David S. Miller  <davem@davemloft.net>
68031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
68032         trunc{,f} to libm-sysdep_routes.
68033         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
68034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
68035         file.
68036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
68037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
68038         file.
68039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
68040         file.
68041         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
68042         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
68043         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
68044         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
68045         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
68046         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
68047         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
68048         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
68050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
68051         nearbyint{,f} to libm-sysdep_routes.
68052         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
68053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
68054         New file.
68055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
68056         file.
68057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
68058         New file.
68059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
68060         file.
68061         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
68062         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
68063         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
68064         file.
68065         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
68066         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
68067         file.
68068         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
68069         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
68070         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
68072         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
68073         libc_feholdexcept and libc_fesetenv.
68075 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
68077         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
68079 2013-01-14  David S. Miller  <davem@davemloft.net>
68081         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
68082         (SPARC_ASM_VIS2_IFUNC): Likewise.
68083         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
68084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
68085         use of 'siam' instruction.
68086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
68087         Likewise.
68088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
68089         Likewise.
68090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
68091         Likewise.
68092         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
68093         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
68094         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
68095         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
68096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
68097         file.
68098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
68099         file.
68100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
68101         file.
68102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
68103         file.
68104         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
68105         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
68106         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
68107         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
68108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
68109         new VIS2 routines.
68110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
68111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
68112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
68113         Likewise.
68114         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
68115         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
68116         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
68117         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
68118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
68119         routines to libm-sysdep_routines.
68120         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
68122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
68123         fdim/fdimf to libm-sysdep_routines.
68124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
68125         file.
68126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
68127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
68128         file.
68129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
68130         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
68131         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
68132         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
68133         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
68134         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
68135         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
68137 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
68139         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
68140         to optimize copies.
68142         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
68143         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
68144         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
68146         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
68147         local variable MPTWO.
68148         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
68149         Likewise.
68151 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
68153         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
68154         GLOB_NOESCAPE.
68156 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
68158         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
68160 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
68162         * manual/pattern.texi (glob_t): Document gl_flags.
68163         (glob64_t): Likewise.
68165 2013-01-11  David S. Miller  <davem@davemloft.net>
68167         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
68168         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
68169         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
68170         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
68171         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
68172         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
68173         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
68174         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
68175         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
68176         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
68177         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
68178         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
68179         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
68181         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
68182         sparc V9 rather than using V8 code.
68183         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
68184         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
68186         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
68187         Move to...
68188         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
68189         Here.
68191 2013-01-11  Roland McGrath  <roland@hack.frob.com>
68193         [BZ #14941]
68194         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
68195         not in the main loop.
68196         * configure: Regenerated.
68198 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
68200         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
68201         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
68202         to just #else.
68203         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
68204         [!__GLIBC_HAVE_LONG_LONG] case.
68205         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
68206         condition to just #else.
68207         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
68208         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
68209         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
68210         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
68211         unconditional.
68212         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
68213         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
68214         #elif condition to just #else.
68215         * sysdeps/unix/sysv/linux/sys/sysmacros.h
68216         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
68217         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
68218         #elif condition to just #else.
68220 2013-01-11  Steve Ellcey  <sellcey@mips.com>
68222         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
68223         (EF_MIPS_ARCH_64): Fix value.
68224         (EF_MIPS_ARCH_32R2): New.
68225         (EF_MIPS_ARCH_64R2): New.
68227 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
68229         * Makeconfig (+link-pie-before-libc): New.
68230         (+link-pie-after-libc): Likewise.
68231         (+link-pie-tests): Likewise.
68232         (+link-pie): Rewritten.
68233         (link-before-libc): Remove $(config-LDFLAGS).
68234         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
68235         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
68236         (config-LDFLAGS): Renamed to ...
68237         (rtld-LDFLAGS): This.
68238         (rtld-tests-LDFLAGS): New macro.
68239         (link-libc-rpath-link): Likewise.
68240         (link-libc-tests-rpath-link): Likewise.
68241         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
68242         (link-libc): Prepand $(link-libc-rpath-link).
68243         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
68244         (test-program-prefix): New macro.
68245         (test-via-rtld-prefix): Likewise.
68246         (test-program-cmd): Likewise.
68247         (host-test-program-cmd): Likewise.
68248         * Makefile ($(common-objpfx)testrun.sh): Replace
68249         $(run-program-prefix) with $(test-program-prefix).
68250         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
68251         $(rtld-LDFLAGS).
68252         ($(common-objpfx)shlib.lds): Likewise.
68253         (build-module-helper): Likewise.
68254         ($(common-objpfx)format.lds): Likewise.
68255         * Rules (binaries-pie-tests): New.
68256         (binaries-pie-notests): Likewise.
68257         (binaries-pie): Rewritten.
68258         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
68259         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
68260         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
68261         (make-test-out): Replace $(host-built-program-cmd) with
68262         $(host-test-program-cmd).
68263         * config.make.in (build-hardcoded-path-in-tests): New variable.
68264         * configure.in (--enable-hardcoded-path-in-tests): New configure
68265         option.
68266         (hardcoded_path_in_tests): New AC_SUBST.
68267         * configure: Regenerated.
68268         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
68269         $(built-program-cmd) with $(test-program-cmd).
68270         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
68271         (test_program_cmd): This.
68272         * elf/Makefile ($(objpfx)order.out): Run test with
68273         $(test-program-prefix).
68274         ($(objpfx)order2.out): Likewise.
68275         ($(objpfx)tst-initorder.out): Likewise.
68276         ($(objpfx)tst-initorder2.out): Likewise.
68277         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
68278         $(test-program-cmd).
68279         ($(objpfx)tst-array1-static.out): Likewise.
68280         ($(objpfx)tst-array2.out): Likewise.
68281         ($(objpfx)tst-array3.out): Likewise.
68282         ($(objpfx)tst-array4.out): Likewise.
68283         ($(objpfx)tst-array5.out): Likewise.
68284         ($(objpfx)tst-array5-static.out): Likewise.
68285         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
68286         $(test-program-cmd).
68287         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
68288         $(run-program-prefix) with $(test-program-prefix).
68289         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
68290         (test_program_prefix): This.
68291         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
68292         $(run-program-prefix) with $(test-program-prefix).
68293         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
68294         (test_program_prefix): This.
68295         * iconvdata/tst-tables.sh: Likewise.
68296         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
68297         $(run-program-prefix) with $(test-program-prefix).
68298         ($(objpfx)tst-translit.out): Likewise.
68299         ($(objpfx)tst-gettext2.out): Likewise.
68300         ($(objpfx)tst-gettext4.out): Likewise.
68301         ($(objpfx)tst-gettext6.out): Likewise.
68302         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
68303         (test_program_prefix): This.
68304         * intl/tst-gettext2.sh: Likewise.
68305         * intl/tst-gettext4.sh  Likewise.
68306         * intl/tst-gettext6.sh: Likewise.
68307         * intl/tst-translit.sh: Likewise.
68308         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
68309         with $(test-program-cmd).
68310         * libio/Makefile ($(objpfx)test-freopen.out): Replace
68311         $(run-program-prefix) with $(test-program-prefix).
68312         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
68313         (test_program_prefix): This.
68314         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
68315         $(run-program-prefix) with $(test-program-prefix).
68316         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
68317         (test_program_prefix): This.
68318         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
68319         * posix/Makefile ($(objpfx)globtest.out): Replace
68320         $(run-via-rtld-prefix) and $(test-wrapper) with
68321         $(test-program-prefix) and $(test-via-rtld-prefix).
68322         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
68323         $(test-program-prefix).
68324         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
68325         $(host-test-program-cmd).
68326         (tst-spawn-ARGS): Likewise.
68327         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
68328         $(test-program-prefix).
68329         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
68330         (test_via_rtld_prefix): This.
68331         (test_wrapper): Renamed to ...
68332         (test_program_prefix): This.
68333         (run_program_prefix): Replaced by test_program_prefix.
68334         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
68335         (test_program_prefix): This.
68336         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
68337         with $(host-test-program-cmd).
68338         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
68339         $(run-program-prefix) with $(test-program-prefix).
68340         ($(objpfx)tst-printf.out): Likewise.
68341         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
68342         $(test-program-cmd).
68343         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
68344         (test_program_prefix): This.
68345         * stdio-common/tst-unbputc.sh: Likewise.
68346         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
68347         $(run-program-prefix) with $(test-program-prefix).
68348         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
68349         (test_program_prefix): This.
68350         * string/Makefile ($(objpfx)tst-svc.out):  Replace
68351         $(built-program-cmd) with $(test-program-cmd).
68353 2013-01-11  Andreas Jaeger  <aj@suse.de>
68355         [BZ #15003]
68356         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
68357         value. Sync with Linux 3.7.
68359 2013-01-10  David S. Miller  <davem@davemloft.net>
68361         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
68362         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
68363         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
68365 2013-01-10  Roland McGrath  <roland@hack.frob.com>
68367         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
68368         never set.
68369         * configure: Regenerated.
68371 2013-01-10  David S. Miller  <davem@davemloft.net>
68373         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
68374         sparc V9 rather than using V8 code.
68375         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
68376         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
68378 2013-01-10  Roland McGrath  <roland@hack.frob.com>
68380         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
68381         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
68382         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
68383         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
68384         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
68385         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
68386         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
68387         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
68388         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
68389         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
68390         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
68391         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
68392         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
68393         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
68394         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
68395         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
68396         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
68397         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
68398         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
68399         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
68400         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
68401         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
68402         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
68403         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
68404         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
68405         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
68406         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
68408 2013-01-10  David S. Miller  <davem@davemloft.net>
68410         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68412 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
68414         * posix/Makefile (tests-static): New variable.
68415         (tests): Add $(tests-static).
68416         (tst-exec-static-ARGS): New variable.
68417         (tst-spawn-static-ARGS): Likewise.
68418         * posix/tst-exec-static.c: New file.
68419         * posix/tst-spawn-static.c: Likewise.
68420         * posix/tst-exec.c: Support run directly.
68421         * posix/tst-spawn.c: Likewise.
68423 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
68425         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
68426         long.
68427         * math/bits/mathcalls.h (llrint): Likewise.
68428         (llround): Likewise.
68429         * stdlib/stdlib.h (struct drand48_data): Likewise.
68430         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
68431         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
68432         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
68433         Likewise.
68434         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
68435         Likewise.
68436         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
68437         (elf_greg_t): Likewise.
68438         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
68439         (__jmp_buf): Likewise.
68440         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
68441         definitions.
68442         (llrint): Likewise, for all definitions.
68443         (llrintl): Likewise.
68445         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
68446         Remove [__GNUC__] condition.
68447         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
68448         condition to just [__USE_ISOC99].
68449         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
68451 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
68453         [BZ #14200]
68454         * sysdeps/unix/sysv/linux/x86/bits/environments.h
68455         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
68456         defined.
68457         (_POSIX_V6_ILP32_OFF32): Likewise.
68458         (_XBS5_ILP32_OFF32): Likewise.
68459         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
68460         (__ILP32_OFFBIG_LDFLAGS): Likewise.
68462 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
68464         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
68466         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
68467         doubles __mpexp_twomm1.  Adjust usage.
68468         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
68469         Remove.
68471 2013-01-10  Andreas Schwab  <schwab@suse.de>
68473         [BZ #14964]
68474         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
68475         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
68477 2013-01-09  David S. Miller  <davem@davemloft.net>
68479         [BZ #15003]
68480         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
68481         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
68482         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
68483         (TCP_FASTOPEN): Define.
68484         (tcp_repair_opt): New structure.
68485         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
68486         enum values.
68487         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
68488         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
68489         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
68490         (tcp_cookie_transactions): New structure.
68492 2013-01-09  Anton Blanchard  <anton@samba.org>
68494         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
68495         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
68496         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
68497         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
68499 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
68501         * include/features.h (__USE_ANSI): Remove.
68503 2013-01-09  Roland McGrath  <roland@hack.frob.com>
68505         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
68507         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
68509 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
68511         * sysdeps/s390/fpu/libm-test-ulps: Update.
68513         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68515         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
68516         (__acr): Likewise.
68517         (__cpy): Likewise.
68518         (norm): Likewise.
68519         (denorm): Likewise.
68520         (__mp_dbl): Likewise.
68521         (__dbl_mp): Likewise.
68522         (add_magnitudes): Likewise.
68523         (sub_magnitudes): Likewise.
68524         (__add): Likewise.
68525         (__sub): Likewise.
68526         (__mul): Likewise.
68527         (__inv): Likewise.
68528         (__dvd): Likewise.
68529         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
68530         (__acr): Likewise.
68531         (__cpy): Likewise.
68532         (norm): Likewise.
68533         (denorm): Likewise.
68534         (__mp_dbl): Likewise.
68535         (__dbl_mp): Likewise.
68536         (add_magnitudes): Likewise.
68537         (sub_magnitudes): Likewise.
68538         (__add): Likewise.
68539         (__sub): Likewise.
68540         (__mul): Likewise.
68541         (__inv): Likewise.
68542         (__dvd): Likewise.
68543         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
68544         (__acr): Likewise.
68545         (__cpy): Likewise.
68546         (norm): Likewise.
68547         (denorm): Likewise.
68548         (__mp_dbl): Likewise.
68549         (__dbl_mp): Likewise.
68550         (add_magnitudes): Likewise.
68551         (sub_magnitudes): Likewise.
68552         (__add): Likewise.
68553         (__sub): Likewise.
68554         (__mul): Likewise.
68555         (__inv): Likewise.
68556         (__dvd): Likewise.
68558 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
68560         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
68561         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
68562         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
68563         2 && __USE_EXTERN_INLINES]: Likewise.
68565 2013-01-08  Andreas Jaeger  <aj@suse.de>
68567         [BZ #14985]
68568         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
68569         Remove.
68570         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
68571         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
68573 2013-01-07  Anton Blanchard  <anton@samba.org>
68575         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
68576         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
68577         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
68578         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
68579         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
68580         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
68581         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
68582         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
68583         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
68584         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
68585         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
68586         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
68587         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
68588         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
68589         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
68590         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
68591         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
68592         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
68593         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
68594         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
68595         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
68596         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
68597         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
68598         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
68599         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
68600         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
68601         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
68602         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
68603         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
68604         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
68605         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
68606         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
68607         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
68608         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
68609         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
68610         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
68611         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
68612         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
68613         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
68614         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
68615         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
68616         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
68617         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
68619 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
68621         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
68622         (__MALLOC_PMT): Likewise.
68623         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
68624         [__GNUC__], only on [_LIBC].
68625         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
68626         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
68627         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
68628         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
68629         forward declaration.
68630         (realloc_hook_ini): Likewise.
68631         (memalign_hook_ini): Likewise.
68632         (__libc_memalign): Do not use __MALLOC_PMT in variable
68633         declaration.
68634         (__libc_valloc): Likewise.
68635         (__libc_pvalloc): Likewise.
68636         (__libc_calloc): Likewise.
68637         (__posix_memalign): Likewise.
68639         [BZ #14996]
68640         * math/s_casinh.c: Include <float.h>.
68641         (__casinh): Do not do computation with squaring and square root
68642         for large arguments.
68643         * math/s_casinhf.c: Include <float.h>.
68644         (__casinhf): Do not do computation with squaring and square root
68645         for large arguments.
68646         * math/s_casinhl.c: Include <float.h>.
68647         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
68648         (__casinhl): Do not do computation with squaring and square root
68649         for large arguments.
68650         * math/libm-test.inc (casin_test): Add more tests.
68651         (casinh_test): Likewise.
68652         * sysdeps/i386/fpu/libm-test-ulps: Update.
68653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68655 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
68657         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
68658         (__x86_64_raw_data_cache_size): Likewise.
68659         (__x86_64_data_cache_size_half): Likewise.
68660         (__x86_64_raw_data_cache_size_half): Likewise.
68661         (__x86_64_shared_cache_size): Likewise.
68662         (__x86_64_raw_shared_cache_size): Likewise.
68663         (__x86_64_shared_cache_size_half): Likewise.
68664         (__x86_64_raw_shared_cache_size_half): Likewise.
68665         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
68666         to ...
68667         (__x86_data_cache_size): This.
68668         (__x86_64_raw_data_cache_size): Renamed to ...
68669         (__x86_raw_data_cache_size): This.
68670         (__x86_64_data_cache_size_half): Renamed to ...
68671         (__x86_data_cache_size_half): This.
68672         (__x86_64_raw_data_cache_size_half): Renamed to ...
68673         (__x86_raw_data_cache_size_half): This.
68674         (__x86_64_shared_cache_size): Renamed to ...
68675         (__x86_shared_cache_size): This.
68676         (__x86_64_raw_shared_cache_size): Renamed to ...
68677         (__x86_raw_shared_cache_size): This.
68678         (__x86_64_shared_cache_size_half): Renamed to ...
68679         (__x86_shared_cache_size_half): This.
68680         (__x86_64_raw_shared_cache_size_half): Renamed to ...
68681         (__x86_raw_shared_cache_size_half): This.
68682         * sysdeps/x86_64/memcpy.S: Updated.
68683         * sysdeps/x86_64/memset.S: Likewise.
68684         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
68685         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
68686         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
68688 2013-01-04  David S. Miller  <davem@davemloft.net>
68690         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68692 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
68694         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
68695         1 to avoid redefinition warning.
68696         (__USE_GNU): Don't define.
68697         (init_signaling_nan): Protoize.
68699         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68701 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
68703         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
68704         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
68705         (__cpymn): Likewise.
68706         (norm): Remove commented code.
68707         (denorm): Likewise.
68708         (__mp_dbl): Likewise.
68709         (__inv): Likewise.
68710         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
68711         (__cpymn): Likewise.
68712         (norm): Remove commented code.
68713         (denorm): Likewise.
68714         (__mp_dbl): Likewise.
68715         (__inv): Likewise.
68717         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
68718         mp_no value for 1.0 and 2.0.
68719         (norm): Use RADIXI instead of radixi.d.
68720         (denorm): Likewise.
68721         (__mul): Use 0.0 instead of zero.d.
68722         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
68723         mp_no value for 1.0 and 2.0.
68724         (norm): Use RADIXI instead of radixi.d.
68725         (denorm): Likewise.
68726         (__mul): Use 0.0 instead of zero.d.
68728 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
68730         [BZ #14994]
68731         * math/s_casinh.c (__casinh): Reduce finite argument to first
68732         quadrant then set signs of results at the end.
68733         * math/s_casinhf.c (__casinhf): Likewise.
68734         * math/s_casinhl.c (__casinhl): Likewise.
68735         * math/libm-test.inc (casin_test): Add more tests.
68736         (casinh_test): Likewise.
68737         * sysdeps/i386/fpu/libm-test-ulps: Update.
68738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68740 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
68742         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
68744         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
68746         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
68747         declarations.
68748         (denorm): Likewise.
68749         (__mp_dbl): Likewise.
68750         (__inv): Likewise.
68752         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
68753         and adjust the header comment.
68755         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
68756         variable name from declaration.
68758 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
68760         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68761         Initialize COMMON_CPUID_INDEX_7 element.
68762         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
68763         (CPUID_RTM): Likewise.
68764         (HAS_RTM): Likewise.
68765         (COMMON_CPUID_INDEX_7): New enum.
68767 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
68769         [BZ #14981]
68770         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
68771         size is zero, record memory as freed.
68773 2013-01-03  Andreas Jaeger  <aj@suse.de>
68775         * po/ia.po: Add new Interlingua translation.
68777 2012-01-03  Allan McRae  <allan@archlinux.org>
68779         * locale/programs/localedef.c: Fix description of '--posix' flag.
68781 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
68783         * NEWS: Update dates in second copyright notice.
68784         * README: Update copyright dates in example.
68785         * manual/libc.texinfo: Update copyright dates.
68786         * scripts/test-installation.pl: Update copyright date in --version
68787         output.
68789         * hurd/ctty-input.c: Fix copyright notice formatting.
68790         * hurd/ctty-output.c: Likewise.
68791         * hurd/dtable.c: Likewise.
68792         * hurd/hurd-raise.c: Likewise.
68793         * hurd/hurdprio.c: Likewise.
68794         * hurd/msgportdemux.c: Likewise.
68795         * misc/sys/file.h: Likewise.
68796         * misc/sys/ioctl.h: Likewise.
68797         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
68798         * sysdeps/mach/hurd/chdir.c: Likewise.
68799         * sysdeps/mach/hurd/fchdir.c: Likewise.
68800         * sysdeps/mach/hurd/rename.c: Likewise.
68801         * sysdeps/mach/hurd/rmdir.c: Likewise.
68802         * sysdeps/mach/hurd/seekdir.c: Likewise.
68803         * sysdeps/mach/hurd/setsid.c: Likewise.
68804         * sysdeps/posix/wait3.c: Likewise.
68806         * All files with FSF copyright notices: Update copyright dates
68807         using scripts/update-copyrights.
68808         * intl/plural.c: Regenerated.
68809         * locale/programs/charmap-kw.h: Likewise.
68810         * locale/programs/locfile-kw.h: Likewise.
68812 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
68814         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
68815         four values.
68817         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
68818         calculation loop and add branch prediction.
68820         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
68821         check access beyond bounds of m1np.
68823         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
68824         MPTWO.
68825         (__inv): Remove local variable MPTWO to use the global
68826         constant.
68827         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
68828         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
68829         variable MPTWO.
68830         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
68831         MP3HALFS static const.
68833 2013-01-01  David S. Miller  <davem@davemloft.net>
68835         * po/ca.po: Update from translation team.
68837 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
68839         * scripts/update-copyrights: New file.
68840         * Makeconfig: Reformat copyright notice.
68841         * ctype/ctype.h: Likewise.
68842         * debug/swprintf_chk.c: Likewise.
68843         * elf/dl-cache.c: Likewise.
68844         * elf/dl-debug.c: Likewise.
68845         * elf/dl-object.c: Likewise.
68846         * grp/initgroups.c: Likewise.
68847         * hurd/Makefile: Likewise.
68848         * hurd/hurd/signal.h: Likewise.
68849         * hurd/hurdfault.c: Likewise.
68850         * hurd/hurdioctl.c: Likewise.
68851         * hurd/hurdlookup.c: Likewise.
68852         * hurd/intr-msg.c: Likewise.
68853         * iconv/gconv_open.c: Likewise.
68854         * libio/swprintf.c: Likewise.
68855         * locale/lc-ctype.c: Likewise.
68856         * locale/nl_langinfo.c: Likewise.
68857         * mach/Machrules: Likewise.
68858         * mach/Makefile: Likewise.
68859         * malloc/obstack.h: Likewise.
68860         * manual/Makefile: Likewise.
68861         * manual/tsort.awk: Likewise.
68862         * misc/bits/stab.def: Likewise.
68863         * nis/nis_print_group_entry.c: Likewise.
68864         * nis/nis_table.c: Likewise.
68865         * nis/nss_compat/compat-pwd.c: Likewise.
68866         * nis/nss_compat/compat-spwd.c: Likewise.
68867         * po/Makefile: Likewise.
68868         * posix/fnmatch.c: Likewise.
68869         * posix/regex.h: Likewise.
68870         * resolv/Makefile: Likewise.
68871         * resolv/nss_dns/dns-network.c: Likewise.
68872         * resolv/res_hconf.c: Likewise.
68873         * scripts/gen-sorted.awk: Likewise.
68874         * soft-fp/soft-fp.h: Likewise.
68875         * stdio-common/printf.h: Likewise.
68876         * stdlib/monetary.h: Likewise.
68877         * stdlib/random.c: Likewise.
68878         * stdlib/random_r.c: Likewise.
68879         * sysdeps/generic/Makefile: Likewise.
68880         * sysdeps/gnu/Makefile: Likewise.
68881         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
68882         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68883         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
68884         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68885         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68886         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68887         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68888         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
68889         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
68890         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68891         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
68892         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
68893         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
68894         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
68895         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
68896         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
68897         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
68898         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
68899         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
68900         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68901         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
68902         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
68903         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
68904         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
68905         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
68906         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
68907         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
68908         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
68909         * sysdeps/mach/hurd/errnos.awk: Likewise.
68910         * sysdeps/mach/hurd/fork.c: Likewise.
68911         * sysdeps/mach/hurd/getcwd.c: Likewise.
68912         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
68913         * sysdeps/mach/hurd/mmap.c: Likewise.
68914         * sysdeps/mach/hurd/utimes.c: Likewise.
68915         * sysdeps/mach/hurd/xmknod.c: Likewise.
68916         * sysdeps/posix/profil.c: Likewise.
68917         * sysdeps/posix/readdir_r.c: Likewise.
68918         * sysdeps/powerpc/bits/mathdef.h: Likewise.
68919         * sysdeps/powerpc/bits/setjmp.h: Likewise.
68920         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
68921         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
68922         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
68923         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
68924         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
68925         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
68926         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
68927         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
68928         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
68929         * sysdeps/pthread/lio_listio.c: Likewise.
68930         * sysdeps/sparc/dl-procinfo.h: Likewise.
68931         * sysdeps/unix/i386/sysdep.S: Likewise.
68932         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
68933         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
68934         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
68935         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
68936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
68937         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
68938         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
68939         * sysdeps/unix/sysv/linux/speed.c: Likewise.
68940         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
68941         * sysdeps/wordsize-32/divdi3.c: Likewise.
68942         * time/sys/time.h: Likewise.
68943         * wcsmbs/Makefile: Likewise.
68945 2013-01-01  David S. Miller  <davem@davemloft.net>
68947         * po/fr.po: Update from translation team.
68949         * catgets/gencat.c: Update copyright year.
68950         * csu/version.c: Likewise.
68951         * debug/catchsegv.sh: Likewise.
68952         * debug/pcprofiledump.c: Likewise.
68953         * debug/xtrace.sh: Likewise.
68954         * elf/ldconfig.c: Likewise.
68955         * elf/ldd.bash.in: Likewise.
68956         * elf/pldd.c: Likewise.
68957         * elf/sotruss.ksh: Likewise.
68958         * elf/sprof.c: Likewise.
68959         * iconv/iconv_prog.c: Likewise.
68960         * iconv/iconvconfig.c: Likewise.
68961         * locale/programs/locale.c: Likewise.
68962         * locale/programs/localedef.c: Likewise.
68963         * login/programs/pt_chown.c: Likewise.
68964         * malloc/memusage.sh: Likewise.
68965         * malloc/memusagestat.c: Likewise.
68966         * malloc/mtrace.pl: Likewise.
68967         * nscd/nscd.c: Likewise.
68968         * nss/getent.c: Likewise.
68969         * nss/makedb.c: Likewise.
68970         * posix/getconf.c: Likewise.
68972 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
68974         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
68975         numbers.
68977 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
68979         * math/bits/mathcalls.h (modf): Use __nonnull.
68981 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
68983         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
68984         (split): Use macro CN instead of the bare value.
68985         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
68986         could be used.
68987         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
68988         instead of the bare value.
68989         (power1): Likewise.
68991 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68993         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
68994         __ATAN_TWOM.
68995         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
68997         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
68998         their values.
68999         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
69000         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
69001         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
69002         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
69004 2012-12-28  Andreas Jaeger  <aj@suse.de>
69006         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
69007         values are from Linux 3.7.
69009         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
69010         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
69012 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69014         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
69015         TRUE case.
69017         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
69018         (norm): Likewise.
69019         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
69020         variables with preprocessor constants.
69021         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
69022         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
69023         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
69025 2012-12-27  Bruno Haible  <bruno@clisp.org>
69027         [BZ #14317]
69028         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
69029         only if needed.
69031 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
69033         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
69034         and use variable directly.
69035         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
69037         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
69038         MPONE.
69039         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
69040         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
69041         variable MPONE.
69042         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
69043         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
69044         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
69045         include directive.  Remove local variable MPONE.
69046         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
69047         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
69048         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
69050 2012-12-25  David S. Miller  <davem@davemloft.net>
69052         * version.h (RELEASE): Set to "development".
69053         (VERSION): Set to "2.17.90".
69054         * NEWS: Add 2.18 section.
69056 2012-12-21  David S. Miller  <davem@davemloft.net>
69058         * po/hr.po: Update from translation team.
69060 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69062         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
69064 2012-12-19  Steve Ellcey  <sellcey@mips.com>
69066         * NEWS:  Mention new memcpy for MIPS.
69068 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
69070         * manual/contrib.texi (Contributors): Spelling correction.
69072 2012-12-15  David S. Miller  <davem@davemloft.net>
69074         * po/ru.po: Update from translation team.
69076 2012-12-13  David S. Miller  <davem@davemloft.net>
69078         * NEWS: Mention IFUNC testsuite enhancements.
69080         * po/pl.po: Update from translation team.
69081         * po/bg.po: Likewise.
69083         * manual/contrib.texi (Contributors): Update entries for Hongjiu
69084         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
69086 2012-12-11  David S. Miller  <davem@davemloft.net>
69088         * po/sv.po: Update from translation team.
69090         * po/vi.po: Update from translation team.
69092         * po/cs.po: Update from translation team.
69094         * po/de.po: Update from translation team.
69095         * po/eo.po: Likewise.
69096         * po/nl.po: Likewise.
69098 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
69100         [BZ #14246]
69101         * manual/argp.texi (Argp Helper Functions): Move node to follow
69102         Argp Parsing State.
69104         [BZ #14872]
69105         * manual/conf.texi (Limits on File System Capacity): Mention if
69106         terminating null is included in the max size.
69108 2012-12-10  Andreas Jaeger  <aj@suse.de>
69110         * po/cs.po: Update from translation team.
69112 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
69114         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
69115         void pointer and cast to uintptr_t.
69116         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
69117         path.
69118         * sysdeps/s390/s390-64/memcpy.S: Likewise.
69119         * sysdeps/s390/s390-64/memset.S: Likewise.
69121 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
69123         [BZ #14833]
69124         * menual/message.texi (Message Translation): Fix typos.
69125         (Helper programs for gettext): Likewise.
69127 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
69129         [BZ #14898]
69130         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
69131         Change to -1.
69133 2012-12-07  David S. Miller  <davem@davemloft.net>
69135         * po/libc.pot: Update.
69137 2012-12-07  Richard Henderson  <rth@redhat.com>
69139         [BZ #10114]
69140         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
69141         normal/normal case to before the switch.
69142         (_FP_DIV): Likewise.
69144 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
69145             Mike Frysinger  <vapier@gentoo.org>
69147         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
69148         check for __NR_fadvise64_64.
69150 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
69152         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
69153         0, not just to plain "0" as a statement.
69154         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
69155         with cw.
69157 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
69159         * NEWS: Use sourceware.org in Bugzilla URL.
69161 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
69163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
69164         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
69166         * stdio-common/tst-put-error.c (do_test): Add newline to the
69167         padded test to ensure flush.
69169 2012-12-05  Jeff Law  <law@redhat.com>
69171         * sunrpc/etc.rpc (fedfs_admin): Add entry.
69173 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
69175         * README: Don't refer to ports add-on as distributed separately.
69176         Mention AArch64 in list of systems supported in the ports add-on.
69178         * LICENSES: Add more non-FSF copyright and license notices.
69180         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
69181         ((unused)).
69183         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
69185         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
69186         10000 as width of padded output.
69188 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
69190         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
69192         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
69193         variable LX with __attribute__ ((unused)).
69194         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
69195         Likewise.
69196         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
69197         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
69198         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
69199         with __attribute__ ((unused)).
69201 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
69203         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
69205 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
69207         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
69208         (CFLAGS-nldbl-acos.c): New variable.
69209         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
69210         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
69211         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
69212         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
69213         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
69214         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
69215         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
69216         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
69217         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
69218         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
69219         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
69220         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
69221         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
69222         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
69223         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
69224         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
69225         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
69226         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
69227         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
69228         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
69229         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
69230         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
69231         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
69232         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
69233         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
69234         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
69235         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
69236         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
69237         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
69238         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
69239         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
69240         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
69241         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
69242         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
69243         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
69244         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
69245         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
69246         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
69247         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
69248         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
69249         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
69250         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
69251         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
69252         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
69253         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
69254         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
69255         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
69256         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
69257         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
69258         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
69259         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
69260         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
69261         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
69262         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
69263         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
69264         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
69265         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
69266         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
69267         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
69268         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
69269         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
69270         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
69271         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
69272         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
69273         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
69274         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
69275         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
69276         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
69277         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
69278         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
69279         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
69280         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
69281         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
69282         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
69283         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
69284         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
69285         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
69286         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
69287         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
69288         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
69289         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
69290         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
69291         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
69292         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
69293         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
69294         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
69295         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
69296         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
69297         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
69298         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
69299         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
69300         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
69301         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
69302         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
69303         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
69304         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
69305         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
69307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
69308         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
69310         [BZ #14914]
69311         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
69312         whole low double instead of just low 47 bits when splitting values
69313         into two parts.
69315 2012-12-03  Allan McRae  <allan@archlinux.org>
69317         * manual/stdio.texi (Predefined Printf Handlers): Remove
69318         @hsep and @vsep usage.
69320 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
69322         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
69323         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
69325 2012-12-03  Jeff Law  <law@redhat.com>
69327         * time/sys/time.h (settimeofday): Do not mark TV argument
69328         as __nonnull.
69330 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
69332         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
69333         when currently writing and seek to current position when not.
69334         * libio/Makefile (tests): Remove bug-fclose1.
69335         * libio/bug-fclose1.c: Delete.
69337 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
69339         * manual/arith.texi (feenableexcept): Fix typo.
69340         (fedisableexcept): Likewise.
69342 2012-11-30  Roland McGrath  <roland@hack.frob.com>
69344         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
69345         second, differently-typed declaration, rather than a cast.
69347 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
69349         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
69350         * include/rpc/svc.h: ... here.
69352 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
69354         [BZ #13013]
69355         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
69356         depending n and resplen2 to catch cases where answer
69357         equals answerp2.
69359 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
69361         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
69362         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
69364 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
69366         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
69368 2012-11-29  Roland McGrath  <roland@hack.frob.com>
69370         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
69372 2012-11-28  Jeff Law  <law@redhat.com>
69374         [BZ #13761]
69375         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
69376         dataset_temporary.  Track alloca usage into alloca_used.
69377         If dataset is large allocate and release it via malloc/free.
69379 2012-06-04  Florian Weimer  <fweimer@redhat.com>
69381         [BZ #14197]
69382         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
69384 2012-11-28  David S. Miller  <davem@davemloft.net>
69386         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69388 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
69390         [BZ #14803]
69391         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
69392         of pi/2 rounded to nearest to 64 bits.
69393         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
69394         nearest to 64 bits.
69395         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
69396         bits.
69398 2012-11-28  Jeff Law <law@redhat.com>
69399             Martin Osvald <mosvald@redhat.com>
69401         [BZ #14889]
69402         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
69403         * sunrpc/svc.c: Include time.h.
69404         (__svc_accept_failed): New function.
69405         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
69406         any reason other than EINTR, call __svc_accept_failed.
69407         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
69408         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
69410 2012-11-28  Andreas Schwab  <schwab@suse.de>
69412         * scripts/abilist.awk: Also handle indirect functions in .opd
69413         section.
69415 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
69417         [BZ #13881]
69418         * sysdeps/x86/fpu/powl_helper.c: New file.
69419         * sysdeps/x86/fpu/Makefile: Likewise.
69420         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
69421         (p3): New object.
69422         (__ieee754_powl): Use __powl_helper for finite arguments except
69423         integer exponents below 8.
69424         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
69425         (p3): New object.
69426         (__ieee754_powl): Use __powl_helper for finite arguments except
69427         integer exponents below 8.
69428         * math/libm-test.inc (pow_test): Add more tests and enable some
69429         previously disabled tests.
69430         * sysdeps/i386/fpu/libm-test-ulps: Update.
69431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69433 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69434             Carlos O'Donell  <carlos_odonell@mentor.com>
69436         * nss/makedb.c (is_prime): Assert that input is odd and greater
69437         than 4.  Note that fact in a comment too.
69438         (next_prime): Add 4 to input.
69440 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
69442         [BZ #11741]
69443         * libio/Makefile (tests): Add test case tst-fwrite-error.
69444         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
69445         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
69446         * libio/tst-fwrite-error.c: New test case.
69448 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
69450         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
69451         before casting to void *.
69452         * include/libc-internal.h (__pointer_type): New macro.
69453         (__integer_if_pointer_type_sub): Likewise.
69454         (__integer_if_pointer_type): Likewise.
69455         (cast_to_integer): Likewise.
69456         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
69457         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
69458         before casting to atomic64_t.
69459         (atomic_exchange_acq): Likewise.
69460         (__arch_exchange_and_add_body): Likewise.
69461         (__arch_add_body): Likewise.
69462         (atomic_add_negative): Likewise.
69463         (atomic_add_zero): Likewise.
69465 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
69467         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
69468         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
69469         (add_fdes): Likewise.
69470         (linear_search_fdes): Likewise.
69471         (binary_search_unencoded_fdes): Likewise.
69473 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
69475         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
69477 2012-11-24  Adam Conrad  <adconrad@0c3.net>
69479         * configure.in: Autodetect C++ header directories.
69480         * configure: Regenerated.
69482 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
69484         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
69486 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
69488         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69490 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
69492         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
69493         LDBL_MANT_DIG == 106]: Disable some tests.
69494         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
69495         Likewise.
69496         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
69497         Likewise.
69499         [BZ #14871]
69500         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
69501         input for small inputs.  Return +/- pi/2 for large inputs.
69502         * math/libm-test.inc (atan_test): Add more tests.
69504         * sysdeps/generic/unwind-dw2-fde-glibc.c
69505         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
69506         __attribute__ ((unused)).
69508         [BZ #14645]
69509         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
69510         x * y if x and y are nonzero and z is zero.
69512         [BZ #14811]
69513         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
69514         nonzero exponents with absolute value below 0x1p-117 to +/-
69515         0x1p-117.
69517         [BZ #14869]
69518         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
69519         up arguments below 2**-450, not just those below 2**-500.
69520         * math/libm-test.inc (hypot_test): Add another test.
69522         [BZ #14868]
69523         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
69524         Return a+b for ratio over 2**120, not 2**60.
69525         * math/libm-test.inc (hypot_test): Add another test.
69527         * math/libm-test.inc (clog_test): Use
69528         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
69529         (clog10_test): Likewise.
69531         [BZ #6778]
69532         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
69534 2012-11-22  Andreas Schwab  <schwab@suse.de>
69536         * sysdeps/i386/fpu/libm-test-ulps: Update.
69538 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
69540         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
69541         printf output with newline.
69543 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
69545         [BZ #14865]
69546         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
69547         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
69548         -z nodlopen, -z initfirst and -z execstack support.
69549         * configure: Regenerated.
69551         * elf/elf.h (DF_1_NODIRECT): New macro.
69552         (DF_1_IGNMULDEF): Likewise.
69553         (DF_1_NOKSYMS): Likewise.
69554         (DF_1_NOHDR): Likewise.
69555         (DF_1_EDITED): Likewise.
69556         (DF_1_NORELOC): Likewise.
69557         (DF_1_SYMINTPOSE): Likewise.
69558         (DF_1_GLOBAUDIT): Likewise.
69559         (DF_1_SINGLETON): Likewise.
69560         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
69561         DT_1_SUPPORTED_MASK bits.
69562         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
69564 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
69566         * sysdeps/unix/make-syscalls.sh: Document prefixes.
69568 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
69570         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
69571         macro.
69573         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
69574         (sendmmsg): Move declarations...
69575         * socket/sys/socket.h: ... here.
69576         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
69577         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
69578         include it from...
69579         * socket/recvmmsg.c: ... this new file.
69580         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
69581         (sendmmsg): Rename to __sendmmsg, create weak alias and make
69582         definition of __sendmmsg hidden.
69583         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
69584         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
69585         Move ENOSYS stub into and include it from...
69586         * socket/sendmmsg.c: ... this new file.
69587         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
69588         (sysdep_routines): Move recvmmsg and sendmmsg...
69589         * socket/Makefile (routines): ... here.
69590         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
69591         (GLIBC_PRIVATE): Add __sendmmsg.
69592         * include/sys/socket.h (__sendmmsg): Add declarations.
69593         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
69594         sendmmsg.
69596 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
69598         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
69599         variable I1 with __attribute__ ((unused)).
69600         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
69602 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
69604         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
69605         DUMMY variables with __attribute__ ((unused)).
69607         * bits/byteswap.h: Include <bits/types.h>.
69608         (__bswap_64): Use __uint64_t instead of unsigned long long int.
69610 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
69612         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
69613         string_t.  Do not manually set errno.
69614         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
69615         length with __strnlen.  Make sure to both set errno and return it on
69616         failure.
69618 2012-11-19  David S. Miller  <davem@davemloft.net>
69620         With help from Joseph Myers.
69621         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
69622         very large arguments properly.
69623         * math/libm-test.inc (atan_test): New tests.
69624         (atan2_test): New tests.
69625         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69626         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69628 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
69630         [BZ #14856]
69631         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
69632         Define to 3.
69634         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
69635         [POSIX] (EADDRNOTAVAIL): Likewise.
69636         [POSIX] (EAFNOSUPPORT): Likewise.
69637         [POSIX] (EALREADY): Likewise.
69638         [POSIX] (ECONNABORTED): Likewise.
69639         [POSIX] (ECONNREFUSED): Likewise.
69640         [POSIX] (ECONNRESET): Likewise.
69641         [POSIX] (EDESTADDRREQ): Likewise.
69642         [POSIX] (EDQUOT): Likewise.
69643         [POSIX] (EHOSTUNREACH): Likewise.
69644         [POSIX] (EIDRM): Likewise.
69645         [POSIX] (EISCONN): Likewise.
69646         [POSIX] (ELOOP): Likewise.
69647         [POSIX] (EMULTIHOP): Likewise.
69648         [POSIX] (ENETDOWN): Likewise.
69649         [POSIX] (ENETUNREACH): Likewise.
69650         [POSIX] (ENOBUFS): Likewise.
69651         [POSIX] (ENODATA): Likewise.
69652         [POSIX] (ENOLINK): Likewise.
69653         [POSIX] (ENOMSG): Likewise.
69654         [POSIX] (ENOPROTOOPT): Likewise.
69655         [POSIX] (ENOSR): Likewise.
69656         [POSIX] (ENOSTR): Likewise.
69657         [POSIX] (ENOTCONN): Likewise.
69658         [POSIX] (ENOTSOCK): Likewise.
69659         [POSIX] (EOPNOTSUPP): Likewise.
69660         [POSIX] (EOVERFLOW): Likewise.
69661         [POSIX] (EPROTO): Likewise.
69662         [POSIX] (EPROTONOSUPPORT): Likewise.
69663         [POSIX] (EPROTOTYPE): Likewise.
69664         [POSIX] (ESTALE): Likewise.
69665         [POSIX] (ETIME): Likewise.
69666         [POSIX] (ETXTBSY): Likewise.
69667         [POSIX] (EWOULDBLOCK): Likewise.
69668         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
69669         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
69670         [POSIX] (SEEK_CUR): Likewise.
69671         [POSIX] (SEEK_END): Likewise.
69672         [POSIX || UNIX98] (mode_t): Do not require.
69673         [POSIX] (off_t): Likewise.
69674         [POSIX] (pid_t): Likewise.
69675         [POSIX] (sys/stat.h): Do not allow header.
69676         [POSIX] (unistd.h): Likewise.
69677         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
69678         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
69679         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
69680         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
69681         require.
69682         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
69683         sigevent): Specify elements.
69684         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
69685         entry.
69686         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
69687         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
69689         * conform/data/cpio.h-data [POSIX]: Disable whole file.
69690         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
69691         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
69692         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
69693         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
69694         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
69695         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
69696         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
69697         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
69698         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
69699         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
69700         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
69701         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
69702         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
69703         Likewise.
69704         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
69705         Likewise.
69706         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
69707         Likewise.
69708         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
69709         Likewise.
69710         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
69711         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
69712         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
69713         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
69714         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
69715         Specify lower bound on value.
69716         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
69717         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
69718         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
69719         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
69720         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
69721         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
69722         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
69723         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
69724         value.
69725         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
69726         as optional.
69727         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
69728         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
69729         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
69730         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
69731         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
69732         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
69733         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
69734         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
69735         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
69736         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
69737         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
69738         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
69739         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
69740         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
69741         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
69742         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
69743         entry.
69744         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
69745         optional.
69746         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
69747         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
69748         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
69749         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
69750         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
69751         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
69752         Likewise.
69753         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
69754         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
69755         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
69756         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
69757         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
69758         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
69759         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
69760         as optional.
69761         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
69762         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
69763         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
69764         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
69765         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
69766         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
69767         specify as optional.
69768         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
69769         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
69770         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
69771         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
69772         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
69773         [XPG3] (NL_LANGMAX): Likewise.
69774         [POSIX || XPG3] (NL_MSGMAX): Likewise.
69775         [POSIX || XPG3] (NL_NMAX): Likewise.
69776         [POSIX || XPG3] (NL_SETMAX): Likewise.
69777         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
69778         [XPG3] (NZERO): Likewise.
69779         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
69780         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
69781         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
69782         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
69783         (REG_ERANGE): Expect.
69784         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
69785         optional-constant.
69786         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
69787         Use (void) in prototype.
69788         [POSIX] (*_t): Allow.
69789         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
69790         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
69791         (WRDE_BADVAL): Expect.
69793         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
69794         expect.
69795         [XPG3 || XPG4] (O_RSYNC): Likewise.
69796         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
69797         Likewise.
69798         [XPG3 || XPG4] (pthread_sigmask): Likewise.
69799         [XPG3 || XPG4] (sigqueue): Likewise.
69800         [XPG3 || XPG4] (sigtimedwait): Likewise.
69801         [XPG3 || XPG4] (sigwaitinfo): Likewise.
69802         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
69803         [XPG3 || XPG4] (vsnprintf): Likewise.
69804         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
69805         Likewise.
69806         [XPG3 || XPG4] (blksize_t): Likewise.
69807         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
69808         Likewise.
69809         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
69810         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
69811         [XPG3 || XPG4] (struct itimerspec): Likewise.
69812         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
69813         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
69814         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
69815         [XPG3 || XPG4] (clockid_t): Likewise.
69816         [XPG3 || XPG4] (timer_t): Likewise.
69817         [XPG3 || XPG4] (clock_getres): Likewise.
69818         [XPG3 || XPG4] (clock_gettime): Likewise.
69819         [XPG3 || XPG4] (clock_settime): Likewise.
69820         [XPG3 || XPG4] (nanosleep): Likewise.
69821         [XPG3 || XPG4] (timer_create): Likewise.
69822         [XPG3 || XPG4] (timer_delete): Likewise.
69823         [XPG3 || XPG4] (timer_gettime): Likewise.
69824         [XPG3 || XPG4] (timer_getoverrun): Likewise.
69825         [XPG3 || XPG4] (timer_settime): Likewise.
69826         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
69827         [XPG3 || XPG4] (getlogin_r): Likewise.
69828         [XPG3 || XPG4] (pread): Likewise.
69829         [XPG3 || XPG4] (pthread_atfork): Likewise.
69830         [XPG3 || XPG4] (pwrite): Likewise.
69832         [BZ #14835]
69833         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
69834         <bits/siginfo.h>.
69836 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
69838         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
69839         finalizing MALLSTREAM.
69841         * sysdeps/mach/hurd/syncfs.c: New file.
69843 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
69845         [BZ #14719]
69846         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
69847         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
69848         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
69849         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
69850         (_nss_dns_gethostbyname4_r): Likewise.
69851         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
69852         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
69854 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
69856         [BZ #13763]
69857         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
69859 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
69861         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
69862         * elf/cache.c (print_entry): Print ",AArch64" for
69863         FLAG_AARCH64_LIB64
69865         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
69866         * elf/cache.c (print_entry): Print ",hard-float" for
69867         FLAG_ARM_LIBHF.
69869 2012-11-18  David S. Miller  <davem@davemloft.net>
69871         With help from Joseph Myers.
69872         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
69873         cutoff to 2**-13.
69874         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
69875         cutoff to 2**-25.
69876         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
69877         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
69878         small.
69879         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
69880         * math/libm-test.inc (y0_test): New tests.
69881         (y1_test): New tests.
69882         * sysdeps/i386/fpu/libm-test-ulps: Update.
69883         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69884         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69886 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
69888         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
69889         64-bit targets.
69890         * configure: Regenerated.
69892 2012-11-17  David S. Miller  <davem@davemloft.net>
69894         [BZ #14811]
69895         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
69896         nonzero exponents with absolute value below 0x1p-128 to +/-
69897         0x1p-128.
69899 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
69901         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
69903         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
69905         * posix/getconf-speclist.c: New file.
69906         * posix/posix-envs.def: Likewise.
69907         * posix/confstr.c (START_ENV_GROUP): New macro.
69908         (END_ENV_GROUP): Likewise.
69909         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
69910         (KNOWN_PRESENT_ENV_STRING): Likewise.
69911         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
69912         (UNKNOWN_ENVIRONMENT): Likewise.
69913         (confstr): Include posix-envs.def instead of handling
69914         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
69915         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
69916         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
69917         (END_ENV_GROUP): Likewise.
69918         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
69919         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
69920         (UNKNOWN_ENVIRONMENT): Likewise.
69921         (__sysconf): Include posix-envs.def instead of handling associated
69922         cases directly here.
69923         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
69924         preprocessing getconf-speclist.c rather than running getconf or
69925         generating empty file.
69927 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
69929         * scripts/check-local-headers.sh: Ignore 'mach' headers.
69931 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
69933         [BZ #14672]
69934         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
69936 2012-11-16  David S. Miller  <davem@davemloft.net>
69938         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
69939         smaller than LDBL_EPSILON/2.0L, just return xm1.
69941 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
69943         * elf/tst-array1.c (init): Set constructor priority to 1000.
69944         (fini): Set destructor priority to 1000.
69945         * elf/tst-array2dep.c: Likewise.
69947 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
69949         [BZ #11741]
69950         * libio/fileops.c (_IO_new_file_write): Correctly return error.
69951         (_IO_new_file_xsputn): Also return EOF if none of the input
69952         data was written when overflow failed.
69953         * libio/iopadn.c (_IO_padn): Likewise.
69954         * libio/iowpadn.c (_IO_wpadn): Likewise.
69955         * stdio-common/tst-put-error.c: Add copyright notice.
69956         (do_test): Add case for printing padded string.
69957         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
69958         _IO_padn returned error.
69959         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
69960         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
69961         return EOF.
69963 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
69965         * libio/libioP.h: Add comment note that the references to C++
69966         bits are now obsolete.
69968 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
69970         * math/libm-test.inc (check_complex): Use asprintf.
69972 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
69974         * debug/pcprofiledump.c (print_version): Update copyright year.
69975         * malloc/memusagestat.c (print_version): Likewise.
69977 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
69979         [BZ #14831]
69980         * elf/Makefile (tests): Add tst-audit8.
69981         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
69982         ($(objpfx)tst-audit8.out): New target.
69983         (tst-audit8-ENV): New variable.
69984         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
69985         audit if l_reloc_result is NULL.
69986         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
69987         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
69988         * elf/tst-audit8.c: New file.
69990 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
69992         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
69993         * misc/Makefile (CFLAGS-select.c): Define.
69994         * posix/Makefile (CFLAGS-pause.c): Define.
69996 2012-11-13  David S. Miller  <davem@davemloft.net>
69998         * crypt/Makefile: Move test targets after toplevel Rules
69999         inclusion.  Grab any necessary sysdep routines when linking.
70000         * crypt/md5.c (md5_process_block): Remove define, we will always
70001         name it __md5_process_block.
70002         (md5_finish_ctx): Update md5_process_block call.
70003         (md5_stream): Likewise.
70004         (md5_process_bytes): Likewise.
70005         (md5_process_block): Rename to __md5_process_block and move to ...
70006         * crypt/md5-block.c: ... here.
70007         * crypt/sha256.c (sha256_process_block): Move to ...
70008         * crypt/sha256-block.c: ... here.
70009         * crypt/sha512.c (sha512_process_block): Move to ...
70010         * crypt/sha512-block.c: ... here.
70011         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
70012         path.
70013         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
70014         * sysdeps/sparc/sparc64/multiarch/Makefile
70015         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
70016         crypt subdir.
70017         (localedef-aux): Add md5 crypto assembler when in locale subdir.
70018         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
70019         multiarch changes.
70020         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
70021         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
70022         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
70023         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
70024         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
70025         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
70026         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
70027         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
70028         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
70029         file.
70030         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
70031         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
70032         file.
70033         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
70035 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
70037         * timezone/tzselect.ksh: Update from tzcode git revision
70038         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
70039         * timezone/zdump.c: Likewise.
70040         * timezone/zic.c: Likewise.
70041         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
70042         in TZVERSION setting, not $(PKGVERSION).
70043         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
70044         REPORT_BUGS_TO settings.
70046         [BZ #14838]
70047         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
70048         macro.
70050 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
70052         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
70053         detection to immediately after _FP_ROUND().
70054         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
70055         bits are 0.
70057 2012-11-11  David S. Miller  <davem@davemloft.net>
70059         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
70060         inttypes.h
70061         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
70062         __close rather than their public counterparts.
70064 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
70066         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
70067         file.
70068         [UNIX98] (sem_timedwait): Do not expect.
70069         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
70070         [XPG4 || UNIX98] (sockatmark): Do not expect.
70071         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
70072         (clock_getcpuclockid): Do not expect.
70073         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
70074         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
70075         Do not expect.
70076         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
70077         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
70078         [UNIX98] (vwscanf): Likewise.
70079         [UNIX98] (vswscanf): Likewise.
70081 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
70083         * timezone/version.h: Remove file.
70084         * timezone/README: Do not refer to version.h.
70085         * timezone/Makefile ($(objpfx)zic.o): New dependency on
70086         $(objpfx)version.h.
70087         ($(objpfx)zdump.o): Likewise.
70088         ($(objpfx)version.h): New target.
70090         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
70091         2012i.
70092         * timezone/README: Don't mention modification to tzselect.ksh.
70093         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
70094         work on unmodified tzselect.ksh.  Substitute version numbers in
70095         tzselect.ksh.
70097         * Makefile (format-me): Remove.
70098         (INSTALL): Adjust indentation.  Use commands directly instead of
70099         using $(format-me).
70101         * aclocal.m4 (ACX_PKGVERSION): New macro.
70102         (ACX_BUGURL): Likewise.
70103         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
70104         (PKGVERSION): New AC_DEFINE_UNQUOTED.
70105         (REPORT_BUGS_TO): Likewise.
70106         * configure: Regenerated.
70107         * config.h.in (PKGVERSION): New macro.
70108         (REPORT_BUGS_TO): Likewise.
70109         * config.make.in (PKGVERSION): New variable.
70110         (PKGVERSION_TEXI): Likewise.
70111         (REPORT_BUGS_TO): Likewise.
70112         (REPORT_BUGS_TEXI): Likewise.
70113         * Makefile (format-me): Use -I$(common-objpfx)manual.
70114         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
70115         ($(common-objpfx)manual/%): New target.
70116         (manual/%): Remove target.
70117         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
70118         (print_version): Use PKGVERSION.
70119         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
70120         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
70121         and REPORT_BUGS_TO.
70122         ($(objpfx)xtrace): Likewise.
70123         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
70124         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
70125         (print_version): Use PKGVERSION.
70126         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
70127         (do_version): Use PKGVERSION.
70128         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
70129         REPORT_BUGS_TO.
70130         (common-ldd-rewrite): Likewise.
70131         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
70132         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
70133         (print_version): Use PKGVERSION.
70134         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
70135         * elf/pldd.c (argp_program_bug_address): Remove variable.
70136         (more_help): New function.
70137         (argp): Use more_help.
70138         (print_version): Use PKGVERSION.
70139         * elf/sln.c (main): Use PKGVERSION.
70140         (usage): Use REPORT_BUGS_TO.
70141         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
70142         (top level): Use PKGVERSION.
70143         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
70144         (print_version): Use PKGVERSION.
70145         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
70146         (print_version): Use PKGVERSION.
70147         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
70148         (print_version): Use PKGVERSION.
70149         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
70150         (print_version): Use PKGVERSION.
70151         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
70152         (print_version): Use PKGVERSION.
70153         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
70154         (print_version): Use PKGVERSION.
70155         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
70156         and BUGURL.
70157         ($(objpfx)memusage): Likewise.
70158         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
70159         (do_version): Use PKGVERSION.
70160         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
70161         (print_version): Use PKGVERSION.
70162         * malloc/mtrace.pl ($PACKAGE): Remove variable.
70163         ($PKGVERSION): New variable.
70164         ($REPORT_BUGS_TO): Likewise.
70165         (usage): Use $REPORT_BUGS_TO.
70166         (top level): Use $PKGVERSION.
70167         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
70168         ($(objpfx)pkgvers.texi): New rule.
70169         ($(objpfx)stamp-pkgvers): Likewise.
70170         * manual/install.texi: Include pkgvers.texi.
70171         (--with-pkgversion): Document new configure option.
70172         (--with-bugurl): Likewise.
70173         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
70174         than necessarily for this particular distribution.  Use
70175         REPORT_BUGS_TO for where to report bugs.
70176         * INSTALL: Regenerated.
70177         * manual/libc.texinfo: Include pkgvers.texi.
70178         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
70179         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
70180         (print_version): Use PKGVERSION.
70181         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
70182         (print_version): Use PKGVERSION.
70183         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
70184         (print_version): Use PKGVERSION.
70185         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
70186         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
70187         macro.
70188         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
70189         (print_version): Use PKGVERSION.
70190         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
70191         (print_version): Use PKGVERSION.
70192         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
70193         and PKGVERSION.
70195         * timezone/checktab.awk: Update from tzcode 2012i.
70196         * timezone/ialloc.c: Likewise.
70197         * timezone/private.h: Likewise.
70198         * timezone/scheck.c: Likewise.
70199         * timezone/tzfile.h: Likewise.
70200         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
70201         (TZVERSION): Hardcode tzcode version number.
70202         * timezone/zdump.c: Update from tzcode 2012i.
70203         * timezone/zic.c: Likewise.
70204         * timezone/version.h: New file.
70205         * timezone/README: Describe version.h.  Update upstream location.
70207         [BZ #14824]
70208         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
70209         (mktemp): Enable declaration.
70210         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
70211         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
70212         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
70213         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
70214         Likewise.
70215         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
70216         Likewise.
70217         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
70218         Likewise.
70219         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
70220         Likewise.
70221         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
70222         Likewise.
70223         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
70224         Likewise.
70226         [BZ #14821]
70227         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
70228         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
70229         for copies of such integer values.
70230         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
70231         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
70233 2012-11-09  Andreas Jaeger  <aj@suse.de>
70235         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
70236         definitions and declarations that are provided by
70237         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
70239 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70241         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
70242         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
70243         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
70244         definition.
70246 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
70248         * elf/elf.h: Update comment before AArch64 relocations.
70250 2012-11-07  David S. Miller  <davem@davemloft.net>
70252         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
70253         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
70254         (__start_context): Declare.
70255         (__makecontext_ret): Delete.
70256         (__makecontext): Hook up __start_context instead of
70257         __makecontext_ret.
70258         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
70259         (sysdep_routines): Add __start_context when in stdlib.
70261 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
70263         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
70264         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
70265         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
70266         hardcoded "nm".
70267         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
70268         (READELF): New variable.  Use it instead of hardcoded "readelf".
70270 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
70272         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
70273         * sysdeps/x86/Makefile: Here.
70274         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
70275         * sysdeps/x86/tst-xmmymm.sh: This.
70277 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
70279         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
70280         expectations.
70281         [UNIX98] (pthread_barrier_t): Do not expect.
70282         [UNIX98] (pthread_barrierattr_t): Likewise.
70283         [UNIX98] (pthread_spinlock_t): Likewise.
70284         [UNIX98] (pthread_barrier_destroy): Likewise.
70285         [UNIX98] (pthread_barrier_init): Likewise.
70286         [UNIX98] (pthread_barrier_wait): Likewise.
70287         [UNIX98] (pthread_barrierattr_destroy): Likewise.
70288         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
70289         [UNIX98] (pthread_barrierattr_init): Likewise.
70290         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
70291         [UNIX98] (pthread_getcpuclockid): Likewise.
70292         [UNIX98] (pthread_mutex_timedlock): Likewise.
70293         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
70294         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
70295         [UNIX98] (pthread_sigmask): Likewise.
70296         [UNIX98] (pthread_spin_destroy): Likewise.
70297         [UNIX98] (pthread_spin_init): Likewise.
70298         [UNIX98] (pthread_spin_lock): Likewise.
70299         [UNIX98] (pthread_spin_trylock): Likewise.
70300         [UNIX98] (pthread_spin_unlock): Likewise.
70301         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
70302         Do not expect.
70303         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
70304         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
70305         [XPG3 || XPG4] (pthread_cond_t): Likewise.
70306         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
70307         [XPG3 || XPG4] (pthread_key_t): Likewise.
70308         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
70309         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
70310         [XPG3 || XPG4] (pthread_once_t): Likewise.
70311         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
70312         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
70313         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
70314         [XPG3 || XPG4] (pthread_t): Likewise.
70316         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
70317         not expect.
70318         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
70320         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
70321         Change function return type to int.
70323         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
70324         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
70325         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
70326         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
70327         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
70328         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
70329         [!POSIX] (posix_madvise): Likewise.
70330         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
70331         && !UNIX98].
70332         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
70333         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
70334         (mode_t): Likewise.
70335         (posix_mem_offset): Likewise.
70336         (posix_typed_mem_get_info): Likewise.
70337         (posix_typed_mem_open): Likewise.
70339         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
70340         Change condition to [XOPEN2K8].
70342         * conform/conformtest.pl: Preprocess allow-header data with -x c
70343         instead of from stdin.
70344         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
70345         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
70346         [C99-based standards] (cerfc): Likewise.
70347         [C99-based standards] (cexp2): Likewise.
70348         [C99-based standards] (cexpm1): Likewise.
70349         [C99-based standards] (clog10): Likewise.
70350         [C99-based standards] (clog1p): Likewise.
70351         [C99-based standards] (clog2): Likewise.
70352         [C99-based standards] (clgamma): Likewise.
70353         [C99-based standards] (ctgamma): Likewise.
70354         [C99-based standards] (cerff): Likewise.
70355         [C99-based standards] (cerfcf): Likewise.
70356         [C99-based standards] (cexp2f): Likewise.
70357         [C99-based standards] (cexpm1f): Likewise.
70358         [C99-based standards] (clog10f): Likewise.
70359         [C99-based standards] (clog1pf): Likewise.
70360         [C99-based standards] (clog2f): Likewise.
70361         [C99-based standards] (clgammaf): Likewise.
70362         [C99-based standards] (ctgammaf): Likewise.
70363         [C99-based standards] (cerfl): Likewise.
70364         [C99-based standards] (cerfcl): Likewise.
70365         [C99-based standards] (cexp2l): Likewise.
70366         [C99-based standards] (cexpm1l): Likewise.
70367         [C99-based standards] (clog10l): Likewise.
70368         [C99-based standards] (clog1pl): Likewise.
70369         [C99-based standards] (clog2l): Likewise.
70370         [C99-based standards] (clgammal): Likewise.
70371         [C99-based standards] (ctgammal): Likewise.
70372         * conform/data/inttypes.h-data [C99-based standards]: Include
70373         stdint.h-data.  Remove all expectations for stdint.h contents.
70374         [C99-based standards] (PRI*): Do not allow.
70375         [C99-based standards] (SCN*): Likewise.
70376         [C99-based standards] (*_t): Likewise.
70377         [C99-based-standards] (PRId8): Expect macro.
70378         [C99-based-standards] (PRIi8): Likewise.
70379         [C99-based-standards] (PRIo8): Likewise.
70380         [C99-based-standards] (PRIu8): Likewise.
70381         [C99-based-standards] (PRIx8): Likewise.
70382         [C99-based-standards] (PRIX8): Likewise.
70383         [C99-based-standards] (SCNd8): Likewise.
70384         [C99-based-standards] (SCNi8): Likewise.
70385         [C99-based-standards] (SCNo8): Likewise.
70386         [C99-based-standards] (SCNu8): Likewise.
70387         [C99-based-standards] (SCNx8): Likewise.
70388         [C99-based-standards] (PRIdLEAST8): Likewise.
70389         [C99-based-standards] (PRIiLEAST8): Likewise.
70390         [C99-based-standards] (PRIoLEAST8): Likewise.
70391         [C99-based-standards] (PRIuLEAST8): Likewise.
70392         [C99-based-standards] (PRIxLEAST8): Likewise.
70393         [C99-based-standards] (PRIXLEAST8): Likewise.
70394         [C99-based-standards] (SCNdLEAST8): Likewise.
70395         [C99-based-standards] (SCNiLEAST8): Likewise.
70396         [C99-based-standards] (SCNoLEAST8): Likewise.
70397         [C99-based-standards] (SCNuLEAST8): Likewise.
70398         [C99-based-standards] (SCNxLEAST8): Likewise.
70399         [C99-based-standards] (PRIdFAST8): Likewise.
70400         [C99-based-standards] (PRIiFAST8): Likewise.
70401         [C99-based-standards] (PRIoFAST8): Likewise.
70402         [C99-based-standards] (PRIuFAST8): Likewise.
70403         [C99-based-standards] (PRIxFAST8): Likewise.
70404         [C99-based-standards] (PRIXFAST8): Likewise.
70405         [C99-based-standards] (SCNdFAST8): Likewise.
70406         [C99-based-standards] (SCNiFAST8): Likewise.
70407         [C99-based-standards] (SCNoFAST8): Likewise.
70408         [C99-based-standards] (SCNuFAST8): Likewise.
70409         [C99-based-standards] (SCNxFAST8): Likewise.
70410         [C99-based-standards] (PRId16): Likewise.
70411         [C99-based-standards] (PRIi16): Likewise.
70412         [C99-based-standards] (PRIo16): Likewise.
70413         [C99-based-standards] (PRIu16): Likewise.
70414         [C99-based-standards] (PRIx16): Likewise.
70415         [C99-based-standards] (PRIX16): Likewise.
70416         [C99-based-standards] (SCNd16): Likewise.
70417         [C99-based-standards] (SCNi16): Likewise.
70418         [C99-based-standards] (SCNo16): Likewise.
70419         [C99-based-standards] (SCNu16): Likewise.
70420         [C99-based-standards] (SCNx16): Likewise.
70421         [C99-based-standards] (PRIdLEAST16): Likewise.
70422         [C99-based-standards] (PRIiLEAST16): Likewise.
70423         [C99-based-standards] (PRIoLEAST16): Likewise.
70424         [C99-based-standards] (PRIuLEAST16): Likewise.
70425         [C99-based-standards] (PRIxLEAST16): Likewise.
70426         [C99-based-standards] (PRIXLEAST16): Likewise.
70427         [C99-based-standards] (SCNdLEAST16): Likewise.
70428         [C99-based-standards] (SCNiLEAST16): Likewise.
70429         [C99-based-standards] (SCNoLEAST16): Likewise.
70430         [C99-based-standards] (SCNuLEAST16): Likewise.
70431         [C99-based-standards] (SCNxLEAST16): Likewise.
70432         [C99-based-standards] (PRIdFAST16): Likewise.
70433         [C99-based-standards] (PRIiFAST16): Likewise.
70434         [C99-based-standards] (PRIoFAST16): Likewise.
70435         [C99-based-standards] (PRIuFAST16): Likewise.
70436         [C99-based-standards] (PRIxFAST16): Likewise.
70437         [C99-based-standards] (PRIXFAST16): Likewise.
70438         [C99-based-standards] (SCNdFAST16): Likewise.
70439         [C99-based-standards] (SCNiFAST16): Likewise.
70440         [C99-based-standards] (SCNoFAST16): Likewise.
70441         [C99-based-standards] (SCNuFAST16): Likewise.
70442         [C99-based-standards] (SCNxFAST16): Likewise.
70443         [C99-based-standards] (PRId32): Likewise.
70444         [C99-based-standards] (PRIi32): Likewise.
70445         [C99-based-standards] (PRIo32): Likewise.
70446         [C99-based-standards] (PRIu32): Likewise.
70447         [C99-based-standards] (PRIx32): Likewise.
70448         [C99-based-standards] (PRIX32): Likewise.
70449         [C99-based-standards] (SCNd32): Likewise.
70450         [C99-based-standards] (SCNi32): Likewise.
70451         [C99-based-standards] (SCNo32): Likewise.
70452         [C99-based-standards] (SCNu32): Likewise.
70453         [C99-based-standards] (SCNx32): Likewise.
70454         [C99-based-standards] (PRIdLEAST32): Likewise.
70455         [C99-based-standards] (PRIiLEAST32): Likewise.
70456         [C99-based-standards] (PRIoLEAST32): Likewise.
70457         [C99-based-standards] (PRIuLEAST32): Likewise.
70458         [C99-based-standards] (PRIxLEAST32): Likewise.
70459         [C99-based-standards] (PRIXLEAST32): Likewise.
70460         [C99-based-standards] (SCNdLEAST32): Likewise.
70461         [C99-based-standards] (SCNiLEAST32): Likewise.
70462         [C99-based-standards] (SCNoLEAST32): Likewise.
70463         [C99-based-standards] (SCNuLEAST32): Likewise.
70464         [C99-based-standards] (SCNxLEAST32): Likewise.
70465         [C99-based-standards] (PRIdFAST32): Likewise.
70466         [C99-based-standards] (PRIiFAST32): Likewise.
70467         [C99-based-standards] (PRIoFAST32): Likewise.
70468         [C99-based-standards] (PRIuFAST32): Likewise.
70469         [C99-based-standards] (PRIxFAST32): Likewise.
70470         [C99-based-standards] (PRIXFAST32): Likewise.
70471         [C99-based-standards] (SCNdFAST32): Likewise.
70472         [C99-based-standards] (SCNiFAST32): Likewise.
70473         [C99-based-standards] (SCNoFAST32): Likewise.
70474         [C99-based-standards] (SCNuFAST32): Likewise.
70475         [C99-based-standards] (SCNxFAST32): Likewise.
70476         [C99-based-standards] (PRId64): Likewise.
70477         [C99-based-standards] (PRIi64): Likewise.
70478         [C99-based-standards] (PRIo64): Likewise.
70479         [C99-based-standards] (PRIu64): Likewise.
70480         [C99-based-standards] (PRIx64): Likewise.
70481         [C99-based-standards] (PRIX64): Likewise.
70482         [C99-based-standards] (SCNd64): Likewise.
70483         [C99-based-standards] (SCNi64): Likewise.
70484         [C99-based-standards] (SCNo64): Likewise.
70485         [C99-based-standards] (SCNu64): Likewise.
70486         [C99-based-standards] (SCNx64): Likewise.
70487         [C99-based-standards] (PRIdLEAST64): Likewise.
70488         [C99-based-standards] (PRIiLEAST64): Likewise.
70489         [C99-based-standards] (PRIoLEAST64): Likewise.
70490         [C99-based-standards] (PRIuLEAST64): Likewise.
70491         [C99-based-standards] (PRIxLEAST64): Likewise.
70492         [C99-based-standards] (PRIXLEAST64): Likewise.
70493         [C99-based-standards] (SCNdLEAST64): Likewise.
70494         [C99-based-standards] (SCNiLEAST64): Likewise.
70495         [C99-based-standards] (SCNoLEAST64): Likewise.
70496         [C99-based-standards] (SCNuLEAST64): Likewise.
70497         [C99-based-standards] (SCNxLEAST64): Likewise.
70498         [C99-based-standards] (PRIdFAST64): Likewise.
70499         [C99-based-standards] (PRIiFAST64): Likewise.
70500         [C99-based-standards] (PRIoFAST64): Likewise.
70501         [C99-based-standards] (PRIuFAST64): Likewise.
70502         [C99-based-standards] (PRIxFAST64): Likewise.
70503         [C99-based-standards] (PRIXFAST64): Likewise.
70504         [C99-based-standards] (SCNdFAST64): Likewise.
70505         [C99-based-standards] (SCNiFAST64): Likewise.
70506         [C99-based-standards] (SCNoFAST64): Likewise.
70507         [C99-based-standards] (SCNuFAST64): Likewise.
70508         [C99-based-standards] (SCNxFAST64): Likewise.
70509         [C99-based-standards] (PRIdMAX): Likewise.
70510         [C99-based-standards] (PRIiMAX): Likewise.
70511         [C99-based-standards] (PRIoMAX): Likewise.
70512         [C99-based-standards] (PRIuMAX): Likewise.
70513         [C99-based-standards] (PRIxMAX): Likewise.
70514         [C99-based-standards] (PRIXMAX): Likewise.
70515         [C99-based-standards] (SCNdMAX): Likewise.
70516         [C99-based-standards] (SCNiMAX): Likewise.
70517         [C99-based-standards] (SCNoMAX): Likewise.
70518         [C99-based-standards] (SCNuMAX): Likewise.
70519         [C99-based-standards] (SCNxMAX): Likewise.
70520         [C99-based-standards] (PRIdPTR): Likewise.
70521         [C99-based-standards] (PRIiPTR): Likewise.
70522         [C99-based-standards] (PRIoPTR): Likewise.
70523         [C99-based-standards] (PRIuPTR): Likewise.
70524         [C99-based-standards] (PRIxPTR): Likewise.
70525         [C99-based-standards] (PRIXPTR): Likewise.
70526         [C99-based-standards] (SCNdPTR): Likewise.
70527         [C99-based-standards] (SCNiPTR): Likewise.
70528         [C99-based-standards] (SCNoPTR): Likewise.
70529         [C99-based-standards] (SCNuPTR): Likewise.
70530         [C99-based-standards] (SCNxPTR): Likewise.
70531         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
70532         allow.
70533         * conform/data/stdint.h-data: Update comments to clarify
70534         requirements.
70535         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
70536         type.
70537         [C99-based standards] (INT8_MAX): Likewise.
70538         [C99-based standards] (INT16_MIN): Likewise.
70539         [C99-based standards] (INT16_MAX): Likewise.
70540         [C99-based standards] (INT32_MIN): Likewise.
70541         [C99-based standards] (INT32_MAX): Likewise.
70542         [C99-based standards] (INT64_MIN): Likewise.
70543         [C99-based standards] (INT64_MAX): Likewise.
70544         [C99-based standards] (UINT8_MAX): Likewise.
70545         [C99-based standards] (UINT16_MAX): Likewise.
70546         [C99-based standards] (UINT32_MAX): Likewise.
70547         [C99-based standards] (UINT64_MAX): Likewise.
70548         [C99-based standards] (INT_LEAST8_MIN): Likewise.
70549         [C99-based standards] (INT_LEAST8_MAX): Likewise.
70550         [C99-based standards] (INT_LEAST16_MIN): Likewise.
70551         [C99-based standards] (INT_LEAST16_MAX): Likewise.
70552         [C99-based standards] (INT_LEAST32_MIN): Likewise.
70553         [C99-based standards] (INT_LEAST32_MAX): Likewise.
70554         [C99-based standards] (INT_LEAST64_MIN): Likewise.
70555         [C99-based standards] (INT_LEAST64_MAX): Likewise.
70556         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
70557         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
70558         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
70559         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
70560         [C99-based standards] (INT_FAST8_MIN): Likewise.
70561         [C99-based standards] (INT_FAST8_MAX): Likewise.
70562         [C99-based standards] (INT_FAST16_MIN): Likewise.
70563         [C99-based standards] (INT_FAST16_MAX): Likewise.
70564         [C99-based standards] (INT_FAST32_MIN): Likewise.
70565         [C99-based standards] (INT_FAST32_MAX): Likewise.
70566         [C99-based standards] (INT_FAST64_MIN): Likewise.
70567         [C99-based standards] (INT_FAST64_MAX): Likewise.
70568         [C99-based standards] (UINT_FAST8_MAX): Likewise.
70569         [C99-based standards] (UINT_FAST16_MAX): Likewise.
70570         [C99-based standards] (UINT_FAST32_MAX): Likewise.
70571         [C99-based standards] (UINT_FAST64_MAX): Likewise.
70572         [C99-based standards] (INTPTR_MIN): Likewise.
70573         [C99-based standards] (INTPTR_MAX): Likewise.
70574         [C99-based standards] (UINTPTR_MAX): Likewise.
70575         [C99-based standards] (INTMAX_MIN): Likewise.
70576         [C99-based standards] (INTMAX_MAX): Likewise.
70577         [C99-based standards] (UINTMAX_MAX): Likewise.
70578         [C99-based standards] (PTRDIFF_MIN): Likewise.
70579         [C99-based standards] (PTRDIFF_MAX): Likewise.
70580         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
70581         [C99-based standards] (SIZE_MAX): Likewise.
70582         [C99-based standards] (WCHAR_MAX): Likewise.
70583         [C99-based standards] (WINT_MAX): Likewise.
70584         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
70585         constraint on value.
70586         [C99-based standards] (WCHAR_MIN): Likewise.
70587         [C99-based standards] (WINT_MIN): Likewise.
70588         [C99-based standards] (*_t): Allow.
70589         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
70590         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
70591         Include math.h-data and complex.h-data.  Remove all expectations
70592         of math.h and complex.h contents.
70593         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
70594         at end of line.
70595         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
70596         (struct tm): Expect tag.
70597         [C99-based-standards] (wcstof): Expect function.
70598         [C99-based-standards] (wcstold): Likewise.
70599         [C99-based-standards] (wcstoll): Likewise.
70600         [C99-based-standards] (wcstoull): Likewise.
70601         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
70602         macro-int-constant.  Specify type.
70603         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
70604         constraint on value.
70605         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
70606         Specify type.
70607         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
70608         Specify value.
70609         [ISO C standards]: Do not allow headers.
70610         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
70611         wcs[abcdefghijklmnopqrstuvwxyz]*.
70612         [ISO C standards] (*_t): Do not allow.
70613         * conform/data/wctype.h-data [C99-based standards] (iswblank):
70614         Expect function.
70615         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
70616         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
70617         Specify type.
70618         [ISO C standards]: Do not allow headers.
70619         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
70620         is[abcdefghijklmnopqrstuvwxyz]*.
70621         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
70622         to[abcdefghijklmnopqrstuvwxyz]*.
70623         [ISO C standards] (*_t): Do not allow.
70624         * conform/data/stdalign.h-data: New file.
70625         * conform/data/stdbool.h-data: Likewise.
70626         * conform/data/stdnoreturn.h-data: Likewise.
70628 2012-11-07  Roland McGrath  <roland@hack.frob.com>
70630         [BZ #14815]
70631         * manual/filesys.texi (Directory Entries): Typo fix.
70632         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
70634 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
70636         * elf/elf.h (EM_AARCH64): New macro.
70637         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
70638         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
70639         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
70640         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
70641         (R_AARCH64_TLSDESC): Likewise.
70642         (NT_ARM_TLS): Likewise.
70643         (NT_ARM_HW_BREAK): Likewise.
70644         (NT_ARM_HW_WATCH): Likewise.
70646 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
70648         [BZ #14811]
70649         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
70650         (__ieee754_powl): Saturate nonzero exponents with absolute value
70651         below 0x1p-79 to +/- 0x1p-79.
70652         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
70653         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
70654         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
70655         nonzero exponents with absolute value below 0x1p-32 to +/-
70656         0x1p-32.
70657         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
70658         (__ieee754_powl): Saturate nonzero exponents with absolute value
70659         below 0x1p-79 to +/- 0x1p-79.
70660         * math/libm-test.inc (pow_test): Add more tests.
70662 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70664         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
70665         _dl_s390_cap_flags with kernel. Increase string length.
70666         (_dl_s390_platforms): Add z196 and zEC12.
70668 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
70670         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
70671         Change XOPEN21K to XOPEN2K.
70673 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
70675         * string/memmove.c: Use memcpy when possible.
70677 2012-11-06  Andreas Jaeger  <aj@suse.de>
70679         * po/eo.po: Update from translation team.
70681 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
70683         [BZ #14793]
70684         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
70685         exponent and small x and y exponents, scale x or y up.  Increase
70686         by 2 the exponent used in scaling up.
70687         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
70688         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70689         * math/libm-test.inc (fma_test): Add more tests.
70690         (fma_test_towardzero): Likewise.
70691         (fma_test_downward): Likewise.
70692         (fma_test_upward): Likewise.
70694 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
70696         [BZ #14805]
70697         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
70698         fenv_t *.
70700         [BZ #14801]
70701         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
70702         namespace for names of struct fields.
70703         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
70704         fenv_t fields.
70705         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
70706         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
70708 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70710         [BZ #3665]
70711         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
70713 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
70715         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
70716         PTR_DEMANGLE.
70718         [BZ #5246]
70719         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
70720         PTR_DEMANGLE.
70722 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
70724         [BZ #14797]
70725         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
70726         definitely overflow as x * y not x * y + z.
70727         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
70728         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70729         * math/libm-test.inc (fma_test): Add more tests.
70730         (fma_test_towardzero): Likewise.
70731         (fma_test_downward): Likewise.
70732         (fma_test_upward): Likewise.
70734 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
70736         [BZ #157]
70738         * include/stub-tag.h: Remove file.
70739         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
70740         '#include' of it.
70741         * manual/maint.texi (Porting): Don't reference it.
70742         * Makerules ($(objpfx)stubs): Likewise.
70743         * dirent/closedir.c: Don't include <stub-tag.h>.
70744         * dirent/dirfd.c: Likewise.
70745         * dirent/fdopendir.c: Likewise.
70746         * dirent/getdents.c: Likewise.
70747         * dirent/getdents64.c: Likewise.
70748         * dirent/opendir.c: Likewise.
70749         * dirent/readdir.c: Likewise.
70750         * dirent/readdir64.c: Likewise.
70751         * dirent/readdir64_r.c: Likewise.
70752         * dirent/readdir_r.c: Likewise.
70753         * dirent/rewinddir.c: Likewise.
70754         * dirent/seekdir.c: Likewise.
70755         * dirent/telldir.c: Likewise.
70756         * gmon/profil.c: Likewise.
70757         * grp/setgroups.c: Likewise.
70758         * inet/if_index.c: Likewise.
70759         * io/access.c: Likewise.
70760         * io/chdir.c: Likewise.
70761         * io/chmod.c: Likewise.
70762         * io/chown.c: Likewise.
70763         * io/close.c: Likewise.
70764         * io/dup.c: Likewise.
70765         * io/dup2.c: Likewise.
70766         * io/dup3.c: Likewise.
70767         * io/euidaccess.c: Likewise.
70768         * io/faccessat.c: Likewise.
70769         * io/fchdir.c: Likewise.
70770         * io/fchmod.c: Likewise.
70771         * io/fchmodat.c: Likewise.
70772         * io/fchown.c: Likewise.
70773         * io/fchownat.c: Likewise.
70774         * io/fcntl.c: Likewise.
70775         * io/flock.c: Likewise.
70776         * io/fstatfs.c: Likewise.
70777         * io/fstatfs64.c: Likewise.
70778         * io/fstatvfs.c: Likewise.
70779         * io/fstatvfs64.c: Likewise.
70780         * io/futimens.c: Likewise.
70781         * io/fxstat.c: Likewise.
70782         * io/fxstat64.c: Likewise.
70783         * io/fxstatat.c: Likewise.
70784         * io/fxstatat64.c: Likewise.
70785         * io/getcwd.c: Likewise.
70786         * io/isatty.c: Likewise.
70787         * io/lchmod.c: Likewise.
70788         * io/lchown.c: Likewise.
70789         * io/link.c: Likewise.
70790         * io/linkat.c: Likewise.
70791         * io/lseek.c: Likewise.
70792         * io/lseek64.c: Likewise.
70793         * io/lxstat64.c: Likewise.
70794         * io/mkdir.c: Likewise.
70795         * io/mkdirat.c: Likewise.
70796         * io/mkfifo.c: Likewise.
70797         * io/mkfifoat.c: Likewise.
70798         * io/open.c: Likewise.
70799         * io/open64.c: Likewise.
70800         * io/openat.c: Likewise.
70801         * io/openat64.c: Likewise.
70802         * io/pipe.c: Likewise.
70803         * io/pipe2.c: Likewise.
70804         * io/poll.c: Likewise.
70805         * io/posix_fadvise.c: Likewise.
70806         * io/posix_fadvise64.c: Likewise.
70807         * io/posix_fallocate.c: Likewise.
70808         * io/posix_fallocate64.c: Likewise.
70809         * io/read.c: Likewise.
70810         * io/readlink.c: Likewise.
70811         * io/readlinkat.c: Likewise.
70812         * io/rmdir.c: Likewise.
70813         * io/sendfile.c: Likewise.
70814         * io/sendfile64.c: Likewise.
70815         * io/statfs.c: Likewise.
70816         * io/statfs64.c: Likewise.
70817         * io/statvfs.c: Likewise.
70818         * io/statvfs64.c: Likewise.
70819         * io/symlink.c: Likewise.
70820         * io/symlinkat.c: Likewise.
70821         * io/ttyname.c: Likewise.
70822         * io/ttyname_r.c: Likewise.
70823         * io/umask.c: Likewise.
70824         * io/unlink.c: Likewise.
70825         * io/unlinkat.c: Likewise.
70826         * io/utime.c: Likewise.
70827         * io/utimensat.c: Likewise.
70828         * io/write.c: Likewise.
70829         * io/xmknod.c: Likewise.
70830         * io/xmknodat.c: Likewise.
70831         * io/xstat.c: Likewise.
70832         * io/xstat64.c: Likewise.
70833         * login/getpt.c: Likewise.
70834         * login/grantpt.c: Likewise.
70835         * login/unlockpt.c: Likewise.
70836         * math/e_acoshl.c: Likewise.
70837         * math/e_acosl.c: Likewise.
70838         * math/e_asinl.c: Likewise.
70839         * math/e_atan2l.c: Likewise.
70840         * math/e_atanhl.c: Likewise.
70841         * math/e_coshl.c: Likewise.
70842         * math/e_expl.c: Likewise.
70843         * math/e_fmodl.c: Likewise.
70844         * math/e_gammal_r.c: Likewise.
70845         * math/e_hypotl.c: Likewise.
70846         * math/e_j0l.c: Likewise.
70847         * math/e_j1l.c: Likewise.
70848         * math/e_jnl.c: Likewise.
70849         * math/e_lgammal_r.c: Likewise.
70850         * math/e_log10l.c: Likewise.
70851         * math/e_log2l.c: Likewise.
70852         * math/e_logl.c: Likewise.
70853         * math/e_powl.c: Likewise.
70854         * math/e_rem_pio2l.c: Likewise.
70855         * math/e_sinhl.c: Likewise.
70856         * math/e_sqrtl.c: Likewise.
70857         * math/fclrexcpt.c: Likewise.
70858         * math/fedisblxcpt.c: Likewise.
70859         * math/feenablxcpt.c: Likewise.
70860         * math/fegetenv.c: Likewise.
70861         * math/fegetexcept.c: Likewise.
70862         * math/fegetround.c: Likewise.
70863         * math/feholdexcpt.c: Likewise.
70864         * math/fesetenv.c: Likewise.
70865         * math/fesetround.c: Likewise.
70866         * math/feupdateenv.c: Likewise.
70867         * math/fgetexcptflg.c: Likewise.
70868         * math/fraiseexcpt.c: Likewise.
70869         * math/fsetexcptflg.c: Likewise.
70870         * math/ftestexcept.c: Likewise.
70871         * math/k_cosl.c: Likewise.
70872         * math/k_rem_pio2l.c: Likewise.
70873         * math/k_sinl.c: Likewise.
70874         * math/k_tanl.c: Likewise.
70875         * math/s_asinhl.c: Likewise.
70876         * math/s_atanl.c: Likewise.
70877         * math/s_cbrtl.c: Likewise.
70878         * math/s_erfl.c: Likewise.
70879         * math/s_expm1l.c: Likewise.
70880         * math/s_log1pl.c: Likewise.
70881         * math/s_tanhl.c: Likewise.
70882         * misc/acct.c: Likewise.
70883         * misc/brk.c: Likewise.
70884         * misc/chflags.c: Likewise.
70885         * misc/chroot.c: Likewise.
70886         * misc/fchflags.c: Likewise.
70887         * misc/fgetxattr.c: Likewise.
70888         * misc/flistxattr.c: Likewise.
70889         * misc/fremovexattr.c: Likewise.
70890         * misc/fsetxattr.c: Likewise.
70891         * misc/fsync.c: Likewise.
70892         * misc/ftruncate.c: Likewise.
70893         * misc/futimes.c: Likewise.
70894         * misc/futimesat.c: Likewise.
70895         * misc/getdomain.c: Likewise.
70896         * misc/getdtsz.c: Likewise.
70897         * misc/gethostid.c: Likewise.
70898         * misc/gethostname.c: Likewise.
70899         * misc/getloadavg.c: Likewise.
70900         * misc/getpagesize.c: Likewise.
70901         * misc/getsysstats.c: Likewise.
70902         * misc/getxattr.c: Likewise.
70903         * misc/gtty.c: Likewise.
70904         * misc/ioctl.c: Likewise.
70905         * misc/lgetxattr.c: Likewise.
70906         * misc/listxattr.c: Likewise.
70907         * misc/llistxattr.c: Likewise.
70908         * misc/lremovexattr.c: Likewise.
70909         * misc/lsetxattr.c: Likewise.
70910         * misc/lutimes.c: Likewise.
70911         * misc/madvise.c: Likewise.
70912         * misc/mincore.c: Likewise.
70913         * misc/mlock.c: Likewise.
70914         * misc/mlockall.c: Likewise.
70915         * misc/mmap.c: Likewise.
70916         * misc/mprotect.c: Likewise.
70917         * misc/msync.c: Likewise.
70918         * misc/munlock.c: Likewise.
70919         * misc/munlockall.c: Likewise.
70920         * misc/munmap.c: Likewise.
70921         * misc/preadv.c: Likewise.
70922         * misc/preadv64.c: Likewise.
70923         * misc/ptrace.c: Likewise.
70924         * misc/pwritev.c: Likewise.
70925         * misc/pwritev64.c: Likewise.
70926         * misc/readv.c: Likewise.
70927         * misc/reboot.c: Likewise.
70928         * misc/remap_file_pages.c: Likewise.
70929         * misc/removexattr.c: Likewise.
70930         * misc/revoke.c: Likewise.
70931         * misc/select.c: Likewise.
70932         * misc/setdomain.c: Likewise.
70933         * misc/setegid.c: Likewise.
70934         * misc/seteuid.c: Likewise.
70935         * misc/sethostid.c: Likewise.
70936         * misc/sethostname.c: Likewise.
70937         * misc/setregid.c: Likewise.
70938         * misc/setreuid.c: Likewise.
70939         * misc/setxattr.c: Likewise.
70940         * misc/sstk.c: Likewise.
70941         * misc/stty.c: Likewise.
70942         * misc/swapoff.c: Likewise.
70943         * misc/swapon.c: Likewise.
70944         * misc/sync.c: Likewise.
70945         * misc/syncfs.c: Likewise.
70946         * misc/syscall.c: Likewise.
70947         * misc/truncate.c: Likewise.
70948         * misc/ualarm.c: Likewise.
70949         * misc/usleep.c: Likewise.
70950         * misc/ustat.c: Likewise.
70951         * misc/utimes.c: Likewise.
70952         * misc/vhangup.c: Likewise.
70953         * misc/writev.c: Likewise.
70954         * posix/_exit.c: Likewise.
70955         * posix/alarm.c: Likewise.
70956         * posix/execve.c: Likewise.
70957         * posix/fexecve.c: Likewise.
70958         * posix/fork.c: Likewise.
70959         * posix/fpathconf.c: Likewise.
70960         * posix/getaddrinfo.c: Likewise.
70961         * posix/getegid.c: Likewise.
70962         * posix/geteuid.c: Likewise.
70963         * posix/getgid.c: Likewise.
70964         * posix/getgroups.c: Likewise.
70965         * posix/getlogin.c: Likewise.
70966         * posix/getlogin_r.c: Likewise.
70967         * posix/getpgid.c: Likewise.
70968         * posix/getpid.c: Likewise.
70969         * posix/getppid.c: Likewise.
70970         * posix/getresgid.c: Likewise.
70971         * posix/getresuid.c: Likewise.
70972         * posix/getsid.c: Likewise.
70973         * posix/getuid.c: Likewise.
70974         * posix/glob64.c: Likewise.
70975         * posix/nanosleep.c: Likewise.
70976         * posix/pathconf.c: Likewise.
70977         * posix/pause.c: Likewise.
70978         * posix/posix_madvise.c: Likewise.
70979         * posix/pread.c: Likewise.
70980         * posix/pread64.c: Likewise.
70981         * posix/pwrite.c: Likewise.
70982         * posix/pwrite64.c: Likewise.
70983         * posix/sched_getaffinity.c: Likewise.
70984         * posix/sched_getp.c: Likewise.
70985         * posix/sched_gets.c: Likewise.
70986         * posix/sched_primax.c: Likewise.
70987         * posix/sched_primin.c: Likewise.
70988         * posix/sched_rr_gi.c: Likewise.
70989         * posix/sched_setaffinity.c: Likewise.
70990         * posix/sched_setp.c: Likewise.
70991         * posix/sched_sets.c: Likewise.
70992         * posix/sched_yield.c: Likewise.
70993         * posix/setgid.c: Likewise.
70994         * posix/setlogin.c: Likewise.
70995         * posix/setpgid.c: Likewise.
70996         * posix/setresgid.c: Likewise.
70997         * posix/setresuid.c: Likewise.
70998         * posix/setsid.c: Likewise.
70999         * posix/setuid.c: Likewise.
71000         * posix/sleep.c: Likewise.
71001         * posix/spawni.c: Likewise.
71002         * posix/sysconf.c: Likewise.
71003         * posix/times.c: Likewise.
71004         * posix/wait.c: Likewise.
71005         * posix/wait3.c: Likewise.
71006         * posix/wait4.c: Likewise.
71007         * posix/waitpid.c: Likewise.
71008         * resolv/gai_sigqueue.c: Likewise.
71009         * resource/getpriority.c: Likewise.
71010         * resource/getrlimit.c: Likewise.
71011         * resource/getrusage.c: Likewise.
71012         * resource/nice.c: Likewise.
71013         * resource/setpriority.c: Likewise.
71014         * resource/setrlimit.c: Likewise.
71015         * resource/ulimit.c: Likewise.
71016         * rt/aio_cancel.c: Likewise.
71017         * rt/aio_fsync.c: Likewise.
71018         * rt/aio_read.c: Likewise.
71019         * rt/aio_sigqueue.c: Likewise.
71020         * rt/aio_suspend.c: Likewise.
71021         * rt/aio_write.c: Likewise.
71022         * rt/clock_getres.c: Likewise.
71023         * rt/clock_gettime.c: Likewise.
71024         * rt/clock_nanosleep.c: Likewise.
71025         * rt/clock_settime.c: Likewise.
71026         * rt/lio_listio.c: Likewise.
71027         * rt/mq_close.c: Likewise.
71028         * rt/mq_getattr.c: Likewise.
71029         * rt/mq_notify.c: Likewise.
71030         * rt/mq_open.c: Likewise.
71031         * rt/mq_receive.c: Likewise.
71032         * rt/mq_send.c: Likewise.
71033         * rt/mq_setattr.c: Likewise.
71034         * rt/mq_timedreceive.c: Likewise.
71035         * rt/mq_timedsend.c: Likewise.
71036         * rt/mq_unlink.c: Likewise.
71037         * rt/shm_open.c: Likewise.
71038         * rt/shm_unlink.c: Likewise.
71039         * rt/timer_create.c: Likewise.
71040         * rt/timer_delete.c: Likewise.
71041         * rt/timer_getoverr.c: Likewise.
71042         * rt/timer_gettime.c: Likewise.
71043         * rt/timer_settime.c: Likewise.
71044         * setjmp/__longjmp.c: Likewise.
71045         * setjmp/setjmp.c: Likewise.
71046         * signal/kill.c: Likewise.
71047         * signal/killpg.c: Likewise.
71048         * signal/raise.c: Likewise.
71049         * signal/sigaction.c: Likewise.
71050         * signal/sigaltstack.c: Likewise.
71051         * signal/sigblock.c: Likewise.
71052         * signal/sigignore.c: Likewise.
71053         * signal/sigintr.c: Likewise.
71054         * signal/signal.c: Likewise.
71055         * signal/sigpause.c: Likewise.
71056         * signal/sigpending.c: Likewise.
71057         * signal/sigqueue.c: Likewise.
71058         * signal/sigreturn.c: Likewise.
71059         * signal/sigset.c: Likewise.
71060         * signal/sigsetmask.c: Likewise.
71061         * signal/sigstack.c: Likewise.
71062         * signal/sigsuspend.c: Likewise.
71063         * signal/sigtimedwait.c: Likewise.
71064         * signal/sigvec.c: Likewise.
71065         * signal/sigwait.c: Likewise.
71066         * signal/sigwaitinfo.c: Likewise.
71067         * signal/sysv_signal.c: Likewise.
71068         * socket/accept.c: Likewise.
71069         * socket/accept4.c: Likewise.
71070         * socket/bind.c: Likewise.
71071         * socket/connect.c: Likewise.
71072         * socket/getpeername.c: Likewise.
71073         * socket/getsockname.c: Likewise.
71074         * socket/getsockopt.c: Likewise.
71075         * socket/isfdtype.c: Likewise.
71076         * socket/listen.c: Likewise.
71077         * socket/recv.c: Likewise.
71078         * socket/recvfrom.c: Likewise.
71079         * socket/recvmsg.c: Likewise.
71080         * socket/send.c: Likewise.
71081         * socket/sendmsg.c: Likewise.
71082         * socket/sendto.c: Likewise.
71083         * socket/setsockopt.c: Likewise.
71084         * socket/shutdown.c: Likewise.
71085         * socket/sockatmark.c: Likewise.
71086         * socket/socket.c: Likewise.
71087         * socket/socketpair.c: Likewise.
71088         * stdio-common/ctermid.c: Likewise.
71089         * stdio-common/cuserid.c: Likewise.
71090         * stdio-common/remove.c: Likewise.
71091         * stdio-common/rename.c: Likewise.
71092         * stdio-common/renameat.c: Likewise.
71093         * stdio-common/tempname.c: Likewise.
71094         * stdlib/getcontext.c: Likewise.
71095         * stdlib/makecontext.c: Likewise.
71096         * stdlib/setcontext.c: Likewise.
71097         * stdlib/swapcontext.c: Likewise.
71098         * stdlib/system.c: Likewise.
71099         * streams/fattach.c: Likewise.
71100         * streams/fdetach.c: Likewise.
71101         * streams/getmsg.c: Likewise.
71102         * streams/getpmsg.c: Likewise.
71103         * streams/putmsg.c: Likewise.
71104         * streams/putpmsg.c: Likewise.
71105         * sysdeps/unix/bsd/getpt.c: Likewise.
71106         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
71107         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
71108         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
71109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
71110         Likewise.
71111         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
71112         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
71113         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
71114         * sysvipc/msgctl.c: Likewise.
71115         * sysvipc/msgget.c: Likewise.
71116         * sysvipc/msgrcv.c: Likewise.
71117         * sysvipc/msgsnd.c: Likewise.
71118         * sysvipc/semctl.c: Likewise.
71119         * sysvipc/semget.c: Likewise.
71120         * sysvipc/semop.c: Likewise.
71121         * sysvipc/semtimedop.c: Likewise.
71122         * sysvipc/shmat.c: Likewise.
71123         * sysvipc/shmctl.c: Likewise.
71124         * sysvipc/shmdt.c: Likewise.
71125         * sysvipc/shmget.c: Likewise.
71126         * termios/tcdrain.c: Likewise.
71127         * termios/tcflow.c: Likewise.
71128         * termios/tcflush.c: Likewise.
71129         * termios/tcgetattr.c: Likewise.
71130         * termios/tcgetpgrp.c: Likewise.
71131         * termios/tcsendbrk.c: Likewise.
71132         * termios/tcsetattr.c: Likewise.
71133         * termios/tcsetpgrp.c: Likewise.
71134         * time/adjtime.c: Likewise.
71135         * time/clock.c: Likewise.
71136         * time/getitimer.c: Likewise.
71137         * time/gettimeofday.c: Likewise.
71138         * time/setitimer.c: Likewise.
71139         * time/settimeofday.c: Likewise.
71140         * time/stime.c: Likewise.
71141         * time/time.c: Likewise.
71143 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
71145         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
71146         /usr/old/bin.
71148         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
71149         instead of spaces.
71150         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
71152 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
71154         [BZ #14796]
71155         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
71156         FE_TONEAREST before applying Dekker multiplication and Knuth
71157         addition.  Clear inexact exceptions and check for exact zero
71158         results afterwards.
71159         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71160         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
71161         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71162         * math/libm-test.inc (fma_test): Add more tests.
71163         (fma_test_towardzero): Likewise.
71164         (fma_test_downward): Likewise.
71165         (fma_test_upward): Likewise.
71166         * sysdeps/generic/math_private.h (default_libc_fesetround): New
71167         function.
71168         (libc_fesetround): New macro.
71169         (libc_fesetroundf): Likewise.
71170         (libc_fesetroundl): Likewise.
71171         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
71172         function.
71173         (libc_fesetround_387): Likewise.
71174         (libc_fesetroundf): New macro.
71175         (libc_fesetround): Likewise.
71176         (libc_fesetroundl): Likewise.
71177         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
71178         function.
71179         (libc_fesetroundf): New macro.
71180         (libc_fesetround): Likewise.
71181         (libc_fesetroundl): Likewise.
71182         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
71183         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
71184         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
71185         libm_hidden_ver.
71186         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
71187         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
71188         libm_hidden_def.
71189         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
71190         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
71191         libm_hidden_ver.
71192         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
71193         libm_hidden_def.
71195         [BZ #3439]
71196         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
71197         integer constant usable in #if and use that to give value to enum
71198         constant.
71199         (FE_DIVBYZERO): Likewise.
71200         (FE_UNDERFLOW): Likewise.
71201         (FE_OVERFLOW): Likewise.
71202         (FE_INVALID): Likewise.
71203         (FE_INVALID_SNAN): Likewise.
71204         (FE_INVALID_ISI): Likewise.
71205         (FE_INVALID_IDI): Likewise.
71206         (FE_INVALID_ZDZ): Likewise.
71207         (FE_INVALID_IMZ): Likewise.
71208         (FE_INVALID_COMPARE): Likewise.
71209         (FE_INVALID_SOFTWARE): Likewise.
71210         (FE_INVALID_SQRT): Likewise.
71211         (FE_INVALID_INTEGER_CONVERSION): Likewise.
71212         (FE_TONEAREST): Likewise.
71213         (FE_TOWARDZERO): Likewise.
71214         (FE_UPWARD): Likewise.
71215         (FE_DOWNWARD): Likewise.
71216         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
71217         (FE_DIVBYZERO): Likewise.
71218         (FE_OVERFLOW): Likewise.
71219         (FE_UNDERFLOW): Likewise.
71220         (FE_INEXACT): Likewise.
71221         (FE_TONEAREST): Likewise.
71222         (FE_DOWNWARD): Likewise.
71223         (FE_UPWARD): Likewise.
71224         (FE_TOWARDZERO): Likewise.
71225         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
71226         (FE_UNDERFLOW): Likewise.
71227         (FE_OVERFLOW): Likewise.
71228         (FE_DIVBYZERO): Likewise.
71229         (FE_INVALID): Likewise.
71230         (FE_TONEAREST): Likewise.
71231         (FE_TOWARDZERO): Likewise.
71232         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
71233         (FE_OVERFLOW): Likewise.
71234         (FE_UNDERFLOW): Likewise.
71235         (FE_DIVBYZERO): Likewise.
71236         (FE_INEXACT): Likewise.
71237         (FE_TONEAREST): Likewise.
71238         (FE_TOWARDZERO): Likewise.
71239         (FE_UPWARD): Likewise.
71240         (FE_DOWNWARD): Likewise.
71241         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
71242         (FE_DIVBYZERO): Likewise.
71243         (FE_OVERFLOW): Likewise.
71244         (FE_UNDERFLOW): Likewise.
71245         (FE_INEXACT): Likewise.
71246         (FE_TONEAREST): Likewise.
71247         (FE_DOWNWARD): Likewise.
71248         (FE_UPWARD): Likewise.
71249         (FE_TOWARDZERO): Likewise.
71251 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
71253         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
71255 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
71257         * scripts/cross-test-ssh.sh (command): Use newlines to separate
71258         commands.  Quote $PWD.
71259         (blacklist_exports): Don't use remove_newlines.  Replace "declare
71260         -x" by "export".
71261         (remove_newlines): Remove.
71263 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
71265         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
71266         * stdlib/stdlib.h (atof): Moved to ...
71267         * include/bits/stdlib-float.h: Here.  New file.
71268         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
71269         * stdlib/bits/stdlib-float.h: New file.
71270         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
71271         -mno-sse -mno-mmx.
71272         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
71273         <xmmintrin.h>.
71275 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
71277         * conform/conformtest.pl (@headers): Add fenv.h.
71278         * conform/data/fenv.h-data: New file.
71279         * include/fenv.h [_ISOMAC]: Disable all contents of file except
71280         include of <math/fenv.h>.
71282         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
71283         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
71284         && !UNIX98].  Enables tests for XOPEN2K8.
71285         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
71286         POSIX2008]: Likewise.
71288         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
71289         (struct rusage): Do not expect type or its members.
71291         [BZ #3439]
71292         * math/math.h (FP_NAN): Define macro to integer constant usable in
71293         #if and use that to give value to enum constant.
71294         (FP_INFINITE): Likewise.
71295         (FP_ZERO): Likewise.
71296         (FP_SUBNORMAL): Likewise.
71297         (FP_NORMAL): Likewise.
71299 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
71301         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
71302         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
71303         arguments.
71305 2012-11-02  Roland McGrath  <roland@hack.frob.com>
71307         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
71308         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
71309         autoconf-time if not.
71310         * configure.in: Remove AC_PREREQ.
71312 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71314         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
71315         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
71316         of the internal implementation.
71318 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
71320         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
71321         except include of <misc/sys/syslog.h>.
71323 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
71325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
71326         function returns with a NULL context exit with zero.
71328 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71330         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
71332 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
71334         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
71335         (run_program_cmd): This.
71336         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
71337         (tst_langinfo): New variable.  Use it.
71339 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
71341         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
71342         floating point opcodes.
71344 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
71346         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
71347         variable.
71349         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
71351         * sysdeps/mach/hurd/powerpc: Remove directory.
71352         * sysdeps/mach/powerpc: Likewise.
71354 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
71356         * scripts/check-local-headers.sh: Ignore c++ headers.
71358 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
71360         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
71361         __libc_cleanup_region_start argument.
71363 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
71365         [BZ #14784]
71366         [BZ #14785]
71367         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
71368         x * y using scaling, not as x * y + z.
71369         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71370         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71371         * math/libm-test.inc (fma_test): Add more tests.
71372         (fma_test_towardzero): Likewise.
71373         (fma_test_downward): Likewise.
71374         (fma_test_upward): Likewise.
71376 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
71378         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
71380 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
71382         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
71383         New variable.
71385 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
71387         * rt/tst-shm.c (worker): Correct checking for mmap failure.
71389 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
71391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71392         Fix sort order.
71393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71394         Likewise.
71396 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71399         Fix the order of the list for glibc 2.17.
71400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71401         Likewise.
71403 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
71405         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71407 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
71409         [BZ #14610]
71410         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
71411         for low part of x being zero before using __atanl (y).
71412         * math/libm-test.inc (atan2_test): Add another test.
71414         * manual/install.texi (Configuring and compiling): Document
71415         general use of test-wrapper and test-wrapper-env.
71416         * INSTALL: Regenerated.
71418         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
71419         (__fma): Do not extract and scale down low bits on after-rounding
71420         systems when result rounded to normal precision would have normal
71421         exponent.
71422         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
71423         (__fmal): Do not extract and scale down low bits on after-rounding
71424         systems when result rounded to normal precision would have normal
71425         exponent.
71426         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
71427         (__fmal): Do not extract and scale down low bits on after-rounding
71428         systems when result rounded to normal precision would have normal
71429         exponent.
71430         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
71431         macro.
71432         (fma_test): Add more tests.
71433         (fma_test_towardzero): Likewise.
71434         (fma_test_downward): Likewise.
71435         (fma_test_upward): Likewise.
71437 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
71439         * sysdeps/i386/tininess.h: Renamed to ...
71440         * sysdeps/x86/tininess.h: This.
71441         * sysdeps/x86_64/tininess.h: Removed.
71443 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
71445         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
71446         input.  Use $(build-program-cmd).
71447         ($(objpfx)tst-array1-static.out): Likewise.
71448         ($(objpfx)tst-array2.out): Likewise.
71449         ($(objpfx)tst-array3.out): Likewise.
71450         ($(objpfx)tst-array4.out): Likewise.
71451         ($(objpfx)tst-array5.out): Likewise.
71452         ($(objpfx)tst-array5-static.out): Likewise.
71454 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
71456         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
71457         if defined.
71459         * nss/nsswitch.h (nss_interface_function): Provide new
71460         macro for use with NSS functions.
71461         * grp/initgroups.c: Use new macro.
71462         * nss/getXXbyYY.c: Likewise.
71463         * nss/getXXbyYY_r.c: Likewise.
71464         * nss/getXXent.c: Likewise.
71465         * nss/getXXent_r.c: Likewise.
71466         * sysdeps/posix/getaddrinfo.c: Likewise.
71468 2012-10-30  Andreas Jaeger  <aj@suse.de>
71470         * po/ru.po: Update Russion translation from translation project.
71472 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
71474         [BZ #14152]
71475         [BZ #14783]
71476         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
71477         result and shift together with sticky bit instead of replicating
71478         round-to-nearest rounding.
71479         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71480         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71481         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
71482         missing underflow exceptions.
71483         (fma_test_towardzero): Add more tests.
71484         (fma_test_downward): Likewise.
71485         (fma_test_upward): Likewise.
71487         [BZ #14047]
71488         * sysdeps/generic/tininess.h: New file.
71489         * sysdeps/i386/tininess.h: Likewise.
71490         * sysdeps/sh/tininess.h: Likewise.
71491         * sysdeps/x86_64/tininess.h: Likewise.
71492         * stdlib/tst-strtod-underflow.c: Likewise.
71493         * stdlib/tst-tininess.c: Likewise.
71494         * stdlib/strtod_l.c: Include <tininess.h>.
71495         (round_and_return): Do not set errno for exact underflow cases.
71496         Force an underflow exception when setting errno for underflow.
71497         Determine underflow based on rounding to normal precision if
71498         TININESS_AFTER_ROUNDING.
71499         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
71500         ERANGE for exact underflow cases.
71501         * stdlib/Makefile (tests): Add tst-tininess and
71502         tst-strtod-underflow.
71503         ($(objpfx)tst-tininess): Use $(link-libm).
71504         ($(objpfx)tst-strtod-underflow): Likewise.
71506 2012-10-30  Andreas Jaeger  <aj@suse.de>
71508         [BZ #14767]
71509         * elf/Makefile (tests): Remove conditional for have-initfini-array
71510         since this is now always required and the variable does not exist
71511         anymore.
71512         (tests-static): Likewise.
71513         (modules-names): Likewise.
71515         * po/eo.po: Add Esperanto translation from translation project.
71517         * elf/tst-array1.c (fini_array): Make writeable so that it can be
71518         merged with constructor/destructor.
71519         (init_array): Likewise.
71520         * elf/tst-array2dep.c (fini_array): Likewise.
71521         (init_array): Likewise.
71523 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
71525         * manual/message.texi: Delete @cartouche tags.
71527 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
71529         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
71530         EOPNOTSUPP.
71531         * sysdeps/mach/hurd/fsync.c: Likewise.
71533         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
71534         [_POSIX_REALTIME_SIGNALS]: Change condition to
71535         [_POSIX_REALTIME_SIGNALS > 0].
71537 2012-10-27  Andreas Jaeger  <aj@suse.de>
71539         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
71540         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
71541         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
71542         [__WORDSIZE != 64]: Likewise.
71544 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
71546         *  iconvdata/tst-table.sh: Remove ${SHELL}.
71547         *  iconvdata/tst-tables.sh: Likewise.
71549 2012-10-25  David S. Miller  <davem@davemloft.net>
71551         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71552         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
71553         of strtoull.
71555         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
71556         ifunc-impl-list.c
71557         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71558         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
71559         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
71560         file.
71562 2012-10-25  Roland McGrath  <roland@hack.frob.com>
71564         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71565         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
71566         __getdirentries.
71568 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
71569             Jim Blandy  <jimb@codesourcery.com>
71571         * scripts/cross-test-ssh.sh: New file.
71572         * manual/install.texi (Configuring and compiling): Document use of
71573         cross-test-ssh.sh.
71574         * INSTALL: Regenerated.
71576 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
71578         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
71579         EOPNOTSUPP.
71581 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
71583         * Makeconfig (run-program-prefix): Fix comment.
71585 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
71586             Jim Blandy  <jimb@codesourcery.com>
71588         * Makeconfig (test-wrapper): New variable,
71589         (test-wrapper-env): Likewise.
71590         [$(cross-compiling) = yes && $(test-wrapper) != ""]
71591         (run-built-tests): Define to yes.
71592         (run-program-prefix): Use $(test-wrapper).
71593         (built-program-cmd): Likewise.
71594         * Rules (make-test-out): Use $(test-wrapper-env) and
71595         $(host-built-program-cmd).
71596         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
71597         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
71598         tst-pathopt.sh.
71599         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
71600         $(test-wrapper-env) to tst-rtld-load-self.sh.
71601         ($(objpfx)order2.out): Use $(test-wrapper).
71602         ($(objpfx)tst-initorder.out): Likewise.
71603         ($(objpfx)tst-initorder2.out): Likewise.
71604         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
71605         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
71606         (test_wrapper_env): New variable.  Use it to run ld.so.
71607         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
71608         Use it to run ld.so.
71609         (test_wrapper_env): Likewise.
71610         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
71611         $(test-wrapper) to run-iconv-test.sh.
71612         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
71613         (ICONV): Use $test_wrapper.
71614         * posix/Makefile ($(objpfx)globtest.out): Pass
71615         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
71616         globtest.sh, not $(run-program-prefix).
71617         * posix/globtest.sh (run_via_rtld_prefix): New variable.
71618         (test_wrapper): Likewise.
71619         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
71620         set together with run_via_rtld_prefix.
71621         (run_program_prefix): Define in terms of test_wrapper and
71622         run_via_rtld_prefix.
71624 2012-10-24  Roland McGrath  <roland@hack.frob.com>
71626         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
71627         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
71628         Targets removed.
71630         [BZ #14743]
71631         * include/time.h: Remove librt_hidden_proto (clock_gettime).
71632         Declare __clock_getres, __clock_gettime, __clock_settime,
71633         __clock_nanosleep, and __clock_getcpuclockid.
71634         * rt/clock_gettime.c: Define __clock_gettime as an alias.
71635         Remove librt_hidden_def (clock_gettime).
71636         * sysdeps/unix/clock_gettime.c: Likewise.
71637         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
71638         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
71639         * rt/clock_getres.c: Define __clock_getres as an alias.
71640         * sysdeps/posix/clock_getres.c: Likewise.
71641         * rt/clock_settime.c: Define __clock_settime as an alias.
71642         * sysdeps/unix/clock_settime.c: Likewise.
71643         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
71644         * sysdeps/unix/clock_nanosleep.c: Likewise.
71645         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
71646         * rt/clock-compat.c: New file.
71647         * rt/Makefile (librt-routines): Add clock-compat and move
71648         $(clock-routines) to ...
71649         (routines): ... here, new variable.
71650         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
71651         Don't add get_clockfreq here.
71652         * rt/Versions (libc: GLIBC_2.17): New version set.
71653         Add clock_* symbols here.
71654         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
71655         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
71656         (GLIBC_2.17): Add clock_* symbols.
71657         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
71658         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
71659         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
71660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71661         Likewise.
71662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71663         Likewise.
71664         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
71665         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
71666         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
71667         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
71668         * NEWS: Mention the move.
71670         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
71671         Use __open, __read, __close rather than their public counterparts.
71672         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71673         (__get_clockfreq_via_cpuinfo): Likewise.
71674         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
71675         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
71677         * config.h.in (HAVE_IFUNC): New #undef.
71678         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
71679         was successful.
71680         * configure: Regenerated.
71682 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
71684         * configure.in: Move READELF check to start of file.
71685         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
71686         libc_cv_asm_gnu_indirect_function in the process.
71687         * configure: Regenerated.
71689 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
71691         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
71692         send the output to /dev/null.
71693         (libc_cv_cc_with_libunwind): Likewise.
71694         (libc_cv_as_noexecstack): Likewise.
71695         * configure: Regenerate.
71697 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
71699         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
71701         * posix/globtest.sh (TMPDIR): Do not set.
71702         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
71703         (testout): Likewise.
71705 2012-10-24  Andreas Jaeger  <aj@suse.de>
71707         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
71708         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
71709         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
71710         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
71711         posix_fadvise64, posix_fallocate64.
71713         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
71714         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
71715         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
71716         Likewise.
71717         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
71718         Likewise.
71719         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
71721         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
71722         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
71723         <bits/fcntl-linux.h>.
71724         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
71726         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
71727         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
71728         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
71729         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
71730         [__WORDSIZE != 64]: Likewise.
71732 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
71734         * Makeconfig (run-built-tests): New variable.
71735         * Rules [$(cross-compiling) = yes]: Change condition to
71736         [$(run-built-tests) = no].
71737         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
71738         to [$(run-built-tests) = yes].
71739         * elf/Makefile [$(cross-compiling) = no]: Likewise.
71740         * grp/Makefile [$(cross-compiling) = no]: Likewise.
71741         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
71742         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
71743         * intl/Makefile [$(cross-compiling) = no]: Likewise.
71744         * io/Makefile [$(cross-compiling) = no]: Likewise.
71745         * libio/Makefile [$(cross-compiling) = no]: Likewise.
71746         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
71747         * misc/Makefile [$(cross-compiling) = no]: Likewise.
71748         * posix/Makefile [$(cross-compiling) = no]: Likewise.
71749         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
71750         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
71751         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
71752         * string/Makefile [$(cross-compiling) = no]: Likewise.
71754         * posix/Makefile ($(objpfx)globtest.out): Pass
71755         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
71756         $(rtld-installed-name).
71757         * posix/globtest.sh (elf_objpfx): Remove variable.
71758         (rtld_installed_name): Likewise.
71759         (library_path): Likewise.
71760         (run_program_prefix): New variable.  Use for running globtest
71761         binary.
71763 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
71764             Joseph Myers  <joseph@codesourcery.com>
71766         * Makeconfig (host-built-program-cmd): New variable.
71767         * elf/Makefile (tst-stackguard1-ARGS): Use
71768         $(host-built-program-cmd).
71769         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
71770         (tst-spawn-ARGS): Likewise.
71771         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
71773 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
71774             Jim Blandy  <jimb@codesourcery.com>
71776         * Makeconfig (run-via-rtld-prefix): New variable.
71777         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
71778         (built-program-cmd): Likewise.
71780 2012-10-22  Andreas Jaeger  <aj@suse.de>
71782         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
71783         __O_RSYNC if it exists, otherwise to O_SYNC.
71785 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
71786             Joseph Myers  <joseph@codesourcery.com>
71788         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
71789         /dev/null.
71790         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
71791         from /dev/null
71792         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
71793         /dev/null.
71795 2012-10-22  Andreas Jaeger  <aj@suse.de>
71797         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
71798         Define always.
71799         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
71801         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71802         bits/fcntl-linux.h.
71804         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
71805         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
71807         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
71808         to __O_LARGEFILE.
71809         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
71810         to __O_LARGEFILE.
71812 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
71813             Joseph Myers  <joseph@codesourcery.com>
71815         * config.make.in (NM): New variable.
71817 2012-10-21  Andreas Jaeger  <aj@suse.de>
71819         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
71820         definitions and declarations that are provided by
71821         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
71823 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
71825         [BZ #14683]
71826         * elf/Makefile (tests-static): Add tst-leaks1-static.
71827         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
71828         ($(objpfx)tst-leaks1-static): New rule.
71829         ($(objpfx)tst-leaks1-static-mem): Likewise.
71830         (tst-leaks1-static-ENV): New macro.
71831         * elf/dl-open.c (dl_open_worker): Check the main application
71832         only if SHARED is defined.
71833         * elf/tst-leaks1-static.c: New file.
71835 2012-10-20  Andreas Jaeger  <aj@suse.de>
71837         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
71838         generic values for Linux.
71839         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
71840         and declarations that are provided by <bits/fcntl-linux.h> and
71841         include <bits/fcntl-linux.h>.
71842         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71843         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71845 2012-10-20  Roland McGrath  <roland@hack.frob.com>
71847         * io/fcntl.h: Move include of <bits/types.h> to the top and
71848         include it unconditionally.
71850 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
71852         * wcsmbs/Makefile (tests-ifunc): New variable.
71853         (tests): Add $(tests-ifunc).
71854         * wcsmbs/test-wcschr-ifunc.c: New file.
71855         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
71856         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
71857         * wcsmbs/test-wcslen-ifunc.c: Likewise.
71858         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
71859         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
71861         * string/Makefile (tests-ifunc): New variable.
71862         (tests): Add $(tests-ifunc).
71863         * string/test-memccpy.c (TEST_NAME): New macro.
71864         * string/test-memchr.c (TEST_NAME): Likewise.
71865         * string/test-memcmp.c (TEST_NAME): Likewise.
71866         * string/test-memcpy.c (TEST_NAME): Likewise.
71867         * string/test-memmem.c (TEST_NAME): Likewise.
71868         * string/test-memmove.c (TEST_NAME): Likewise.
71869         * string/test-memset.c (TEST_NAME): Likewise.
71870         * string/test-rawmemchr.c (TEST_NAME): Likewise.
71871         * string/test-stpcpy.c (TEST_NAME): Likewise.
71872         * string/test-stpncpy.c (TEST_NAME): Likewise.
71873         * string/test-strcasecmp.c (TEST_NAME): Likewise.
71874         * string/test-strcasestr.c (TEST_NAME): Likewise.
71875         * string/test-strcat.c (TEST_NAME): Likewise.
71876         * string/test-strchr.c (TEST_NAME): Likewise.
71877         * string/test-strcmp.c(TEST_NAME): Likewise.
71878         * string/test-strcpy.c (TEST_NAME): Likewise.
71879         * string/test-strcspn.c (TEST_NAME): Likewise.
71880         * string/test-strlen.c (TEST_NAME): Likewise.
71881         * string/test-strncasecmp.c (TEST_NAME): Likewise.
71882         * string/test-strncmp.c (TEST_NAME): Likewise.
71883         * string/test-strncpy.c (TEST_NAME): Likewise.
71884         * string/test-strnlen.c (TEST_NAME): Likewise.
71885         * string/test-strpbrk.c (TEST_NAME): Likewise.
71886         * string/test-strrchr.c (TEST_NAME): Likewise.
71887         * string/test-strspn.c (TEST_NAME): Likewise.
71888         * string/test-strstr.c (TEST_NAME): Likewise.
71889         * string/test-bcopy-ifunc.c: New file.
71890         * string/test-bzero-ifunc.c: Likewise.
71891         * string/test-memccpy-ifunc.c: Likewise.
71892         * string/test-memchr-ifunc.c: Likewise.
71893         * string/test-memcmp-ifunc.c: Likewise.
71894         * string/test-memcpy-ifunc.c: Likewise.
71895         * string/test-memmem-ifunc.c: Likewise.
71896         * string/test-memmove-ifunc.c: Likewise.
71897         * string/test-mempcpy-ifunc.c: Likewise.
71898         * string/test-memset-ifunc.c: Likewise.
71899         * string/test-rawmemchr-ifunc.c: Likewise.
71900         * string/test-stpcpy-ifunc.c: Likewise.
71901         * string/test-stpncpy-ifunc.c: Likewise.
71902         * string/test-strcasecmp-ifunc.c: Likewise.
71903         * string/test-strcasestr-ifunc.c: Likewise.
71904         * string/test-strcat-ifunc.c: Likewise.
71905         * string/test-strchr-ifunc.c: Likewise.
71906         * string/test-strchrnul-ifunc.c: Likewise.
71907         * string/test-strcmp-ifunc.c: Likewise.
71908         * string/test-strcpy-ifunc.c: Likewise.
71909         * string/test-strcspn-ifunc.c: Likewise.
71910         * string/test-strlen-ifunc.c: Likewise.
71911         * string/test-strncasecmp-ifunc.c: Likewise.
71912         * string/test-strncat-ifunc.c: Likewise.
71913         * string/test-strncmp-ifunc.c: Likewise.
71914         * string/test-strncpy-ifunc.c: Likewise.
71915         * string/test-strnlen-ifunc.c: Likewise.
71916         * string/test-strpbrk-ifunc.c: Likewise.
71917         * string/test-strrchr-ifunc.c: Likewise.
71918         * string/test-strspn-ifunc.c: Likewise.
71919         * string/test-strstr-ifunc.c: Likewise.
71921         * debug/Makefile (tests-ifunc): New variable.
71922         (tests): Add $(tests-ifunc).
71923         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
71924         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
71925         * debug/test-stpcpy_chk-ifunc.c: New file.
71926         * debug/test-strcpy_chk-ifunc.c: Likewise.
71928 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
71930         [BZ #13601]
71931         * elf/dl-load.c (open_verify): Retry read if the entire ELF
71932         header is not read in.
71934 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
71936         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
71937         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
71938         directly.  Pass built executable to script as
71939         $(built-program-cmd).
71940         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
71941         $testprogram without using LD_LIBRARY_PATH and $ldso.
71943         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
71944         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
71945         $(rtld-installed-name).
71946         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
71947         (rtld_installed_name): Likewise.
71948         (library_path): Likewise.
71949         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
71950         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
71951         $(run-program-prefix) to tst-tables.sh.
71952         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
71953         it to run tst-table-from and tst-table-to.
71954         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
71955         Pass it to tst-table.sh.
71956         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
71957         $(run-program-prefix) to tst-gettext.sh.
71958         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
71959         tst-translit.sh.
71960         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
71961         tst-gettext2.sh.
71962         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
71963         to run tst-gettext.
71964         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
71965         to run tst-gettext2.
71966         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
71967         to run tst-translit.
71968         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
71969         $(run-program-prefix) to tst-mtrace.sh.
71970         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
71971         to run tst-mtrace.
71972         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
71973         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
71974         $(rtld-installed-name).
71975         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
71976         (rtld_installed_name): Likewise.
71977         (run_program_prefix): New variable.  Use it to run wordexp-test.
71979         * Makeconfig (ARCH): Remove all definitions.
71980         (machine): Likewise.
71981         [ARCH]: Remove conditional code.
71982         [!objdir]: Give error.
71983         [!objdir] (objpfx): Remove.
71984         [!objdir] (common-objpfx): Likewise.
71985         [!objdir] (common-objdir): Likewise.
71986         * configure.in (config_makefile): Remove.  Hardcode Makefile in
71987         AC_CONFIG_FILES call.
71988         * configure: Regenerated.
71990         [BZ #13888]
71991         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
71992         or TMPDIR.
71993         (testout): Likewise.
71995         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
71996         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
71997         $(rtld-installed-name).
71998         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
71999         (rtld_installed_name): Likewise.
72000         (runit): Remove function.
72001         (run_getconf): New variable,  Use it for running getconf binary.
72003 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
72005         [BZ #14716]
72006         * string/test-memmem.c (check_result): New function.
72007         (do_one_test): Use it.
72008         (check1): New function.
72009         (test_main): Use it.
72011 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
72013         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
72015 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
72017         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
72018         (_G_LSEEK64): Likewise.
72019         (_G_MMAP64): Likewise.
72020         (_G_FSTAT64): Likewise.
72021         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
72022         (_G_LSEEK64): Likewise.
72023         (_G_MMAP64): Likewise.
72024         (_G_FSTAT64): Likewise.
72025         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
72026         unconditional.  Call __mmap64 directly.
72027         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
72028         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
72029         __lseek64 directly.
72030         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
72031         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
72032         __mmap64 directly.
72033         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
72034         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
72035         __lseek64 directly.
72036         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
72037         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
72038         __lseek64 directly.
72039         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
72040         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
72041         __lseek64 directly.
72042         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
72043         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
72044         __fxstat64 directly.
72045         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
72046         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
72047         unconditional.
72048         (freopen64) [!_G_OPEN64]: Remove conditional code.
72049         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
72050         unconditional.
72051         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
72052         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
72053         unconditional.
72054         (ftello64) [!_G_LSEEK64]: Remove conditional code.
72055         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
72056         unconditional.
72057         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
72058         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
72059         unconditional.
72060         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
72061         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
72062         unconditional.
72063         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
72064         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
72065         unconditional.
72066         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
72067         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
72068         unconditional.
72069         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
72071 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
72073         [BZ #12140]
72074         * manual/memory.texi (Malloc Tunable Parameters): Add note
72075         about free list pointers overwriting some perturb bytes.
72076         Wording suggested by Roland McGrath.
72078 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
72080         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
72081         (lgamma_test): Likewise.
72082         (tgamma_test): Likewise.
72084 2012-10-16  Florian Weimer  <fweimer@redhat.com>
72086         [BZ #14700]
72087         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
72088         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
72090 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
72092         * NEWS: Mention BZ #14716.
72093         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
72094         when removing AVAILABLE1_USES_J macro.
72096 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
72098         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
72099         (__bswap_64): __uint64_t for unsigned 64-bit int.
72101 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
72103         * include/string.h (memmem): Declare libc hidden alias.
72104         * string/memmem.c (memmem): Define libc hidden alias.
72105         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
72106         __read, __close instead of open, read, close.
72108 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
72110         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
72111         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
72112         global and hidden.
72113         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
72114         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
72115         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
72116         Likewise.
72117         (__rawmemchr_sse2): Likewise.
72118         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
72119         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
72120         (__strchr_sse2): Likewise.
72121         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
72122         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
72123         (__strcasecmp_sse2): Likewise.
72124         (__strncasecmp_sse2): Likewise.
72125         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
72126         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
72127         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
72128         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
72129         (__strrchr_sse2): Likewise.
72130         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
72131         ifunc-impl-list.c.
72132         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
72133         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
72134         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
72135         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
72136         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
72137         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
72138         * sysdeps/x86_64/multiarch/memset.S: Likewise.
72139         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
72140         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
72141         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
72142         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
72143         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
72144         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
72145         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
72146         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
72147         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
72148         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
72149         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
72150         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
72151         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
72152         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
72153         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
72154         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
72155         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
72156         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
72157         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
72158         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
72159         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
72160         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
72161         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
72163         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
72164         global and hidden.
72165         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
72166         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
72167         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
72168         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
72169         Likewise.
72170         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
72171         Likewise.
72172         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
72173         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
72174         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
72175         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
72176         ifunc-impl-list.c.
72177         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
72178         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
72179         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
72180         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
72181         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
72182         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
72183         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
72184         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
72185         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
72186         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
72187         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
72188         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
72189         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
72190         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
72191         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
72192         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
72193         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
72194         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
72195         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
72196         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
72197         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
72198         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
72199         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
72200         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
72201         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
72202         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
72203         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
72204         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
72205         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
72206         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
72207         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
72208         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
72209         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
72210         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
72211         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
72212         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
72213         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
72214         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
72215         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
72216         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
72217         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
72219         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
72220         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
72221         * include/ifunc-impl-list.h: New file.
72222         * misc/ifunc-impl-list.c: Likewise.
72223         * misc/Makefile (routines): Add ifunc-impl-list.
72224         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
72225         * string/test-string.h: Include <ifunc-impl-list.h>.
72226         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
72227         TEST_NAME]: New variables.
72228         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
72229         are defined.
72230         (test_init): Call __libc_ifunc_impl_list to initialize
72231         func_list if TEST_IFUNC and TEST_NAME are defined.
72233         * string/Makefile (strop-tests): Add bcopy and bzero.
72234         * string/test-bcopy.c: New file.
72235         * string/test-bzero.c: Likewise.
72236         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
72237         defined.
72238         * string/test-memset.c: Support bzero test if TEST_BZERO is
72239         defined.
72240         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
72241         __libc_memmove.
72242         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
72243         __libc_memset.
72244         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
72245         of memset.
72247 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
72249         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
72250         * configure: Regenerated.
72252         * Makeconfig (+link-static-before-libc): Don't include
72253         $(link-static-libc).
72255         * libio/libio.h (_IO_pos_t): Remove.
72257 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
72259         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
72260         McGrath.
72262 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
72264         * crypt/crypt-entry.c: Include fips-private.h.
72265         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
72266         * crypt/md5c-test.c (main): Tolerate disabled MD5.
72267         * sysdeps/unix/sysv/linux/fips-private.h: New file.
72268         * sysdeps/generic/fips-private.h: New file, dummy fallback.
72270 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
72272         * crypt/crypt-private.h: Include stdbool.h.
72273         (_ufc_setup_salt_r): Return bool.
72274         * crypt/crypt-entry.c: Include errno.h.
72275         (__crypt_r): Return NULL with EINVAL for bad salt.
72276         * crypt/crypt_util.c (bad_for_salt): New.
72277         (_ufc_setup_salt_r): Check that salt is long enough and within
72278         the specified alphabet.
72279         * crypt/badsalttest.c: New file.
72280         * crypt/Makefile (tests): Add it.
72281         ($(objpfx)badsalttest): New.
72283 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
72285         * NEWS: Add entry for BZ #14602.
72287 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
72289         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
72290         type-generic.
72291         * math/libm-test.inc: Update comment listing what functions and
72292         macros are tested.
72293         (isgreater_test): New function.
72294         (isgreaterequal_test): Likewise.
72295         (isless_test): Likewise.
72296         (islessequal_test): Likewise.
72297         (islessgreater_test): Likewise.
72298         (isunordered_test): Likewise.
72299         (main): Call the new functions.
72301 2012-10-09  Roland McGrath  <roland@hack.frob.com>
72303         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
72304         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
72305         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
72306         * sysdeps/i386/configure: Regenerated.
72307         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
72308         * sysdeps/mach/configure: Regenerated.
72309         * sysdeps/mach/hurd/configure: Regenerated.
72310         * sysdeps/powerpc/configure: Regenerated.
72311         * sysdeps/powerpc/powerpc32/configure: Regenerated.
72312         * sysdeps/powerpc/powerpc64/configure: Regenerated.
72313         * sysdeps/s390/s390-32/configure: Regenerated.
72314         * sysdeps/s390/s390-64/configure: Regenerated.
72315         * sysdeps/sh/configure: Regenerated.
72316         * sysdeps/sparc/configure: Regenerated.
72317         * sysdeps/unix/sysv/linux/configure: Regenerated.
72318         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
72319         * sysdeps/x86_64/configure: Regenerated.
72321         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
72322         defined.  Don't check if MAP is NULL.
72324 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
72326         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
72327         (_G_stat64): Likewise.
72328         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
72329         (_G_stat64): Likewise.
72330         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
72331         instead of struct _G_stat64.
72332         * libio/fileops.c (mmap_remap_check): Likewise.
72333         (decide_maybe_mmap): Likewise.
72334         (_IO_new_file_seekoff): Likewise.
72335         (_IO_file_stat): Likewise.
72336         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
72337         _G_off64_t.
72338         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
72339         instead of struct _G_stat64.
72340         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
72342 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
72344         [BZ #14602]
72345         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
72346         Replace with ...
72347         (CHECK_EOL): New macro.
72348         (two_way_short_needle): Check beginning of haystack for EOL.  Use
72349         CHECK_EOL.
72350         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
72351         Replace with CHECK_EOL.
72352         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
72353         Replace with CHECK_EOL.
72355 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
72357         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
72358         type-generic.
72359         * math/libm-test.inc: Update comment listing what functions and
72360         macros are tested.
72361         (finite_test): New function.
72362         (isinf_test): Likewise.
72363         (isnan_test): Likewise.
72364         (fpclassify_test): Test subnormal input.
72365         (isfinite_test): Likewise.
72366         (isnormal_test): Likewise.
72367         (main): Call the new functions.
72369 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
72371         [BZ #14660]
72372         * Makerules (%.dynsym): Force C locale when running
72373         $(OBJDUMP) --dynamic-syms.
72375 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
72377         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
72378         <stdint.h>.
72380 2012-10-06  David S. Miller  <davem@davemloft.net>
72382         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
72383         upper 32-bits of the length value in %o2 since we use branch-on-register
72384         tests which consider the entire 64-bit register.
72386 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
72388         * string/test-strstr.c (check2): Add a test for page boundary.
72390 2012-10-05  David S. Miller  <davem@davemloft.net>
72392         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
72393         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
72394         file.
72395         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
72396         sysdep_routines.
72397         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
72398         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
72399         and bzero when HWCAP_SPARC_CRYPTO is present.
72401 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
72403         [BZ #14602]
72404         * string/test-strstr.c (check2): New function.
72405         (test_main): Call check2.
72407         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
72408         and bug-strchr1.
72409         * string/bug-strcasestr1.c (do_test): Moved to ...
72410         * string/test-strcasestr.c (check1): Here.  New function.
72411         (do_one_test): Break out result checking code into ...
72412         (check_result): This.  New function.
72413         (do_one_test): Call check_result.
72414         (test_main): Call check1.
72415         * string/bug-strchr1.c (do_test): Moved to ...
72416         * string/test-strchr.c (check1): Here.  New function.
72417         (do_one_test): Break out result checking code into ...
72418         (check_result): This.  New function.
72419         (do_one_test): Call check_result.
72420         (test_main): Call check1.
72421         * string/bug-strstr1.c (main): Moved to ...
72422         * string/test-strstr.c (check1): Here.  New function.
72423         (do_one_test): Break out result checking code into ...
72424         (check_result): This.  New function.
72425         (do_one_test): Call check_result.
72426         (test_main): Call check1.
72427         * string/bug-strcasestr1.c: Removed.
72428         * string/bug-strchr1.c: Likewise.
72429         * string/bug-strstr1.c: Likewise.
72431         * elf/Makefile (dl-routines): Add hwcaps.
72432         * elf/dl-support.c (_dl_important_hwcaps): Removed.
72433         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
72434         (_dl_important_hwcaps): Moved to ...
72435         * elf/dl-hwcaps.c: Here.  New file.
72436         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
72438         [BZ #14557]
72439         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
72440         if IS_IN_rtld isn't defined.
72442         * elf/dl-support.c (_dl_sysinfo_map): New.
72443         Include "get-dynamic-info.h" and "setup-vdso.h".
72444         (_dl_non_dynamic_init): Call setup_vdso.
72445         * elf/dynamic-link.h: Don't include <assert.h>.
72446         (elf_get_dynamic_info): Moved to ...
72447         * elf/get-dynamic-info.h: Here.  New file.
72448         * elf/dynamic-link.h: Include "get-dynamic-info.h".
72449         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
72450         * elf/setup-vdso.h: Here.  New file.
72451         * elf/rtld.c: Include "setup-vdso.h".
72452         (dl_main): Call setup_vdso.
72454 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
72456         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
72457         creal in comment listing functions tested.  List finite, isinf,
72458         isnan, isless, islessequal, isgreater, isgreaterequal,
72459         islessgreater, isunordered, lgamma_r and pow10 as functions and
72460         macros not tested.  Mention which functions not tested are aliases
72461         for other functions.  Fix typo.  Note that signs of NaNs are not
72462         tested.
72464         * scripts/config.guess: Update from config.git.
72465         * scripts/config.sub: Likewise.
72467 2012-10-04  Roland McGrath  <roland@hack.frob.com>
72469         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
72470         * misc/madvise.c (madvise): Renamed to __madvise.
72471         Make madvise a weak alias.
72472         * include/sys/mman.h: Declare __madvise.
72473         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
72474         * sysdeps/unix/syscalls.list
72475         (madvise): Make __madvise the strong name, and madvise a weak alias.
72476         * sysdeps/unix/sysv/linux/syscalls.list
72477         (madvise, mmap): Remove redundant entries.
72478         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
72479         * malloc/malloc.c (mtrim): Likewise.
72480         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
72482 2012-10-03  Roland McGrath  <roland@hack.frob.com>
72484         * sysdeps/mach/hurd/dl-cache.c: File removed.
72485         * config.h.in (USE_LDCONFIG): New #undef.
72486         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
72487         * configure: Regenerated.
72488         * elf/Makefile (dl-routines): Add dl-cache only under
72489         [$(use-ldconfig) = yes].
72490         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
72491         cache on [USE_LDCONFIG].
72492         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
72493         [USE_LDCONFIG].
72494         * elf/rtld.c (dl_main): Likewise.
72496 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
72498         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
72499         _SC_LEVEL4_CACHE_LINESIZE.
72501 2012-10-03  Roland McGrath  <roland@hack.frob.com>
72503         * sysdeps/unix/bsd/confstr.h: File removed.
72505 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
72507         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
72508         sys/sdt-config.h.
72510 2012-10-02  Roland McGrath  <roland@hack.frob.com>
72512         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
72513         Make 'mapoff' field ElfW(Off) rather than off_t.
72515 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
72517         * nscd/Makefile: Remove nscd-cflags and all its users.
72518         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
72519         (CFLAGS-nonlib): Add compiler flags for nscd modules.
72521         [BZ #10631]
72522         * malloc.c (malloc_printerr): Clarify error message.
72524 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
72526         [BZ #14648]
72527         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72528         Set bit_FMA_Usable if FMA is supported.
72529         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
72530         macro.
72531         (bit_FMA4_Usable): Updated.
72532         (index_FMA_Usable): New macro.
72533         (CPUID_FMA): Likewise.
72534         (HAS_FMA): Defined with bit_FMA_Usable.
72536 2012-10-01  Roland McGrath  <roland@hack.frob.com>
72538         * bits/types.h (__swblk_t): Type removed.
72539         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
72540         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
72541         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
72542         (__SWBLK_T_TYPE): Likewise.
72543         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
72544         (__SWBLK_T_TYPE): Likewise.
72545         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72546         (__SWBLK_T_TYPE): Likewise.
72547         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
72548         (__SWBLK_T_TYPE): Likewise.
72550 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
72551             Honza Horak <hhorak@redhat.com>
72553         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
72554         (xdr_mapname): Use YPMAXMAP as maxsize.
72555         (xdr_peername): Use YPMAXPEER as maxsize.
72556         (xdr_keydat): Use YPAXRECORD as maxsize.
72557         (xdr_valdat): Use YPMAXRECORD as maxsize.
72559 2012-10-01  Roland McGrath  <roland@hack.frob.com>
72561         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
72563         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
72564         * csu/init-first.c: ... here.
72565         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
72566         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
72567         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
72568         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
72569         * sysdeps/i386/init-first.c: File removed.
72570         * sysdeps/sh/init-first.c: File removed.
72572 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
72574         [BZ #14645]
72575         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
72576         if x * y might underflow to zero and z is zero.
72577         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
72578         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72579         * math/libm-test.inc (min_subnorm_value): New variable.
72580         (fma_test): Add more tests.
72581         (fma_test_towardzero): Likewise.
72582         (fma_test_downward): Likewise.
72583         (fma_test_upward): Likewise.
72584         (initialize): Set min_subnorm_value.
72586 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
72588         [BZ #14638]
72589         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
72590         0 + 0.
72591         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
72592         mode for addition resulting in exact zero.
72593         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
72594         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
72595         exact 0 + 0.
72596         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
72597         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72598         * math/libm-test.inc (fma_test): Add more tests.
72599         (fma_test_towardzero): New function.
72600         (fma_test_downward): Likewise.
72601         (fma_test_upward): Likewise.
72602         (main): Call the new functions.
72604 2012-09-28  David S. Miller  <davem@davemloft.net>
72606         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
72608 2012-09-28  Roland McGrath  <roland@hack.frob.com>
72610         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
72611         instead of SIGALRM.
72613         * sysdeps/gnu/_G_config.h: Moved to ...
72614         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
72615         * sysdeps/mach/hurd/_G_config.h: Moved to ...
72616         * sysdeps/generic/_G_config.h: ... here.
72618         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
72620         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
72622         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
72623         Conditionalize target on [libnss_test1.so-version].
72625         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
72627         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
72628         (elfobjdir): Move out of conditionals.
72630         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
72631         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
72632         (__nss_lookup_function): Conditionalize label remove_from_tree on
72633         [!DO_STATIC_NSS || SHARED], matching its only use.
72635 2012-09-28  David S. Miller  <davem@davemloft.net>
72637         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
72638         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
72639         file.
72640         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
72641         sysdep_routines.
72642         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
72643         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
72644         when HWCAP_SPARC_CRYPTO is present.
72646 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
72648         * io/tst-mknodat.c: Create a FIFO instead of a socket.
72650 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
72652         [BZ #6530]
72653         * stdio-common/vfprintf.c (process_string_arg): Revert
72654         2000-07-22 change.
72656 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
72658         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
72659         for testcase.
72660         * stdio-common/tst-sprintf.c: Include <locale.h>
72661         (main): Test sprintf's handling of incomplete multibyte
72662         characters.
72664 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
72666         * elf/dl-runtime.c (VERSYMIDX): Removed.
72667         * elf/dl-version.c (VERSYMIDX): Likewise.
72668         * elf/do-rel.h (VERSYMIDX): Likewise.
72669         (VALIDX): Likewise.
72670         * elf/dynamic-link.h (VERSYMIDX): Likewise.
72671         * elf/rtld.c (VALIDX): Likewise.
72672         (ADDRIDX): Likewise.
72673         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
72674         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
72675         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
72676         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
72677         (VALIDX): Likewise.
72678         (ADDRIDX): Likewise.
72680 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
72682         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
72684 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
72686         [BZ #11438]
72687         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
72688         to global scope.
72689         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
72690         addresses are in the same scope as 192.0.2/24.
72691         * posix/gai.conf: Document new scope table defaults.
72693 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
72695         [BZ #5298]
72696         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
72697         for ftell.  Compute offsets from write pointers instead.
72698         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
72700 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
72702         [BZ #14543]
72703         * libio/Makefile (tests): New test case tst-fseek.
72704         * libio/tst-fseek.c: New test case to verify that fseek/ftell
72705         combination works in wide mode.
72706         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
72707         state when the external buffer state changes.
72709 2012-09-27  David S. Miller  <davem@davemloft.net>
72711         [BZ #14376]
72712         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
72713         pass reloc->r_addend in as the 'high' argument to
72714         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
72716         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72718 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
72720         * rt/tst-aio2.c: Include <pthread.h>.
72721         * rt/tst-aio3.c: Likewise.
72723 2012-09-27  Steve Ellcey  <sellcey@mips.com>
72725         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
72727 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
72729         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
72730         contents on [SHARED].
72732 2012-09-26  Marek Polacek  <polacek@redhat.com>
72734         [BZ #14530]
72735         [BZ #13741]
72736         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
72737         for C++ and GCC <4.3 as well as for non GCC compilers.
72739 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
72741         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72743 2012-09-25  Roland McGrath  <roland@hack.frob.com>
72745         * Makefile.in (all, install): Declare with .PHONY.
72746         Reported by Michael Hope <michael.hope@linaro.org>.
72748 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72750         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
72751         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
72752         system header.
72753         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
72754         Likewise.
72755         (sydep_routines): Add the new and the internal functions.
72756         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
72757         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
72758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
72759         (GLIBC_2.17): Add the new function.
72760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
72761         (GLIBC_2.17): Likewise.
72762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
72763         (GLIBC_2.17): Likewise.
72764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
72765         (GLIBC_2.17): Likewise.
72766         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
72768 2012-09-25  Alan Modra  <amodra@gmail.com>
72770         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
72771         Add release barrier before setting once_control to say
72772         initialisation is done.  Add hints on lwarx.  Use macro in
72773         place of isync.
72774         (clear_once_control): Add release barrier.
72776 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
72778         [BZ #13629]
72779         * math/s_clog.c (__clog): Handle more values close to |z| = 1
72780         specially.
72781         * math/s_clog10.c (__clog10): Likewise.
72782         * math/s_clog10f.c (__clog10f): Likewise.
72783         * math/s_clog10l.c (__clog10l): Likewise.
72784         * math/s_clogf.c (__clogf): Likewise.
72785         * math/s_clogl.c (__clogl): Likewise.
72786         * math/Makefile (libm-calls): Add x2y2m1.
72787         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
72788         (__x2y2m1): Likewise.
72789         (__x2y2m1l): Likewise.
72790         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
72791         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
72792         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
72793         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
72794         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
72795         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
72796         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
72797         * sysdeps/i386/fpu/libm-test-ulps: Update.
72798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72800         [BZ #14621]
72801         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
72802         int as type of variable DEPTH.
72803         (glob): Use size_t instead of int as type of variables NEWCOUNT
72804         and OLD_PATHC.
72806 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72808         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
72809         Add s_sincosf-sse2.
72810         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
72811         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
72812         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
72813         macros for using routine as __sincosf_ia32.
72814         Use macro for function declaration and weak_alias.
72815         * sysdeps/i386/fpu/libm-test-ulps: Update.
72817         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
72818         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72820         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
72821         subnormal argument.
72822         * math/s_cexpf.c (__cexpf): Likewise.
72823         * math/s_csinf.c (__csinf): Likewise.
72824         * math/s_csinhf.c (__csinhf): Likewise.
72825         * math/s_ctanf.c (__ctanf): Likewise.
72826         * math/s_ctanhf.c (__ctanhf): Likewise.
72827         * math/s_ccosh.c (__ccoshf): Likewise.
72828         * math/s_cexp.c (__cexpl): Likewise.
72829         * math/s_csin.c (__csin): Likewise.
72830         * math/s_csinh.c (__csinh): Likewise.
72831         * math/s_ctan.c (__ctan): Likewise.
72832         * math/s_ctanh.c (ctanh): Likewise.
72833         * math/s_ccoshl.c (__ccoshl): Likewise.
72834         * math/s_cexpl.c (__cexpl): Likewise.
72835         * math/s_csinl.c (__csinl): Likewise.
72836         * math/s_csinhl.c (__csinhl): Likewise.
72837         * math/s_ctanl.c (__ctanl): Likewise.
72838         * math/s_ctanhl.c (__ctanhl): Likewise.
72840 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
72842         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
72843         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
72844         (_IO_off_t): Define to __off_t, not _G_off_t.
72845         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
72846         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
72847         (_IO_wint_t): Define to wint_t, not _G_wint_t.
72848         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
72849         type of __dummy and __dummy2 fields.
72850         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
72851         (_G_ssize_t): Likewise.
72852         (_G_off_t): Likewise.
72853         (_G_pid_t): Likewise.
72854         (_G_uid_t): Likewise.
72855         (_G_wchar_t): Likewise.
72856         (_G_wint_t): Likewise.
72857         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
72858         (_G_ssize_t): Likewise.
72859         (_G_off_t): Likewise.
72860         (_G_pid_t): Likewise.
72861         (_G_uid_t): Likewise.
72862         (_G_wchar_t): Likewise.
72863         (_G_wint_t): Likewise.
72864         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
72865         (_G_ssize_t): Likewise.
72866         (_G_off_t): Likewise.
72867         (_G_pid_t): Likewise.
72868         (_G_uid_t): Likewise.
72869         (_G_wchar_t): Likewise.
72870         (_G_wint_t): Likewise.
72872 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
72874         * malloc/arena.c: Include malloc-sysdep.h.
72875         (shrink_heap): Use check_may_shrink_heap to decide if madvise
72876         is sufficient to shrink the heap or an unmap is needed.
72877         * sysdeps/generic/malloc-sysdep.h: New file.  Define
72878         new function check_may_shrink_heap.
72879         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
72880         new function check_may_shrink_heap.
72882 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
72884         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
72885         comments.
72887 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
72889         * catgets/test-gencat.sh: Add "set -e".
72890         * elf/tst-pathopt.sh: Likewise.
72891         * grp/tst_fgetgrent.sh: Likewise.
72892         * iconvdata/run-iconv-test.sh: Likewise.
72893         * intl/tst-gettext.sh: Likewise.
72894         * intl/tst-gettext2.sh: Likewise.
72895         * intl/tst-gettext4.sh: Likewise.
72896         * intl/tst-gettext6.sh: Likewise.
72897         * intl/tst-translit.sh: Likewise.
72898         * io/ftwtest-sh: Likewise.
72899         * libio/test-freopen.sh: Likewise.
72900         * malloc/tst-mtrace.sh: Likewise.
72901         * posix/globtest.sh: Likewise.
72902         * posix/tst-getconf.sh: Likewise.
72903         * posix/wordexp-tst.sh: Likewise.
72904         * stdio-common/tst-printf.sh: Likewise.
72905         * stdio-common/tst-unbputc.sh: Likewise.
72906         * stdlib/tst-fmtmsg.sh: Likewise.
72907         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
72908         * catgets/Makefile: Do not specify -e option when running
72909         testsuite shell scripts.
72910         * elf/Makefile: Likewise.
72911         * grp/Makefile: Likewise.
72912         * iconvdata/Makefile: Likewise.
72913         * intl/Makefile: Likewise.
72914         * io/Makefile: Likewise.
72915         * libio/Makefile: Likewise.
72916         * malloc/Makefile: Likewise.
72917         * posix/Makefile: Likewise.
72918         * stdio-common/Makefile: Likewise.
72919         * stdlib/Makefile: Likewise.
72920         * sysdeps/x86_64/Makefile: Likewise.
72922         * io/ftwtest-sh: Add copyright header.
72923         * posix/globtest.sh: Likewise.
72924         * posix/tst-getconf.sh: Likewise.
72925         * posix/wordexp-tst.sh: Likewise.
72926         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
72928 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
72930         [BZ #13679]
72931         * Makeconfig (+link): Defined as $(+link-static) if
72932         $(build-shared) isn't yes.
72933         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
72934         isn't yes.
72935         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
72937         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
72939         [BZ #14562]
72940         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
72941         new chunk size with MALLOC_ALIGN_MASK.
72943 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
72945         [BZ #5044]
72946         * stdio-common/printf_fphex.c: Include <stdbool.h> and
72947         <rounding-mode.h>.
72948         (__printf_fphex): Determine rounding using get_rounding_mode and
72949         round_away.
72950         * stdio-common/tst-printf-round.c (struct hex_test): New
72951         structure.
72952         (hex_tests): New variable.
72953         (test_hex_in_one_mode): New function.
72954         (do_test): Also run tests for hex float output.
72956 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
72958         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
72959         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
72960         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
72961         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
72962         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
72963         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
72964         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
72965         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
72967 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
72969         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
72970         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
72971         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
72972         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
72974 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
72976         [BZ #14579]
72977         * elf/rtld.c (dl_main): Limit the check for self loading to normal
72978         mode only.
72979         * elf/tst-rtld-load-self.sh: New test.
72980         * elf/Makefile: Run it.
72982 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
72984         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
72985         (tst-writev-ENV): Remove.
72986         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
72988 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
72990         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
72992 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
72994         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
72995         unconditional.
72996         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
72997         Likewise.
72998         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
72999         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
73000         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
73001         Likewise.
73003 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
73005         [BZ #14587]
73006         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
73007         * config.make.in (have-cpp-asm-debuginfo): Removed.
73008         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
73009         * configure: Regenerated.
73011 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
73013         [BZ #5044]
73014         * stdio-common/printf_fp.c: Include <stdbool.h> and
73015         <rounding-mode.h>.
73016         (___printf_fp): Determine rounding using get_rounding_mode and
73017         round_away.
73018         * stdio-common/tst-printf-round.c: New file.
73019         * stdio-common/Makefile (tests): Add tst-printf-round.
73020         (link-libm): New variable.
73021         ($(objpfx)tst-printf-round): Depend in $(link-libm).
73023 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
73025         [BZ #14576]
73026         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
73027         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
73028         Likewise.
73029         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
73030         Likewise.
73032 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
73034         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
73035         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
73036         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
73037         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
73039 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
73041         [BZ #14518]
73042         * include/rounding-mode.h: New file.
73043         * sysdeps/generic/get-rounding-mode.h: Likewise.
73044         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
73045         * stdlib/strtod_l.c: Include <rounding-mode.h>.
73046         (MAX_VALUE): New macro.
73047         (MIN_VALUE): Likewise.
73048         (overflow_value): New function.
73049         (underflow_value): Likewise.
73050         (round_and_return): Use overflow_value and underflow_value to
73051         determine return values in overflow and underflow cases.  Use
73052         round_away to determine rounding depending on rounding mode.
73053         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
73054         determine return values in overflow and underflow cases.
73055         * stdlib/tst-strtod-round.c: Include <fenv.h>.
73056         (struct test_results): New structure.
73057         (struct test): Use struct test_results to store expected results
73058         for all rounding modes.
73059         (TEST): Include expected results for all rounding modes.
73060         (test_in_one_mode): New function.
73061         (do_test): Use test_in_one_mode to compute and check results.
73062         Check results for all rounding modes.
73063         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
73064         $(link-libm).
73066 2012-12-09  Allan McRae  <allan@archlinux.org>
73068         * sysdeps/i386/fpu/libm-test-ulps: Update
73070 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
73072         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
73073         (_G_int32_t): Likewise.
73074         (_G_uint16_t): Likewise.
73075         (_G_uint32_t): Likewise.
73076         (_G_HAVE_BOOL): Likewise.
73077         (_G_HAVE_ATEXIT): Likewise.
73078         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
73079         (_G_HAVE_IO_FILE_OPEN): Likewise.
73080         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
73081         (_G_int32_t): Likewise.
73082         (_G_uint16_t): Likewise.
73083         (_G_uint32_t): Likewise.
73084         (_G_HAVE_BOOL): Likewise.
73085         (_G_HAVE_ATEXIT): Likewise.
73086         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
73087         (_G_HAVE_IO_FILE_OPEN): Likewise.
73088         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
73089         (_G_int32_t): Likewise.
73090         (_G_uint16_t): Likewise.
73091         (_G_uint32_t): Likewise.
73092         (_G_HAVE_BOOL): Likewise.
73093         (_G_HAVE_ATEXIT): Likewise.
73094         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
73095         (_G_HAVE_IO_FILE_OPEN): Likewise.
73097 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
73099         * csu/libc-tls.c: Update copyright years.
73101 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
73103         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
73104         [!_G_USING_THUNKS]: Remove conditional code.
73105         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
73106         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
73108         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
73109         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
73110         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
73111         (_G_VTABLE_LABEL_PREFIX): Likewise.
73112         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
73113         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
73114         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
73115         (_G_VTABLE_LABEL_PREFIX): Likewise.
73116         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
73117         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
73118         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
73119         (_G_VTABLE_LABEL_PREFIX): Likewise.
73120         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
73122 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
73124         * libio/Makefile: Include ../Makeconfig before tests.
73125         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
73126         only if $(build-shared) is yes.
73128         * iconv/gconv_db.c: Update copyright years.
73130 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73132         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
73133         unwind info if defined PIC. Fix special cases description.
73134         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
73136         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
73137         DP_HI_MASK entry.
73138         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
73140 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
73142         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
73144         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
73145         is NULL.
73147         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
73148         (LDLIBS-tst-chk4): This.
73149         (LDFLAGS-tst-chk5): Renamed to ...
73150         (LDLIBS-tst-chk5): This.
73151         (LDFLAGS-tst-chk6): Renamed to ...
73152         (LDLIBS-tst-chk6): This.
73153         (LDFLAGS-tst-lfschk4): Renamed to ...
73154         (LDLIBS-tst-lfschk4): This.
73155         (LDFLAGS-tst-lfschk5): Renamed to ...
73156         (LDLIBS-tst-lfschk5): This.
73157         (LDFLAGS-tst-lfschk6): Renamed to ...
73158         (LDLIBS-tst-lfschk6): This.
73160         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
73161         on $(common-objpfx)soversions.mk.
73163 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
73165         [BZ #10014]
73166         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
73167         example host name.
73169 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
73171         * malloc/arena.c (arena_get_retry): New function that gets
73172         another arena for the caller to try its request on.
73173         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
73174         current arena cannot fulfill the request.
73175         (__libc_memalign): Likewise.
73176         (__libc_memalign): Likewise.
73177         (__libc_pvalloc): Likewise.
73178         (__libc_calloc): Likewise.
73180 2012-09-05  John Tobey  <john.tobey@gmail.com>
73182         [BZ #13542]
73183         * manual/arith.texi (Operations on Complex): Fix description
73184         of carg branch cut.
73186 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
73188         [BZ #10014]
73189         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
73190         host name.
73192         [BZ #10038]
73193         * manual/memory.texi (Memory): Make order of menu items match
73194         order of sections.
73196 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
73198         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
73199         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
73200         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
73202 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
73204         * csu/libc-tls.c (static_dtv): Renamed to ...
73205         (_dl_static_dtv): This.  Make it global.
73206         (_dl_initial_dtv): Removed.
73207         (__libc_setup_tls): Updated.
73208         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
73209         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
73210         DL_INITIAL_DTV.
73212 2012-09-06  Petr Machata  <pmachata@redhat.com>
73214         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
73215         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
73216         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
73217         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
73219 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
73221         [BZ #14545]
73222         * csu/libc-tls.c (_dl_initial_dtv): New variable.
73223         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
73224         freeing dtv[-1].
73226 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
73228         [BZ #14544]
73229         * Makeconfig (link-static-before-libc): Replace $(+prector)
73230         with $(+prectorT).
73231         (link-static-after-libc): Replace $(+postctor) with
73232         $(+postctorT).
73233         (link-bounded): Replace $(+prector)/$(+postctor) with
73234         $(+prectorT)/$(+postctorT).
73235         (+prectorT): New macro.
73236         (+postctorT): Likewise.
73238 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
73240         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
73241         (round_str): Handle values above the maximum for IBM long double
73242         as inexact.
73243         * stdlib/tst-strtod-round.c (tests): Regenerated.
73245 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73247         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
73248         assembler flag.
73249         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
73250         zarch_nohighgprs around the zarch optimized routines.
73251         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
73252         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
73253         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
73254         for zarch.
73256 2012-09-05  David S. Miller  <davem@davemloft.net>
73258         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73260         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
73261         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
73262         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
73263         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
73264         entries.
73266 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
73268         * malloc/arena.c: Fold copyright years.
73269         * malloc/mcheck.c, malloc/memusage.c: Likewise.
73271 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
73273         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
73275 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
73277         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
73279 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
73281         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
73282         change internal state upon failure.
73284 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
73286         * malloc/mcheck.c (mcheck_check_all): Fix typo.
73287         * malloc/memusage.c (mmap): Likewise.
73288         (mmap64, mremap): Likewise.  Adjust name in comment.
73290 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
73292         * libio/fileops.c: Fix typos in comments.
73293         * libio/oldfileops.c: Likewise.
73294         * libio/wfileops.c: Likewise.
73296 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
73298         [BZ #1349]
73299         * malloc/Makefile (tests): Add tst-malloc-usable test case.
73300         (tst-malloc-usable-ENV): Set environment for test case.
73301         * malloc/hooks.c (malloc_check_get_size): New function to get
73302         requested size.
73303         * malloc/malloc.c (musable): Use malloc_check_get_size.
73304         * malloc/tst-malloc-usable.c: New test case.
73306 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
73308         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
73310 2012-09-05  Allan McRae  <allan@archlinux.org>
73312         [BZ #13966]
73313         * configure.in (CXX_SYSINCLUDES): Use compiler output to
73314         determine header location.
73315         * configure: Regenerated.
73317 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
73319         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
73320         float format.
73321         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
73322         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
73323         format.
73324         (test): Regenerate.
73326 2012-09-04  David S. Miller  <davem@davemloft.net>
73328         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
73329         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
73330         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
73332 2012-09-04  Florian Weimer  <fweimer@redhat.com>
73334         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
73335         failures.
73337         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
73339 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
73341         [BZ #9914]
73342         * libio/iogetdelim.c: Include <limits.h>.
73343         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
73344         + len + 1 would overflow.
73346 2012-09-03  Andreas Jaeger  <aj@suse.de>
73348         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73349         * sysdeps/i386/fpu/libm-test-ulps: Update.
73351 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73353         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
73354         Add s_sinf-sse2, s_conf-sse2.
73356         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
73357         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
73358         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
73359         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
73361         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
73362         for using routine as __sinf_ia32.
73363         Use macro for function declaration and weak_alias.
73364         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
73365         for using routine as __cosf_ia32.
73366         Use macro for function declaration and weak_alias.
73368         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
73369         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
73371         * sysdeps/x86_64/fpu/s_sinf.S: New file.
73372         * sysdeps/x86_64/fpu/s_cosf.S: New file.
73373         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73375         * math/libm-test.inc (cos_test): Add more test cases.
73376         (sin_test): Likewise.
73377         (sincos_test): Likewise.
73379 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73381         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
73382         (IFUNC_RESOLVE): Make pointers to the specialized implementations
73383         hidden.
73384         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
73386 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
73388         [BZ #14538]
73389         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
73390         first element of the GOT.
73391         (elf_machine_load_address): Return the difference between
73392         the runtime address of _DYNAMIC and elf_machine_dynamic ().
73394 2012-09-01  Allan McRae  <allan@archlinux.org>
73396         [BZ #13412]
73397         * configure.in (AWK): Require gawk version 3.0 or later.
73398         * configure: Regenerated.
73400 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
73402         * sysdeps/unix/sysv/linux/kernel-features.h
73403         (__ASSUME_POSIX_CPU_TIMERS): Remove.
73404         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
73405         [__NR_clock_getres]: Make code unconditional.
73406         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
73407         (clock_getcpuclockid): Remove code left unreachable by removal of
73408         conditionals.
73409         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
73410         code unconditional.
73411         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
73412         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
73413         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
73414         Make code unconditional.
73415         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
73416         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
73417         * sysdeps/unix/sysv/linux/clock_settime.c
73418         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
73419         conditional code.
73420         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
73421         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
73423 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
73425         [BZ #14476]
73426         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
73427         scripts/test-installation.pl.
73429         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
73430         and $ld_so_version if it is set.
73432 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
73434         [BZ #14516]
73435         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
73436         failure if reading from procfs failed.
73437         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
73439 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
73441         * sysdeps/unix/sysv/linux/kernel-features.h
73442         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
73443         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
73444         Remove conditional code.
73445         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73446         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
73447         Remove conditional code.
73448         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73449         * sysdeps/unix/sysv/linux/i386/fxstat.c
73450         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
73451         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73452         * sysdeps/unix/sysv/linux/i386/fxstatat.c
73453         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
73454         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73455         * sysdeps/unix/sysv/linux/i386/lxstat.c
73456         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
73457         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73458         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
73459         Remove conditional code.
73460         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73461         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
73462         Remove conditional code.
73463         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73464         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
73465         <kernel-features.h>.
73466         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
73467         Remove.
73468         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
73469         Remove conditional code.
73470         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73471         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
73472         Remove conditional.
73474 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
73476         [BZ #5400]
73477         * NEWS: Add fixed bug number.
73479 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
73481         [BZ #14519]
73482         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
73483         underflowing exponent in case of negative sign.
73484         * stdlib/tst-strtod-round-data: Add more tests.
73485         * stdlib/tst-strtod-round.c (tests): Regenerated.
73487         [BZ #3479]
73488         * stdlib/strtod_l.c (NDIG): Remove.
73489         (HEXNDIG): Likewise.
73490         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
73491         smallest representable value.
73492         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
73493         lie within an exact representation of 1/2 ulp of the result.
73494         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
73495         unconditionally.
73496         (TENS_P9_IDX): Define unconditionally.
73497         (TENS_P9_SIZE): Likewise.
73498         (TENS_P10_IDX): Likewise.
73499         (TENS_P10_SIZE): Likewise.
73500         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
73501         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
73502         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
73503         entries for 10^2^13 and 10^2^14.
73504         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
73505         (TENS_P13_IDX): Define.
73506         (TENS_P13_SIZE): Likewise.
73507         (TENS_P14_IDX): Likewise.
73508         (TENS_P14_SIZE): Likewise.
73509         (_fpioconst_pow10): Change array size to
73510         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
73511         unconditional.
73512         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
73513         1024]: Add entries for 10^2^13 and 10^2^14.
73514         [LAST_POW10 > _LAST_POW10]: Remove #error.
73515         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
73516         (_fpioconst_pow10): Change array size to
73517         FPIOCONST_POW10_ARRAY_SIZE.
73518         * stdlib/gen-fpioconst.c: New file.
73519         * stdlib/gen-tst-strtod-round.c: Likewise.
73520         * stdlib/tst-strtod-round-data: Likewise.
73521         * stdlib/tst-strtod-round.c: Likewise.
73522         * stdlib/Makefile (tests): Add tst-strtod-round.
73524         [BZ #14459]
73525         * stdlib/strtod_l.c: Include <stdint.h>.
73526         (NDEBUG): Do not define.
73527         (round_and_return): Change EXPONENT parameter to type intmax_t.
73528         Rearrange calculations to avoid internal overflow possibilities.
73529         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
73530         Rearrange calculations to avoid internal overflow possibilities.
73531         Assert that number fits inside MPNSIZE limbs.
73532         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
73533         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
73534         calculations and add assertions to avoid internal overflow
73535         possibilities.  Add casts to avoid signed/unsigned operations.
73536         * stdlib/tst-strtod-overflow.c: New file.
73537         * stdlib/Makefile (tests): Add tst-strtod-overflow.
73539 2012-08-25  Marek Polacek  <polacek@redhat.com>
73541         * time/time.h: Fix some typos in comments.
73543 2012-08-23  Roland McGrath  <roland@hack.frob.com>
73545         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
73546         * posix/tst-rfc3484-2.c: Likewise.
73547         * posix/tst-rfc3484-3.c: Likewise.
73549 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
73551         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
73552         (EF_ARM_ABI_FLOAT_HARD): Likewise.
73554 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
73556         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
73557         #include of fxstatat64.c.
73559 2012-08-22  Roland McGrath  <roland@hack.frob.com>
73561         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
73562         * shadow/getspent_r.c: Likewise.
73563         * shadow/getspnam.c: Likewise.
73564         * shadow/getspnam_r.c: Likewise.
73565         * gshadow/getsgent.c: Likewise.
73566         * gshadow/getsgent_r.c: Likewise.
73567         * gshadow/getsgnam.c: Likewise.
73568         * gshadow/getsgnam_r.c: Likewise.
73569         * inet/getnetbyad.c: Likewise.
73570         * inet/getnetbyad_r.c: Likewise.
73571         * inet/getnetbynm.c: Likewise.
73572         * inet/getnetbynm_r.c: Likewise.
73573         * inet/getnetent.c: Likewise.
73574         * inet/getnetent_r.c: Likewise.
73575         * inet/getproto.c: Likewise.
73576         * inet/getproto_r.c: Likewise.
73577         * inet/getprtent.c: Likewise.
73578         * inet/getprtent_r.c: Likewise.
73579         * inet/getprtname.c: Likewise.
73580         * inet/getprtname_r.c: Likewise.
73581         * inet/getrpcbyname.c: Likewise.
73582         * inet/getrpcbyname_r.c: Likewise.
73583         * inet/getrpcbynumber.c: Likewise.
73584         * inet/getrpcbynumber_r.c: Likewise.
73585         * inet/getrpcent.c: Likewise.
73586         * inet/getrpcent_r.c: Likewise.
73587         * inet/getaliasent.c: Likewise.
73588         * inet/getaliasent_r.c: Likewise.
73589         * inet/getaliasname.c: Likewise.
73590         * inet/getaliasname_r.c: Likewise.
73591         * nscd/getgrgid_r.c: Likewise.
73592         * nscd/getgrnam_r.c: Likewise.
73593         * nscd/gethstbyad_r.c: Likewise.
73594         * nscd/gethstbynm3_r.c: Likewise.
73595         * nscd/getpwnam_r.c: Likewise.
73596         * nscd/getpwuid_r.c: Likewise.
73597         * nscd/getsrvbynm_r.c: Likewise.
73598         * nscd/getsrvbypt_r.c: Likewise.
73599         * nscd/gai.c: Likewise.
73601         * configure.in (build_nscd): New substituted variable, set
73602         by --disable-build-nscd and defaults to $use_nscd.
73603         * configure: Regenerated.
73604         * config.make.in (build-nscd): New substituted variable.
73605         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
73606         Change conditional to require [$(build-nscd) = yes] as well.
73607         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
73609         [BZ #13696]
73610         * configure.in (use_nscd): New substituted variable, set by
73611         --disable-nscd.  If enabled, define USE_NSCD.
73612         * configure: Regenerated.
73613         * config.h.in: Add USE_NSCD.
73614         * config.make.in (use-nscd): New substituted variable.
73615         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
73616         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
73617         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
73618         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
73619         (CFLAGS-getgrnam_r.c): Likewise.
73620         (CFLAGS-initgroups.c): Likewise.
73621         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
73622         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
73623         Variables removed.
73624         * inet/getnetgrent_r.c
73625         (nscd_setnetgrent): New function, broken out of ...
73626         (setnetgrent): ... here.  Call it.
73627         (innetgr): Conditionalize nscd bits on [USE_NSCD].
73628         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
73629         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
73630         * nscd/Makefile (routines, aux): Move definitions after include of
73631         Makeconfig.  Conditionalize on [$(use-nscd) != no].
73632         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
73633         Conditionalize on [USE_NSCD].
73634         (is_nscd, nscd_init_cb): Likewise.
73635         (nss_load_library): Conditionalize init callback on [USE_NSCD].
73636         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
73637         * nss/nss_db/db-init.c: Likewise.
73638         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
73639         [USE_NSCD].
73640         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
73641         (make_request): Use it.
73642         (cache_valid_p): New function.
73643         (__check_pf): Use it.
73644         * NEWS: Add item for --disable-nscd.
73646 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
73648         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
73649         to support sed >= 4.2.1-20-ga9bf076.
73650         * configure: Regenerated.
73652 2012-08-22  Roland McGrath  <roland@hack.frob.com>
73654         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
73655         Conditionalize whole body on [IREL].
73657 2012-08-22  Jeff Law <law@redhat.com>
73659         [BZ #14505]
73660         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
73661         if the family is PF_UNSPEC.
73663 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
73665         * Makerules (lib-version): Rename from V.
73666         (install-lib-nosubdir): Change V to lib-version.
73668 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
73670         [BZ #14252]
73671         * powerpc32/power6/wcschr.c: New file.
73672         * powerpc32/power6/wcscpy.c: New file.
73673         * powerpc32/power6/wcsrchr.c: New file.
73674         * powerpc64/power6/wcschr.c: New file.
73675         * powerpc64/power6/wcscpy.c: New file.
73676         * powerpc64/power6/wcsrchr.c: New file.
73678 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
73680         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
73681         (two_way_short_needle): Use it.
73682         * string/strstr.c (AVAILABLE1_USES_J): Define.
73683         * string/strcasestr.c: Likewise.
73685         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
73686         array references.
73687         * string/strcasestr.c (TOLOWER): Make side-effect safe.
73689         [BZ #11607]
73690         * NEWS: Add an entry.
73691         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
73692         define their defaults.
73693         (two_way_short_needle): Detect end-of-string on-the-fly.
73694         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
73695         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
73696         * string/bug-strcasestr1.c: New test.
73697         * string/Makefile: Run it.
73699 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
73701         [BZ #11607]
73702         * string/str-two-way.h (two_way_short_needle): Optimize matching of
73703         the first character.
73705 2012-08-21  Roland McGrath  <roland@hack.frob.com>
73707         * csu/elf-init.c (__libc_csu_irel): Function removed.
73708         * csu/libc-start.c (apply_irel): New function.
73709         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
73711 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
73713         * sysdeps/unix/sysv/linux/kernel-features.h
73714         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
73715         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
73716         <kernel-features.h>.
73717         [__NR_fadvise64_64]: Make code unconditional.
73718         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
73719         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
73720         !__NR_fadvise64_64)]: Likewise.
73721         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
73722         !__NR_fadvise64_64))]: Likewise.
73723         [__NR_fadvise64]: Make code unconditional.
73724         [!__NR_fadvise64]: Remove conditional code.
73725         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
73726         <kernel-features.h>.
73727         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
73728         unconditional.
73729         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
73730         conditional code.
73731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
73732         not include <kernel-features.h>.
73733         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
73734         unconditional.
73735         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
73736         conditional code.
73737         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
73738         include <kernel-features.h>.
73739         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
73740         unconditional.
73741         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
73742         conditional code.
73744 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
73746         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
73747         slight instruction rearrangements per scrollpipe analysis.
73748         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
73750 2012-08-20  Roland McGrath  <roland@hack.frob.com>
73752         * manual/syslog.texi (syslog; vsyslog, closelog):
73753         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
73754         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
73756         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
73757         DSOCAPS to match condition on defining it.
73759 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
73761         * sysdeps/unix/sysv/linux/kernel-features.h
73762         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
73763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
73764         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
73765         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
73766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
73767         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
73768         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
73769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
73770         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
73771         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
73773         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
73774         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
73776         * sysdeps/unix/sysv/linux/kernel-features.h
73777         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
73778         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
73779         unconditional.
73780         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
73781         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
73782         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
73783         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
73784         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
73785         Make code unconditional.
73786         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
73787         (__mmap64) [!__NR_mmap2]: Likewise.
73788         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
73789         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
73790         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
73791         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
73792         [__NR_mmap2]: Make code unconditional.
73793         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
73794         (__mmap64) [!__NR_mmap2]: Likewise.
73796 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73798         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
73800 2012-08-18  Andreas Jaeger  <aj@suse.de>
73802         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
73804 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
73806         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
73807         * include/unistd.h (__have_sock_cloexec): Likewise.
73808         (__have_pipe2): Likewise.
73809         (__have_dup3): Likewise.
73811 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
73813         [BZ #9685]
73814         * include/unistd.h (__have_pipe2): Change define into an extern int.
73815         (__have_dup3): Likewise.
73816         * socket/have_sock_cloexec.c: Include fcntl.h.
73817         (__have_pipe2): New variable.
73818         (__have_dup3): Likewise.
73820 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
73822         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
73824 2012-08-17  Marek Polacek  <polacek@redhat.com>
73826         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
73827         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
73829 2012-08-17  Roland McGrath  <roland@hack.frob.com>
73831         * configure.in: Add AC_SUBST for sysheaders.
73832         * configure: Regenerated.
73833         * config.make.in (sysheaders): New substituted variable.
73835         * sysdeps/unix/mkfifo.c: Moved ...
73836         * sysdeps/posix/mkfifo.c: ... here.
73837         * sysdeps/unix/mkfifoat.c: Moved ...
73838         * sysdeps/posix/mkfifoat.c: ... here.
73840         * sysdeps/unix/utime.c: Moved ...
73841         * sysdeps/posix/utime.c: ... here.
73843         * sysdeps/unix/time.c: Moved ...
73844         * sysdeps/posix/time.c: ... here.
73845         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
73846         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
73848         * sysdeps/unix/nice.c: Moved ...
73849         * sysdeps/posix/nice.c: ... here.
73851         * sysdeps/unix/alarm.c: Moved ...
73852         * sysdeps/posix/alarm.c: ... here.
73854         * intl/Makefile ($(codeset_mo)): Depend on the input file.
73856 2012-08-17  Jeff Law <law@redhat.com>
73858         * intl/Makefile (codeset_mo): New variable.
73859         ($(codeset_mo)): New target.
73860         (tst-codeset.out): Depend on that.  Remove explicit rule.
73861         (tst-gettext3.out, tst-gettext5.out): Likewise.
73862         (LOCPATH-ENV, tst-codeset-ENV): New variables.
73863         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
73864         * intl/tst-codeset.sh: Remove.
73865         * intl/tst-gettext3.sh: Likewise.
73866         * intl/tst-gettext5.sh: Likewise.
73868 2012-08-17  Roland McGrath  <roland@hack.frob.com>
73870         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
73871         * sysdeps/unix/syscalls.list: ... here.
73873         * sysdeps/posix/getaddrinfo.c
73874         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
73875         (gaiconf_init, gaiconf_reload): Use them.
73876         [!_STATBUF_ST_NSEC]
73877         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
73878         Define using time_t rather than struct timespec.
73880         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
73881         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
73882         Macros removed.
73883         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
73884         [!NO_THREADS].
73885         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
73886         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
73887         Likewise.
73889         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
73890         __libc_cleanup_push argument.
73892         * bits/param.h: New file.
73893         * misc/sys/param.h: New file.
73894         * include/sys/param.h: New file.
73895         * misc/Makefile (headers): Add bits/param.h.
73896         * sysdeps/generic/sys/param.h: File removed.
73897         * sysdeps/unix/sysv/linux/bits/param.h: New file.
73898         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
73899         * sysdeps/mach/hurd/bits/param.h: New file.
73900         * sysdeps/mach/hurd/sys/param.h: File removed.
73902         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
73903         last change.
73905         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
73906         [_IO_MTSAFE_IO].
73907         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
73908         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
73909         New macros.
73911         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
73912         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
73913         rather than -D_IO_MTSAFE_IO conditionally.
73914         * stdio-common/Makefile (CPPFLAGS): Likewise.
73915         * wcsmbs/Makefile (CPPFLAGS): Likewise.
73916         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
73917         Use $(libio-mtsafe).
73918         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
73919         of -D_IO_MTSAFE_IO.
73920         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
73921         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
73922         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
73923         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
73924         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
73925         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
73926         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
73927         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
73928         (CFLAGS-fread_u_chk.c): Likewise.
73929         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
73930         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
73931         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
73932         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
73933         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
73934         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
73935         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
73936         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
73937         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
73939         * libio/Makefile: Test [$(libc-reentrant) = yes]
73940         instead of [$(filter %REENTRANT, $(defines)) nonempty].
73942         * Makeconfig
73943         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
73944         * sysdeps/pthread/configure: File removed.
73945         * sysdeps/pthread/Makeconfig: New file.
73946         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
73947         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
73949 2012-08-16  Gary Benson  <gbenson@redhat.com>
73951         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
73952         unmapping the first object in a namespace.
73954 2012-08-16  Roland McGrath  <roland@hack.frob.com>
73956         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
73957         (__internal_setnetgrent): ... this.  Add internal_function to
73958         definition.  Add libc_hidden_def.
73959         (setnetgrent): Update caller.
73960         (internal_endnetgrent): Renamed to ...
73961         (__internal_endnetgrent): ... this.  Add internal_function to
73962         definition.  Add libc_hidden_def.
73963         (endnetgrent): Update caller.
73964         (internal_getnetgrent_r): Renamed to ...
73965         (__internal_getnetgrent_r): ... this.  Add internal_function to
73966         definition.  Add libc_hidden_def.
73967         (__getnetgrent_r): Update caller.
73968         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
73970 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
73972         * stdlib/longlong.h: Update from GCC.
73974 2012-08-16  Roland McGrath  <roland@hack.frob.com>
73976         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
73977         on _QL, which is set by umul_ppmm but never used.
73978         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
73979         variables, which are set by GMP macros but never used.
73980         * stdio-common/_itowa.c (_itowa): Likewise.
73981         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
73982         * stdlib/mod_1.c (mpn_mod_1): Likewise.
73984 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
73986         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
73987         struct La_sh_regs is not constant.
73988         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
73989         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
73990         and struct La_sparc64_regs are not constant.
73992 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
73994         * sysdeps/unix/sysv/linux/kernel-features.h
73995         (__ASSUME_POSIX_TIMERS): Remove.
73996         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
73997         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
73998         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
73999         Make code unconditional.
74000         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
74001         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
74002         Make code unconditional.
74003         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
74004         * sysdeps/unix/sysv/linux/clock_nanosleep.c
74005         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
74006         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
74007         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
74008         Make code unconditional.
74009         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
74010         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
74011         (__libc_missing_posix_timers): Remove.
74013 2012-08-15  Roland McGrath  <roland@hack.frob.com>
74015         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
74016         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
74018         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
74020         * elf/dl-sym.c: Include <stdlib.h>.
74022         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
74023         constants, which avoids warnings in 32-bit builds.
74025         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
74026         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
74028         * misc/lseek.c: File moved to ...
74029         * io/lseek.c: ... here.
74031         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
74033         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
74034         shifting LEN more than 31 bits at once.
74036 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74038         [BZ #14195]
74039         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
74040         segmentation fault for a case of two empty input strings.
74041         * string/test-strncasecmp.c (check1): Renamed to...
74042         (bz12205): ...this.
74043         (bz14195): Add new testcase for two empty input strings and N > 0.
74044         (test_main): Call new testcase, adapt for renamed function.
74046 2012-08-15  Andreas Jaeger  <aj@suse.de>
74048         [BZ #14090]
74049         * crypt/md5test2.c: New test, based on test supplied by Serge
74050         Belyshev <belyshev@depni.sinp.msu.ru>.
74051         * crypt/Makefile (xtests): Add md5test-giant..
74052         * crypt/Makefile ($(objpfx)md5test-giant): Add.
74054 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
74056         [BZ #14090]
74057         * crypt/md5.c (md5_process_block): Don't assume the buffer
74058         length is less than 2**32.
74059         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
74060         length is less than 2**64.
74062 2012-08-15  Roland McGrath  <roland@hack.frob.com>
74064         * string/str-two-way.h: Include <sys/param.h>.
74065         (MAX): Macro removed.
74067         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
74068         Move #define and #undef of memmove to just before and after
74069         including <string.h>.
74071         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
74072         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
74073         and after including <string.h>.  Move declarations of
74074         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
74075         to before #include "string/memmove.c".
74077         * include/dirent.h: Declare __getdirentries.
74079         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
74080         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
74082 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
74084         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
74085         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
74086         * sysdeps/i386/configure: Regenerated.
74087         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
74088         STABS_CURRENT_FILE, and STABS_FUN.
74089         (END): Remove call to STABS_FUN_END.
74090         (STABS_CURRENT_FILE1): Delete.
74091         (STABS_CURRENT_FILE): Likewise.
74092         (STABS_FUN): Likewise.
74093         (STABS_FUN_END): Likewise.
74094         (STABS_FUN2): Likewise.
74095         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
74096         * sysdeps/x86_64/configure: Regenerated.
74098 2012-08-14  Roland McGrath  <roland@hack.frob.com>
74100         * elf/dl-open.c: Include <atomic.h>.
74101         * elf/dl-lookup.c: Likewise.
74103 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
74105         * sysdeps/unix/sysv/linux/kernel-features.h
74106         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
74107         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
74108         unconditionally.
74109         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
74110         unconditionally.
74111         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
74112         condition on __ASSUME_CLONE_THREAD_FLAGS.
74114 2012-08-14  Andreas Jaeger  <aj@suse.de>
74116         * sysdeps/i386/fpu/libm-test-ulps: Update.
74118 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
74120         * include/atomic.h (atomic_exchange_and_add): Split into ...
74121         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
74122         New atomic macros.
74124 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
74126         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74128 2012-08-13  Jeff Law <law@redhat.com>
74130         * manual/stdio.texi (snprintf): Clarify handling of the trailing
74131         null byte in the output string.
74133 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
74135         * sysdeps/unix/sysv/linux/kernel-features.h
74136         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
74137         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
74138         (__ASSUME_ARG_MAX_STACK_BASED): Define.
74139         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
74140         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
74141         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
74142         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
74144 2012-08-09  Jeff Law <law@redhat.com>
74146         [BZ #13939]
74147         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
74148         When avoid_arena is set, don't retry in the that arena.  Pick the
74149         next one, whatever it might be.
74150         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
74151         (arena_lock): Pass in new parameter to arena_get2.
74152         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
74153         arena_get2.
74154         (__libc_malloc): Unify retrying after main arena failure with
74155         __libc_memalign version.
74156         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
74158 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
74160         [BZ #14166]
74161         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
74162         to __redirect_strstr.
74163         (__strstr_sse42): Use typeof __redirect_strstr.
74164         (__strstr_ia32): Likewise.
74165         (__libc_strstr): New prototype.
74166         (strstr): Renamed to ...
74167         (__libc_strstr): This.
74168         (strstr): New strong alias of __libc_strstr.
74169         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
74170         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
74171         __redirect_time.
74172         Include <time.h>.
74173         (__libc_time): New prototype.
74174         (time_ifunc): Replace time with __libc_time.
74175         (time): New strong alias and hidden definition of __libc_time.
74176         (__GI_time): Remove strong alias.
74177         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
74178         Include <stddef.h>.
74179         (memmove): Redefined to __redirect_memmove.
74180         (__memmove_sse2): Use typeof __redirect_memmove.
74181         (__memmove_ssse3): Likewise.
74182         (__memmove_ssse3_back): Likewise.
74183         (__libc_memmove): New prototype.
74184         (memmove): Renamed to ...
74185         (__libc_memmove): This.
74186         (memmove): New strong alias of __libc_memmove.
74188 2012-08-08  Mark Salter  <msalter@redhat.com>
74190         * elf/elf.h
74191         (R_MN10300_TLS_GD): Define.
74192         (R_MN10300_TLS_LD): Likewise.
74193         (R_MN10300_TLS_LDO): Likewise.
74194         (R_MN10300_TLS_GOTIE): Likewise.
74195         (R_MN10300_TLS_IE): Likewise.
74196         (R_MN10300_TLS_LE): Likewise.
74197         (R_MN10300_TLS_DTPMOD): Likewise.
74198         (R_MN10300_TLS_DTPOFF): Likewise.
74199         (R_MN10300_TLS_TPOFF): Likewise.
74200         (R_MN10300_SYM_DIFF): Likewise.
74201         (R_MN10300_ALIGN): Likewise.
74202         (R_MN10300_NUM): Update.
74204 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
74206         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
74207         Remove.
74209 2012-08-08  Roland McGrath  <roland@hack.frob.com>
74211         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
74213         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
74214         sysdeps/unix -> sysdeps/posix move.
74215         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
74217 2012-08-07      Allan McRae     <allan@archlinux.org>
74219         [BZ #14303]
74220         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
74221         (SUNOS_CPP): Likewise.
74222         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
74223         not found.
74224         (open_input): Call CPP using execvp.
74226 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
74228         * sysdeps/unix/sysv/linux/kernel-features.h
74229         (__ASSUME_PROT_GROWSUPDOWN): Remove.
74230         (__ASSUME_NO_CLONE_DETACHED): Likewise.
74231         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
74232         (__ASSUME_WAITID_SYSCALL): Likewise.
74233         * sysdeps/unix/sysv/linux/dl-execstack.c
74234         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
74235         code unconditional.
74236         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
74237         conditional code.
74238         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
74239         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
74240         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
74241         code.
74242         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
74243         unconditional.
74244         [__ASSUME_WAITID_SYSCALL]: Likewise.
74245         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
74247 2012-08-07  Roland McGrath  <roland@hack.frob.com>
74249         * sysdeps/unix/closedir.c: Renamed to ...
74250         * sysdeps/posix/closedir.c: ... here.
74251         * sysdeps/unix/dirfd.c: Renamed to ...
74252         * sysdeps/posix/dirfd.c: ... here.
74253         * sysdeps/unix/dirstream.h: Renamed to ...
74254         * sysdeps/posix/dirstream.h: ... here.
74255         * sysdeps/unix/fdopendir.c: Renamed to ...
74256         * sysdeps/posix/fdopendir.c: ... here.
74257         * sysdeps/unix/opendir.c: Renamed to ...
74258         * sysdeps/posix/opendir.c: ... here.
74259         * sysdeps/unix/readdir.c: Renamed to ...
74260         * sysdeps/posix/readdir.c: ... here.
74261         * sysdeps/unix/readdir_r.c: Renamed to ...
74262         * sysdeps/posix/readdir_r.c: ... here.
74263         * sysdeps/unix/rewinddir.c: Renamed to ...
74264         * sysdeps/posix/rewinddir.c: ... here.
74265         * sysdeps/unix/seekdir.c: Renamed to ...
74266         * sysdeps/posix/seekdir.c: ... here.
74267         * sysdeps/unix/telldir.c: Renamed to ...
74268         * sysdeps/posix/telldir.c: ... here.
74269         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
74270         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
74271         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
74272         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
74274         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
74275         * bits/fcntl.h: ... here.
74277         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
74278         not 0.
74279         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
74280         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
74281         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
74282         (struct flock): Move l_start, l_len to the beginning.
74283         Use __pid_t for l_pid.
74284         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
74285         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
74286         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
74287         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
74288         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
74289         [__USE_LARGEFILE64] (struct flock64): New type.
74290         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
74292         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
74293         * bits/dirent.h: ... here.
74295         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
74296         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
74298 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
74300         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
74301         Change from 2.6.0 to 2.6.16.
74302         * sysdeps/unix/sysv/linux/configure: Regenerated.
74303         * sysdeps/unix/sysv/linux/kernel-features.h
74304         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
74305         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
74306         version.
74307         (__ASSUME_UTIMES): Likewise.
74308         (__ASSUME_CLONE_STOPPED): Remove.
74309         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
74310         architectures, not kernel version.
74311         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
74312         (__ASSUME_NO_CLONE_DETACHED): Likewise.
74313         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
74314         (__ASSUME_WAITID_SYSCALL): Likewise.
74315         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
74316         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
74317         * README: State 2.6.16 as minimum Linux kernel version.  Do not
74318         refer to older versions.
74320 2012-08-06  Roland McGrath  <roland@hack.frob.com>
74322         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
74323         Define alphasort64 as an alias.
74324         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
74325         Define versionsort64 as an alias.
74326         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
74327         Define scandir64 as an alias.
74328         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
74329         Define scandirat64 as an alias.
74330         * dirent/alphasort64.c (alphasort64):
74331         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
74332         * dirent/versionsort64.c: Likewise.
74333         * dirent/scandir64.c: Likewise.
74334         * dirent/scandirat64.c: Likewise.
74335         * sysdeps/wordsize-64/alphasort.c: File removed.
74336         * sysdeps/wordsize-64/alphasort64.c: File removed.
74337         * sysdeps/wordsize-64/scandir.c: File removed.
74338         * sysdeps/wordsize-64/scandir64.c: File removed.
74339         * sysdeps/wordsize-64/scandirat.c: File removed.
74340         * sysdeps/wordsize-64/scandirat64.c: File removed.
74341         * sysdeps/wordsize-64/versionsort.c: File removed.
74342         * sysdeps/wordsize-64/versionsort64.c: File removed.
74343         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
74344         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
74345         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
74346         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
74347         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
74348         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
74349         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
74350         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
74352         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
74353         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
74354         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
74355         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74356         [defined __arch64__ || defined __sparcv9]
74357         (__INO_T_MATCHES_INO64_T): New macro.
74358         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
74359         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
74360         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
74361         * sysdeps/unix/sysv/linux/bits/dirent.h
74362         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
74363         (_DIRENT_MATCHES_DIRENT64): New macro.
74365         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
74366         Define lockf64 as an alias.
74367         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
74368         Define fseeko64 as an alias.
74369         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
74370         Define ftello64 as an alias.
74371         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
74372         Define _IO_fgetpos64 and fgetpos64 as aliases.
74373         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
74374         Define _IO_fsetpos64 and fsetpos64 as aliases.
74375         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
74376         Conditionalize body on this.
74377         * libio/fseeko64.c: Likewise.
74378         * libio/ftello64.c: Likewise.
74379         * libio/iofgetpos64.c: Likewise.
74380         * libio/iofsetpos64.c: Likewise.
74381         * sysdeps/wordsize-64/lockf.c: File removed.
74382         * sysdeps/wordsize-64/lockf64.c: File removed.
74383         * sysdeps/wordsize-64/fseeko.c: File removed.
74384         * sysdeps/wordsize-64/fseeko64.c: File removed.
74385         * sysdeps/wordsize-64/ftello.c: File removed.
74386         * sysdeps/wordsize-64/ftello64.c: File removed.
74387         * sysdeps/wordsize-64/iofgetpos.c: File removed.
74388         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
74389         * sysdeps/wordsize-64/iofsetpos.c: File removed.
74390         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
74391         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
74392         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
74393         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
74394         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
74395         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
74396         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
74397         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
74398         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
74399         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
74400         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
74402         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
74403         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
74404         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
74405         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74406         [defined __arch64__ || defined __sparcv9]
74407         (__OFF_T_MATCHES_OFF64_T): New macro.
74408         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
74409         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
74410         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74411         (__OFF_T_MATCHES_OFF64_T): New macro.
74413 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
74415         * stdlib/secure-getenv.c (__secure_getenv): Replace
74416         GLIBC_2_16 with GLIBC_2_17.
74418 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
74420         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
74421         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
74423 2012-08-03  David S. Miller  <davem@davemloft.net>
74425         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74427 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
74429         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
74430         Remove.
74431         (__ASSUME_CORRECT_SI_PID): Likewise.
74432         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
74433         (__ASSUME_TMPFS_NAME): Likewise.
74434         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
74435         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
74436         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
74437         (HAVE_AUX_SECURE): Make definition unconditional.
74438         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
74439         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
74441 2012-08-03  Roland McGrath  <roland@hack.frob.com>
74443         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
74444         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
74445         * sysdeps/mach/hurd/eloop-threshold.h: New file.
74446         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
74447         __eloop_threshold instead of SYMLOOP_MAX.
74449         * sysdeps/generic/eloop-threshold.h: New file.
74450         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
74451         of MAXSYMLINKS.
74452         * elf/chroot_canon.c (chroot_canon): Likewise.
74454 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
74456         [BZ #13717]
74457         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
74458         Change to 2.6.0 everywhere.
74459         * sysdeps/unix/sysv/linux/configure: Regenerated.
74460         * sysdeps/unix/sysv/linux/kernel-features.h
74461         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
74462         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
74463         kernel versions.
74464         (__ASSUME_POSIX_TIMERS): Define unconditionally.
74465         (__ASSUME_FUTEX_REQUEUE): Remove.
74466         (__ASSUME_STATFS64): Define unconditionally.
74467         (__ASSUME_AT_SECURE): Likewise.
74468         (__ASSUME_CORRECT_SI_PID): Likewise.
74469         (__ASSUME_TGKILL): Define without depending on kernel version for
74470         i386.
74471         (__ASSUME_UTIMES): Likewise.
74472         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
74473         kernel version.
74474         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
74475         (__ASSUME_TMPFS_NAME): Likewise.
74476         * README: Update reference to Linux kernel versions.
74478 2012-08-02  Marek Polacek  <polacek@redhat.com>
74480         [BZ #14150]
74481         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
74482         libc_cv_asm_type_prefix with %.
74483         * configure: Regenerated.
74484         * include/libc-symbols.h: Remove comment about
74485         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
74486         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
74487         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
74488         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
74489         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
74490         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
74491         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
74492         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
74493         * elf/tst-unique2mod1.c: Likewise.
74494         * elf/tst-unique1mod2.c: Likewise.
74495         * elf/tst-unique1mod1.c: Likewise.
74496         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
74497         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
74498         Replace ASM_TYPE_DIRECTIVE with .type.
74499         * sysdeps/s390/s390-64/sysdep.h: Likewise.
74500         * sysdeps/i386/sysdep.h: Likewise.
74501         * sysdeps/x86_64/sysdep.h: Likewise.
74502         * sysdeps/sh/sysdep.h: Likewise.
74503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
74504         Do not define ASM_TYPE_DIRECTIVE.
74505         * sysdeps/powerpc/sysdep.h: Likewise.
74506         * sysdeps/powerpc/powerpc32/sysdep.h:
74507         Replace ASM_TYPE_DIRECTIVE with .type.
74508         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
74509         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
74510         * sysdeps/i386/fpu/e_powf.S: Likewise.
74511         * sysdeps/i386/fpu/e_expl.S: Likewise.
74512         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
74513         * sysdeps/i386/fpu/e_acosh.S: Likewise.
74514         * sysdeps/i386/fpu/e_pow.S: Likewise.
74515         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
74516         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
74517         * sysdeps/i386/fpu/s_expm1.S: Likewise.
74518         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
74519         * sysdeps/i386/fpu/e_log2.S: Likewise.
74520         * sysdeps/i386/fpu/e_log2l.S: Likewise.
74521         * sysdeps/i386/fpu/e_scalb.S: Likewise.
74522         * sysdeps/i386/fpu/e_powl.S: Likewise.
74523         * sysdeps/i386/fpu/e_log10f.S: Likewise.
74524         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
74525         * sysdeps/i386/fpu/e_logl.S: Likewise.
74526         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
74527         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
74528         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
74529         * sysdeps/i386/fpu/e_log2f.S: Likewise.
74530         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
74531         * sysdeps/i386/fpu/e_log.S: Likewise.
74532         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
74533         * sysdeps/i386/fpu/e_logf.S: Likewise.
74534         * sysdeps/i386/fpu/e_log10l.S: Likewise.
74535         * sysdeps/i386/fpu/e_atanh.S: Likewise.
74536         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
74537         * sysdeps/i386/fpu/e_log10.S: Likewise.
74538         * sysdeps/i386/fpu/s_frexp.S: Likewise.
74539         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
74540         * sysdeps/i386/fpu/s_asinh.S: Likewise.
74541         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
74542         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
74543         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
74544         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
74545         * sysdeps/i386/i686/strtok.S: Likewise.
74546         * sysdeps/i386/i386-mcount.S: Likewise.
74547         * sysdeps/i386/strtok.S: Likewise.
74548         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
74549         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
74550         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74551         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
74552         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
74553         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
74554         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
74555         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
74556         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
74557         * sysdeps/x86_64/_mcount.S: Likewise.
74558         * sysdeps/x86_64/strtok.S: Likewise.
74559         * sysdeps/sh/_mcount.S: Likewise.
74561 2012-08-01  Roland McGrath  <roland@hack.frob.com>
74563         * libio/iofopen.c: Include <fcntl.h>.
74564         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
74565         (_IO_fopen64, fopen64): Define as aliases.
74566         * libio/iofopen64.c: Include <fcntl.h>.
74567         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
74568         Conditionalize body on this.
74569         * sysdeps/wordsize-64/iofopen.c: File removed.
74570         * sysdeps/wordsize-64/iofopen64.c: File removed.
74572 2012-08-01  Marek Polacek  <polacek@redhat.com>
74574         * libc/Makeconfig: Use elf in place of binfmt-subdir.
74575         Use dlfcn directly instead of a variable.
74576         (binfmt-subdir): Do not define.
74577         (dlfcn): Likewise.
74579 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
74581         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
74582         Remove all definitions.
74583         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
74584         <kernel-features.h>.
74585         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
74586         (miss_F_GETOWN_EX): Remove all definitions.
74587         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
74588         macro definition.
74589         [!__ASSUME_FCNTL64]: Remove conditional code.
74590         [__ASSUME_FCNTL64]: Make code unconditional.
74591         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
74592         <kernel-features.h>.
74593         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
74594         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
74595         (lockf64) [__NR_fcntl64]: Make code unconditional.
74596         (lockf64) [__ASSUME_FCNTL64]: Likewise.
74598         * sysdeps/unix/sysv/linux/kernel-features.h
74599         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
74600         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
74601         Make code unconditional.
74602         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
74603         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
74604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
74605         [__NR_vfork]: Make code unconditional.
74606         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
74607         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
74608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
74609         [__NR_vfork]: Make code unconditional.
74610         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
74611         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
74613 2012-08-01  Roland McGrath  <roland@hack.frob.com>
74615         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
74616         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
74618         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
74619         Define mkstemp64 as an alias.
74620         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
74621         Define mkstemps64 as an alias.
74622         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
74623         Define mkostemp64 as an alias.
74624         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
74625         Define mkostemps64 as an alias.
74626         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
74627         Conditionalize body on this.
74628         * misc/mkostemp64.c: Likewise.
74629         * misc/mkostemps64.c: Likewise.
74630         * misc/mkstemps64.c: Likewise.
74631         * sysdeps/wordsize-64/mkstemp64.c: File removed.
74632         * sysdeps/wordsize-64/mkostemp64.c: File removed.
74633         * sysdeps/wordsize-64/mkostemp.c: File removed.
74634         * sysdeps/wordsize-64/mkstemp.c: File removed.
74635         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
74636         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
74637         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
74638         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
74640         [BZ #14138]
74641         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
74642         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
74643         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
74644         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
74646         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
74647         compat_symbol macros from <shlib-compat.h> rather than the underlying
74648         default_symbol_version and symbol_version macros, so that DEFAULT
74649         lines in shlib-versions are respected.
74650         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
74652 2012-08-01  Florian Weimer  <fweimer@redhat.com>
74654         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
74655         Declare with warn_unused_result.
74656         (setgid, setregid, setegid, setresgid): Likewise.
74657         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
74658         Likewise.
74659         * WUR-REPORT: Remove set*id functions.
74661 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
74663         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
74665 2012-07-31  Roland McGrath  <roland@hack.frob.com>
74667         [BZ #10191]
74668         * include/sys/socket.h (__libc_accept, __libc_accept4):
74669         Add attribute_hidden.
74670         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
74672         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
74673         use of PTR_MANGLE.
74674         * inet/getnetgrent_r.c (setup): Likewise.
74676         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
74678 2012-07-31  David S. Miller  <davem@davemloft.net>
74680         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74682 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
74684         [BZ #13629]
74685         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
74686         value between 1.0 and 2.0 and smaller part has absolute value less
74687         than 1.0.
74688         * math/s_clog10.c (__clog10): Likewise.
74689         * math/s_clog10f.c (__clog10f): Likewise.
74690         * math/s_clog10l.c (__clog10l): Likewise.
74691         * math/s_clogf.c (__clogf): Likewise.
74692         * math/s_clogl.c (__clogl): Likewise.
74693         * math/libm-test.inc (clog_test): Add more tests.
74694         (clog10_test): Likewise.
74695         * sysdeps/i386/fpu/libm-test-ulps: Update.
74696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74698 2012-07-31  Florian Weimer  <fweimer@redhat.com>
74700         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
74701         Exit with zero in case no suitable GID is found, and write a
74702         message to standard error.
74704 2012-07-30  Roland McGrath  <roland@hack.frob.com>
74706         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
74707         rather than to 1.
74708         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
74709         (MAXPATHLEN): Removed.
74710         (NOGROUP, NODEV): New macros.
74711         (setbit, clrbit, isset, isclr): New macros.
74712         (howmany, roundup, powerof2): New macros.
74713         (DEV_BSIZE): New macro.
74715         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
74716         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
74718         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
74719         definition on [!__NO_LONG_DOUBLE_MATH].
74721         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
74722         PTR_MANGLE and PTR_DEMANGLE.
74724         * socket/accept4.c (accept4): Rename to __libc_accept4.
74725         Define accept4 as a weak alias.
74727         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
74728         on [_DIRENT_HAVE_D_TYPE].
74729         * io/ftw.c (ftw_dir): Likewise.
74731         * io/xmknod.c (__xmknod): Don't check PATH for being null.
74733         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
74735         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
74736         Use the BSD numbers rather than the arbitrary ones we had.
74737         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
74738         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
74739         (SIGXCPU, SIGXFSZ): New macros.
74740         (_NSIG): Now 32.
74742         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
74743         initializer on [_LIBC_REENTRANT].
74745         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
74746         definitions inside [_POSIX_MAPPED_FILES].
74748         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
74750         * dirent/opendir.c: Include <fcntl.h>.
74752         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
74753         (__libc_getspecific): Likewise.
74754         (__libc_key_create): Likewise.
74756         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
74757         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
74758         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
74759         (tmpfile64): Define as alias.
74760         * sysdeps/wordsize-64/tmpfile.c: File removed.
74761         * sysdeps/wordsize-64/tmpfile64.c: File removed.
74762         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
74763         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
74765         * stdio-common/vfscanf.c: Include <stdbool.h>.
74766         * nss/makedb.c: Likewise.
74767         * stdio-common/_i18n_number.h: Likewise.
74768         * argp/argp-help.c: Likewise.
74769         * posix/wordexp.c: Likewise.
74770         * sysdeps/posix/spawni.c: Likewise.
74771         * nss/nss_files/files-initgroups.c: Likewise.
74772         * stdio-common/reg-modifier.c: Include <stdlib.h>.
74773         * nss/nss_files/files-initgroups.c: Likewise.
74774         * nss/nss_db/db-netgrp.c: Likewise.
74775         * nss/nss_db/db-initgroups.c: Likewise.
74776         * io/fchmodat.c: Include <sys/stat.h>.
74778         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
74779         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
74781         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
74782         [HAVE_MMAP].
74784         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
74785         Add multiple inclusion protection.
74787 2012-07-27  David S. Miller  <davem@davemloft.net>
74789         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74791 2012-07-27  Gary Benson  <gbenson@redhat.com>
74793         [BZ #14298]
74794         * elf/rtld.c: Include <stap-probe.h>.
74795         (dl_main): Added static probes "init_start" and "init_complete".
74796         * elf/dl-load.c: Include <stap-probe.h>.
74797         (lose): Take new parameter "nsid".
74798         Added static probe "map_failed".
74799         (_dl_map_object_from_fd): Pass namespace id to lose.
74800         Added static probe "map_start".
74801         (open_verify): Pass namespace id to lose.
74802         * elf/dl-open.c: Include <stap-probe.h>.
74803         (dl_open_worker) Added static probes "map_complete", "reloc_start"
74804         and "reloc_complete".
74805         * elf/dl-close.c: Include <stap-probe.h>.
74806         (_dl_close_worker): Added static probes "unmap_start" and
74807         "unmap_complete".
74808         * elf/rtld-debugger-interface.txt: New file documenting the above.
74810 2012-07-26  Roland McGrath  <roland@hack.frob.com>
74812         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
74813         rather than a string variable.
74814         * sunrpc/rpc_main.c (h_output): Likewise.
74815         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
74817 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
74819         * inet/check_native.c: New file.
74821 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
74823         [BZ #13629]
74824         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
74825         if larger part has absolute value 1.0.
74826         * math/s_clog10.c (__clog10): Likewise.
74827         * math/s_clog10f.c (__clog10f): Likewise.
74828         * math/s_clog10l.c (__clog10l): Likewise.
74829         * math/s_clogf.c (__clogf): Likewise.
74830         * math/s_clogl.c (__clogl): Likewise.
74831         * math/libm-test.inc (clog_test): Add more tests.
74832         (clog10_test): Likewise.
74833         * sysdeps/i386/fpu/libm-test-ulps: Update.
74834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74836         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
74837         (pltexit): Likewise.
74838         (La_regs): Likewise.
74839         (La_retval): Likewise.
74840         (int_retval): Likewise.
74841         Update #error for removed macros to refer only to definitions in
74842         tst-audit.h.
74843         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
74844         macro.
74845         (pltexit): Likewise.
74846         (La_regs): Likewise.
74847         (La_retval): Likewise.
74848         (int_retval): Likewise.
74849         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
74850         macro.
74851         (pltexit): Likewise.
74852         (La_regs): Likewise.
74853         (La_retval): Likewise.
74854         (int_retval): Likewise.
74855         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
74856         macro.
74857         (pltexit): Likewise.
74858         (La_regs): Likewise.
74859         (La_retval): Likewise.
74860         (int_retval): Likewise.
74861         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
74862         macro.
74863         (pltexit): Likewise.
74864         (La_regs): Likewise.
74865         (La_retval): Likewise.
74866         (int_retval): Likewise.
74867         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
74868         macro.
74869         (pltexit): Likewise.
74870         (La_regs): Likewise.
74871         (La_retval): Likewise.
74872         (int_retval): Likewise.
74873         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
74874         macro.
74875         (pltexit): Likewise.
74876         (La_regs): Likewise.
74877         (La_retval): Likewise.
74878         (int_retval): Likewise.
74879         * sysdeps/generic/tst-audit.h: Update comment to refer only to
74880         macro definitions in tst-audit.h.
74881         * sysdeps/i386/tst-audit.h: New file.
74882         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
74883         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
74884         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
74885         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
74886         * sysdeps/sh/tst-audit.h: Likewise.
74887         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
74888         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
74889         * sysdeps/x86_64/tst-audit.h: Likewise.
74891 2012-07-26  Andreas Jaeger  <aj@suse.de>
74893         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
74894         ptrace.
74896         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
74897         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
74898         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
74899         PTRACE_O_MASK.
74900         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
74901         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
74902         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
74904         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
74905         value.
74907         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
74908         _sigsys.
74909         (si_call_addr, si_syscall, si_arch): Define new macro.
74910         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
74911         _sigsys.
74912         (si_call_addr, si_syscall, si_arch): Define new marcro.
74913         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
74914         _sigsys.
74915         (si_call_addr, si_syscall, si_arch): Define new macro.
74916         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
74917         _sigsys.
74918         (si_call_addr, si_syscall, si_arch): Define new macro.
74920 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
74922         [BZ #13717]
74923         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
74924         Change to 2.4.21 where previously 2.4.1.
74925         * sysdeps/unix/sysv/linux/configure: Regenerated.
74926         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
74927         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
74928         Linux kernel version.
74929         (__ASSUME_STD_AUXV): Remove.
74930         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
74931         kernel version.
74932         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
74933         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
74934         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
74935         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
74936         (__ASSUME_NETLINK_SUPPORT): Likewise.
74937         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
74938         (__no_netlink_support): Remove conditional definition.
74939         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
74940         Remove.
74941         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
74942         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
74943         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
74944         (if_nameindex_ioctl): Remove.
74945         (if_nameindex_netlink): Do not handle __no_netlink_support.
74946         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
74947         code.
74948         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
74949         Remove conditional code.
74950         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
74951         code.
74952         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
74953         unconditional.
74954         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
74955         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
74956         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
74957         Remove.
74958         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
74959         [!__ASSUME_STD_AUXV]: Remove conditional code.
74960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
74961         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
74962         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
74963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
74964         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
74965         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
74966         code.
74967         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
74968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
74969         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
74970         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
74971         conditional code.
74972         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
74973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
74974         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
74975         code.
74976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
74977         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
74978         conditional code.
74979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
74980         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
74981         code unconditional.
74982         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74983         conditional code.
74984         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
74985         unconditional.
74986         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74987         conditional code.
74988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
74989         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
74990         unconditional.
74991         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74992         conditional code.
74993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
74994         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
74995         code unconditional.
74996         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74997         conditional code.
74998         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
74999         unconditional.
75000         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75001         conditional code.
75002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
75003         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
75004         code unconditional.
75005         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75006         conditional code.
75007         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
75008         unconditional.
75009         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75010         conditional code.
75012 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
75014         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
75015         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
75016         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
75017         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
75018         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
75019         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
75020         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
75021         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
75022         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
75023         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
75024         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
75025         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
75026         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
75027         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
75028         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
75029         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
75030         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
75031         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
75032         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
75033         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
75034         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
75035         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
75036         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
75038 2012-07-25  Florian Weimer  <fweimer@redhat.com>
75040         * Versions.def: Add GLIBC_2.17.
75041         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
75042         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
75043         Introduce __libc_secure_getenv.
75044         * stdlib/Versions (2.17): Add secure_getenv
75045         (GLIBC_PRIVATE): Add __libc_secure_getenv.
75046         * stdlib/secure-getenv.c: Rename __secure_getenv to
75047         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
75048         symbol __secure_getenv for GLIBC_2.0.
75049         * stdlib/tst-secure-getenv.c: New.
75050         * stdlib/Makefile (tests): Add testcase.
75051         * manual/startup.texi (Environment Access): Document
75052         secure_getenv.
75053         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
75054         __libc_secure_getenv.
75055         * inet/ruserpass.c (ruserpass): Likewise.
75056         * malloc/mtrace.c (mtrace): Likewise.
75057         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
75058         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
75059         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
75060         * sysdeps/posix/tempname.c: Likewise.  Evaluate
75061         HAVE_SECURE_GETENV.
75062         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
75063         __secure_getenv to __libc_secure_getenv.
75064         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
75065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75066         Likewise.
75067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75068         Likewise.
75069         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
75070         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
75071         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
75072         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
75073         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
75074         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
75075         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
75077 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
75079         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
75080         (struct La_i86_retval): Likewise.
75081         (struct La_x86_64_regs): Likewise.
75082         (struct La_x86_64_retval): Likewise.
75083         (struct La_x32_regs): Likewise.
75084         (struct La_x32_retval): Likewise.
75085         (struct La_ppc32_regs): Likewise.
75086         (struct La_ppc32_retval): Likewise.
75087         (struct La_ppc64_regs): Likewise.
75088         (struct La_ppc64_retval): Likewise.
75089         (struct La_sh_regs): Likewise.
75090         (struct La_sh_retval): Likewise.
75091         (struct La_s390_32_regs): Likewise.
75092         (struct La_s390_32_retval): Likewise.
75093         (struct La_s390_64_regs): Likewise.
75094         (struct La_s390_64_retval): Likewise.
75095         (struct La_sparc32_regs): Likewise.
75096         (struct La_sparc32_retval): Likewise.
75097         (struct La_sparc64_regs): Likewise.
75098         (struct La_sparc64_retval): Likewise.
75099         (struct audit_ifaces): Remove architecture-specific pltenter and
75100         pltexit members.
75101         * sysdeps/i386/ldsodefs.h: New file.
75102         * sysdeps/powerpc/ldsodefs.h: Likewise.
75103         * sysdeps/s390/ldsodefs.h: Likewise.
75104         * sysdeps/sh/ldsodefs.h: Likewise.
75105         * sysdeps/sparc/ldsodefs.h: Likewise.
75106         * sysdeps/x86_64/ldsodefs.h: Likewise.
75108 2012-07-25  Marek Polacek  <polacek@redhat.com>
75110         [BZ #6808]
75111         * math/libm-test.inc (yn_test): Add another test.
75112         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
75113         to ERANGE when the result is +-Inf.
75114         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
75115         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
75116         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
75117         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
75119 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
75121         * conform/data/time.h-data (NULL): Use macro-constant.  Require
75122         equal to 0.
75123         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
75124         clock_t.
75125         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
75127 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
75129         * configure.in <sysdeps resolving>: Correct printing
75130         Implies_before.
75131         * configure: Regenerate.
75133 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
75135         * math/w_ilogb.c: Include <limits.h>.
75136         * math/w_ilogbl.c: Likewise.
75138 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
75140         * manual/lang.texi (__va_copy): Document primarily as ISO C99
75141         va_copy.  Document allowing for unavailable va_copy only as
75142         pre-C99 compatibility.
75143         * manual/string.texi (Copying and Concatenation): Use va_copy
75144         instead of __va_copy in concat example.
75146 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
75148         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
75149         (__sendto): Use create_address_port.  Initialize APORT and deallocate
75150         it if not null.
75152         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
75153         with O_NOLINK passed to __file_name_lookup.
75155         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
75156         with O_NOLINK passed to __file_name_lookup.
75158         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
75159         negative N or less than NGIDS.
75161         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
75162         type to string_t.  Set ERANGE as errno and return it if NAME is not big
75163         enough.  Use memcpy instead of strncpy.
75165 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
75167         * elf/Makefile (check-data): Remove.
75168         (localplt.data): New vpath directive.
75169         ($(objpfx)check-localplt.out): Use localplt.data from vpath
75170         instead of $(check-data).
75171         * scripts/data/localplt-generic.data: Move to ...
75172         * sysdeps/generic/localplt.data: ... here.
75173         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
75174         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
75175         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
75176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
75177         ... here.
75178         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
75179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
75180         ... here.
75181         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
75182         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
75183         ... here.
75184         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
75185         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
75186         ... here.
75187         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
75188         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
75189         ... here.
75190         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
75191         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
75192         ... here.
75194 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75196         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
75197         PPC32 and PPC64 files.
75198         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
75199         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
75201 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75203         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
75204         __makecontext_ret to ...
75205         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
75206         ... here and call exit if uc_link is NULL.  New file.
75207         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
75208         __makecontext_ret.S.
75209         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
75210         __makecontext_ret to ...
75211         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
75212         ... here and call exit if uc_link is NULL.  New file.
75213         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
75214         __makecontext_ret.S.
75216 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75218         * elf/elf.h (R_390_IRELATIVE): New definition.
75219         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
75220         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
75221         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
75222         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
75223         (elf_machine_lazy_rel): Likewise.
75224         * sysdeps/s390/dl-irel.h: New file.
75225         * sysdeps/s390/s390-64/memcpy.S: New asm code.
75226         * sysdeps/s390/s390-64/memset.S: New asm code.
75227         * sysdeps/s390/s390-64/memcmp.S: New asm code.
75228         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
75229         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
75230         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
75231         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
75232         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
75233         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
75234         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
75235         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
75236         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
75237         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
75238         * sysdeps/s390/s390-32/memcpy.S: New asm code.
75239         * sysdeps/s390/s390-32/memset.S: New asm code.
75240         * sysdeps/s390/s390-32/memcmp.S: New asm code.
75242 2012-07-17  Marek Polacek  <polacek@redhat.com>
75244         [BZ #14349]
75245         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
75246         * sysdeps/s390/s390-64/configure.in: Likewise.
75247         * sysdeps/sparc/configure.in: Likewise.
75248         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
75249         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
75250         * sysdeps/i386/configure.in: Likewise.
75251         * sysdeps/x86_64/configure.in: Likewise.
75252         * sysdeps/sh/configure.in: Likewise.
75253         * sysdeps/s390/s390-32/configure: Regenerated.
75254         * sysdeps/s390/s390-64/configure: Likewise.
75255         * sysdeps/x86_64/configure: Likewise.
75256         * sysdeps/sh/configure: Likewise.
75257         * sysdeps/powerpc/powerpc64/configure: Likewise.
75258         * sysdeps/powerpc/powerpc32/configure: Likewise.
75259         * sysdeps/sparc/configure: Likewise.
75260         * sysdeps/i386/configure: Likewise.
75262         * elf/dl-open.c: Comment fixes.
75264 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
75266         * Makefile [CXX] (check-data): Remove.
75267         [CXX] (c++-types.data): New vpath directive.
75268         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
75269         vpath.  Do not allow for C++ type data being missing.
75270         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
75271         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
75272         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
75273         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
75274         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
75275         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
75276         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
75277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
75278         ... here.
75279         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
75280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
75281         ... here.
75282         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
75283         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
75284         ... here.
75285         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
75286         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
75287         ... here.
75288         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
75289         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
75290         ... here.
75291         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
75292         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
75293         ... here.
75294         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
75295         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
75296         ... here.
75297         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
75298         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
75300         * elf/tls-macros.h (TLS_LE): Move architecture-specific
75301         definitions to architecture-specific files.
75302         (TLS_IE): Likewise.
75303         (TLS_LD): Likewise.
75304         (TLS_GD): Likewise.
75305         * sysdeps/i386/tls-macros.h: New file.
75306         * sysdeps/powerpc/tls-macros.h: Likewise.
75307         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
75308         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
75309         * sysdeps/sh/tls-macros.h: Likewise.
75310         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
75311         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
75312         * sysdeps/x86_64/tls-macros.h: Likewise.
75314 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
75316         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
75317         zero value for regular exit case.
75319         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
75320         (__start_context): Preserve zero value for regular exit case.
75322 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
75323             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75325         * manual/setjmp.texi (setcontext): Clarify normal process
75326         termination when uc_link is the null pointer.
75327         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
75328         exit call.
75330 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
75332         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
75333         preprocessor.  Test for each exception mask separately.
75335 2012-07-16  Andreas Jaeger  <aj@suse.de>
75337         * po/ru.po: Update from translation team.
75339 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
75341         * conform/data/string.h-data (NULL): Use macro-constant.  Require
75342         equal to 0.
75343         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
75344         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
75345         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
75346         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
75347         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75349 2012-07-13  Andreas Jaeger  <aj@suse.de>
75351         * po/fr.po: Update from translation team.
75353 2012-07-12  Marek Polacek  <polacek@redhat.com>
75355         [BZ #14173]
75356         * math/libm-test.inc (yn_test): Add test for BZ #14173.
75357         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
75358         loop condition.
75360 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
75362         [BZ #13717]
75363         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
75364         Change to 2.4.1 where previously 2.4.0.
75365         * sysdeps/unix/sysv/linux/configure: Regenerated.
75366         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
75367         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
75368         version.
75369         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
75370         (__ASSUME_AT_CLKTCK): Remove.
75371         (__ASSUME_AT_PAGESIZE): Likewise.
75372         (__ASSUME_AT_XID): Likewise.
75373         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
75374         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
75375         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
75376         unconditionally.
75377         (HAVE_AUX_PAGESIZE): Likewise.
75378         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
75379         [__ASSUME_AT_CLKTCK]: Make code unconditional.
75380         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
75382 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
75384         [BZ #14307]
75385         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
75386         the temporary buffer used to invoke __gethostbyname2_r,
75387         __gethostbyaddr_r and gethostbyname4_r to make room for struct
75388         host_data / struct gaih_addrtuple.
75389         * resolv/nss_dns/dns-host.c (global scope): Move definition of
75390         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
75391         header file nss/nsswitch.h.
75392         * nss/nsswitch.h (global scope): Add definition of implementation
75393         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
75394         resolv/nss_dns/dns-host.c).
75396 2012-07-11  Andreas Jaeger  <aj@suse.de>
75398         * po/fr.po: Update from translation team.
75400         * po/sv.po: Update from translation team
75401         * po/fr.po: Another update from translation team.
75403 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75405         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
75406         for subnormals or multiply small sinh result by itself.
75407         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
75408         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75410 2012-07-11  David S. Miller  <davem@davemloft.net>
75412         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75414 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
75416         [BZ #14347]
75417         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
75418         (INTERNAL_MARK): Shift it here.
75420 2012-07-10  Marek Polacek  <polacek@redhat.com>
75422         [BZ #14151]
75423         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
75424         libc_cv_asm_global_directive with .globl.
75425         * configure: Regenerated.
75426         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
75427         with .globl.
75428         * sysdeps/i386/configure: Regenerated.
75429         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
75430         with .globl.
75431         * sysdeps/x86_64/configure: Regenerated.
75432         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
75433         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
75434         * elf/tst-unique2mod2.c: Likewise.
75435         * elf/tst-unique2mod1.c: Likewise.
75436         * elf/tst-unique1mod2.c: Likewise.
75437         * elf/tst-unique1mod1.c: Likewise.
75438         * sysdeps/s390/s390-32/sysdep.h: Likewise.
75439         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
75440         * sysdeps/s390/s390-64/sysdep.h: Likewise.
75441         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
75442         * sysdeps/mach/sysdep.h: Likewise.
75443         * sysdeps/i386/sysdep.h: Likewise.
75444         * sysdeps/i386/i386-mcount.S: Likewise.
75445         * sysdeps/x86_64/_mcount.S: Likewise.
75446         * sysdeps/x86_64/sysdep.h: Likewise.
75447         * sysdeps/sh/_mcount.S: Likewise.
75448         * sysdeps/sh/sysdep.h: Likewise.
75449         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
75450         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
75451         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
75452         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
75453         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
75454         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
75455         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
75456         * locale/localeinfo.h: Likewise.
75457         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
75458         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
75460 2012-07-09  Roland McGrath  <roland@hack.frob.com>
75462         [BZ #14336]
75463         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
75464         system".
75465         * manual/message.texi (The Uniforum approach): Likewise.
75466         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
75467         (glibc iconv Implementation): Likewise.
75469 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
75471         [BZ #14337]
75472         * math/s_clog.c (__clog): Avoid scaling a value down where that
75473         could result in underflow.
75474         * math/s_clog10.c (__clog10): Likewise.
75475         * math/s_clog10f.c (__clog10f): Likewise.
75476         * math/s_clog10l.c (__clog10l): Likewise.
75477         * math/s_clogf.c (__clogf): Likewise.
75478         * math/s_clogl.c (__clogl): Likewise.
75479         * math/libm-test.inc (clog_test): Add more tests.
75480         (clog10_test): Likewise.
75481         * sysdeps/i386/fpu/libm-test-ulps: Update.
75482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75484 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
75486         [BZ #14283]
75487         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
75488         by 7 not 8 to examine high bit of fractional part.
75490         [BZ #14042]
75491         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
75492         for call to __mcount_internal.
75493         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
75494         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
75495         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
75497 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
75499         [BZ #14154]
75500         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
75501         approximation for values within 0x1p-13f of an odd multiple of
75502         pi/4.
75503         * math/libm-test.inc (tan_test): Do not allow spurious underflow
75504         exception.  Add more tests.
75505         * sysdeps/i386/fpu/libm-test-ulps: Update.
75507         [BZ #6778]
75508         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
75509         inputs and return -1 for them.  Do not check for +Inf in case not
75510         reachable for +Inf.
75511         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
75512         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
75513         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
75514         and return -1 for them.  Do not check for +Inf in case not
75515         reachable for +Inf.
75516         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
75517         define.
75518         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
75519         and return -1 for them.  Do not check for +Inf in case not
75520         reachable for +Inf.
75521         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
75522         spurious underflow.
75523         * sysdeps/i386/fpu/libm-test-ulps: Update.
75524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75526 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
75528         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
75530 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
75532         [BZ #14157]
75533         [BZ #14331]
75534         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
75535         could result in spurious underflow.  Scale down values above
75536         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
75537         * math/s_csqrtf.c (__csqrtf): Likewise.
75538         * math/s_csqrtl.c (__csqrtl): Likewise.
75539         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
75540         spurious underflow.
75541         * sysdeps/i386/fpu/libm-test-ulps: Update.
75542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75544 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
75546         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
75547         xopen-msg.sed.
75548         * catgets/xopen-msg.awk: New file.
75549         * catgets/xopen-msg.sed: Removed.
75551         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
75552         po2text.sed.
75553         * intl/po2test.awk: New file.
75554         * intl/po2test.sed: Removed.
75556 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
75558         [BZ #14328]
75559         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
75560         or multiply small sinh result by itself.
75561         * math/s_ctanf.c (__ctanf): Likewise.
75562         * math/s_ctanh.c (__ctanh): Likewise.
75563         * math/s_ctanhf.c (__ctanhf): Likewise.
75564         * math/s_ctanhl.c (__ctanhl): Likewise.
75565         * math/s_ctanl.c (__ctanl): Likewise.
75566         * math/libm-test.inc (ctan_test_tonearest): New function.
75567         (ctan_test_towardzero): Likewise.
75568         (ctan_test_downward): Likewise.
75569         (ctan_test_upward): Likewise.
75570         (ctanh_test_tonearest): Likewise.
75571         (ctanh_test_towardzero): Likewise.
75572         (ctanh_test_downward): Likewise.
75573         (ctanh_test_upward): Likewise.
75574         (main): Call these new functions.
75575         * sysdeps/i386/fpu/libm-test-ulps: Update.
75576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75578 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
75580         * .gitignore: Delete /ports entry.
75582 2012-07-03  Andreas Jaeger  <aj@suse.de>
75584         * po/bg.po: Update from translation team.
75585         * po/cs.po: Likewise.
75586         * po/de.po: Likewise.
75587         * po/hr.po: Likewise.
75588         * po/nl.pl: Likewise.
75589         * po/pl.po: Likewise.
75590         * po/vi.po: Likewise.
75592 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
75594         * Makeconfig [!+link] (+link-before-libc): New variable.
75595         [!+link] (+link-after-libc): Likewise.
75596         [!+link] (+link-tests): Likewise.
75597         [!+link] (+link): Define in terms of $(+link-before-libc) and
75598         $(+link-after-libc).
75599         [!+link-static] (+link-static-before-libc): New variable.
75600         [!+link-static] (+link-static-after-libc): Likewise.
75601         [!+link-static] (+link-static-tests): Likewise.
75602         [!+link-static] (+link-static): Define in terms of
75603         $(+link-static-before-libc) and $(+link-static-after-libc).
75604         [build-shared] (link-libc-before-gnulib): New variable.
75605         [build-shared] (link-libc-tests): Likewise.
75606         [build-shared] (link-libc): Define in terms of
75607         $(link-libc-before-gnulib).
75608         [!build-shared] (link-libc-tests): New variable.
75609         (link-libc-static-tests): New variable.
75610         [!gnulib] (gnulib-arch): New variable.
75611         [!gnulib] (gnulib-tests): Likewise.
75612         [!gnulib] (static-gnulib-arch): Likewise.
75613         [!gnulib] (static-gnulib-tests): Likewise.
75614         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
75615         Define with "=" instead of ":=".
75616         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
75617         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
75618         * Rules (binaries-all-notests): New variable.
75619         (binaries-all-tests): Likewise.
75620         (binaries-static-notests): Likewise.
75621         (binaries-static-tests): Likewise.
75622         (binaries-all): Define using $(binaries-all-notests) and
75623         $(binaries-all-tests).
75624         (binaries-static): Define using $(binaries-static-notests) and
75625         $(binaries-static-tests).
75626         (binaries-shared-tests): New variable.
75627         (binaries-shared-notests): Likewise.
75628         (binaries-shared): Remove variable.
75629         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
75630         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
75631         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
75632         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
75633         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
75634         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
75635         * elf/Makefile (sln-modules): New variable.
75636         (extra-objs): Add $(sln-modules:=.o).
75637         (ldconfig-modules): Add static-stubs.
75638         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
75639         * elf/static-stubs.c: New file.
75641         [BZ #14283]
75642         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
75643         by 7 not 8 to examine high bit of fractional part.  Use volatile
75644         variables when splitting into final array of floats if
75645         __FLT_EVAL_METHOD__ != 0.
75646         * math/libm-test.inc (cos_test): Add another test.
75647         (sin_test): Likewise.
75648         * sysdeps/i386/fpu/libm-test-ulps: Update.
75650         [BZ #14273]
75651         * math/libm-test.inc (cosh_test): Add more tests.
75653         * version.h (RELEASE): Set to "development".
75654         (VERSION): Set to "2.16.90".
75656 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
75658         * NEWS: Update copyright. Remove last-updated date.
75659         Mention math library bug fixes and timezone data changes.
75660         * README: Mention GNU/Hurd, x32, and HPPA support status.
75662 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
75664         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
75666 2012-06-27  Andreas Jaeger  <aj@suse.de>
75668         * manual/contrib.texi (Contributors): Add Samuel Thibault.
75670 2012-06-25  Andreas Jaeger  <aj@suse.de>
75672         * sysdeps/s390/fpu/libm-test-ulps: Update.
75674 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
75675             Thomas Schwinge  <thomas@codesourcery.com>
75677         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
75678         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
75679         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
75680         fanotify_mark.
75682 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
75684         * sysdeps/mach/start.c: Remove file.
75685         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
75686         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
75687         * sysdeps/sh/init-first.c: Likewise.
75689         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
75690         registers for frame unwinding purposes, add CFI directives.
75691         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
75692         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
75693         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
75694         Likewise.
75696         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
75697         __fortify_fail returning.
75698         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
75700         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
75701         sysdeps/sh/____longjmp_chk.S.
75702         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
75703         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
75704         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
75705         (gen-as-const-headers): Append sigaltstack-offsets.sym.
75707         * sysdeps/sh/abort-instr.h: New file.
75708         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
75709         process in case exit returns.
75711         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
75712         initialize the GOT register before use.
75714         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
75715         calculation of ARGC > 4.
75717         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
75718         meaningful names to some local labels.
75720 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
75721             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
75723         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
75724         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
75725         (__arch_compare_and_exchange_val_16_acq): Likewise.
75726         (__arch_compare_and_exchange_val_32_acq): Likewise.
75727         (atomic_exchange_and_add): Fix gUSA sequence.
75728         (atomic_add): Likewise.
75729         (atomic_add_negative): Likewise.
75730         (atomic_add_zero): Likewise.
75731         (atomic_bit_test_set): Likewise.
75733 2012-06-22  Andreas Schwab  <schwab@redhat.com>
75735         [BZ #13579]
75736         * include/link.h (struct link_map): Add l_free_initfini.
75737         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
75738         l_initfini.
75739         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
75740         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
75741         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
75742         set.
75744 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
75746         * configure.in: Use AC_LANG_SOURCE.
75747         * configure: Regenerate.
75749 2012-06-22  Roland McGrath  <roland@hack.frob.com>
75751         * configure.in (libc_cv_localstatedir): New substituted variable.
75752         * configure: Regenerated.
75753         * config.make.in (localstatedir): New variable, substituted from
75754         libc_cv_localstatedir.
75755         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
75756         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
75757         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
75758         * sysdeps/gnu/configure: Regenerated.
75760 2012-06-21  Jeff Law  <law@redhat.com>
75762         [BZ #14277]
75763         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
75764         free.  Simplify list management for _LIBC case.
75766 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
75768         [BZ #14273]
75769         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
75770         Clear sign bit of 64-bit integer value before comparing against
75771         overflow value.
75773         * sysdeps/mach/configure: Regenerated.
75775 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
75777         [BZ #14278]
75778         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
75780 2012-06-21  Jeff Law  <law@redhat.com>
75782         [BZ #13882]
75783         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
75784         uint16_t for elements in the "seen" array to avoid char overflows.
75785         * elf/dl-fini.c (_dl_sort_fini): Likewise.
75786         * elf/dl-open.c (dl_open_worker): Likewise.
75788 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
75790         * scripts/list-sources.sh: Scan PORTS for translations.
75791         * po/libc.pot: Regenerated.
75793 2012-06-21  Andreas Jaeger  <aj@suse.de>
75795         [BZ #12194]
75796         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
75797         warning.
75798         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
75799         * bits/byteswap-16.h (__bswap_16): Likewise.
75800         * bits/byteswap.h (__bswap_constant_16): Likewise.
75802 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
75804         [BZ #14117]
75805         * sysdeps/i386/fpu_control.h: Removed.
75806         * sysdeps/x86_64/fpu_control.h: Moved to ...
75807         * sysdeps/x86/fpu_control.h: Here.
75809         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
75810         (_FPU_SETCW): Likewise.
75812 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
75814         [BZ #14117]
75815         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
75816         * sysdeps/x86/fpu/bits/mathinline.h: This.
75817         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
75819         [BZ #14050]
75820         [BZ #14117]
75821         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
75822         functions if __x86_64__ is defined.
75824 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
75826         * string/endian.h: Add !__ASSEMBLER__ condition for including
75827         conversion interfaces.
75829 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
75831         [BZ #14241]
75832         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
75833         of ABS(x) in calculating zero to negative powers other than odd
75834         integers.
75835         * math/libm-test.inc (pow_test): Add more tests.
75837 2012-06-15  Andreas Jaeger  <aj@suse.de>
75839         * manual/contrib.texi (Contributors): Update entry of Liubov
75840         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
75841         Machado Filho.
75843 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
75845         * string/string.h: Add __wur to GNU version of strerror_r.
75847 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
75849         [BZ #14229]
75850         * string/Makefile (tests): Add tst-strtok_r.
75851         * string/tst-strtok_r.c: New file.
75852         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
75853         RAX_LP/RDX_LP on SAVE_PTR.
75855 2012-06-14  Roland McGrath  <roland@hack.frob.com>
75857         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
75859 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
75861         * libm_test.inc (csqrt_test): Allow more spurious underflow
75862         exceptions.
75863         (j0_test): Likewise.
75864         (j1_test): Likewise.
75865         (y0_test): Likewise.
75866         (y1_test): Likewise.
75868 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
75870         * po/Makefile (libc.pot): Use UTF-8 charset.
75872 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
75874         [BZ #14210]
75875         Suppress sign-conversion warning from FD_SET.
75876         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
75877         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
75878         not unsigned long int.
75879         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
75881 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
75883         [BZ #14050]
75884         [BZ #14117]
75885         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
75886         __extern_always_inline instead of __extern_inline.
75887         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
75888         (__signbit): Likewise.
75889         (__signbitl): Support C++ namespace.
75890         (lrintf): New inline function.
75891         (lrint): Likewise.
75892         (llrintf): Likewise.
75893         (llrint): Likewise.
75894         (fmaxf): Likewise.
75895         (fmax): Likewise.
75896         (fminf): Likewise.
75897         (fmin): Likewise.
75898         (rint): Likewise.
75899         (rintf): Likewise.
75900         (ceil): Likewise.
75901         (ceilf): Likewise.
75902         (floor): Likewise.
75903         (floorf): Likewise.
75904         (nearbyint): Likewise.
75905         (nearbyintf): Likewise.
75907 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
75909         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
75910         non-default versions.
75912 2012-06-11  Roland McGrath  <roland@hack.frob.com>
75914         [BZ #14218]
75915         * manual/argp.texi (Argp): Reword argp_parse description slightly.
75917 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
75919         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
75920         (FE_UPWARD, FE_DOWNWARD): Don't define.
75921         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
75922         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
75924         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
75925         reading it.
75926         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
75927         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
75929 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
75931         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
75932         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
75933         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
75934         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
75936 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
75938         [BZ #14117]
75939         * sysdeps/i386/fpu/bits/fenv.h: Removed.
75940         * sysdeps/i386/fpu/Implies: New file.
75941         * sysdeps/x86_64/fpu/Implies: Likewise.
75942         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
75943         * sysdeps/x86/fpu/bits/fenv.h: This.
75945         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
75946         __SSE_MATH__.
75948 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
75950         [BZ #14134]
75951         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
75952         character 0xffff that matches the last element of the
75953         conversion table.
75955 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75957         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
75958         fmodl commit.
75960 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75962         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
75963         values higher than 25.6283.
75965 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75967         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
75968         subnormal exponent extraction and add some __builtin_expect.
75969         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
75970         Fix for subnormal mantissa calculation.
75972 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
75974         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
75975         cpu2 is -1 and errno is not ENOSYS.
75977 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
75979         [BZ #14117]
75980         * sysdeps/i386/i486/bits/string.h: Renamed to ...
75981         * sysdeps/x86/bits/string.h: This.
75982         * sysdeps/x86_64/bits/string.h: Removed.
75984         * sysdeps/i386/i486/bits/string.h: Define inline functions only
75985         if not compiling for x86-64, but compiling for >= i486.
75987         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
75988         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
75990         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
75991         New macro from Linux kernel 3.4.0.
75992         (FP_XSTATE_MAGIC2): Likewise.
75993         (FP_XSTATE_MAGIC2_SIZE): Likewise.
75994         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
75995         (struct _fpx_sw_bytes): New struct.
75996         (struct _xsave_hdr): Likewise.
75997         (struct _ymmh_state): Likewise.
75998         (struct _xstate): Likewise.
76000         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
76001         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
76002         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
76003         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
76004         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
76005         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
76007         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
76008         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
76009         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
76010         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
76011         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
76012         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
76014 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
76016         [BZ #13743]
76017         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
76018         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
76019         (sysdep_headers): Include sys/platform/ppc.h.
76020         * sysdeps/powerpc/test-gettimebase.c: Test for
76021         __ppc_get_timebase() to catch future ISA opcode/insn changes.
76022         * manual/Makefile (appendices): Include platform.texi.
76023         * manual/contrib.texi (Contributors): Update @node pointers.
76024         * manual/maint.texi (Maintenance): Likewise.
76025         (Platform): New node.
76026         * manual/platform.texi: New file.  Document the new features.
76028 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
76029             Jakub Jelinek  <jakub@redhat.com>
76031         [BZ #14188]
76032         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
76033         where __builtin_expect is unavailable.
76035 2012-06-03  David S. Miller  <davem@davemloft.net>
76037         * stdlib/longlong.h: Updated from GCC.
76039 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
76041         [BZ #14042]
76042         * sysdeps/powerpc/powerpc32/mcount.c: New file.
76043         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
76044         __mcount_internal.
76045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
76046         (GLIBC_2.16): Likewise.
76048 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
76050         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
76052 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
76054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
76055         (default-abi): New variable.
76056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
76057         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
76058         variable.
76059         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
76060         Likewise.
76061         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
76062         Likewise.
76063         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
76064         Likewise.
76066         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
76067         definition.  Document in comment.
76069 2012-06-01  David S. Miller  <davem@davemloft.net>
76071         * stdlib/longlong.h: Updated from GCC.
76073 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
76075         [BZ #14117]
76076         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
76077         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
76078         sys/debugreg.h sys/io.h here.
76079         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
76080         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
76081         sys/io.h.
76082         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
76083         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
76084         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
76085         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
76086         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
76087         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
76089         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
76090         Define only if __x86_64__ is defined.
76092 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
76094         [BZ #14048]
76095         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
76096         Use int64_t for variable i.
76097         * math/libm-test.inc (fmod_test): Add more tests.
76099         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
76100         z computation is not scheduled after fetestexcept.
76101         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
76102         Use math_force_eval instead of asm to ensure calculation scheduled
76103         before exception test.
76104         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
76105         Ensure a1 + u.d computation is not scheduled after fetestexcept.
76107 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
76109         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
76110         computation is not scheduled after fetestexcept.
76112 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
76114         [BZ #14117]
76115         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
76116         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
76118 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76120         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
76121         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
76123 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
76125         [BZ #14117]
76126         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
76127         <bits/wordsize.h>.
76128         (__WCHAR_MIN): Support __WORDSIZE == 64.
76129         (__WCHAR_MAX): Likewise.
76131         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
76132         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
76134         [BZ #14183]
76135         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
76136         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
76138         [BZ #14117]
76139         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
76140         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
76142         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
76143         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
76145         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
76146         Defined to 1 if __x86_64__ isn't defined.
76147         (_STAT_VER_LINUX_OLD): New.
76148         (st_atime): Remove duplicate.
76149         (st_mtime): Likewise.
76150         (st_ctime): Likewise.
76152 2012-05-31  David S. Miller  <davem@davemloft.net>
76154         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
76155         entries.
76157 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
76159         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
76160         gen-libm-test.pl.
76162         [BZ #14132]
76163         * elf/dl-reloc.c: Include <_itoa.h>.
76164         (_dl_reloc_bad_type): Remove use of INTUSE.
76165         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
76166         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
76167         * stdio-common/psiginfo.c (psiginfo): Likewise.
76168         * stdio-common/psignal.c (psignal): Likewise.
76169         * string/strsignal.c (strsignal): Likewise.
76170         * include/signal.h (_sys_siglist): Declare hidden proto.
76171         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
76172         INTVARDEF with libc_hidden_data_def.
76173         * stdio-common/itoa-udigits.c: Likewise.
76174         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
76175         (_itoa_lower_digits_internal): Remove declaration.
76176         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
76177         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
76178         (_sys_sigabbrev_internal): Remove aliases.
76179         (_sys_siglist): Define hidden alias.
76181 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
76183         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76184         bits/sysctl.h.
76186 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
76188         [BZ #14117]
76189         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
76190         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
76192         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
76193         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
76194         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
76195         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
76196         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
76197         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
76199         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
76200         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
76201         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
76203         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
76204         with __addr.
76205         (insw): Likewise.
76206         (insl): Likewise.
76207         (outsb): Likewise.
76208         (outsw): Likewise.
76209         (outsl): Likewise.
76211         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
76212         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
76213         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
76215         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
76216         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
76217         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
76218         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
76219         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
76220         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
76222         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
76223         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
76225         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
76226         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
76228         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
76229         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
76230         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
76232         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
76233         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
76234         to ...
76235         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
76237         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
76238         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
76239         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
76241         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
76242         for x86-64.
76243         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
76245 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
76247         * math/math.h (M_El): Use two more decimal places.
76248         (M_LOG2El): Likewise.
76249         (M_LOG10El): Likewise.
76250         (M_LN2l): Likewise.
76251         (M_LN10l): Likewise.
76252         (M_PIl): Likewise.
76253         (M_PI_2l): Likewise.
76254         (M_PI_4l): Likewise.
76255         (M_1_PIl): Likewise.
76256         (M_2_PIl): Likewise.
76257         (M_2_SQRTPIl): Likewise.
76258         (M_SQRT2l): Likewise.
76259         (M_SQRT1_2l): Likewise.
76261 2012-05-31  David S. Miller  <davem@davemloft.net>
76263         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
76264         values between float registers.
76265         * sysdeps/sparc/sparc64/memset.S: Likewise.
76266         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
76268 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
76270         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
76271         -D_FORTIFY_SOURCE=1.
76272         (CPPFLAGS-tst-longjmp_chk.c): Define.
76273         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
76274         (CPPFLAGS-tst-longjmp_chk2.c): Define.
76275         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
76276         CFLAGS-tst-wchar-h.c.
76278 2012-05-31  Marek Polacek  <polacek@redhat.com>
76280         [BZ #14132]
76281         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
76282         __endmntent_internal): Remove declaration.
76283         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
76284         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
76285         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
76287 2012-05-30  David S. Miller  <davem@davemloft.net>
76289         * sysdeps/sparc/sparc32/soft-fp/q_util.c
76290         (___Q_simulate_exceptions): Use real FP ops rather than writing
76291         into the %fsr.
76292         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
76293         Likewise.
76295 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
76297         [BZ #14117]
76298         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
76299         * sysdeps/x86/bits/xtitypes.h: This.
76301         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
76302         * sysdeps/x86/bits/wordsize.h: This.
76304         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
76305         * sysdeps/x86/bits/huge_vall.h: This.
76307         * sysdeps/i386/bits/select.h: Removed.
76308         * sysdeps/x86_64/bits/select.h: Renamed to ...
76309         * sysdeps/x86/bits/select.h: This.
76311         * sysdeps/i386/bits/setjmp.h: Removed.
76312         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
76313         * sysdeps/x86/bits/setjmp.h: This.
76315         * sysdeps/i386/bits/mathdef.h: Removed.
76316         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
76317         * sysdeps/x86/bits/mathdef.h: This.
76319 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
76321         [BZ #14132]
76322         * include/sys/socket.h (__connect_internal)
76323         (__libc_sa_len_internal): Remove declaration.
76324         (__connect, __libc_sa_len): Declare hidden_proto.
76325         (SA_LEN): Remove use of INTUSE.
76326         * socket/connect.c: Add libc_hidden_def.
76327         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
76328         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
76329         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
76330         alias.
76331         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
76332         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
76333         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
76334         of adding _internal alias.
76336 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
76338         [BZ #14117]
76339         * sysdeps/i386/bits/link.h: Removed.
76340         * sysdeps/i386/bits/linkmap.h: Likewise.
76341         * sysdeps/x86_64/bits/link.h: Renamed to ...
76342         * sysdeps/x86/bits/link.h: This.
76343         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
76344         * sysdeps/x86/bits/linkmap.h: This.
76346         * sysdeps/i386/bits/endian.h: Removed.
76347         * sysdeps/x86_64/bits/endian.h: Renamed to ...
76348         * sysdeps/x86/bits/endian.h: This.
76350         * sysdeps/i386/bits/byteswap.h: Removed.
76351         * sysdeps/i386/bits/byteswap-16.h: Likewise.
76352         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
76353         * sysdeps/x86/bits/byteswap.h: This.
76354         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
76355         * sysdeps/x86/bits/byteswap-16.h: This.
76356         * sysdeps/i386/Implies: Add x86.
76357         * sysdeps/x86_64/Implies: Likewise.
76359 2012-05-30  David S. Miller  <davem@davemloft.net>
76361         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
76362         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
76363         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
76364         (FP_TRAPPING_EXCEPTIONS): Define.
76365         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
76366         (FP_TRAPPING_EXCEPTIONS): Define.
76367         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
76368         subnormals only when inexact has been signalled or underflow
76369         exceptions are enabled.
76370         (_FP_PACK_CANONICAL): Likewise.
76372 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
76374         [BZ #14183]
76375         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
76376         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
76378 2012-05-30  Richard Henderson  <rth@twiddle.net>
76380         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
76381         with #ifndef NOT_IN_libc.
76383         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
76384         marked to avoid plt entry.
76386 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
76388         [BZ #14112]
76389         * Makeconfig (default-abi): New macro.
76390         (abi-includes): Likewise.
76391         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
76392         $(abi-$(default-abi)-lib-soname) for soname if defined.
76393         ($(common-objpfx)gnu/lib-names.stmp): Generate from
76394         abi-variants.
76395         * Makefile (installed-stubs): Likewise.
76396         * include/stubs-biarch.h: Removed.
76397         * scripts/lib-names.awk: Only handle one library at a time.
76398         * scripts/soversions.awk: Remove WORDSIZE support.
76399         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
76400         entries.
76401         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
76402         Removed.
76403         (syscall-list-default-condition): Likewise.
76404         (syscall-list-default-condition): Likewise.
76405         (syscall-list-includes): Likewise.
76406         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
76407         syscall-list-* with abi-*.  Handle undefined abi-variants.
76408         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
76409         * sysdeps/unix/sysv/linux/i386/Implies: New file.
76410         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
76411         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
76412         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
76413         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
76414         Removed.
76415         (syscall-list-32-options): Likewise.
76416         (syscall-list-32-condition): Likewise.
76417         (syscall-list-64-options): Likewise.
76418         (syscall-list-64-condition): Likewise.
76419         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
76420         macro.
76421         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
76422         Renamed to ...
76423         (abi-*): This.
76424         (abi-64-ld-soname): New macro.
76425         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
76426         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
76427         Renamed to ...
76428         (abi-*): This.
76429         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
76430         * sysdeps/x86_64/x32/shlib-versions: Likewise.
76432 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
76434         * sysdeps/unix/sysv/linux/kernel-features.h
76435         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
76436         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
76437         include <kernel-features.h>.
76438         [!__NR_ftruncate64]: Remove conditional code.
76439         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76440         [__NR_ftruncate64]: Make code unconditional.
76441         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76442         * sysdeps/unix/sysv/linux/truncate64.c: Do not
76443         include <kernel-features.h>.
76444         [!__NR_ftruncate64]: Remove conditional code.
76445         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76446         [__NR_ftruncate64]: Make code unconditional.
76447         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
76449         include <kernel-features.h>.
76450         [!__NR_ftruncate64]: Remove conditional code.
76451         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76452         [__NR_ftruncate64]: Make code unconditional.
76453         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
76455         include <kernel-features.h>.
76456         [!__NR_ftruncate64]: Remove conditional code.
76457         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76458         [__NR_ftruncate64]: Make code unconditional.
76459         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76461         * configure.in (libc_cv_fpie): Weaken to a compile test using
76462         LIBC_TRY_CC_OPTION.
76463         * configure: Regenerated.
76465 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76467         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
76468         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
76469         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
76470         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
76471         Refreshed.
76472         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
76473         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
76474         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
76475         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
76476         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
76477         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
76478         Refreshed.
76480 2012-05-27  David S. Miller  <davem@davemloft.net>
76482         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
76483         (___Q_zero): New.
76484         (__Q_simulate_exceptions): Return void.  Change to simulate
76485         exceptions by writing into the %fsr.
76486         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
76487         (__Qp_handle_exceptions): Likewise.
76488         (numbers): Delete.
76489         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
76490         __Qp_handle_exceptions.
76491         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
76492         __Qp_handle_exceptions.
76493         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
76494         as unused and give dummy FP_RND_NEAREST initializer.
76495         (FP_INHIBIT_RESULTS): Define.
76496         (___Q_simulate_exceptions): Update declaration.
76497         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
76498         formatting.
76499         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
76500         as unused and give dummy FP_RND_NEAREST initializer.
76501         (__Qp_handle_exceptions): Update declaration.
76502         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
76503         formatting.
76505 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
76507         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
76508         the temporary FPU control word.
76509         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
76510         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
76511         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
76512         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
76513         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
76514         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
76515         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
76516         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
76517         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
76518         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
76519         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
76521 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
76523         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
76524         fields.
76526 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
76528         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
76529         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
76530         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
76531         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
76532         Likewise.
76533         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
76534         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
76535         Likewise.
76537 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
76539         * po/h.po: Update from translation team.
76541 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
76543         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
76545         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
76546         handling of denormals.
76547         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
76548         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
76549         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
76550         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
76551         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
76552         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
76553         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
76554         Likewise.
76556 2012-05-26  Marek Polacek  <polacek@redhat.com>
76558         [BZ #14152]
76559         * math/libm-test.inc (fma_test): Don't always expect underflow
76560         exception.
76562 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
76564         [BZ #12416]
76565         * elf/tst-execstack.c: Include stackinfo.h.
76566         (do_test): Adjust test case to ensure that pthread_getattr_np
76567         behaviour remains the same after marking stack executable.
76569 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
76571         * sysdeps/unix/sysv/linux/kernel-features.h
76572         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
76573         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
76574         kernel-features.h.
76575         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
76576         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
76577         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
76578         kernel-features.h.
76579         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
76580         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
76582 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
76584         * configure.in: Define the default includes to being none.
76585         * configure: Regenerated.
76587 2012-05-25  Roland McGrath  <roland@hack.frob.com>
76589         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
76590         * sysdeps/x86_64/setjmp.S: Likewise.
76591         * sysdeps/i386/bsd-setjmp.S: Likewise.
76592         * sysdeps/i386/bsd-_setjmp.S: Likewise.
76593         * sysdeps/i386/setjmp.S: Likewise.
76594         * sysdeps/i386/__longjmp.S: Likewise.
76595         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
76596         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
76598         * include/stap-probe.h: New file.
76599         * configure.in: Handle --enable-systemtap.
76600         * configure: Regenerated.
76601         * config.h.in (USE_STAP_PROBE): New #undef.
76602         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
76603         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
76604         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
76606 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
76608         [BZ #13717]
76609         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
76610         to 2.4.0 where earlier.
76611         * sysdeps/unix/sysv/linux/configure: Regenerated.
76612         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
76613         <kernel-features.h>.
76614         [__ASSUME_32BITUIDS]: Make code unconditional.
76615         [!__ASSUME_32BITUIDS]: Remove conditional code.
76616         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
76617         <kernel-features.h>.
76618         [__ASSUME_32BITUIDS]: Make code unconditional.
76619         [!__ASSUME_32BITUIDS]: Remove conditional code.
76620         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
76621         [__ASSUME_32BITUIDS]: Make code unconditional.
76622         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
76623         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
76624         <kernel-features.h>.
76625         [__ASSUME_32BITUIDS]: Make code unconditional.
76626         [!__ASSUME_32BITUIDS]: Remove conditional code.
76627         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
76628         <kernel-features.h>.
76629         [__ASSUME_32BITUIDS]: Make code unconditional.
76630         [!__ASSUME_32BITUIDS]: Remove conditional code.
76631         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
76632         <kernel-features.h>.
76633         [__ASSUME_32BITUIDS]: Make code unconditional.
76634         [!__ASSUME_32BITUIDS]: Remove conditional code.
76635         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
76636         <kernel-features.h>.
76637         [__ASSUME_32BITUIDS]: Make code unconditional.
76638         [!__ASSUME_32BITUIDS]: Remove conditional code.
76639         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
76640         <kernel-features.h>.
76641         [__ASSUME_32BITUIDS]: Make code unconditional.
76642         [!__ASSUME_32BITUIDS]: Remove conditional code.
76643         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
76644         <kernel-features.h>.
76645         [__ASSUME_32BITUIDS]: Make code unconditional.
76646         [!__ASSUME_32BITUIDS]: Remove conditional code.
76647         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
76648         <kernel-features.h>.
76649         [__ASSUME_32BITUIDS]: Make code unconditional.
76650         [!__ASSUME_32BITUIDS]: Remove conditional code.
76651         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
76652         <kernel-features.h>.
76653         [__ASSUME_32BITUIDS]: Make code unconditional.
76654         [!__ASSUME_32BITUIDS]: Remove conditional code.
76655         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
76656         <kernel-features.h>.
76657         [__ASSUME_32BITUIDS]: Make code unconditional.
76658         [!__ASSUME_32BITUIDS]: Remove conditional code.
76659         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
76660         <kernel-features.h>.
76661         [__ASSUME_32BITUIDS]: Make code unconditional.
76662         [!__ASSUME_32BITUIDS]: Remove conditional code.
76663         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
76664         <kernel-features.h>.
76665         [__NR_setresgid] (__setresgid): Do not declare.
76666         [__ASSUME_32BITUIDS]: Make code unconditional.
76667         [!__ASSUME_32BITUIDS]: Remove conditional code.
76668         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
76669         <kernel-features.h>.
76670         [__NR_setresuid] (__setresuid): Do not declare.
76671         [__ASSUME_32BITUIDS]: Make code unconditional.
76672         [!__ASSUME_32BITUIDS]: Remove conditional code.
76673         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
76674         <kernel-features.h>.
76675         [__ASSUME_32BITUIDS]: Make code unconditional.
76676         [!__ASSUME_32BITUIDS]: Remove conditional code.
76677         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
76678         <kernel-features.h>.
76679         [__ASSUME_32BITUIDS]: Make code unconditional.
76680         [!__ASSUME_32BITUIDS]: Remove conditional code.
76681         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
76682         <kernel-features.h>.
76683         [__ASSUME_32BITUIDS]: Make code unconditional.
76684         [!__ASSUME_32BITUIDS]: Remove conditional code.
76685         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
76686         <kernel-features.h>.
76687         [__ASSUME_32BITUIDS]: Make code unconditional.
76688         [!__ASSUME_32BITUIDS]: Remove conditional code.
76689         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
76690         <kernel-features.h>.
76691         [__ASSUME_32BITUIDS]: Make code unconditional.
76692         [!__ASSUME_32BITUIDS]: Remove conditional code.
76693         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
76694         <kernel-features.h>.
76695         [__ASSUME_32BITUIDS]: Make code unconditional.
76696         [!__ASSUME_32BITUIDS]: Remove conditional code.
76697         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
76698         <kernel-features.h>.
76699         [__ASSUME_32BITUIDS]: Make code unconditional.
76700         [!__ASSUME_32BITUIDS]: Remove conditional code.
76701         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
76702         <kernel-features.h>.
76703         [__ASSUME_32BITUIDS]: Make code unconditional.
76704         [!__ASSUME_32BITUIDS]: Remove conditional code.
76705         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
76706         <kernel-features.h>.
76707         [__ASSUME_32BITUIDS]: Make code unconditional.
76708         [!__ASSUME_32BITUIDS]: Remove conditional code.
76709         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
76710         <kernel-features.h>.
76711         [__ASSUME_32BITUIDS]: Make code unconditional.
76712         [!__ASSUME_32BITUIDS]: Remove conditional code.
76713         * sysdeps/unix/sysv/linux/kernel-features.h
76714         (__ASSUME_SETRESUID_SYSCALL): Remove.
76715         (__ASSUME_SETRESGID_SYSCALL): Likewise.
76716         (__ASSUME_32BITUIDS): Likewise.
76717         (__ASSUME_LDT_WORKS): Likewise.
76718         (__ASSUME_O_DIRECTORY): Likewise.
76719         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
76720         architecture but not kernel version.
76721         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
76722         (__ASSUME_MMAP2_SYSCALL): Likewise.
76723         (__ASSUME_STAT64_SYSCALL): Likewise.
76724         (__ASSUME_IPC64): Likewise.
76725         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
76726         <kernel-features.h>.
76727         [__ASSUME_32BITUIDS]: Make code unconditional.
76728         [!__ASSUME_32BITUIDS]: Remove conditional code.
76729         * sysdeps/unix/sysv/linux/opendir.c: Do not include
76730         <kernel-features.h>.
76731         [__ASSUME_O_DIRECTORY]: Make code unconditional.
76732         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
76733         132096]: Remove conditional code.
76734         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
76735         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
76736         <kernel-features.h>.
76737         [__ASSUME_32BITUIDS]: Make code unconditional.
76738         [!__ASSUME_32BITUIDS]: Remove conditional code.
76739         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
76740         <kernel-features.h>.
76741         [__ASSUME_32BITUIDS]: Make code unconditional.
76742         [!__ASSUME_32BITUIDS]: Remove conditional code.
76743         * sysdeps/unix/sysv/linux/setegid.c: Do not include
76744         <kernel-features.h>.
76745         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
76746         unconditional.
76747         (__setresgid): Do not declare.
76748         [__ASSUME_32BITUIDS]: Make code unconditional.
76749         [!__ASSUME_32BITUIDS]: Remove conditional code.
76750         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
76751         <kernel-features.h>.
76752         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
76753         unconditional.
76754         (__setresuid): Do not declare.
76755         [__ASSUME_32BITUIDS]: Make code unconditional.
76756         [!__ASSUME_32BITUIDS]: Remove conditional code.
76757         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
76758         <kernel-features.h>.
76759         [__ASSUME_32BITUIDS]: Make code unconditional.
76760         [!__ASSUME_32BITUIDS]: Remove conditional code.
76761         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
76762         <kernel-features.h>.
76763         [__ASSUME_32BITUIDS]: Make code unconditional.
76764         [!__ASSUME_32BITUIDS]: Remove conditional code.
76766 2012-05-25  Richard Henderson  <rth@twiddle.net>
76768         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
76769         dl_hwcap to ifunc resolver.
76770         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
76771         elf_ifunc_invoke.
76772         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
76773         dl_hwcap to ifunc resolver.
76774         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
76776 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
76778         [BZ #14153]
76779         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
76780         for |x| <= 2**-26, not 2**-57.
76781         * math/libm-test.inc (acos_test): Do not allow spurious underflow
76782         exception.
76784 2012-05-24  Jeff Law  <law@redhat.com>
76786         * stdio-common/Makefile (tests): Add bug25.
76787         * stdio-common/bug25.c: New test.
76789 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
76791         [BZ #13576]
76792         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
76793         multiple of MALLOC_ALIGNMENT in size.
76794         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
76796 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
76798         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
76799         Require >= 256.
76800         (FILENAME_MAX): Use macro-int-constant.
76801         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
76802         (_IOFBF): Use macro-int-constant.
76803         (_IOLBF): Likewise.
76804         (_IONBF): Likewise.
76805         (SEEK_CUR): Likewise.
76806         (SEEK_END): Likewise.
76807         (SEEK_SET): Likewise.
76808         (TMP_MAX): Likewise.
76809         (EOF): Use macro-int-constant.  Require < 0.
76810         (NULL): Use macro-constant.  Require == 0.
76811         (stdin): Require type to be FILE *.
76812         (stdout): Likewise.
76813         (stderr): Likewise.
76814         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
76815         macro-int-constant.
76816         (EXIT_SUCCESS): Likewise.
76817         (NULL): Use macro-constant.  Require == 0.
76818         (RAND_MAX): Use macro-int-constant.
76819         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
76820         [C99-based standards] (strtof): Require function.
76821         [C99-based standards] (strtold): Likewise.
76822         [C99-based standards] (strtoll): Likewise.
76823         [C99-based standards] (strtoull): Likewise.
76824         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
76825         [ISO || ISO99 || ISO11] (limits.h): Likewise.
76826         [ISO || ISO99 || ISO11] (math.h): Likewise.
76827         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
76828         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
76829         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76831 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
76833         [BZ #14132]
76834         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
76835         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
76836         * intl/dgettext.c (DCGETTEXT): Likewise.
76837         * intl/gettext.c (DCGETTEXT): Likewise.
76838         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
76839         * posix/regex_internal.h (gettext): Likewise.
76840         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
76841         Remove declaration.
76842         * include/argz.h (__argz_count_internal)
76843         (__argz_stringify_internal): Remove declaration.
76844         (__argz_count, __argz_stringify): Declare hidden proto.
76845         * intl/dcgettext.c: Remove use of INTDEF.
76846         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
76847         * string/argz-stringify.c: Likewise.
76848         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
76849         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
76850         Declare hidden proto.
76851         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
76852         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
76853         Declare hidden proto.
76854         * include/stdio.h (__asprintf_internal): Don't declare.
76855         (__asprintf): Don't define as macro.  Declare hidden proto.
76856         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
76857         (__fsetlocking): Declare hidden proto.
76858         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
76859         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
76860         hidden proto.
76861         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
76862         (_IO_setlinebuf): Remove use of INTUSE.
76863         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
76864         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
76865         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
76866         Remove declaration.
76867         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
76868         (_IO_do_flush): Remove use of INTUSE.
76869         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
76870         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
76871         (_IO_adjust_column, _IO_least_wmarker)
76872         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
76873         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
76874         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
76875         (_IO_default_doallocate, _IO_wdefault_doallocate)
76876         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
76877         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
76878         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
76879         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
76880         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
76881         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
76882         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
76883         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
76884         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
76885         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
76886         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
76887         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
76888         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
76889         proto.
76890         (_IO_flush_all_internal, _IO_adjust_column_internal)
76891         (_IO_default_uflow_internal, _IO_default_finish_internal)
76892         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
76893         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
76894         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
76895         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
76896         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
76897         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
76898         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
76899         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
76900         (_IO_file_close_internal, _IO_file_close_it_internal)
76901         (_IO_file_underflow_internal, _IO_file_overflow_internal)
76902         (_IO_file_init_internal, _IO_file_attach_internal)
76903         (_IO_file_fopen_internal, _IO_file_read_internal)
76904         (_IO_file_sync_internal, _IO_file_seek_internal)
76905         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
76906         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
76907         (_IO_str_underflow_internal, _IO_str_overflow_internal)
76908         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
76909         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
76910         (_IO_list_all_internal, _IO_link_in_internal)
76911         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
76912         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
76913         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
76914         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
76915         (_IO_do_write_internal, _IO_padn_internal)
76916         (_IO_getline_info_internal, _IO_getline_internal)
76917         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
76918         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
76919         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
76920         (_IO_vfscanf_internal, _IO_vfprintf_internal)
76921         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
76922         (_IO_init_internal, _IO_un_link_internal): Don't declare.
76923         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
76924         with libc_hidden_ver, remove use of INTUSE.
76925         * libio/genops.c: Likewise.
76926         * libio/freopen.c: Likewise.
76927         * libio/freopen64.c: Likewise.
76928         * libio/iofclose.c: Likewise.
76929         * libio/iofdopen.c: Likewise.
76930         * libio/iofflush.c: Likewise.
76931         * libio/iofflush_u.c: Likewise.
76932         * libio/iofgets.c: Likewise.
76933         * libio/iofgets_u.c: Likewise.
76934         * libio/iofopen.c: Likewise.
76935         * libio/iofopncook.c: Likewise.
76936         * libio/iofread.c: Likewise.
76937         * libio/iofread_u.c: Likewise.
76938         * libio/ioftell.c: Likewise.
76939         * libio/iofwrite.c: Likewise.
76940         * libio/iogetline.c: Likewise.
76941         * libio/iogets.c: Likewise.
76942         * libio/iogetwline.c: Likewise.
76943         * libio/iopadn.c: Likewise.
76944         * libio/iopopen.c: Likewise.
76945         * libio/ioseekoff.c: Likewise.
76946         * libio/ioseekpos.c: Likewise.
76947         * libio/iosetbuffer.c: Likewise.
76948         * libio/iosetvbuf.c: Likewise.
76949         * libio/ioungetc.c: Likewise.
76950         * libio/ioungetwc.c: Likewise.
76951         * libio/iovdprintf.c: Likewise.
76952         * libio/iovsprintf.c: Likewise.
76953         * libio/iovsscanf.c: Likewise.
76954         * libio/memstream.c: Likewise.
76955         * libio/obprintf.c: Likewise.
76956         * libio/oldfileops.c: Likewise.
76957         * libio/oldiofclose.c: Likewise.
76958         * libio/oldiofdopen.c: Likewise.
76959         * libio/oldiofopen.c: Likewise.
76960         * libio/oldiopopen.c: Likewise.
76961         * libio/oldstdfiles.c: Likewise.
76962         * libio/putc.c: Likewise.
76963         * libio/setbuf.c: Likewise.
76964         * libio/setlinebuf.c: Likewise.
76965         * libio/stdfiles.c: Likewise.
76966         * libio/strops.c: Likewise.
76967         * libio/vasprintf.c: Likewise.
76968         * libio/vscanf.c: Likewise.
76969         * libio/vsnprintf.c: Likewise.
76970         * libio/vswprintf.c: Likewise.
76971         * libio/wfiledoalloc.c: Likewise.
76972         * libio/wfileops.c: Likewise.
76973         * libio/wgenops.c: Likewise.
76974         * libio/wmemstream.c: Likewise.
76975         * libio/wstrops.c: Likewise.
76976         * libio/__fpurge.c: Likewise.
76977         * libio/__fsetlocking.c: Likewise.
76978         * assert/assert.c: Likewise.
76979         * debug/fgets_chk.c: Likewise.
76980         * debug/fgets_u_chk.c: Likewise.
76981         * debug/fread_chk.c: Likewise.
76982         * debug/fread_u_chk.c: Likewise.
76983         * debug/gets_chk.c: Likewise.
76984         * debug/obprintf_chk.c: Likewise.
76985         * debug/vasprintf_chk.c: Likewise.
76986         * debug/vdprintf_chk.c: Likewise.
76987         * debug/vsnprintf_chk.c: Likewise.
76988         * debug/vsprintf_chk.c: Likewise.
76989         * malloc/mtrace.c: Likewise.
76990         * misc/error.c: Likewise.
76991         * misc/syslog.c: Likewise.
76992         * stdio-common/asprintf.c: Likewise.
76993         * stdio-common/fxprintf.c: Likewise.
76994         * stdio-common/getw.c: Likewise.
76995         * stdio-common/isoc99_fscanf.c: Likewise.
76996         * stdio-common/isoc99_scanf.c: Likewise.
76997         * stdio-common/isoc99_vfscanf.c: Likewise.
76998         * stdio-common/isoc99_vscanf.c: Likewise.
76999         * stdio-common/isoc99_vsscanf.c: Likewise.
77000         * stdio-common/printf-prs.c: Likewise.
77001         * stdio-common/printf_fp.c: Likewise.
77002         * stdio-common/printf_fphex.c: Likewise.
77003         * stdio-common/printf_size.c: Likewise.
77004         * stdio-common/putw.c: Likewise.
77005         * stdio-common/scanf.c: Likewise.
77006         * stdio-common/sprintf.c: Likewise.
77007         * stdio-common/tmpfile.c: Likewise.
77008         * stdio-common/vfprintf.c: Likewise.
77009         * stdio-common/vfscanf.c: Likewise.
77010         * stdlib/strfmon_l.c: Likewise.
77011         * sunrpc/openchild.c: Likewise.
77012         * sunrpc/xdr_stdio.c: Likewise.
77013         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
77014         * sysdeps/mach/hurd/tmpfile.c: Likewise.
77016 2012-05-24  Roland McGrath  <roland@hack.frob.com>
77018         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
77020         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
77021         in the third column, to generate for the shared library an IFUNC
77022         that uses _dl_vdso_vsym.
77023         * Makerules (COMPILE.c, compile-stdin.c): New variables.
77024         * Makeconfig (object-suffixes-noshared): New variable.
77026         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
77027         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
77028         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
77029         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
77031         [BZ #14132]
77032         * include/sys/time.h (__gettimeofday): Remove macro.
77033         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
77034         * time/gettimeofday.c (__gettimeofday): Remove #undef.
77035         Remove INTDEF.
77036         (__gettimeofday): Add libc_hidden_def.
77037         (gettimeofday): Add libc_hidden_weak.
77038         * sysdeps/mach/gettimeofday.c: Likewise.
77039         * sysdeps/posix/gettimeofday.c: Likewise.
77040         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
77041         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
77042         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
77043         (__gettimeofday_internal): Remove strong_alias.
77044         (__gettimeofday): Add libc_hidden_def.
77045         (gettimeofday): Add libc_hidden_weak.
77046         * sysdeps/unix/syscalls.list (gettimeofday):
77047         Remove __gettimeofday_internal alias.
77049 2012-05-24  Daniel Jacobowitz  <drow@false.org>
77050             H.J. Lu  <hongjiu.lu@intel.com>
77052         [BZ #12495]
77053         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
77054         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
77055         (largebin_index_32_big): New.
77056         (largebin_index): Use it for 16-byte alignment.
77057         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
77058         correction with front_misalign.
77060 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
77062         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
77063         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
77064         Likewise.
77065         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
77066         Likewise.
77067         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
77068         Likewise.
77069         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
77070         Likewise.
77071         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
77072         Likewise.
77073         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
77074         Likewise.
77075         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
77076         Likewise.
77077         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
77078         Likewise.
77079         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
77080         Likewise.
77081         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
77082         Likewise.
77083         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
77084         Likewise.
77085         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
77086         Likewise.
77088         * scripts/data/c++-types-x32-linux-gnu.data: New file.
77089         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
77091 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
77093         [BZ #10846]
77094         [BZ #14036]
77095         * math/libm-test.inc (exp_test): Add test from bug 14036.
77096         (pow_test): Add test from bug 10846.
77098         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
77099         and other flags.
77100         (special_function): Do not include flags in test name.
77101         (parse_args): Likewise.
77102         * sysdeps/i386/fpu/libm-test-ulps: Update.
77103         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
77104         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
77105         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
77106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77108         * math/gen-libm-test.pl (%beautify): Add entries for underflow
77109         exceptions.
77110         * math/libm-test.inc ("Philosophy"): Update comment about
77111         exception testing.
77112         (UNDERFLOW_EXCEPTION): New macro.
77113         (UNDERFLOW_EXCEPTION_OK): Likewise.
77114         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
77115         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
77116         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
77117         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
77118         (INVALID_EXCEPTION_OK): Update value.
77119         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
77120         (OVERFLOW_EXCEPTION_OK): Likewise.
77121         (IGNORE_ZERO_INF_SIGN): Likewise.
77122         (test_exceptions): Handle underflow exceptions.
77123         (acos_test): Update for underflow exception expectations.
77124         (cexp_test): Likewise.
77125         (clog_test): Likewise.
77126         (clog10_test): Likewise.
77127         (csqrt_test): Likewise.
77128         (ctan_test): Likewise.
77129         (ctanh_test): Likewise.
77130         (exp_test): Likewise.
77131         (exp10_test): Likewise.
77132         (exp2_test): Likewise.
77133         (expm1_test): Likewise.
77134         (fma_test): Likewise.
77135         (j0_test): Likewise.
77136         (jn_test): Likewise.
77137         (nexttoward_test): Likewise.
77138         (pow_test): Likewise.
77139         (scalbn_test): Likewise.
77140         (scalbln_test): Likewise.
77141         (tan_test): Likewise.
77142         (y1_test): Likewise.
77143         * sysdeps/i386/fpu/libm-test-ulps: Update.
77144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77146 2012-05-23  David S. Miller  <davem@davemloft.net>
77148         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
77149         (__libc_sigaction): Remove unused local variables.
77151 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
77153         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
77155 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
77157         mktime: avoid signed integer overflow
77158         * time/mktime.c (__mktime_internal): Do not mishandle the case
77159         where diff == INT_MIN.
77161         mktime: simplify computation of average
77162         * time/mktime.c (ranged_convert): Use new time_t_avg function
77163         instead of rolling our own (probably-slower) code.
77165         mktime: do not assume signed right shift propagates sign bit
77166         * time/mktime.c (isdst_differ): New static function.
77167         (__mktime_internal): No need to normalize tm_isdst now.
77168         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
77169         tm_isdst values.
77171         mktime: merge another wrapv change from gnulib
77172         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
77173         from some compilers.
77175         mktime: remove incorrect attempt at unusual arithmetics
77176         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
77177         The code didn't really work on such machines anyway.
77178         (TYPE_MINIMUM): Assume two's complement.
77179         (twos_complement_arithmetic): Verify that long_int and time_t
77180         are two's complement (or unsigned, in the latter case).
77182         mktime: check signed shifts on long_int and time_t, too
77183         * time/mktime.c (SHR): Check that shifts work as desired
77184         on the types long_int and time_t too, as SHR is used on
77185         such types.
77187         mktime: do not assume 'long' is wide enough
77188         * time/mktime.c (verify): Move decl up.
77189         (long_int): New type.
77190         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
77191         to remove assumption in the code that 'long' is wide enough to
77192         store year values.  This assumption is not true on x32 and on
77193         some non-glibc platforms.
77195         mktime: merge wrapv change from gnulib
77196         * time/mktime.c (WRAPV): New macro.
77197         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
77198         (guess_time_tm, __mktime_internal): Do not assume that signed
77199         integer overflow wraps around; modern compilers generate code
77200         where this assumption is no longer valid.
77202 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
77204         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
77205         Replace "jmp L(pseudo_end)" with "ret".
77206         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
77207         Likewise.
77209 2012-05-23  Andreas Jaeger  <aj@suse.de>
77211         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
77212         * sysdeps/unix/sysv/linux/poll.c: Remove file.
77214 2012-05-23  Andreas Jaeger  <aj@suse.de>
77215             Maximilian Attems  <max@stro.at>
77217         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
77218         New macros.
77220 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
77222         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
77223         code so that pseudo_end is just ret and the stack pointer is
77224         correct also for static library in error case.
77226 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
77228         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
77229         move to syscalls.list.
77230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
77231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
77232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
77233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
77235         * manual/install.texi (Running make install): Do not mention Linux
77236         kernel version for which pt_chown is not needed.
77237         (Linux): Do not mention problems with nscd with 2.0 kernels.
77238         * INSTALL: Regenerated.
77240 2012-05-23  Andreas Jaeger  <aj@suse.de>
77242         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
77243         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
77244         macro.
77245         * sysdeps/unix/sysv/linux/s390/bits/mman.h
77246         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77247         * sysdeps/unix/sysv/linux/sh/bits/mman.h
77248         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77249         * sysdeps/unix/sysv/linux/i386/bits/mman.h
77250         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77251         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
77252         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77253         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
77254         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77255         * sysdeps/unix/sysv/linux/bits/in.h
77256         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
77258 2012-05-22  Roland McGrath  <roland@hack.frob.com>
77260         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
77261         (PREPARE_VERSION): Just use assert instead, it will be elided
77262         under [NDEBUG] anyway.
77264 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
77266         * sysdeps/unix/sysv/linux/Makefile: Include
77267         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
77268         (sysdep_routines): Remove sysctl.
77269         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
77270         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
77271         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
77272         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
77273         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
77275 2012-05-22  Andreas Jaeger  <aj@suse.de>
77277         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
77278         that pseudo_end is just ret and the stack pointer is correct also
77279         for static library in error case.
77281 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
77283         [BZ #14122]
77284         * nss/nsswitch.c (defconfig_entries): New variable.
77285         (__nss_database_lookup): Don't leak defconfig entries.
77286         (nss_parse_service_list): Don't leak on error paths.
77287         (free_database_entries): New function.
77288         (free_defconfig): New function.
77289         (free_mem): Move common code to free_database_entries.
77291 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
77293         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
77294         Add arch_prctl.
77295         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
77297         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
77298         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
77299         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
77300         New macro.
77301         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
77302         (INTERNAL_SYSCALL_TYPES): Likewise.
77303         (LOAD_ARGS_TYPES_[1-6]): Likewise.
77304         (LOAD_REGS_TYPES_[1-6]): Likewise.
77305         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
77306         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
77308 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77310         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
77311         copysignl for GLIBC_2_0.
77312         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
77313         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
77314         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
77315         logbl for GLIBC_2_0.
77316         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
77317         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
77319 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
77321         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
77322         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
77324         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
77325         Use "neg %eax".
77327         * time/mktime.c: Update copyright years.
77329 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
77331         mktime: merge comment-quoting-style change from gnulib
77332         * time/mktime.c: Quote 'like this' in comments.
77333         The GNU coding standards suggest that we no longer quote `like this',
77334         as "`" and "'" are typically rendered asymmetrically nowadays.
77335         The typical gnulib style is to quote 'like this' when quoting
77336         code, and "like this" when quoting English.
77338         * time/mktime.c (compile-command): Add "-I.".
77340         mktime: merge mktime-internal.h change from gnulib
77341         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
77343         mktime: merge time_r change from gnulib
77344         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
77346         mktime: merge DEBUG change from gnulib
77347         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
77348         case system <time.h> has a #define.
77350         mktime: merge <sys/types.h> change from gnulib
77351         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
77352         since <time.t> is now guaranteed to define time_t.
77354         mktime: merge HAVE_CONFIG_H change from gnulib
77355         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
77357 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
77359         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
77360         Use "neg %eax".
77362         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
77363         __rlim_t cast.
77364         (struct rusage): Use anonymous union to pad each field to
77365         __syscall_slong_t.
77367 2012-05-21  David S. Miller  <davem@davemloft.net>
77369         * Makefules (o-iterator): Remove .s cases.
77370         (compile-command.s): Delete.
77371         (COMPILE.s): Delete.
77372         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
77374 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
77376         * configure.in (libc_cv_predef_stack_protector): Only consider
77377         "foobar" and "__stack_chk_fail" lines in libc_undefs.
77378         * configure: Regenerated.
77380 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
77382         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
77383         New macro.  Use R*LP on int and pointer.
77384         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
77385         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
77386         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
77387         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
77389         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
77390         [__WORDSIZE_TIME64_COMPAT32] instead of
77391         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
77392         (struct utmp): Likewise.
77393         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
77394         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
77395         Renamed to ...
77396         (__WORDSIZE_TIME64_COMPAT32): This.
77397         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
77398         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
77399         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
77400         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
77401         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
77402         (__WORDSIZE_TIME64_COMPAT32): New macro.
77404 2012-05-21  Andreas Jaeger  <aj@suse.de>
77406         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
77407         only if [SHARED]. Add prototype for __wcschr_ia32.
77409 2012-05-21  Roland McGrath  <roland@hack.frob.com>
77411         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
77412         of %rbp unmolested in the jmp_buf while mangling the low bits.
77413         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
77414         unmolested high bits of %rbp while demangling the low bits.
77415         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
77417 2012-05-21  Andreas Jaeger  <aj@suse.de>
77419         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
77420         * sunrpc/svc_simple.c: Use it for registerrpc.
77421         * sunrpc/xcrypt.c: Use it for passwd2des.
77423         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
77425 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
77427         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
77428         Don't define if [__SYSCALL_WORDSIZE != 32].
77429         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
77430         New macro.
77432 2012-05-21  Bruno Haible  <bruno@clisp.org>
77433             Andreas Jaeger  <aj@suse.de>
77435         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
77436         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
77437         inptr and inend for must_buffer_ch.
77438         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
77439         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
77440         * stdio-common/Makefile (tests): Remove bug15.
77441         (bug15-ENV): Remove macro.
77442         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
77443         anymore.
77445 2012-05-19  Andreas Jaeger  <aj@suse.de>
77446             Roland McGrath  <roland@hack.frob.com>
77448         * manual/contrib.texi: Completely rewritten. It contains now an
77449         alphabetical list of contributors and their contributions.
77451 2012-05-21  Richard Henderson  <rth@twiddle.net>
77453         * misc/getauxval.c (__getauxval): Use unsigned long int.
77454         * misc/sys/auxv.h: Include <sys/cdefs.h>.
77455         (getauxval): Use unsigned long int.
77457 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
77459         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
77461 2012-05-21  Roland McGrath  <roland@hack.frob.com>
77463         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
77464         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
77465         __alignof__ (long double).
77467 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77469         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77471 2012-05-20  Richard Henderson  <rth@twiddle.net>
77473         * misc/getauxval.c: New file.
77474         * misc/sys/auxv.h: New file.
77475         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
77476         (routines): Add getauxval.
77477         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
77478         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
77479         * elf/dl-sysdep.c (_dl_auxv): Remove.
77480         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
77481         * elf/dl-support.c (_dl_auxv): New variable.
77482         (_dl_aux_init): Initialize it.
77483         * manual/startup.texi (Auxiliary Vector): New node.
77484         * sysdeps/generic/bits/hwcap.h: New file.
77485         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
77486         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
77487         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
77488         * sysdeps/sparc/sysdep.h: ... here.  Include it.
77489         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
77490         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
77491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
77492         Update.
77493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
77494         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
77495         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
77496         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
77497         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
77498         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
77499         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
77500         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
77502 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77504         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77506 2012-05-19  David S. Miller  <davem@davemloft.net>
77508         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77510 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
77512         [BZ #14123]
77513         * math/s_ccosh.c: Include <float.h>
77514         (__ccosh): Avoid internal overflow calculating sinh and cosh
77515         values before multiplying by sin and cos values.
77516         * math/s_ccoshf.c: Likewise.
77517         * math/s_ccoshl.c: Likewise.
77518         * math/s_csin.c: Likewise.
77519         * math/s_csinf.c: Likewise.
77520         * math/s_csinl.c: Likewise.
77521         * math/s_csinh.c: Likewise.
77522         * math/s_csinhf.c: Likewise.
77523         * math/s_csinhl.c: Likewise.
77524         * math/libm-test.inc (ccos_test): Add more tests.
77525         (ccosh_test): Likewise.
77526         (csin_test): Likewise.
77527         (csinh_test): Likewise.
77528         * sysdeps/i386/fpu/libm-test-ulps: Update.
77529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77531 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
77533         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
77534         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
77536         * sysdeps/x86_64/x32/_itoa.h: Add comment.
77538 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
77540         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
77541         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
77542         * sysdeps/powerpc/soft-fp/Versions: Likewise.
77543         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
77544         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
77545         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
77546         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
77547         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
77548         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
77549         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
77550         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
77551         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
77552         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
77553         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
77554         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
77555         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
77556         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
77557         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
77558         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
77559         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
77560         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
77561         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
77562         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
77563         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
77564         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
77565         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
77566         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
77567         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
77568         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
77569         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
77570         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
77572 2012-05-18  Andreas Jaeger  <aj@suse.de>
77574         * csu/.gitignore: Delete.
77576 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
77578         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
77579         (timex): Use __syscall_slong_t.
77581 2012-05-18  Andreas Jaeger  <aj@suse.de>
77582             Carlos O'Donell  <carlos_odonell@mentor.com>
77584         * manual/install.texi (Configuring and compiling): Update
77585         description about files modified in the source directory.
77586         * INSTALL: Regenerated.
77588 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
77590         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
77591         value.  Use "or" to set return value to -1.
77592         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
77593         negate return value.
77595 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
77597         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
77598         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
77599         failure if the compiler has Graphite support disabled.
77600         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
77601         Likewise.
77602         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
77603         (CFLAGS-memmove.c): Likewise.
77604         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
77605         Likewise.
77607 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
77609         * sysdeps/x86_64/x32/_itoa.h: New file.
77611         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
77612         getdents system call only if kernel and user dirents have the
77613         same d_ino and d_off.
77615         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
77616         LLONG_MAX != LONG_MAX.
77617         (_itoa_word): Use _ITOA_WORD_TYPE on value.
77618         (_fitoa_word): Likewise.
77620         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
77621         years.
77622         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
77623         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
77624         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
77626         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
77627         include <bits/wordsize.h>.  Check __x86_64__ instead of
77628         __WORDSIZE.
77629         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
77630         if __x86_64__ is defined.  Use anonymous union on fpstate.
77632         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
77633         anonymous union.
77635 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
77637         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
77638         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
77639         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
77640         Refer to _rtld_local_ro instead of _rtld_global_ro.
77641         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
77642         Likewise.
77643         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
77644         Likewise.
77645         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
77646         Likewise.
77647         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
77648         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
77649         of _rtld_global, and rtld_progname instead of _dl_argv[0].
77651         [BZ #10882]
77652         * sysdeps/powerpc/powerpc32/dl-machine.c
77653         (__elf_machine_runtime_setup) [PROF]: Don't reference
77654         _dl_prof_resolve.
77656 2012-05-18  Andreas Jaeger  <aj@suse.de>
77658         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
77659         function only available for GCCs before 3.4 since GCC 3.4
77660         introduced a builtin.
77661         (lrint): Likewise.
77662         (llrintf): Likewise.
77663         (llrint): Likewise.
77664         (fmaxf): Likewise.
77665         (fmax): Likewise.
77666         (fminf): Likewise.
77667         (fmin): Likewise.
77668         (rint): Likewise.
77669         (rintf): Likewise.
77670         (nearbyint): Likewise.
77671         (nearbyintf): Likewise.
77672         (ceil): Likewise.
77673         (ceilf): Likewise.
77674         (floor): Likewise.
77675         (floorf): Likewise.
77677 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
77679         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
77680         on both fields and cast pointer to __syscall_ulong_t.
77682         * bits/types.h (__fsword_t): New type.
77683         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
77684         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
77685         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
77686         (__FSWORD_T_TYPE): Likewise.
77687         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
77688         (__FSWORD_T_TYPE): Likewise.
77689         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77690         (__FSWORD_T_TYPE): Likewise.
77691         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
77692         (__FSWORD_T_TYPE): Likewise.
77693         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
77694         __SWORD_TYPE with __fsword_t.
77695         (statfs64): Likewise.
77697 2012-05-17  David S. Miller  <davem@davemloft.net>
77699         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
77701 2012-05-17  Andreas Jaeger  <aj@suse.de>
77703         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
77704         warning.
77706 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
77708         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
77710 2012-05-17  Andreas Jaeger  <aj@suse.de>
77712         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
77713         when it is used.
77715 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
77717         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
77719 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
77721         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
77722         * sysdeps/x86_64/tst-mallocalign1.c: New file.
77724 2012-05-17  Andreas Jaeger  <aj@suse.de>
77725             Carlos O'Donell  <carlos_odonell@mentor.com>
77727         [BZ #14059]
77728         * sysdeps/x86_64/multiarch/init-arch.h
77729         (bit_YMM_Usable): Rename to...
77730         (bit_AVX_Usable): ... this.
77731         (bit_FMA4_Usable): New macro.
77732         (bit_XMM_state): New macro.
77733         (bit_YMM_state): New macro.
77734         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
77735         [__ASSEMBLER__] (index_AVX_Usable): ... this.
77736         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
77737         (CPUID_OSXSAVE): New macro.
77738         (CPUID_AVX): New macro.
77739         (CPUID_FMA4): New macro.
77740         (index_YMM_Usable): Rename to...
77741         (index_AVX_Usable): ... this.
77742         (HAS_AVX): Use HAS_ARCH_FEATURE.
77743         (HAS_FMA4): Likewise.
77744         (HAS_YMM_USABLE): Remove.
77745         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77746         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
77747         are present.
77748         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
77749         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
77750         * sysdeps/x86_64/multiarch/Makefile: Likewise.
77751         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
77752         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
77754 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
77756         * math/libm-test.c: Support platforms without multiple rounding modes.
77757         * math/bug-nextafter.c: Support platforms without FP exceptions.
77758         * math/bug-nexttoward.c: Likewise.
77759         * math/test-fenv.c: Likewise.
77760         * math/test-misc.c: Likewise.
77761         * stdlib/bug-getcontext.c: Likewise.
77763 2012-05-17  Andreas Jaeger  <aj@suse.de>
77765         * manual/examples/search.c (critter_cmp): Change signature to
77766         avoid warnings.
77767         * manual/string.texi (Collation Functions): Likewise.
77769 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77771         * bits/types.h: Fold copyright years.
77772         * bits/typesizes.h: Likewise.
77773         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
77774         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
77775         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
77776         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
77777         * time/time.h: Likewise.
77779 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
77781         [BZ #208]
77782         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
77783         in instead of returning them.  Return void.
77784         (__libc_mallinfo): Accumulate over all arenas.
77785         (__malloc_stats): Adjust for change in int_mallinfo interface.
77787 2012-05-16  Roland McGrath  <roland@hack.frob.com>
77789         [BZ #10375]
77790         * configure.in (NM): Add AC_CHECK_TOOL for it.
77791         (libc_extra_cflags): New substituted variable.
77792         Check for -fstack-protector being used implicitly.
77793         * configure: Regenerated.
77794         * config.make.in (config-extra-cflags): New variable,
77795         gets @libc_extra_cflags@.
77796         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
77798         [BZ #10375]
77799         * configure.in: Check for _FORTIFY_SOURCE being predefined.
77800         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
77801         * configure: Regenerated.
77802         * config.make.in (CPPUNDEFS): New substituted variable.
77803         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
77804         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
77805         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
77807 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77809         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
77810         (mq_attr): Use __syscall_slong_t.
77812 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77814         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
77815         Check __x86_64__ instead of __WORDSIZE.
77816         (_STAT_VER_LINUX): Likewise.
77817         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
77818         __syscall_ulong_t and __syscall_slong_t.
77819         (stat64): Likewise.
77821 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77823         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
77825 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77827         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
77829 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77831         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
77832         __syscall_ulong_t.
77834         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
77835         include <bits/wordsize.h>.  Check __x86_64__ instead of
77836         __WORDSIZE.
77837         (greg_t): Use "__extension__ long long int" if __x86_64__ is
77838         defined.
77839         (mcontext_t): Replace "unsigned long" with "unsigned long long".
77841         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
77842         include <bits/wordsize.h>.  Check __x86_64__ instead of
77843         __WORDSIZE.
77844         (user_regs_struct): Use "__extension__ unsigned long long"
77845         instead of "unsigned long" if __x86_64__ is defined.
77846         (user): Likewise.  Pad after pointer field if __ILP32__ is
77847         defined.
77849 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
77851         * configure.in (makeinfo): Require version 4.5 or later.  Allow
77852         versions 5 to 9.
77853         * configure: Regenerated.
77854         * manual/install.texi (texinfo): Increase version requirement to
77855         4.5 or later.
77856         * INSTALL: Regenerated.
77858         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
77860 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77862         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
77864         * sysdeps/x86_64/x32/ffs.c: New file.
77866         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
77867         __syscall_ulong_t.
77868         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
77869         defined.  Use __syscall_ulong_t.
77870         (shminfo): Use __syscall_ulong_t.
77871         (shm_info): Likewise.
77873         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
77874         __syscall_ulong_t.
77876         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
77877         <bits/wordsize.h>.
77878         (msgqnum_t): Use __syscall_ulong_t.
77879         (msglen_t): Likewise.
77880         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
77881         __syscall_ulong_t.
77883         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
77884         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
77886         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
77888         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
77889         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
77891         * sysvipc/sys/msg.h (msgbuf): Replace long int with
77892         __syscall_slong_t.
77894         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
77895         include <bits/wordsize.h>.  Check __x86_64__ instead of
77896         __WORDSIZE.
77898         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
77899         "unsigned long long int" if __x86_64__ is defined.
77900         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
77902         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
77903         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
77904         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
77906         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
77907         <stdint.h>.
77908         (GET_PC): Cast to uintptr_t first.
77909         (GET_FRAME): Likewise.
77910         (GET_STACK): Likewise.
77912         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
77913         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
77914         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
77915         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
77916         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
77917         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
77918         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
77919         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
77920         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
77921         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
77922         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
77923         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
77924         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
77925         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
77926         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
77927         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
77928         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
77929         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
77930         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
77931         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
77932         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
77933         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
77934         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
77935         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
77936         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
77937         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
77938         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
77939         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
77940         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
77942 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
77944         * Makerules (+depfiles): Also collect depfiles from .oS in
77945         $(extra-objs).
77946         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
77947         .oS, $(libnldbl-routines)).
77949         * Makerules (native-compile-mkdep-flags): Define.
77950         * sunrpc/Makefile (extra-objs): Add $(addprefix
77951         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
77952         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
77953         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
77954         calling $(make-target-directory).
77956 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77958         * bits/types.h (__snseconds_t): Removed.
77959         * time/time.h (struct timespec): Replace __snseconds_t with
77960         __syscall_slong_t.
77961         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
77962         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
77963         Likewise.
77964         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
77965         (__SNSECONDS_T_TYPE): Likewise.
77966         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
77967         (__SNSECONDS_T_TYPE): Likewise.
77968         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77969         (__SNSECONDS_T_TYPE): Likewise.
77971 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77973         * sysdeps/mach/hurd/bits/typesizes.h
77974         (__SYSCALL_SLONG_TYPE): New macro.
77975         (__SYSCALL_ULONG_TYPE): Likewise.
77977 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77979         * bits/types.h (__syscall_slong_t): New type.
77980         (__syscall_ulong_t): Likewise.
77982         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
77983         (__SYSCALL_ULONG_TYPE): Likewise.
77984         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
77985         (__SYSCALL_SLONG_TYPE): Likewise.
77986         (__SYSCALL_ULONG_TYPE): Likewise.
77987         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
77988         (__SYSCALL_SLONG_TYPE): Likewise.
77989         (__SYSCALL_ULONG_TYPE): Likewise.
77990         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77991         (__SYSCALL_SLONG_TYPE): Likewise.
77992         (__SYSCALL_ULONG_TYPE): Likewise.
77994 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77996         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
77997         Add sigaltstack-offsets.sym.
77998         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
77999         <sigaltstack-offsets.h>.
78000         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
78001         longjmp_msg pointer.
78002         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
78003         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
78004         signal stack.
78005         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
78007 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
78009         * elf/stackguard-macros.h: Remove file.
78010         * sysdeps/generic/stackguard-macros.h: New file.
78011         * sysdeps/i386/stackguard-macros.h: Likewise.
78012         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
78013         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
78014         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
78015         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
78016         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
78017         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
78018         * sysdeps/x86_64/stackguard-macros.h: Likewise.
78019         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
78020         <elf/stackguard-macros.h>.
78022         [BZ #14109]
78023         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
78024         __aligned__ in attribute.
78025         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
78026         (gregset_t): Likewise.
78028 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78030         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
78031         * sysdeps/x86_64/64/Implies-after: Here.  New file.
78032         * sysdeps/x86_64/x32/Implies-after: New file.
78034 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78036         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
78037         and access return value for _dl_profile_fixup.  Use R10_LP to
78038         load frame size.
78040 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78042         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
78044 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78046         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
78047         * sysdeps/x86_64/x32/sysdep.h: New file.
78049 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78051         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
78052         * sysdeps/x86_64/setjmp.S: Likewise.
78054 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78056         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
78057         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
78058         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
78059         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
78060         remove unused global constant.
78062 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
78064         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
78065         include of <not-cancel.h>.
78067 2012-05-15  Roland McGrath  <roland@hack.frob.com>
78069         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
78071 2012-05-15  Jeff Law  <law@redhat.com>
78072             Andreas Jaeger  <aj@suse.de>
78074         [BZ #13594]
78075         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
78076         out from...
78077         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
78078         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
78079         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
78080         code changing __hst_map_handle.map.
78082 2012-05-15  Roland McGrath  <roland@hack.frob.com>
78084         * configure.in (sysnames): Look for Implies-before and Implies-after
78085         files.
78086         * configure: Regenerated.
78088 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78090         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
78091         8-byte data alignment with LP_SIZE alignment.
78093 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78095         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
78096         into R10_LP.
78098 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78100         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
78102 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78104         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
78105         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
78106         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
78107         Likewise.
78108         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
78110 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78112         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
78113         (stackinfo_sub_sp): Likewise.
78115 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78117         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
78118         RAX_LP.
78120 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78122         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
78123         into R*_LP.
78125 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78127         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
78128         sizes into R*_LP.
78130 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78132         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
78134 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78136         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
78137         into R11_LP and load __x86_64_shared_cache_size_half into
78138         R8_LP.
78140 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78142         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
78143         R8_LP.
78145 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78147         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
78148         logb for POWER7.
78149         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
78150         logbf for POWER7.
78151         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
78152         logbl for POWER7.
78153         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
78154         powerpc32/power7/fpu/s_logb.c via #include.
78155         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
78156         powerpc32/power7/fpu/s_logbf.c via #include.
78157         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
78158         powerpc32/power7/fpu/s_logbl.c via #include.
78160 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
78162         * README.libm: Remove file.
78164 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78166         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
78167         count for x32.  Use R*_LP and omit operand-size suffix.
78169 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78171         * shlib-versions: Move x86_64-.*-linux.* entries to ...
78172         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
78173         * sysdeps/x86_64/x32/shlib-versions: New file.
78175 2012-05-14  Roland McGrath  <roland@hack.frob.com>
78177         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
78178         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
78179         Use _dl_fatal_printf instead.
78181 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
78183         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
78184         set if not set by the user.  Do not allow for being unset.
78185         * sysdeps/unix/sysv/linux/configure: Regenerated.
78187 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78189         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
78190         the `q' suffix from lea and replace .quad with ASM_ADDR.
78192 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78194         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
78195         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
78196         instead of $17.
78197         (PTR_DEMANGLE): Likewise.
78199 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78201         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
78202         (LP_OP): Likewise.
78203         (ASM_ADDR): Likewise.
78204         (RAX_LP): Likewise.
78205         (RBP_LP): Likewise.
78206         (RBX_LP): Likewise.
78207         (RCX_LP): Likewise.
78208         (RDI_LP): Likewise.
78209         (RSI_LP): Likewise.
78210         (RSP_LP): Likewise.
78211         (R8_LP): Likewise.
78212         (R9_LP): Likewise.
78213         (R10_LP): Likewise.
78214         (R10_LP): Likewise.
78215         (R11_LP): Likewise.
78216         (R12_LP): Likewise.
78217         (R13_LP): Likewise.
78218         (R14_LP): Likewise.
78219         (R15_LP): Likewise.
78221 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78223         * sysdeps/x86_64/x32/dl-machine.h: New file.
78225 2012-05-14  Andreas Jaeger  <aj@suse.de>
78227         * manual/Makefile (subdir): Remove export of subdir.
78228         (all): Remove target.
78229         (.PHONY): Remove all from list.
78230         (mkinstalldirs): Remove.
78231         (.PHONY): Remove installdirs from list.
78232         ($(inst_infodir)/libc.info): Use make-target-directory.
78233         (installdirs): Remove.
78234         (subdir_%): Remove.
78235         (glibc-targets): Remove.
78236         (lib): Remove.
78237         (stubs): Remove.
78238         ($(objpfx)stubs ../po/manual.pot): Remove.
78239         ($(objpfx)stamp%): Remove.
78240         (make-target-directory): Remove.
78241         (subdir_install): Remove.
78242         (routines): Remove.
78243         (aux): Remove.
78244         (sources): Remove.
78245         (objects): Remove.
78246         (headers): Remove.
78248         [BZ #13750]
78249         * manual/.gitignore: Remove, it's not needed anymore.
78250         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
78251         all files in it.
78252         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
78253         directory.
78254         (texis): Renamed to $(objpfx)texis.
78255         (texis-path): New, contains path to generated files.
78256         (chapters.%): Use texis-path for complete path, add extra argument
78257         libc-texinfo.sh.
78258         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
78259         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
78260         (summary,texi, stamp-summary): Use complete path of
78261         files. Generate files in build dir.
78262         (dir-add.texi): Build in build dir.
78263         (libm-err.texi,stamp-libm-err): Likewise.
78264         (version.texi, stamp-version): Likewise.
78265         (.%c.texi): Likewise.
78266         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
78267         (mostlyclean): Remove target.
78268         (realclean): Remove target.
78269         (generated): Add new variable with contents from mostlyclean and
78270         realclean, remove entries duplicated in common-mostlyclean, add
78271         stamp-libm-err and stamp-version.
78272         (generated-dirs): Add libc directory.
78273         ($(inst_infodir)/libc.info): Install files from build dir.
78275         * manual/install.texi (Configuring and compiling): Adjust since
78276         the info files are not part of the tar ball anymore.
78278 2012-05-14  Andreas Jaeger  <aj@suse.de>
78280         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
78281         variable.
78283 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
78285         [BZ #13717]
78286         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
78287         to 2.2.0 where earlier.
78288         * sysdeps/unix/sysv/linux/configure: Regenerated.
78289         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
78290         Remove conditional code.
78291         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
78292         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
78293         Remove conditional code.
78294         [!__NR_lchown]: Likewise.
78295         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
78296         [__NR_lchown]: Likewise.
78297         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
78298         comment referencing __ASSUME_LCHOWN_SYSCALL.
78299         * sysdeps/unix/sysv/linux/i386/sigaction.c
78300         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
78301         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
78302         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
78303         Remove conditional code.
78304         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
78305         (__protocol_available): Remove #if 0 code.
78306         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
78307         conditional code.
78308         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
78309         * sysdeps/unix/sysv/linux/kernel-features.h
78310         (__ASSUME_GETCWD_SYSCALL): Don't define.
78311         (__ASSUME_REALTIME_SIGNALS): Likewise.
78312         (__ASSUME_PREAD_SYSCALL): Likewise.
78313         (__ASSUME_PWRITE_SYSCALL): Likewise.
78314         (__ASSUME_POLL_SYSCALL): Likewise.
78315         (__ASSUME_LCHOWN_SYSCALL): Likewise.
78316         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
78317         non-SPARC.
78318         (__ASSUME_SIOCGIFNAME): Don't define.
78319         (__ASSUME_MSG_NOSIGNAL): Likewise.
78320         (__ASSUME_SENDFILE): Define unconditionally.
78321         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
78322         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
78323         conditional code.
78324         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
78325         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
78326         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
78327         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
78328         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
78329         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
78330         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
78331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
78332         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
78333         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
78335         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
78336         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
78338         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
78339         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
78341         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
78342         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
78344         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
78345         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
78347         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
78348         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
78350         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
78351         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
78353         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
78354         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78355         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
78356         Remove conditional code.
78357         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78358         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
78359         Remove conditional code.
78360         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78361         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
78362         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
78363         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
78364         Remove conditional code.
78365         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78366         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
78367         Remove conditional code.
78368         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78369         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
78370         Remove conditional code.
78371         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78372         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
78373         Remove conditional code.
78374         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78375         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
78376         Remove conditional code.
78377         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78378         * sysdeps/unix/sysv/linux/sh/pwrite64.c
78379         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
78380         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78381         * sysdeps/unix/sysv/linux/sigaction.c
78382         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
78383         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
78384         * sysdeps/unix/sysv/linux/sigpending.c
78385         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
78386         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
78387         * sysdeps/unix/sysv/linux/sigprocmask.c
78388         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
78389         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
78390         * sysdeps/unix/sysv/linux/sigsuspend.c
78391         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
78392         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
78393         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
78394         (__libc_missing_rt_sigs): Remove.
78395         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
78396         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
78397         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
78398         Remove conditional code.
78399         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
78400         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
78401         return 1.
78402         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
78403         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
78404         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
78405         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
78407 2012-05-14  Andreas Jaeger  <aj@suse.de>
78409         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
78410         it's not used in glibc.
78411         (__coshm1): Likewise.
78412         (__acosh1p): Likewise.
78413         (__sgn): Likewise.
78415         * manual/string.texi (Copying and Concatenation): Add missing
78416         variable in concat example.
78417         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
78419 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78421         [BZ #14103]
78422         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
78423         __builtin_clzl with __builtin_clzll.
78425 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78427         [BZ #14104]
78428         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
78429         libc_freeres_ptr.
78431 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78433         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
78434         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
78435         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
78436         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
78438 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
78440         * NEWS: Update ia64 info.
78442 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
78444         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
78445         used as bcopy.
78447 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
78449         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
78450         * sysdeps/unix/syscalls.list (dup3): Likewise.
78451         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
78452         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
78454 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
78456         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
78457         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
78459 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
78461         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
78462         thread pointer.
78463         (TLS_IE): Use mov/add instead of movq/addq to load thread
78464         pointer.
78465         (TLS_GD_PREFIX): New.
78466         (TLS_GD): Use it.
78468 2012-05-11  David S. Miller  <davem@davemloft.net>
78470         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
78471         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
78472         (_FPU_SETCW): Likewise.
78474 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
78476         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
78477         is 32-byte aligned.
78479 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
78481         [BZ #11837]
78482         * iconvdata/gb18030.c: Update tables.
78483         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
78484         characters specially.
78485         (BODY for TO_LOOP): Add encoding of missing ranges.
78487 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
78489         [BZ #13673]
78490         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
78491         * sysdeps/mach/hurd/dup3.c: Likewise.
78492         * sysdeps/mach/hurd/readlinkat.c: Likewise.
78493         * sysdeps/powerpc/memmove.c:: Likewise.
78495 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
78497         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
78498         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
78500 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
78502         * elf/elf.h (R_X86_64_RELATIVE64): New.
78503         (R_X86_64_NUM): Updated.
78504         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
78505         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
78506         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
78507         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
78508         tst-quad1pie tst-quad2pie
78509         (modules-names): Add tst-quadmod1 tst-quadmod2.
78510         ($(objpfx)tst-quad1): New dependency.
78511         ($(objpfx)tst-quad2): Likewise.
78512         ($(objpfx)tst-quad1pie): Likewise.
78513         ($(objpfx)tst-quad2pie): Likewise.
78514         * sysdeps/x86_64/tst-quad1.c: New file.
78515         * sysdeps/x86_64/tst-quad1pie.c: New file.
78516         * sysdeps/x86_64/tst-quad2.c: Likewise.
78517         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
78518         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
78519         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
78520         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
78521         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
78523 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78525         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
78526         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
78527         * streams/stropts.h (t_scalar_t): Define type.
78529         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
78530         (_PATH_PRESERVE): Set to "/var/lib".
78531         (_PATH_RWHODIR): Set to "/var/spool/rwho".
78533         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
78534         instead of int.
78536         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
78537         if __dir_mkfile succeeded.
78539         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
78540         checking for _hurd_dtablesize.  Unlock it right after having
78541         finished _hurd_dtable allocation.
78543 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78545         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
78546         * sysdeps/mach/hurd/configure: Regenerated.
78547         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
78548         special-casing to...
78549         * sysdeps/gnu/configure.in: ... this new file.
78550         * sysdeps/unix/sysv/linux/configure: Regenerated.
78551         * sysdeps/gnu/configure: New generated file.
78553         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
78554         for Linux: use nsec instead of usec, as well as:
78555         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
78556         members of type struct timespec.
78557         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
78558         New macros.
78559         (struct stat64): Likewise.
78560         (_STATBUF_ST_NSEC): New macro.
78561         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
78563         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
78564         __strtoul_internal rather than strtoul.
78566 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
78568         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
78569         and reject them.
78571 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78573         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
78574         which preserves existing values.
78575         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
78577 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
78579         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
78580         TIMEOUT values.  Return EINVAL for NFDS values either negative or
78581         greater than FD_SETSIZE.
78583 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78585         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
78586         allocated, call __vm_protect to finish enabling the existing space, and
78587         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
78588         allocate the remainder.
78590 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
78592         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
78593         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
78595 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78597         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
78598         sysdeps/mach/hurd/readlink.c.
78600         * posix/tst-sysconf.c (posix_options): Only use
78601         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
78602         _POSIX_SYNCHRONIZED_IO when they are defined
78603         * sysdeps/mach/hurd/bits/posix_opt.h:
78604         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
78605         (_XOPEN_REALTIME): Undefine macro.
78606         (_XOPEN_REALTIME_THREADS): Undefine macro.
78607         (_XOPEN_SHM): Undefine macro.
78608         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
78609         macro to -1.
78610         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
78611         macro to -1.
78612         (_POSIX_ASYNC_IO): Undefine macro.
78613         (_POSIX_PRIORITIZED_IO): Undefine macro.
78614         (_POSIX_SPIN_LOCKS): Define macro to -1.
78616         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
78617         SA_NODEFER, SA_RESETHAND.
78618         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
78619         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
78620         F_DUPFD_CLOEXEC.
78622 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78624         * elf/Makefile (pldd-modules): Define unconditionally.
78626 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78628         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
78630 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78632         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
78633         Return ENOENT when name is empty.
78634         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
78636 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78638         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
78640         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
78642 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78644         Fix mlock in all cases except non-readable pages.
78645         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
78646         instead of VM_PROT_ALL as parameter to __vm_wire function.
78648         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
78649         (__mkdir): When path is `/', just fail with EEXIST.
78650         * sysdeps/mach/hurd/mkdirat.c: Likewise.
78652 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78654         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
78655         <sys/uio.h> (for writev).
78656         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
78657         and <sys/param.h> (for MIN).
78659 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
78661         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
78662         REQUESTED_TIME.  Properly set the remaining time and return EINTR
78663         if interrupted.
78665 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78667         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
78668         Depend on against $(link-rpcuserlibs).
78670 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78672         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
78673         (__libc_stack_end): Do not use attribute_relro.
78674         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
78675         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
78676         to libthread-provided value.
78677         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
78678         attribute_relro.
78680 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78682         [BZ #3748]
78683         * bits/libc-lock.h (__libc_once_get): New macro.
78684         * sysdeps/mach/bits/libc-lock.h: Likewise.
78685         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
78686         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
78687         instead of using implementation details.
78689         * libio/fileops.c: Unconditionally include <kernel-features.h>.
78690         * libio/freopen.c: Likewise.
78691         * libio/freopen64.c: Likewise.
78692         * misc/syslog.c: Likewise.
78693         * nscd/connections.c: Likewise.
78694         * nscd/netgroupcache.c: Likewise.
78695         * sysdeps/posix/getcwd.c: Likewise.
78697 2012-05-10  Roland McGrath  <roland@hack.frob.com>
78699         * math/w_ilogbf.c: Add #include <limits.h>.
78701 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78703         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
78704         path instead of returning without unlocking.
78706         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
78707         immediate-write ioctls.
78708         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
78710 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78712         * sysdeps/mach/hurd/i386/init-first.c (init): Use
78713         __builtin_frame_address instead of making assumptions about the
78714         location of the return address relative to DATA.  Force early load of
78715         the return address.
78716         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
78717         __builtin_frame_address.
78719         dup3 for GNU Hurd.
78720         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
78721         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
78722         implement dup3 and do some further code clean-ups.
78723         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
78724         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
78726 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78728         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
78730         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
78731         HURD_CRITICAL_END around holding _hurd_dtable_lock.
78732         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
78733         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
78734         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
78735         d->port.lock.
78737         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
78738         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
78739         when handler == SIG_ERR, not when handler != SIG_ERR.
78741 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78743         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
78744         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
78745         definitions.
78747         accept4 for GNU Hurd.
78748         * include/sys/socket.h (__libc_accept4): New prototype.
78749         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
78750         to implement __libc_accept4.
78751         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
78752         __libc_accept4.
78753         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
78755         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
78756         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
78757         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
78758         signal-defines.sym.
78760 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78762         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
78764 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78766         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
78767         assertion on O_CLOEXEC flag.
78768         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
78769         * hurd/intern-fd.c: Likewise.
78770         * hurd/port2fd.c: Likewise.
78772 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78774         [BZ #3906]
78775         * bits/in.h (IPV6_PKTINFO): Define new macro.
78776         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
78778 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78780         [BZ #13954]
78781         [BZ #13955]
78782         [BZ #13956]
78783         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
78784         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
78785         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
78786         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
78787         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
78788         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
78789         * math/libm-test.inc (logb_test) : Additional logb tests.
78791 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
78792             Andreas Jaeger  <aj@suse.de>
78794         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
78795         * configure: Regenerated.
78796         * config.h.in (LINK_OBSOLETE_RPC): New macro.
78797         * config.make.in (link-obsolete-rpc): New substituted variable.
78798         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
78799         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
78800         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
78801         (shared-only-routines): Don't set it under [link-obsolete-rpc],
78802         so that libc.a contains the symbols.
78803         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
78804         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
78805         * sunrpc/auth_none.c: Likewise.
78806         * sunrpc/auth_unix.c: Likewise.
78807         * sunrpc/authdes_prot.c: Likewise.
78808         * sunrpc/authuxprot.c: Likewise.
78809         * sunrpc/clnt_gen.c: Likewise.
78810         * sunrpc/clnt_perr.c: Likewise.
78811         * sunrpc/clnt_raw.c: Likewise.
78812         * sunrpc/clnt_simp.c: Likewise.
78813         * sunrpc/clnt_tcp.c: Likewise.
78814         * sunrpc/clnt_udp.c: Likewise.
78815         * sunrpc/clnt_unix.c: Likewise.
78816         * sunrpc/des_crypt.c: Likewise.
78817         * sunrpc/des_soft.c: Likewise.
78818         * sunrpc/get_myaddr.c: Likewise.
78819         * sunrpc/key_call.c: Likewise.
78820         * sunrpc/key_prot.c: Likewise.
78821         * sunrpc/netname.c: Likewise.
78822         * sunrpc/pm_getmaps.c: Likewise.
78823         * sunrpc/pm_getport.c: Likewise.
78824         * sunrpc/pmap_clnt.c: Likewise.
78825         * sunrpc/pmap_prot.c: Likewise.
78826         * sunrpc/pmap_prot2.c: Likewise.
78827         * sunrpc/pmap_rmt.c: Likewise.
78828         * sunrpc/publickey.c: Likewise.
78829         * sunrpc/rpc_cmsg.c: Likewise.
78830         * sunrpc/rpc_common.c: Likewise.
78831         * sunrpc/rpc_dtable.c: Likewise.
78832         * sunrpc/rpc_prot.c: Likewise.
78833         * sunrpc/rpc_thread.c: Likewise.
78834         * sunrpc/rtime.c: Likewise.
78835         * sunrpc/svc.c: Likewise.
78836         * sunrpc/svc_auth.c: Likewise.
78837         * sunrpc/svc_raw.c: Likewise.
78838         * sunrpc/svc_run.c: Likewise.
78839         * sunrpc/svc_tcp.c: Likewise.
78840         * sunrpc/svc_udp.c: Likewise.
78841         * sunrpc/svc_unix.c: Likewise.
78842         * sunrpc/svcauth_des.c: Likewise.
78843         * sunrpc/xcrypt.c: Likewise.
78844         * sunrpc/xdr.c: Likewise.
78845         * sunrpc/xdr_array.c: Likewise.
78846         * sunrpc/xdr_float.c: Likewise.
78847         * sunrpc/xdr_intXX_t.c: Likewise.
78848         * sunrpc/xdr_mem.c: Likewise.
78849         * sunrpc/xdr_rec.c: Likewise.
78850         * sunrpc/xdr_ref.c: Likewise.
78851         * sunrpc/xdr_sizeof.c: Likewise.
78852         * sunrpc/xdr_stdio.c: Likewise.
78854 2012-05-10  Roland McGrath  <roland@hack.frob.com>
78856         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
78857         change.  Update copyright years.
78859 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
78861         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
78863 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
78864             Joseph Myers  <joseph@codesourcery.com>
78865             Paul Pluzhnikov  <ppluzhnikov@google.com>
78867         [BZ #14012]
78868         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
78869         requiring rpcgen.
78870         [cross-compiling] (extra-libs): Likewise.
78871         [cross-compiling] (extra-libs-others): Likewise.
78872         [cross-compiling] (librpcsvc-routines): Likewise.
78873         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
78874         [cross-compiling] (omit-deps): Likewise.
78875         (sunrpc-CPPFLAGS): New variable.
78876         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
78877         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
78878         (cross-rpcgen-objs): New variable.
78879         (extra-objs): Append $(cross-rpcgen-objs).
78880         ($(cross-rpcgen-objs)): New rule.
78881         ($(objpfx)cross-rpcgen): Likewise.
78882         (rpcgen-cmd): Define to use $(built-program-file).  Expand
78883         comment.
78884         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
78885         ($(objpfx)x%.stmp): Likewise.
78886         * sunrpc/proto.h [IS_IN_build] (_): Define.
78887         [IS_IN_build] (_libc_intl_domainname): Likewise.
78889 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
78891         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
78892         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
78893         and R_X86_64_TPOFF64.
78895 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
78897         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
78898         sysdeps/unix/sysv/syscalls.list.
78899         (stime): Likewise.
78900         (utime): Likewise.
78901         * sysdeps/unix/sysv/syscalls.list: Remove file.
78903 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
78905         [BZ #3440]
78906         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
78907         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
78908         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
78909         (__LC_IDENTIFICATION): Make these macros useful in #if
78910         expressions, as required by C99.
78912 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
78914         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
78915         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
78916         after this.
78918 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
78920         * stdlib/longlong.h: Updated from GCC.
78922 2012-05-09  Andreas Jaeger  <aj@suse.de>
78924         * nscd/nscd.c (run_modes): Make named enum, reorder so that
78925         default is first entry.
78926         (run_mode): Set type.
78927         (main): Remove informal message about syslog.
78928         (options): Fix typo.
78930         [BZ #14053]
78931         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
78932         to asm.
78933         (lrint): Likewise.
78934         (llrintf): Likewise.
78935         (llrint): Likewise.
78936         (rint): Likewise.
78937         (rintf): Likewise.
78938         (nearbyint): Likewise.
78939         (nearbyintf): Likewise.
78941 2012-05-09  Andreas Jaeger  <aj@suse.de>
78942             Pedro Alves  <palves@redhat.com>
78944         * nscd/nscd.c (run_mode): Use enum.
78945         (main): Cleanup coding style issue.
78947 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
78948             Andreas Jaeger  <aj@suse.de>
78950         * nscd/nscd.c (go_background): Replaced with...
78951         (run_mode): ... this.
78952         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
78953         (options): Add -F --foreground.
78954         (main): Implement it.
78955         (parse_opt): Parse it.
78957 2012-05-09  Andreas Jaeger  <aj@suse.de>
78959         [BZ #14083]
78960         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
78961         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
78962         -Wconversion warning.
78963         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
78964         Likewise.
78966 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
78968         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
78969         == 0.
78970         (LC_ALL): Use macro-int-constant.
78971         (LC_COLLATE): Likewise.
78972         (LC_CTYPE): Likewise.
78973         (LC_MESSAGES): Likewise.
78974         (LC_MONETARY): Likewise.
78975         (LC_NUMERIC): Likewise.
78976         (LC_TIME): Likewise.
78977         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
78978         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
78979         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78980         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
78981         Specify type.
78982         [C99-based standards] (float_t): Expect type.
78983         [C99-based standards] (double_t): Expect type.
78984         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
78985         type.
78986         [C99-based standards] (HUGE_VALL): Likewise.
78987         [C99-based standards] (INFINITY): Likewise.
78988         [C99-based standards] (NAN): Likewise.
78989         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
78990         [C99-based standards] (FP_NAN): Likewise.
78991         [C99-based standards] (FP_NORMAL): Likewise.
78992         [C99-based standards] (FP_SUBNORMAL): Likewise.
78993         [C99-based standards] (FP_ZERO): Likewise.
78994         [C99-based standards] (FP_FAST_FMA): Use
78995         optional-macro-int-constant.  Specify type.  Require == 1.
78996         [C99-based standards] (FP_FAST_FMAF): Likewise.
78997         [C99-based standards] (FP_FAST_FMAL): Likewise.
78998         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
78999         [C99-based standards] (FP_ILOGBNAN): Likewise.
79000         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
79001         Specify type.
79002         [C99-based standards] (MATH_ERREXCEPT): Likewise.
79003         [C99-based standards] (math_errhandling): Specify type.
79004         [ISO99 || ISO11] (signgam): Do not allow.
79005         [non-C99-based standards] (copysignf): Do not allow.
79006         [non-C99-based standards] (exp2f): Likewise.
79007         [non-C99-based standards] (log2f): Likewise.
79008         [non-C99-based standards] (modff): Allow.
79009         [non-C99-based standards] (erff): Do not allow.
79010         [non-C99-based standards] (erfcf): Likewise.
79011         [non-C99-based standards] (gammaf): Likewise.
79012         [non-C99-based standards] (hypotf): Likewise.
79013         [non-C99-based standards] (j0f): Likewise.
79014         [non-C99-based standards] (j1f): Likewise.
79015         [non-C99-based standards] (jnf): Likewise.
79016         [non-C99-based standards] (lgammaf): Likewise.
79017         [non-C99-based standards] (tgammaf): Likewise.
79018         [non-C99-based standards] (y0f): Likewise.
79019         [non-C99-based standards] (y1f): Likewise.
79020         [non-C99-based standards] (ynf): Likewise.
79021         [non-C99-based standards] (isnanf): Likewise.
79022         [non-C99-based standards] (acoshf): Likewise.
79023         [non-C99-based standards] (asinhf): Likewise.
79024         [non-C99-based standards] (atanhf): Likewise.
79025         [non-C99-based standards] (cbrtf): Likewise.
79026         [non-C99-based standards] (expm1f): Likewise.
79027         [non-C99-based standards] (ilogbf): Likewise.
79028         [non-C99-based standards] (log1pf): Likewise.
79029         [non-C99-based standards] (logbf): Likewise.
79030         [non-C99-based standards] (nextafterf): Likewise.
79031         [non-C99-based standards] (remainderf): Likewise.
79032         [non-C99-based standards] (rintf): Likewise.
79033         [non-C99-based standards] (scalbf): Likewise.
79034         [non-C99-based standards] (copysignl): Likewise.
79035         [non-C99-based standards] (exp2l): Likewise.
79036         [non-C99-based standards] (log2l): Likewise.
79037         [non-C99-based standards] (modfl): Allow.
79038         [non-C99-based standards] (erfl): Do not allow.
79039         [non-C99-based standards] (erfcl): Likewise.
79040         [non-C99-based standards] (gammal): Likewise.
79041         [non-C99-based standards] (hypotl): Likewise.
79042         [non-C99-based standards] (j0l): Likewise.
79043         [non-C99-based standards] (j1l): Likewise.
79044         [non-C99-based standards] (jnl): Likewise.
79045         [non-C99-based standards] (lgammal): Likewise.
79046         [non-C99-based standards] (tgammal): Likewise.
79047         [non-C99-based standards] (y0l): Likewise.
79048         [non-C99-based standards] (y1l): Likewise.
79049         [non-C99-based standards] (ynl): Likewise.
79050         [non-C99-based standards] (isnanl): Likewise.
79051         [non-C99-based standards] (acoshl): Likewise.
79052         [non-C99-based standards] (asinhl): Likewise.
79053         [non-C99-based standards] (atanhl): Likewise.
79054         [non-C99-based standards] (cbrtl): Likewise.
79055         [non-C99-based standards] (expm1l): Likewise.
79056         [non-C99-based standards] (ilogbl): Likewise.
79057         [non-C99-based standards] (log1pl): Likewise.
79058         [non-C99-based standards] (logbl): Likewise.
79059         [non-C99-based standards] (nextafterl): Likewise.
79060         [non-C99-based standards] (remainderl): Likewise.
79061         [non-C99-based standards] (rintl): Likewise.
79062         [non-C99-based standards] (scalbl): Likewise.
79063         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79064         [non-C99-based standards] (FP_*): Do not allow.
79065         [C99-based standards] (FP_*): Change to
79066         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
79067         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
79068         allow.
79069         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
79070         (SIG_ERR): Likewise.
79071         [X/Open-based standards] (SIG_HOLD): Likewise.
79072         (SIG_IGN): Likewise.
79073         (SIGABRT): Use macro-int-constant.  Specify type.  Require
79074         positive value.
79075         (SIGFPE): Likewise.
79076         (SIGILL): Likewise.
79077         (SIGINT): Likewise.
79078         (SIGSEGV): Likewise.
79079         (SIGTER): Likewise.
79080         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
79081         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
79082         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
79083         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
79084         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
79085         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
79086         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
79087         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
79088         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
79089         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
79090         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
79091         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
79092         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
79093         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
79094         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
79095         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
79096         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
79097         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
79098         [X/Open-based standards] (SIGTRAP): Likewise.
79099         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
79100         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
79101         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
79102         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
79103         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
79104         allow.
79106 2012-05-08  Ian Wienand  <ianw@vmware.com>
79108         [BZ #14080]
79109         * time/tzset.c (__tzset_parse_tz): Update default rules for
79110         daylight time changes in the Energy Policy Act of 2005.
79112 2012-05-09  Andreas Jaeger  <aj@suse.de>
79114         [BZ #13983]
79115         * elf/ldconfig.c (parse_conf): Change string to make clear that
79116         ldconfig only issued a warning if ld.so.conf does not exist.
79118 2012-05-08  David S. Miller  <davem@davemloft.net>
79120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
79121         movxtod instead of popping the value on the stack.
79123         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79125 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
79127         * config.h.in: Add HAVE_ARM_PCS_VFP.
79129 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
79131         [BZ #13979]
79132         * include/features.h: Warn if user requests __FORTIFY_SOURCE
79133         checking but the checks are disabled for any reason.
79135 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
79137         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
79138         and ELF64_R_TYPE with ELFW(R_TYPE).
79140 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
79142         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
79143         (ulimit): Likewise.
79145         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
79146         (settimeofday): Likewise.
79148 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
79150         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
79151         a struct th_u2 inside the union, and move tu_block/tu_code into
79152         a new th_u3 union of tu_block/tu_code inside of that.  Move
79153         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
79154         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
79155         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
79156         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
79157         (th_stuff): Change to th_u1.tu_stuff.
79158         (th_data): Define.
79159         (th_msg): Change to th_u1.th_u2.tu_data.
79161 2012-05-07  David S. Miller  <davem@davemloft.net>
79163         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79165         [BZ #14074]
79166         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
79167         (SETUP_PIC_REG): Use it.
79168         (SETUP_PIC_REG_LEAF): Use it.
79170 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
79172         [BZ #13885]
79173         [BZ #13923]
79174         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
79175         USE_AS_EXPM1L.
79176         (EXPL_FINITE): Likewise.
79177         (FLDLOG): Likewise.
79178         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
79179         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
79180         e_expl.S.
79181         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
79182         USE_AS_EXPM1L.
79183         (EXPL_FINITE): Likewise.
79184         (FLDLOG): Likewise.
79185         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
79186         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
79187         e_expl.S.
79188         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
79189         test of -max_value argument for long double.
79190         * sysdeps/i386/fpu/libm-test-ulps: Update.
79191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79193 2012-05-06  David S. Miller  <davem@davemloft.net>
79195         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
79196         quad soft-float symbols whose references which are compiler
79197         generated.
79198         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
79200 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
79202         [BZ #13884]
79203         [BZ #13914]
79204         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
79205         USE_AS_EXP10L.
79206         (EXPL_FINITE): Likewise.
79207         (FLDLOG): Likewise.
79208         (c0): Likewise.
79209         (c1): Likewise.
79210         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
79211         Adjust comments for base varying.
79212         (__expl_finite): Change alias to EXPL_FINITE.
79213         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
79214         e_expl.S.
79215         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
79216         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
79217         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
79218         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
79219         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
79220         USE_AS_EXP10L.
79221         (EXPL_FINITE): Likewise.
79222         (FLDLOG): Likewise.
79223         (c0): Likewise.
79224         (c1): Likewise.
79225         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
79226         Adjust comments for base varying.
79227         (__expl_finite): Change alias to EXPL_FINITE.
79228         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
79229         tests for bugs.
79230         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79232         [BZ #14064]
79233         * math/libm-test.inc (check_float_internal): Correct ulp
79234         calculation for subnormal expected results.
79236 2012-05-06  Andreas Jaeger  <aj@suse.de>
79238         * Makeconfig (+math-flags): New, set to -frounding-math.
79239         (+cflags): Add +math-flags so that all of glibc gets compiled with
79240         it.
79242         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
79244 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
79246         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
79247         Disable one test.
79249         [BZ #13787]
79250         [BZ #13922]
79251         [BZ #14036]
79252         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
79253         (__ieee754_expl): Allow for and saturate large arguments.
79254         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
79255         (u_threshold): Likewise.
79256         (__exp): Call __ieee754_exp before checking for overflow and
79257         underflow.
79258         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
79259         (u_threshold): Likewise.
79260         (__expf): Call __ieee754_expf before checking for overflow and
79261         underflow.
79262         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
79263         (u_threshold): Likewise.
79264         (__expl): Call __ieee754_expl before checking for overflow and
79265         underflow.
79266         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
79267         (__ieee754_expl): Allow for and saturate large arguments.
79268         * math/libm-test.inc (exp_test): Add another test.  Do not allow
79269         missing overflow exception on overflow.
79270         (expm1_test): Do not allow missing overflow exception on overflow.
79272         * sysdeps/i386/fpu/e_expl.c: Move to ...
79273         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
79274         rather than using inline asm.
79275         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
79276         * sysdeps/x86_64/fpu/e_expl.S: Copy from
79277         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
79279         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
79280         (nice): Likewise.
79281         (poll): Likewise.
79282         (signal): Likewise.
79283         (time): Likewise.
79284         (times): Likewise.
79286 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
79288         * sysdeps/unix/syscalls.list (adjtime): Add entry from
79289         sysdeps/unix/common/syscalls.list.
79290         (fchmod): Likewise.
79291         (fchown): Likewise.
79292         (ftruncate): Likewise.
79293         (getrusage): Likewise.
79294         (gettimeofday): Likewise.
79295         (setpgid): Likewise.
79296         (setregid): Likewise.
79297         (setreuid): Likewise.
79298         (sigaction): Likewise.
79299         (truncate): Likewise.
79300         (vhangup): Likewise.
79301         * sysdeps/unix/common/syscalls.list: Remove file.
79302         * sysdeps/unix/bsd/Implies: Don't include unix/common.
79303         * sysdeps/unix/sysv/linux/Implies: Likewise.
79305 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
79307         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
79308         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
79309         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
79310         Moved to ...
79311         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
79312         Here.
79313         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
79314         to ...
79315         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
79316         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
79317         to ...
79318         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
79319         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
79320         to ...
79321         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
79322         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
79323         to ...
79324         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
79325         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
79326         to ...
79327         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
79328         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
79329         to ...
79330         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
79331         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
79332         to ...
79333         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
79334         Here.
79335         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
79336         to ...
79337         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
79338         Here.
79339         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
79340         to ...
79341         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
79342         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
79343         Moved to ...
79344         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
79345         Here.
79346         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
79347         to ...
79348         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
79350 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
79352         * sysdeps/unix/common/bits/dirent.h: Remove file.
79353         * sysdeps/unix/common/bits/fcntl.h: Likewise.
79355         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
79356         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
79357         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
79358         * sysdeps/unix/bsd/isatty.c: Likewise.
79359         * sysdeps/unix/bsd/tcdrain.c: Likewise.
79360         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
79361         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
79363 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79365         [BZ #13563]
79366         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
79367         long double comparison inaccuracies.
79368         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
79369         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79371 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
79373         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
79374         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
79376 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
79378         [BZ #14049]
79379         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
79380         nonzero digits before rounding a hex value.
79381         * stdlib/tst-strtod.c (tests): Add another test.
79383 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79385         * sysdeps/s390/fpu/libm-test-ulps: Update.
79387 2012-05-03  Andreas Jaeger  <aj@suse.de>
79389         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
79390         does not get optimized out.
79391         (malloc_opt_barrier): New.
79393 2012-05-03  Andreas Jaeger  <aj@suse.de>
79394             Roland McGrath  <roland@hack.frob.com>
79396         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
79397         intermediate file deletion.
79398         (generated): Add .symlist files.
79400 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
79402         [BZ #13775]
79403         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
79404         Redirect under this condition.
79405         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
79406         [__USE_GNU] (__dprintf_chk): Not under this condition.
79407         [__USE_GNU] (__vdprintf_chk): Likewise.
79408         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
79409         under this condition.
79410         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
79411         [__USE_XOPEN2K8] (dprintf): Define under this condition.
79412         [__USE_XOPEN2K8] (vdprintf): Likewise.
79413         [__USE_GNU] (__dprintf_chk): Not under this condition.
79414         [__USE_GNU] (__vdprintf_chk): Likewise.
79415         [__USE_GNU] (dprintf): Likewise.
79416         [__USE_GNU] (vdprintf): Likewise.
79418 2012-05-03  Roland McGrath  <roland@hack.frob.com>
79420         * elf/Makefile (common-generated): Set this instead of generated for
79421         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
79422         $(all-built-dso)-derived lists.
79424 2012-05-03  Andreas Jaeger  <aj@suse.de>
79426         * sysdeps/i386/fpu/libm-test-ulps: Update.
79428         * FAQ: Removed.
79429         * FAQ.in: Likewise.
79430         * scripts/gen-FAQ.pl: Likewise.
79431         * manual/install.texi (Installation): Point to online location of
79432         FAQ.
79433         * Makefile (files-for-dist): Remove FAQ.
79434         (FAQ): Remove.
79436 2012-05-02  Allan McRae  <allan@archlinux.org>
79438         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
79439         (LDFLAGS-reldepmod5.so): Likewise.
79440         (LDFLAGS-reldep6mod1.so): Likewise.
79441         (LDFLAGS-reldep6mod4.so): Likewise.
79442         (LDFLAGS-reldep8mod3.so): Likewise.
79443         (LDFLAGS-unload4mod1.so): Likewise.
79444         (LDFLAGS-unload4mod2.so): Likewise.
79445         (LDFLAGS-tst-initorder): Likewise.
79446         (LDFLAGS-tst-initordera2.so): Likewise.
79447         (LDFLAGS-tst-initordera3.so): Likewise.
79448         (LDFLAGS-tst-initordera4.so): Likewise.
79449         (LDFLAGS-tst-initorderb2.so): Likewise.
79450         (LDFLAGS-noload): Likewise.
79451         (LDFLAGS-next): Likewise.
79452         (LDFLAGS-order2mod1.so): Likewise.
79453         (LDFLAGS-order2mod2.so): Likewise.
79454         (LDFLAGS-tst-initorder2): Likewise.
79455         (LDFLAGS-tst-initorder2a.so): Likewise.
79456         (LDFLAGS-tst-initorder2b.so): Likewise.
79457         (LDFLAGS-tst-initorder2c.so): Likewise.
79458         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
79460 2012-05-02  David S. Miller  <davem@davemloft.net>
79462         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79464 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
79466         [BZ #14055]
79467         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
79469 2012-05-02  Andreas Jaeger  <aj@suse.de>
79471         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
79472         since we manipulate rounding mode.
79473         (CPPFLAGS-test-idouble.c): Likewise.
79474         (CPPFLAGS-test-ifloat.c): Likewise.
79475         (CFLAGS-test-ldouble.c): Likewise.
79476         (CFLAGS-test-double.c): Likewise.
79477         (CFLAGS-test-float.c): Likewise.
79478         (CFLAGS-test-misc.c): Likewise.
79479         (CFLAGS-test-test-fenv.c): Likewise.
79481 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79483         [BZ #2550]
79484         [BZ #2570]
79485         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
79486         comparisons to determine direction to adjust input.
79488 2012-05-01  Roland McGrath  <roland@hack.frob.com>
79490         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
79491         output to the target.
79493         * scripts/localplt.awk: New file.
79494         * elf/Makefile ($(objpfx)check-localplt): Target removed.
79495         (check-localplt-CFLAGS): Variable removed.
79496         ($(all-built-dso:=.jmprel)): New static pattern rule.
79497         (generated): Add those targets.
79498         (localplt-built-dso): New variable.
79499         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
79501         * elf/check-localplt.c: File removed.
79503         * scripts/check-execstack.awk: New file.
79504         * elf/Makefile ($(objpfx)check-execstack): Target removed.
79505         (check-execstack-CFLAGS): Variable removed.
79506         ($(objpfx)check-execstack.h): Target removed.
79507         ($(objpfx)execstack-default): New target.
79508         (generated): Add that instead of check-execstack.h.
79509         ($(all-built-dso:=.phdr)): New static pattern rule.
79510         (generated): Add those targets.
79511         * elf/check-execstack.c: File removed.
79513         * scripts/check-textrel.awk: New file.
79514         * elf/Makefile ($(objpfx)check-textrel): Target removed.
79515         (check-textrel-CFLAGS): Variable removed.
79516         (all-built-dso): Use := to define.o
79517         ($(all-built-dso:=.dyn)): New static pattern rule.
79518         (generated): Add those targets.
79519         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
79520         * config.make.in (READELF): New substituted variable.
79521         * elf/check-textrel.c: File removed.
79523 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
79525         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
79526         allow.
79527         * conform/data/ctype.h-data [C99-based standards] (isblank):
79528         Expect function.
79529         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
79530         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
79531         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79532         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
79533         Specify type.  Require positive value.
79534         (EILSEQ): Likewise.
79535         (ERANGE): Likewise.
79536         [ISO || POSIX] (EILSEQ): Do not expect.
79537         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
79538         Specify type.  Require positive value.
79539         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
79540         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
79541         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
79542         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
79543         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
79544         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
79545         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
79546         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
79547         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
79548         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
79549         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
79550         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
79551         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
79552         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
79553         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
79554         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
79555         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
79556         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
79557         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
79558         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
79559         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
79560         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
79561         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
79562         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
79563         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
79564         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
79565         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
79566         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
79567         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
79568         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
79569         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
79570         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
79571         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
79572         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
79573         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
79574         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
79575         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
79576         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
79577         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
79578         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
79579         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
79580         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
79581         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
79582         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
79583         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
79584         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
79585         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
79586         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
79587         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
79588         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
79589         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
79590         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
79591         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
79592         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
79593         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
79594         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
79595         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
79596         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
79597         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
79598         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
79599         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
79600         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
79601         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
79602         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
79603         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
79604         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
79605         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
79606         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
79607         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
79608         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
79609         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
79610         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
79611         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
79612         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
79613         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
79614         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
79615         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
79616         Require >= 2.
79617         (FLT_ROUNDS): Expect as macro, not constant.
79618         (FLT_MANT_DIG): Use macro-int-constant.
79619         (DBL_MANT_DIG): Likewise.
79620         (LDBL_MANT_DIG): Likewise.
79621         (FLT_DIG): Likewise.
79622         (DBL_DIG): Likewise.
79623         (LDBL_DIG): Likewise.
79624         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
79625         (DBL_MIN_EXP): Likewise.
79626         (LDBL_MIN_EXP): Likewise.
79627         (FLT_MAX_EXP): Use macro-int-constant.
79628         (DBL_MAX_EXP): Likewise.
79629         (LDBL_MAX_EXP): Likewise.
79630         (FLT_MAX_10_EXP): Likewise.
79631         (DBL_MAX_10_EXP): Likewise.
79632         (LDBL_MAX_10_EXP): Likewise.
79633         (FLT_MAX): Use macro-constant.
79634         (DBL_MAX): Likewise.
79635         (LDBL_MAX): Likewise.
79636         (FLT_EPSILON): Use macro-constant.  Give upper bound.
79637         (DBL_EPSILON): Likewise.
79638         (LDBL_EPSILON): Likewise.
79639         (FLT_MIN): Likewise.
79640         (DBL_MIN): Likewise.
79641         (LDBL_MIN): Likewise.
79642         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
79643         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
79644         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
79645         [ISO11] (FLT_HAS_SUBNORM): Likewise.
79646         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
79647         [ISO11] (DBL_DECIMAL_DIG): Likewise.
79648         [ISO11] (FLT_DECIMAL_DIG): Likewise.
79649         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
79650         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
79651         [ISO11] (FLT_TRUE_MIN): Likewise.
79652         [ISO11] (LDBL_TRUE_MIN): Likewise.
79653         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79654         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
79655         (SCHAR_MIN): Use macro-int-constant.  Specify type.
79656         (SCHAR_MAX): Likewise.
79657         (UCHAR_MAX): Likewise.
79658         (CHAR_MIN): Likewise.
79659         (CHAR_MAX): Likewise.
79660         (MB_LEN_MAX): Use macro-int-constant.
79661         (SHRT_MIN): Use macro-int-constant.  Specify type.
79662         (SHRT_MAX): Likewise.
79663         (USHRT_MAX): Likewise.
79664         (INT_MAX): Likewise.
79665         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
79666         bound negative.
79667         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
79668         bound with "U".
79669         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
79670         bound with "L".
79671         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
79672         bound negative.  Suffix upper bound with "L".
79673         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
79674         bound with "UL".
79675         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
79676         Specify type.
79677         [C99-based standards] (LLONG_MAX): Likewise.
79678         [C99-based standards] (ULLONG_MAX): Likewise.
79679         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
79680         == 0.
79681         [ISO11] (max_align_t): Require type.
79682         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79684         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
79685         from $CFLAGS, without defining away __attribute__ calls.
79686         (checknamespace): Use $CFLAGS_namespace.
79688         * conform/conformtest.pl (@keywords): Only include C99 keywords
79689         for standards based on C99 or C11.
79691         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
79692         Disable tests.
79693         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
79694         UNIX98]: Likewise.
79696         * conform/conformtest.pl: Handle "macro-int-constant" and test for
79697         usability of symbols in #if.
79699         * conform/conformtest.pl: If macro or constant types start
79700         "promoted:", expect the symbol to be of the following type
79701         promoted by the integer promotions.
79703         * conform/conformtest.pl: Parse all "constant" and "macro" lines
79704         in one place.  Also handle "macro-constant".
79706         * conform/conformtest.pl: Only accept expected macro values with
79707         "==".  Parse all "macro" lines in one place.
79708         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
79710         * conform/conformtest.pl: Handle braced types on "constant" lines
79711         instead of handling "typed-constant".
79712         * conform/data/signal.h-data: Use "constant" instead of
79713         "typed-constant".
79715         * conform/conformtest.pl: Handle "optional-" at start of lines in
79716         one place rather than duplicating several cases.  Handle each
79717         format of "macro" line with initial "optional-".
79719         * conform/conformtest.pl: Only accept expected constant or
79720         optional-constant values with "==".  Parse all "constant" lines in
79721         one place.  Parse all "optional-constant" lines in one place.
79722         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
79723         * conform/data/fmtmsg.h-data: Likewise.
79724         * conform/data/netinet/in.h-data: Likewise.
79725         * conform/data/tar.h-data: Likewise.
79726         * conform/data/limits.h-data: Use "==" form on "constant" and
79727         "optional-constant" lines.
79729         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
79730         Use -std=c99 for XOPEN2K.
79731         (@knownproblems): Remove.
79732         (newtoken): Don't check %isknown.
79734         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
79735         Do not expect macro.
79736         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
79737         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
79738         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
79739         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
79740         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
79741         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
79742         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
79743         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
79744         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
79745         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
79746         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
79747         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
79748         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
79749         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
79750         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
79751         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
79752         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
79753         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
79754         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
79755         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
79756         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
79757         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
79758         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
79759         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
79760         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
79761         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
79762         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
79763         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
79764         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
79765         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
79766         [XPG3] (acosh): Likewise.
79767         [XPG3] (asinh): Likewise.
79768         [XPG3] (atanh): Likewise.
79769         [XPG3] (cbrt): Likewise.
79770         [XPG3] (expm1): Likewise.
79771         [XPG3] (ilogb): Likewise.
79772         [XPG3] (log1p): Likewise.
79773         [XPG3] (logb): Likewise.
79774         [XPG3] (nextafter): Likewise.
79775         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
79776         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
79777         [XPG3] (remainder): Likewise.
79778         [XPG3] (rint): Likewise.
79779         [XPG3 || XPG4 || UNIX98] (round): Likewise.
79780         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
79781         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
79782         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
79783         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
79784         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
79785         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
79786         [UNIX98 || XOPEN2K] (scalb): Expect.
79787         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
79788         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
79789         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
79790         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
79791         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
79792         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
79793         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
79794         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
79795         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
79796         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
79797         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
79798         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
79799         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
79800         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
79801         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
79802         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
79803         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
79804         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
79805         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
79806         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
79807         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
79808         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
79809         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
79810         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
79811         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
79812         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
79813         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
79814         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
79815         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
79816         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
79817         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
79818         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
79819         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
79820         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
79821         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
79822         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
79823         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
79824         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
79825         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
79826         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
79827         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
79828         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
79829         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
79830         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
79831         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
79832         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
79833         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
79834         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
79835         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
79836         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
79837         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
79838         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
79839         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
79840         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
79841         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
79842         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
79843         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
79844         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
79845         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
79846         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
79847         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
79848         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
79849         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
79850         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
79851         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
79852         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
79853         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
79854         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
79855         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
79856         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
79857         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
79858         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
79859         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
79860         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
79861         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
79862         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
79863         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
79864         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
79865         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
79866         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
79867         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
79868         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
79869         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
79870         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
79871         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
79872         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
79873         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
79874         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
79875         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
79876         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
79877         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
79878         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
79879         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
79880         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
79881         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
79882         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
79883         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
79884         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
79885         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
79886         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
79887         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
79888         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
79889         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
79890         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
79891         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
79892         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
79893         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
79894         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
79895         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
79896         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
79897         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
79898         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
79899         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
79900         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
79901         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
79902         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
79903         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
79904         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
79905         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
79906         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
79907         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
79908         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
79909         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
79910         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
79911         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
79912         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
79913         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
79914         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
79915         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
79916         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
79917         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
79918         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
79919         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
79920         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
79921         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
79922         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
79923         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
79925         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
79926         _XOPEN_SOURCE_EXTENDED for XPG4.
79928         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
79930         * Makeconfig (localtime): Remove variable.
79931         (inst_localtime-file): Likewise.
79933 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
79935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
79936         Update.
79937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
79938         Update.
79939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
79940         Update.
79941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
79942         Update.
79943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
79944         Update.
79945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
79946         Update.
79947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
79948         Update.
79949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
79950         Update.
79951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
79952         Update.
79954 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
79956         [BZ #2550]
79957         [BZ #2570]
79958         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
79959         comparisons to determine direction to adjust input.
79960         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
79961         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
79962         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
79963         Likewise.
79964         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
79965         Likewise.
79966         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
79967         Likewise.
79968         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
79969         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
79970         Likewise.
79971         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
79972         Likewise.
79973         * math/libm-test.inc (nexttoward_test): Add more tests.
79975 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
79977         [BZ #14040]
79978         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
79979         in version GLIBC_2.1, not GLIBC_2.0.
79980         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
79981         Likewise.
79983 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
79985         [BZ #13942]
79986         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
79987         (1 - x) * (1 + x).
79988         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
79989         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
79990         * math/libm-test.inc (acos_test): Add more tests.
79991         (asin_test): Likewise.
79992         * sysdeps/i386/fpu/libm-test-ulps: Update.
79993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79995         [BZ #14034]
79996         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
79997         of square root.
79998         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
79999         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
80000         * math/libm-test.inc (acos_test_tonearest): New function.
80001         (acos_test_towardzero): Likewise.
80002         (acos_test_downward): Likewise.
80003         (acos_test_upward): Likewise.
80004         (asin_test_tonearest): Likewise.
80005         (asin_test_towardzero): Likewise.
80006         (asin_test_downward): Likewise.
80007         (asin_test_upward): Likewise.
80008         (main): Call the new functions.
80009         * sysdeps/i386/fpu/libm-test-ulps: Update.
80010         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80012         [BZ #13884]
80013         [BZ #13924]
80014         * math/e_exp10.c: Include <float.h>.
80015         (__ieee754_exp10): Handle underflow here rather than multiplying
80016         large negative argument by M_LN10.
80017         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
80018         of __ieee754_expf.
80019         * math/e_exp10l.c: Include <float.h>.
80020         (__ieee754_exp10l): Handle underflow here rather than multiplying
80021         large negative argument by M_LN10l.
80022         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
80023         spurious overflow exception on underflow.
80025 2012-04-29  Marek Polacek  <polacek@redhat.com>
80027         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
80028         (__fortify_function): New macro.
80029         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
80030         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
80031         __extern_always_inline.
80032         * libio/bits/stdio2.h: Likewise.
80033         * libio/bits/stdio.h: Likewise.
80034         * string/string.h: Likewise.
80035         * string/bits/string3.h: Likewise.
80036         * include/stdio.h: Likewise.
80037         * stdlib/bits/stdlib.h: Likewise.
80038         * stdlib/stdlib.h: Likewise.
80039         * rt/bits/mqueue2.h: Likewise.
80040         * rt/mqueue.h: Likewise.
80041         * posix/bits/unistd.h: Likewise.
80042         * posix/unistd.h: Likewise.
80043         * io/bits/poll2.h: Likewise.
80044         * io/bits/fcntl2.h: Likewise.
80045         * io/fcntl.h: Likewise.
80046         * io/sys/poll.h: Likewise.
80047         * misc/bits/syslog.h: Likewise.
80048         * misc/bits/syslog-ldbl.h: Likewise.
80049         * misc/sys/syslog.h: Likewise.
80050         * socket/bits/socket2.h: Likewise.
80051         * socket/sys/socket.h: Likewise.
80052         * debug/tst-chk1.c: Likewise.
80053         * wcsmbs/bits/wchar2.h: Likewise.
80054         * wcsmbs/bits/wchar-ldbl.h: Likewise.
80055         * wcsmbs/wchar.h: Likewise.
80057 2012-04-29  Andreas Jaeger  <aj@suse.de>
80059         * Makerules (tests): Remove enable-check-abi protection.
80060         (check-abi-warn): Remove.
80061         (check-abi-%): Remove check-abi-warn usage.
80063         * configure.in: Remove check-abi configure option.
80064         * configure: Regenerated.
80065         * config.make.in (enable-check-abi): Remove.
80067 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
80069         [BZ #14033]
80070         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
80071         double functions to double *_finite functions.
80073         [BZ #13941]
80074         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
80075         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
80076         LDBL_MIN_EXP.
80077         * stdio-common/Makefile (tests): Add tst-sprintf3.
80078         * stdio-common/tst-sprintf3.c: New file.
80080         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
80081         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
80083 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
80085         * conform/conformtest.pl: Remove duplicate typed-constant
80086         handling.
80088 2012-04-28  David S. Miller  <davem@davemloft.net>
80090         * Makerules (%.abilist): Add vpath on sysdep_dirs.
80091         (check-abi-%): Remove AWK script prerequisite and explicit
80092         abilist directory.
80093         (check-abi): Rewrite to just diff the symlist with the abilist.
80094         (config-tls, config-abi-config): Delete, no longer used.
80095         (update-abi-%): Remove AWK script and explicit abilist directory.
80096         (update-abi): Rewrite to simply compare and conditionally copy the
80097         symlist and the sysdep abilist file.  Remove update-abi-config
80098         checks.
80099         * abilist/ld.abilist: Remove.
80100         * abilist/libBrokenLocale.abilist: Remove.
80101         * abilist/libanl.abilist: Remove.
80102         * abilist/libcrypt.abilist: Remove.
80103         * abilist/libdl.abilist: Remove.
80104         * abilist/librt.abilist: Remove.
80105         * abilist/libthread_db.abilist: Remove.
80106         * abilist/libutil.abilist: Remove.
80107         * scripts/extract-abilist.awk: Remove.
80108         * scripts/merge-abilist.awk: Remove.
80109         * sysdeps/generic/libcidn.abilist: New file.
80110         * sysdeps/generic/libnss_compat.abilist: New file.
80111         * sysdeps/generic/libnss_db.abilist: New file.
80112         * sysdeps/generic/libnss_dns.abilist: New file.
80113         * sysdeps/generic/libnss_files.abilist: New file.
80114         * sysdeps/generic/libnss_hesiod.abilist: New file.
80115         * sysdeps/generic/libnss_nis.abilist: New file.
80116         * sysdeps/generic/libnss_nisplus.abilist: New file.
80117         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
80118         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
80119         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
80120         file.
80121         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
80122         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
80123         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
80124         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
80125         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
80126         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
80127         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
80128         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
80129         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
80130         file.
80131         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
80132         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
80133         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
80134         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
80135         file.
80136         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
80137         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
80138         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
80139         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
80140         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
80141         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
80142         file.
80143         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
80144         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
80145         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
80146         file.
80147         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
80148         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
80149         New file.
80150         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
80151         New file.
80152         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
80153         New file.
80154         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
80155         New file.
80156         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
80157         New file.
80158         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
80159         New file.
80160         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
80161         New file.
80162         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
80163         New file.
80164         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
80165         New file.
80166         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
80167         New file.
80168         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
80169         New file.
80170         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
80171         New file.
80172         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
80173         New file.
80174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
80175         file.
80176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
80177         New file.
80178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
80179         New file.
80180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
80181         file.
80182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
80183         New file.
80184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
80185         New file.
80186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
80187         file.
80188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
80189         New file.
80190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
80191         New file.
80192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
80193         New file.
80194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
80195         New file.
80196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
80197         New file.
80198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
80199         New file.
80200         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
80201         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
80202         file.
80203         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
80204         New file.
80205         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
80206         file.
80207         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
80208         file.
80209         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
80210         file.
80211         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
80212         file.
80213         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
80214         file.
80215         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
80216         New file.
80217         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
80218         file.
80219         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
80220         file.
80221         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
80222         New file.
80223         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
80224         file.
80225         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
80226         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
80227         file.
80228         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
80229         New file.
80230         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
80231         file.
80232         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
80233         file.
80234         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
80235         file.
80236         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
80237         file.
80238         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
80239         file.
80240         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
80241         New file.
80242         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
80243         file.
80244         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
80245         file.
80246         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
80247         New file.
80248         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
80249         file.
80250         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
80251         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
80252         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
80253         file.
80254         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
80255         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
80256         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
80257         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
80258         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
80259         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
80260         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
80261         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
80262         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
80263         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
80264         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
80265         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
80266         file.
80267         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
80268         New file.
80269         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
80270         file.
80271         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
80272         file.
80273         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
80274         file.
80275         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
80276         file.
80277         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
80278         file.
80279         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
80280         New file.
80281         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
80282         New file.
80283         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
80284         file.
80285         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
80286         New file.
80287         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
80288         file.
80289         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
80290         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
80291         file.
80292         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
80293         New file.
80294         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
80295         file.
80296         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
80297         file.
80298         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
80299         file.
80300         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
80301         file.
80302         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
80303         file.
80304         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
80305         New file.
80306         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
80307         New file.
80308         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
80309         file.
80310         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
80311         New file.
80312         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
80313         file.
80315 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
80317         * conform/conformtest.pl: Fix typo in handling typed-constant from
80318         allow-header.
80320 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
80322         * README: Cut down references to pre-2.6 Linux kernels and
80323         Linuxthreads.  Update lists of configurations in libc and ports
80324         and sort alphabetically.  Say "or newer" with Linux kernel version
80325         requirements.
80327         * config.h.in [IS_IN_build]: Allow compiling without optimization.
80329 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
80331         [BZ #887]
80332         * math/libm-test.inc (logb_test_downward): New test to expose
80333         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
80334         rounding mode.
80336 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
80338         [BZ #14027]
80339         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
80340         to be done.
80341         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
80342         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
80344 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
80346         * sysdeps/unix/i386/brk.S: Remove file.
80347         * sysdeps/unix/i386/dl-brk.S: Likewise.
80348         * sysdeps/unix/i386/pipe.S: Likewise.
80349         * sysdeps/unix/i386/sigreturn.S: Likewise.
80350         * sysdeps/unix/i386/syscall.S: Likewise.
80351         * sysdeps/unix/i386/vfork.S: Likewise.
80352         * sysdeps/unix/i386/wait.S: Likewise.
80354         * sysdeps/unix/common/tcsendbrk.c: Move to ...
80355         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
80357         * configure.in (arm*-none*): Do not allow without
80358         --enable-hacker-mode.
80359         (netbsd*): Remove case setting base_os.
80360         (386bsd*): Likewise.
80361         (freebsd*): Likewise.
80362         (bsdi*): Likewise.
80363         (osf*): Likewise.
80364         (sunos*): Likewise.
80365         (ultrix*): Likewise.
80366         (newsos*): Likewise.
80367         (dynix*): Likewise.
80368         (*bsd*): Likewise.
80369         (sysv*): Likewise.
80370         (isc*): Likewise.
80371         (esix*): Likewise.
80372         (sco*): Likewise.
80373         (minix*): Likewise.
80374         (irix4*): Likewise.
80375         (irix6*): Likewise.
80376         (solaris[2-9]*): Likewise.
80377         (none): Likewise.
80378         * configure: Regenerated.
80380 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80382         [BZ #11521]
80383         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
80384         overflow or cancellation in calculating denominator.
80385         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
80386         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
80387         down expression to avoid unexpected rounding in newer GCCs.
80388         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
80390 2012-04-26  David S. Miller  <davem@davemloft.net>
80392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
80393         long-double compat symbols.
80394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
80395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
80396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
80397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
80398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
80399         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
80400         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
80401         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
80402         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
80403         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
80404         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
80405         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
80406         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
80408 2012-04-25  David S. Miller  <davem@davemloft.net>
80410         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
80411         HWCAP_* values only after the memory barriers have been defined.
80412         (atomic_full_barrier): Define.
80413         (atomic_read_barrier): Define.
80414         (atomic_write_barrier): Define.
80416 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
80418         * shlib-versions: Add libgcc_s version information.
80419         * sysdeps/generic/libgcc_s.h: Remove.
80420         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
80421         libgcc_s.h.
80422         * sysdeps/gnu/unwind-resume.c: Likewise.
80423         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
80425 2012-04-25  David S. Miller  <davem@davemloft.net>
80427         * sysdeps/unix/sparc/brk.S: Delete.
80428         * sysdeps/unix/sparc/dl-brk.S: Delete.
80429         * sysdeps/unix/sparc/pipe.S: Delete.
80430         * sysdeps/unix/sparc/sysdep.S: Delete.
80431         * sysdeps/unix/sparc/sysdep.h: Delete.
80432         * sysdeps/unix/sparc/vfork.S: Delete.
80433         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
80434         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
80435         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
80436         (ret_ERRVAL, r0, r1, MOVE): Define.
80437         (JUMPTARGET): Remove.
80438         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
80439         sysdeps/unix/sparc/sysdep.h
80440         (ENTRY, END): Remove.
80441         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
80443 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
80445         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
80446         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
80447         -DIS_IN_build.
80449         * timezone/README: Update upstream location and email address for
80450         tzcode and tzdata.
80451         * timezone/zdump.c: Update from tzcode 2012b.
80452         * timezone/zic.c: Likewise.
80454         * configure.in (libc_cv_as_needed): Remove test.
80455         * configure: Regenerated.
80456         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
80457         conditional definition.
80458         [$(have-as-needed) != yes] (no-as-needed): Likewise.
80459         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
80460         * config.make.in (have-as-needed): Remove variable.
80462 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
80463             Paul Pluzhnikov  <ppluzhnikov@google.com>
80465         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
80466         strings correctly.
80468 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
80470         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
80471         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
80472         * sysdeps/sh/strlen.S: Likewise.
80474 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
80476         * sysdeps/unix/fork.S: Remove file.
80477         * sysdeps/unix/i386/fork.S: Likewise.
80478         * sysdeps/unix/sparc/fork.S: Likewise.
80480         * sysdeps/unix/system.c: Remove file.
80481         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
80483         * sysdeps/unix/getegid.S: Remove file.
80484         * sysdeps/unix/geteuid.S: Likewise.
80486 2012-04-24  Roland McGrath  <roland@hack.frob.com>
80488         * scripts/check-localplt.awk: New file.
80489         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
80490         of diff.
80491         * scripts/data/localplt-generic.data: Add a comment.
80493         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
80494         NODE when __dir_mkfile failed.
80495         * sysdeps/mach/hurd/symlinkat.c: Likewise.
80496         Reported by Ludovic Courtès <ludo@gnu.org>.
80498 2012-04-24  Andreas Jaeger  <aj@suse.de>
80500         * Makerules (common-clean): Also remove gen-as-const-headers
80501         files.
80503 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
80505         * Makerules (native-compile): Do not change working directory for
80506         build.  Use $(OUTPUT_OPTION) in command.
80507         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
80509 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80511         [BZ #13886]
80512         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
80513         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
80514         * math/libm-test.inc (floor_test): Add more tests.
80515         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
80517 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
80519         * sysdeps/unix/getdents.c: Remove file.
80520         * sysdeps/unix/sysv/getdents.c: Likewise.
80521         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
80523         * sysdeps/unix/syscalls.list (madvise): Add syscall from
80524         sysdeps/unix/mman/syscalls.list.
80525         (mmap): Likewise.
80526         (mprotect): Likewise.
80527         (msync): Likewise.
80528         (munmap): Likewise.
80529         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
80530         * sysdeps/unix/mman/syscalls.list: Remove.
80531         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
80533         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
80534         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
80535         * configure: Regenerated.
80536         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
80537         $(libgcc_s_suffix).
80538         * config.make.in (libgcc_s_suffix): Remove variable.
80540 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
80542         * sysdeps/unix/sysv/gethostname.c: Move to ...
80543         * sysdeps/posix/gethostname.c: ... here.
80545         * sysdeps/unix/execve.S: Remove file.
80547         * sysdeps/unix/_exit.S: Remove file.
80549 2012-04-23  Andreas Jaeger  <aj@suse.de>
80551         [BZ #13739]
80552         * manual/Makefile: Remove make dist support, there's no
80553         need for a stand-alone documentation tar ball.
80554         (TEXI2DVI): Define always, it's not in Makeconfig.
80555         (dist): Removed.
80556         (tar-it): Removed.
80557         (edition): Removed.
80558         (glibc-doc-$(edition).tar): Removed
80559         (%.Z): Removed.
80560         (%.gz): Removed.
80561         (%.uu): Removed.
80562         (ETAGS): Remove, it's in Makeconfig.
80563         (move-if-change): Remove, it's in Makeconfig.
80565 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
80567         [BZ #13970]
80568         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
80569         (strtod, strtof, strtold, strtol, strtoul, strtoq)
80570         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
80571         (strtod_l, strtof_l, strtold_l): Remove __wur.
80572         It is not necessarily an error to ignore strtol's return value.
80573         One can reliably look at the stored endptr to decide whether
80574         the number had valid syntax.
80576 2012-04-21  Andreas Jaeger  <aj@suse.de>
80578         [BZ #13739]
80579         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
80581 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
80583         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
80584         * sysdeps/unix/sysv/Versions: Remove file.
80586 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
80588         [BZ #13927]
80589         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80591 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
80593         [BZ #7064]
80594         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
80595         version from __vm86.
80597 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
80599         * sysdeps/unix/common/lxstat.c: Remove file.
80600         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
80602         * sysdeps/unix/sysv/Makefile: Remove file.
80604         * sysdeps/unix/sysv/direct.h: Remove file.
80606         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
80607         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
80608         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
80609         * sysdeps/unix/sysv/bits/signum.h: Likewise.
80610         * sysdeps/unix/sysv/bits/stat.h: Likewise.
80611         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
80612         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
80614         * sysdeps/unix/sysv/setrlimit.c: Remove file.
80616         * sysdeps/unix/xmknod.c: Remove file.
80617         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
80619         * sysdeps/unix/sysv/settimeofday.c: Remove file.
80621         * sysdeps/unix/sysv/i386/time.S: Remove file.
80623         * sysdeps/unix/fxstat.c: Remove file.
80624         * sysdeps/unix/xstat.c: Likewise.
80625         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
80627         * sysdeps/unix/sysv/sigaction.c: Remove file.
80629         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
80630         (sysdep_headers): Remove variable.
80631         [termio.h not in sysdep_headers] (generated): Likewise.
80632         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
80633         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
80634         * sysdeps/unix/sysv/tcdrain.c: Likewise.
80635         * sysdeps/unix/sysv/tcflow.c: Likewise.
80636         * sysdeps/unix/sysv/tcflush.c: Likewise.
80637         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
80638         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
80639         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
80640         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
80641         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
80643         * sysdeps/unix/siglist.c: Remove file.
80645         * sysdeps/unix/getppid.S: Remove file.
80647         * sysdeps/unix/mkdir.c: Remove file.
80648         * sysdeps/unix/rmdir.c: Likewise.
80650 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
80652         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
80653         ERR_MAX value.
80654         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
80655         errlist-compat value.
80657 2012-04-18  David S. Miller  <davem@davemloft.net>
80659         * sysdeps/generic/memcopy.h (reg_char): Delete.
80660         * debug/strcat_chk.c: Use char, not reg_char.
80661         * debug/strcpy_chk.c: Likewise.
80662         * debug/strncat_chk.c: Likewise.
80663         * debug/strncpy_chk.c: Likewise.
80664         * string/memchr.c: Likewise.
80665         * string/memrchr.c: Likewise.
80666         * string/rawmemchr.c: Likewise.
80667         * string/strcat.c: Likewise.
80668         * string/strchr.c: Likewise.
80669         * string/strchrnul.c: Likewise.
80670         * string/strcmp.c: Likewise.
80671         * string/strcpy.c: Likewise.
80672         * string/strncat.c: Likewise.
80673         * string/strncmp.c: Likewise.
80674         * string/strncpy.c: Likewise.
80676 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
80678         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
80679         __builtin_memcopy is called when src and dest ranges are known to not
80680         overlap.
80682 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
80684         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
80685         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
80686         fwd_align_merge macro call.
80687         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
80688         bwd_align_merge macro call.
80689         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
80691 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
80693         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
80694         bwd_align_merge macros.
80695         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
80696         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
80697         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
80699 2012-04-18  David S. Miller  <davem@davemloft.net>
80701         * sysdeps/sparc/sparc64/memcopy.h: Delete.
80703 2012-04-18  Andreas Jaeger  <aj@suse.de>
80705         [BZ #6794]
80706         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
80707         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
80708         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
80710         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
80711         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
80712         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
80714         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
80715         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
80716         Adjust for changed ldbl-128 files.
80718         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
80719         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
80720         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
80722 2012-04-17  David S. Miller  <davem@davemloft.net>
80724         * sysdeps/sparc/sparc32/memcopy.h: Delete.
80726 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
80728         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
80729         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
80730         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
80731         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
80732         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
80733         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
80735 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80737         [BZ #6794]
80738         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
80739         * math/libm-test.inc: Add ilogb errno and exception tests.
80740         * math/w_ilogb.c: New file: ilogb wrapper.
80741         * math/w_ilogbf.c: New file: ilogbf wrapper.
80742         * math/w_ilogbl.c: New file: ilogbl wrapper.
80743         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
80744         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
80745         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
80746         exception being thrown with 0.0 as argument.
80747         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
80748         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
80749         exception being thrown with 0.0 as argument.
80750         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
80751         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
80752         exception being thrown with 0.0 as argument.
80753         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
80754         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
80755         exception being thrown with 0.0 as argument.
80756         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
80757         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
80758         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
80759         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
80760         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
80761         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
80762         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
80763         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
80764         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
80766 2012-04-17  Petr Baudis  <pasky@ucw.cz>
80768         * include/sys/uio.h: Change __vector to __iovec to avoid clash
80769         with altivec.
80771 2012-04-16  Marek Polacek  <polacek@redhat.com>
80773         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
80775 2012-04-16  Marek Polacek  <polacek@redhat.com>
80777         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
80778         operands of fdivp instruction.
80780 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
80782         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
80783         * elf/tst-auditmod3b.c: Likewise.
80784         * elf/tst-auditmod4b.c: Likewise.
80785         * elf/tst-auditmod5b.c: Likewise.
80786         * elf/tst-auditmod6b.c: Likewise.
80787         * elf/tst-auditmod6c.c: Likewise.
80788         * elf/tst-auditmod7b.c: Likewise.
80789         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
80790         * sysdeps/x86_64/preconfigure.in: Likewise.
80791         * sysdeps/x86_64/preconfigure: Regenerated.
80793 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
80795         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
80796         __ILP32__.
80798 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
80800         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
80801         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
80803 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
80805         [BZ #13973]
80806         * locale/iso-639.def: Fix gl language name. Spotted by
80807         Yaron Shahrabani.
80809 2012-04-12  Roland McGrath  <roland@hack.frob.com>
80811         [BZ #2074]
80812         * libio/libio.h (__io_write_fn): Update comment.
80814 2012-04-12  Petr Baudis  <pasky@ucw.cz>
80816         [BZ #2074]
80817         * stdio.texi (Hook Functions): The user provided writer function
80818         is not allowed to return -1.
80820 2012-04-11  David S. Miller  <davem@davemloft.net>
80822         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80824 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
80826         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
80827         Add a leading slash to rtkaio.
80829 2012-04-11  Jim Meyering  <meyering@redhat.com>
80831         [BZ #11959]
80832         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
80833         It is not necessarily an error to ignore fwrite's return
80834         value.  One can reliably use ferror to test for errors after
80835         the fact.
80837 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
80839         * bits/types.h (__snseconds_t): New type.
80840         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
80842         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
80843         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
80844         (__SNSECONDS_T_TYPE): Likewise.
80845         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
80846         (__SNSECONDS_T_TYPE): Likewise.
80847         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
80848         (__SNSECONDS_T_TYPE): Likewise.
80850 2012-04-10  Andreas Jaeger  <aj@suse.de>
80852         [BZ #2636]
80853         * manual/time.texi (Processor Time): Return type of times is
80854         elapsed real time since an arbitrary point in the past.
80855         (CPU Time): Move CLK_TCK from here...
80856         (Processor Time): ...to here.  Correct description.
80857         * manual/conf.texi (Constants for Sysconf): Correct description of
80858         _SC_CLK_TCK.
80860 2012-04-10  David S. Miller  <davem@davemloft.net>
80862         [BZ #13967]
80863         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
80864         where the is a gap between DT_REL(A) and DT_JMPREL.
80866 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
80868         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
80869         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
80870         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
80872 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
80874         * elf/dl-support.c (_dl_inhibit_cache): New variable.
80875         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
80876         (dl_main): Handle --inhibit-cache.
80877         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
80878         _dl_inhibit_cache.
80879         * elf/dl-load.c (_dl_map_object): Use it.
80880         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
80882 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
80884         [BZ #13872]
80885         * sysdeps/i386/fpu/e_powl.S (p78): New object.
80886         (__ieee754_powl): Saturate large exponents rather than testing for
80887         overflow of y*log2(x).
80888         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
80889         * math/libm-test.inc (pow_test): Do not permit spurious overflow
80890         exceptions.
80892         [BZ #11521]
80893         * math/s_ctan.c: Include <float.h>.
80894         (__ctan): Avoid internal overflow or cancellation in calculating
80895         denominator.
80896         * math/s_ctanf.c: Likewise.
80897         * math/s_ctanl.c: Likewise.
80898         * math/s_ctanh.c: Likewise.
80899         * math/s_ctanhf.c: Likewise.
80900         * math/s_ctanhl.c: Likewise.
80901         * math/libm-test.inc (ctan_test): Add more tests.
80902         (ctanh_test): Likewise.
80903         * sysdeps/i386/fpu/libm-test-ulps: Update.
80904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80906 2012-04-09  Andreas Jaeger  <aj@suse.de>
80908         [BZ #6894]
80909         * manual/filesys.texi (Directory Entries): Mention that d_namlen
80910         is an optional BSD extension.
80912         [BZ #10254]
80913         * manual/stdio.texi (Opening Streams): Document additional fopen
80914         parameters.
80916 2012-04-09  Roland McGrath  <roland@hack.frob.com>
80918         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
80919         %eax without telling the compiler.
80921 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
80923         [BZ # 13963]
80924         * manual/install.texi: Use sourceware.org.
80926 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
80928         [BZ #13873]
80929         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
80930         (__ieee754_pow): Generate overflow and underflow using huge*huge
80931         and tiny*tiny rather than just returning constant infinity or zero
80932         for large exponents.
80933         * math/libm-test.inc (pow_test): Require overflow exceptions for
80934         applicable cases of large exponents.
80936         [BZ #706]
80937         * sysdeps/i386/fpu/e_pow.S (p10): New object.
80938         (__ieee754_pow): Use iterative multiplication algorithm only for
80939         integer exponents with absolute value below 1024.  Check for odd
80940         integer exponents when using algorithm for real exponents.
80941         * math/libm-test.inc (pow_test): Add more tests.
80942         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80944 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
80946         [BZ #13705]
80947         * math/libm-test.inc (exp_test): Do not allow overflow exception
80948         on underflow test.
80950 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
80952         [BZ #13705]
80953         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
80954         instead of __kernel_standard_f.
80956 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
80958         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
80959         * sysdeps/x86_64/memset_chk.S: Likewise.
80961 2012-04-08  Andreas Jaeger  <aj@suse.de>
80963         [BZ #10153]
80964         * manual/startup.texi (Environment Access): Describe return value
80965         for putenv and setenv.
80967         [BZ #6895]
80968         * manual/filesys.texi (Directory Entries): Add description for
80969         DT_LNK.
80971         [BZ #6890]
80972         * manual/filesys.texi (Directory Entries): Clarify that it's file
80973         system not operating system in the description of DT_UNKNOWN.
80975         [BZ #6578]
80976         * manual/syslog.texi (closelog): Fix reference, it's openlog.
80978 2012-04-08  Stephen Compall  <s11@member.fsf.org>
80980         [BZ #6649]
80981         * manual/llio.texi (Opening and Closing Files): Add cross
80982         reference to explain mode argument.
80984 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
80986         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
80987         * sysdeps/x86_64/memset_chk.S: Likewise.
80989 2012-04-07  David S. Miller  <davem@davemloft.net>
80991         * elf/elf.h (R_SPARC_WDISP10): Define.
80992         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
80993         R_SPARC_SIZE32.
80994         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
80995         R_SPARC_SIZE64 and R_SPARC_H34.
80997 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
80999         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
81000         conditions and remove no longer applicable assertion.
81002 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
81004         * bits/byteswap.h: Include <features.h>.
81005         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
81006         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
81008 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
81010         * bits/byteswap.h (__bswap_16): Removed.
81011         Include <bits/byteswap-16.h> to get __bswap_16.
81012         * sysdeps/i386/bits/byteswap.h: Likewise.
81013         * sysdeps/s390/bits/byteswap.h: Likewise.
81014         * sysdeps/x86_64/bits/byteswap.h: Likewise.
81015         * bits/byteswap-16.h: New file.
81016         * sysdeps/i386/bits/byteswap-16.h: Likewise.
81017         * sysdeps/s390/bits/byteswap-16.h: Likewise.
81018         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
81019         * string/Makefile (headers): Add bits/byteswap-16.h.
81021 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
81023         [BZ #13895]
81024         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
81025         extra indirection.
81026         * nss/Makefile (tests-static, tests): Add tst-nss-static.
81027         * nss/tst-nss-static.c: New.
81029 2012-04-06  Robert Millan  <rmh@gnu.org>
81031         [BZ #6486]
81032         * manual/llio.texi (File Position Primitive): lseek
81033         refers to WHENCE when it really means OFFSET.
81035 2012-04-06  Andreas Jaeger  <aj@suse.de>
81037         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
81038         strncmp declarations.
81040         * abilist/libc.abilist: Add __poll and __ppoll.
81042 2012-04-05  David S. Miller  <davem@davemloft.net>
81044         * scripts/check-local-headers.sh: Accept a host triplet in the
81045         path matched by the exclude regexp.
81047         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
81048         definition.
81049         * sysdeps/powerpc/powerpc32/dl-machine.h
81050         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
81051         * sysdeps/s390/s390-32/dl-machine.h
81052         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
81053         * sysdeps/sparc/sparc32/dl-machine.h
81054         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
81055         * sysdeps/sparc/sparc64/dl-machine.h
81056         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
81058         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
81059         lazy binding.
81060         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
81061         undefined symbol errors.
81063         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
81064         DT_NEEDED entries.
81066 2012-04-05  Michael Matz  <matz@suse.de>
81068         [BZ #13592]
81069         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
81071 2012-04-05  Andreas Jaeger  <aj@suse.de>
81073         [BZ #13908]
81074         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
81075         comment.
81077 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
81079         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
81080         which ROUND is no valid rounding mode.
81082 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
81084         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
81085         read again.
81086         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
81088 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
81090         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
81091         an exception using FPU order intentionally.
81093 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
81095         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
81096         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
81097         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
81098         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
81100 2012-04-05  Simon Josefsson  <simon@josefsson.org>
81102         [BZ #12340]
81103         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
81104         EINVAL when BUFLEN is too smal.
81106 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
81108         [BZ #13553]
81109         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
81110         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
81112 2012-04-03  Andreas Jaeger  <aj@suse.de>
81114         [BZ #13938]
81115         * manual/setjmp.texi (System V contexts): Fix sentence.
81117         [BZ #13926]
81118         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
81119         New macro for this case.
81120         [!__GNUC__] (__bswap_64): New inline function for this case.
81121         * sysdeps/x86_64/bits/byteswap.h: Likewise.
81122         * bits/byteswap.h: Likewise.
81123         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
81124         ull, guard with __GLIBC_HAVE_LONG_LONG.
81126         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
81127         __GLIBC_HAVE_LONG_LONG.
81129         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
81130         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
81132 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
81134         [BZ #13691]
81135         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
81136         inptr and inend, rather than using last_ch.
81138 2012-04-02  David S. Miller  <davem@davemloft.net>
81140         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
81141         * stdio-common/printf-parse.h (read_int): Change return type to
81142         'int', return -1 on INT_MAX overflow.
81143         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
81144         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
81145         overflows INT_MAX.  Check for overflow of in-format-string precision
81146         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
81147         SIZE_MAX not INT_MAX for integer overflow test.
81148         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
81149         skip the construct in the format string but do not record anything.
81150         * stdio-common/bug22.c: Adjust to test both width/prevision
81151         INT_MAX overflow as well as total length INT_MAX overflow.  Check
81152         explicitly for proper errno values.
81154 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
81156         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
81157         CHAR_MAX.
81158         * string/test-strcmp.c [! WIDE]: Likewise.
81159         * time/tst-mktime2.c: Likewise for INT_MAX.
81160         * string/test-string.h: #include <sys/param.h> for MIN.
81162         * csu/init-first.c (__libc_init_first): Call __ctype_init.
81163         * sysdeps/i386/init-first.c (init): Likewise.
81164         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
81165         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
81166         * sysdeps/sh/init-first.c (init): Likewise.
81168 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
81170         * po/ru.po: Update from translation team.
81171         * po/vi.po: Likewise.
81173 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
81175         * resolv/nss_dns/dns-host.c: Merge copyright years.
81177 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81179         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
81180         Optimize memcpy with prefetch if
81181         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
81182         src, dst pointers have unequal 16 byte alignments.
81184 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
81186         [BZ #13928]
81187         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
81188         from a CNAME entry and return the minimum ttl for the query.
81189         (gaih_getanswer_slice): Likewise.
81191 2012-03-30  Jeff Law  <law@redhat.com>
81193         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
81194         due to long keys.
81195         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
81196         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
81198         * resolv/nss_dns/dns-host.c: Update copyright year.
81200 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
81202         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
81203         requests to save a system call.  Fix check that all bytes are sent.
81205         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
81206         comments for sendmmsg.
81208 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
81210         [BZ #13691]
81211         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
81212         with only 1 character between 0x0041 and 0x01b0.
81213         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
81214         * wcsmbs/tst-mbsnrtowcs.c: New file.
81216 2012-03-29  David S. Miller  <davem@davemloft.net>
81218         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
81219         small copies by hand.
81221 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
81223         [BZ #13761]
81224         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
81225         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
81226         group memberships.
81228 2012-03-28  David S. Miller  <davem@davemloft.net>
81230         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
81231         that branches into memcpy.
81232         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
81233         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
81234         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
81235         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
81236         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
81237         bits.
81238         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
81239         implementation too.
81240         * sysdeps/sparc/mempcpy.S: New file.
81242         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
81243         the IFUNC routine in the libc case.
81244         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
81246         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
81247         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
81248         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
81249         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
81250         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
81251         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
81252         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
81253         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
81255         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
81256         loop to 256 bytes instead of 64 bytes and fix test signedness.
81258         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
81259         * sysdeps/sparc/sparc32/Makefile: rather than here...
81260         * sysdeps/sparc/sparc64/Makefile: and here.
81262 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
81264         * malloc/mallocbug.c: Avoid warnings about unused variables.
81266 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
81268         [BZ #13760]
81269         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
81270         in the right place. Discard and retry query if response is
81271         larger than input buffer size.
81273 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
81275         [BZ #369]
81276         [BZ #2678]
81277         [BZ #3866]
81278         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
81279         x for large integer exponent.
81280         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
81281         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
81282         sign of result as needed afterwards.
81283         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
81284         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
81285         result for underflowing pow the same as for overflow.
81286         (__kernel_standard_l): Handle powl overflow and underflow here
81287         rather than calling __kernel_standard.
81288         * math/libm-test.inc (pow_test): Add more tests.
81290         [BZ #3868]
81291         [BZ #13879]
81292         [BZ #13910]
81293         [BZ #13911]
81294         [BZ #13912]
81295         [BZ #13913]
81296         [BZ #13915]
81297         [BZ #13916]
81298         [BZ #13917]
81299         [BZ #13918]
81300         [BZ #13919]
81301         [BZ #13920]
81302         [BZ #13921]
81303         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
81304         * sysdeps/ieee754/k_standard.c: Include <float.h>.
81305         (__kernel_standard_l): New function.
81306         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
81307         __kernel_standard.
81308         * math/w_acosl.c (__acosl): Likewise.
81309         * math/w_asinl.c (__asinl): Likewise.
81310         * math/w_atan2l.c (__atan2l): Likewise.
81311         * math/w_atanhl.c (__atanhl): Likewise.
81312         * math/w_coshl.c (__coshl): Likewise.
81313         * math/w_exp10l.c (__exp10l): Likewise.
81314         * math/w_exp2l.c (__exp2l): Likewise.
81315         * math/w_fmodl.c (__fmodl): Likewise.
81316         * math/w_hypotl.c (__hypotl): Likewise.
81317         * math/w_j0l.c (__j0l, __y0l): Likewise.
81318         * math/w_j1l.c (__j1l, __y1l): Likewise.
81319         * math/w_jnl.c (__jnl, __ynl): Likewise.
81320         * math/w_lgammal.c (__lgammal): Likewise.
81321         * math/w_log10l.c (__log10l): Likewise.
81322         * math/w_log2l.c (__log2l): Likewise.
81323         * math/w_logl.c (__logl): Likewise.
81324         * math/w_powl.c (__powl): Likewise.
81325         * math/w_remainderl.c (__remainderl): Likewise.
81326         * math/w_scalbl.c (sysv_scalbl): Likewise.
81327         * math/w_sinhl.c (__sinhl): Likewise.
81328         * math/w_sqrtl.c (__sqrtl): Likewise.
81329         * math/w_tgammal.c (__tgammal): Likewise.
81330         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
81331         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
81332         * math/libm-test.inc (acos_test): Add more tests.
81333         (acosh_test): Likewise.
81334         (asin_test): Likewise.
81335         (atanh_test): Likewise.
81336         (exp_test): Likewise.
81337         (exp10_test): Likewise.
81338         (exp2_test): Likewise.
81339         (expm1_test): Likewise.
81340         (lgamma_test): Likewise.
81341         (log_test): Likewise.
81342         (log10_test): Likewise.
81343         (log1p_test): Likewise.
81344         (log2_test): Likewise.
81345         (pow_test): Do not allow some spurious overflow exceptions.
81346         (sqrt_test): Add more tests.
81347         (tgamma_test): Likewise.
81348         (y0_test): Likewise.
81349         (y1_test): Likewise.
81350         (yn_test): Likewise.
81352 2012-03-27  Anton Blanchard  <anton@samba.org>
81354         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
81355         MAP_HUGETLB.
81356         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
81357         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
81358         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
81360 2012-03-27  David S. Miller  <davem@davemloft.net>
81362         * conform/Makefile: Run run-conformtest.sh using $(BASH).
81364         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
81365         have-as-vis3 check.
81367 2012-03-27  Andreas Jaeger  <aj@suse.de>
81369         * sysdeps/x86_64/elf/configure.in: Moved to ...
81370         * sysdeps/x86_64/configure.in: ... here.
81371         * sysdeps/x86_64/elf/start.S: Moved to ...
81372         * sysdeps/x86_64/start.S: ... here.
81373         * sysdeps/x86_64/elf/configure: Delete.
81375         * sysdeps/x86_64/configure.in: Merge contents from
81376         sysdeps/i386/configure.in (without i686 check).
81378         * sysdeps/i386/elf/Versions: Merge into ...
81379         * sysdeps/i386/Versions: ... this.
81380         * sysdeps/i386/elf/Versions: Delete file.
81381         * sysdeps/i386/elf/start.S: Moved to ...
81382         * sysdeps/i386/start.S: ...here.
81383         * sysdeps/i386/elf/configure.in: Merge into...
81384         * sysdeps/i386/configure.in: ...here.
81385         * sysdeps/i386/elf/configure.in: Delete file.
81386         * sysdeps/i386/elf/configure: Delete file.
81388         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
81389         * debug/backtracesyms.c: ... here.
81390         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
81391         * debug/backtracesymsfd.c: ... here.
81392         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
81393         * sysdeps/generic/ifunc-sel.h: ... here.
81395         * sysdeps/unix/i386/start.c: Delete file.
81396         * sysdeps/unix/sparc/start.c: Delete file.
81397         * sysdeps/unix/start.c: Delete file.
81399         * sysdeps/sh/elf/configure.in: Moved to ...
81400         * sysdeps/sh/configure.in: ... here.
81401         * sysdeps/sh/elf/start.S: Moved to ...
81402         * sysdeps/sh/start.S: ... here.
81403         * sysdeps/sh/elf/configure: Delete file.
81405         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
81406         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
81407         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
81408         * sysdeps/powerpc/powerpc64/entry.h: ... here.
81409         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
81410         * sysdeps/powerpc/powerpc64/start.S: here.
81411         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
81412         * sysdeps/powerpc/powerpc64/Makefile: ... this.
81413         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
81414         * sysdeps/powerpc/powerpc64/configure.in: ... this.
81415         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
81417         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
81418         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
81419         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
81420         * sysdeps/powerpc/powerpc32/start.S: ... here.
81421         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
81422         * sysdeps/powerpc/powerpc32/configure.in: ... this.
81423         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
81425         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
81426         * sysdeps/powerpc/ifunc-sel.h: ... here.
81427         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
81428         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
81430         * sysdeps/sparc/elf/configure.in: Moved to ...
81431         * sysdeps/sparc/configure.in: ... here.
81432         * sysdeps/sparc/elf/configure: Delete file.
81433         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
81434         * sysdeps/sparc/sparc32/start.S: ... here.
81435         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
81436         * sysdeps/sparc/sparc64/start.S: ... here.
81437         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
81438         * sysdeps/sparc/sparc32/Makefile: ... this.
81439         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
81440         * sysdeps/sparc/sparc64/Makefile: ... this.
81442         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
81443         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
81444         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
81445         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
81446         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
81447         * sysdeps/s390/s390-32/setjmp.S: ... here.
81448         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
81449         * sysdeps/s390/s390-32/configure.in: ... here.
81450         * sysdeps/s390/s390-32/elf/configure: Delete file.
81451         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
81452         * sysdeps/s390/s390-32/start.S: ... here.
81454         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
81455         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
81456         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
81457         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
81458         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
81459         * sysdeps/s390/s390-64/setjmp.S: ... here.
81460         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
81461         * sysdeps/s390/s390-64/configure.in: ... here
81462         * sysdeps/s390/s390-64/elf/configure: Delete file.
81463         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
81464         * sysdeps/s390/s390-64/start.S: ... here.
81465         * sysdeps/s390/s390-64/elf/configure: Delete.
81467         * configure.in: Remove support for elf directories in sysdeps.
81469         * configure: Regenerated.
81470         * sysdeps/i386/configure: Regenerated.
81471         * sysdeps/powerpc/powerpc32/configure: Regenerated.
81472         * sysdeps/powerpc/powerpc64/configure: Regenerated.
81473         * sysdeps/s390/s390-32/configure: Regenerated.
81474         * sysdeps/s390/s390-64/configure: Regenerated.
81475         * sysdeps/sh/configure: Regenerated.
81476         * sysdeps/sparc/configure: Regenerated.
81477         * sysdeps/x86_64/configure: Regenerated.
81479 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
81481         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81483         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
81484         denormal result into account.
81486 2012-03-25  Roland McGrath  <roland@hack.frob.com>
81488         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
81489         Reported by Allan McRae <allan@archlinux.org>.
81491 2012-03-23  Jeff Law  <law@redhat.com>
81493         * nss/getnssent.c (__nss_getent): Fix typo.
81495 2012-03-23  David S. Miller  <davem@davemloft.net>
81497         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81499 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
81501         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
81502         to pad to uint64_t for each field.
81503         (dl_tls_index): Replace unsigned long with uint64_t.
81505 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
81506         Paul Pluzhnikov  <ppluzhnikov@google.com>
81508         [BZ #6528]
81509         * grp/Makefile (otherlibs): Don't set it.
81510         * inet/Makefile (otherlibs): Likewise.
81511         * login/Makefile (otherlibs): Likewise.
81512         * nscd/Makefile (otherlibs): Likewise.
81513         * posix/Makefile (otherlibs): Likewise.
81514         * pwd/Makefile (otherlibs): Likewise.
81515         * rt/Makefile (otherlibs): Likewise.
81516         * sunrpc/Makefile (otherlibs): Likewise.
81517         * nss/Makefile (otherlibs): Likewise.
81518         Add libnss_files to routines and static-only-routines.
81519         ($(objpfx)getent): Remove rule.
81520         * resolv/Makefile: Add libnss_dns and libresolv to routines and
81521         static-only-routines.
81523 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
81525         [BZ #13892]
81526         * math/s_cexp.c: Include <float.h>.
81527         (__cexp): Handle exp result overflowing not necessarily
81528         overflowing both real and imaginary parts of result.
81529         * math/s_cexpf.c: Likewise.
81530         * math/s_cexpl.c: Likewise.
81531         * math/libm-test.inc (cexp_test): Add more tests.
81532         * sysdeps/i386/fpu/libm-test-ulps: Update.
81533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81535 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
81537         * include/link.h (ELFW): New macro.
81538         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
81539         Replace ELF64_R_TYPE with ELFW(R_TYPE).
81541 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
81543         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
81544         with uint64_t.
81546 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
81548         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
81549         declaration.
81550         (struct La_x32_retval): Likewise.
81552 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
81554         * sysdeps/x86_64/preconfigure.in: New file.
81555         * sysdeps/x86_64/preconfigure: New generated file.
81557 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
81559         [BZ #13824]
81560         * math/e_exp2l.c: Include <float.h>.
81561         (__ieee754_exp2l): Handle overflow and underflow cases
81562         separately.  Only pass fractional part of argument to
81563         __ieee754_expl.
81564         * math/libm-test.inc (exp2_test): Add more tests.
81566         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
81567         negating x to take absolute value.
81568         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
81569         Likewise.
81570         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
81571         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
81572         Likewise.
81573         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
81574         computing low part if x was negated.
81575         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
81577 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
81579         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
81580         la_x32_gnu_pltexit.
81581         (pltexit): Cast int_retval to ptrdiff_t.
81582         * elf/tst-auditmod3b.c: Likewise.
81583         * elf/tst-auditmod4b.c: Likewise.
81584         * elf/tst-auditmod5b.c: Likewise.
81585         * elf/tst-auditmod6b.c: Likewise.
81586         * elf/tst-auditmod6c.c: Likewise.
81587         * elf/tst-auditmod7b.c: Likewise.
81589         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
81590         and x32_gnu_pltexit.
81592         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
81593         __ELF_NATIVE_CLASS.
81594         (La_x32_regs): New macro.
81595         (La_x32_retval): Likewise.
81596         (la_x32_gnu_pltenter): New function prototype.
81597         (la_x32_gnu_pltexit): Likewise.
81599 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
81601         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
81602         exponent.
81604         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81606         * configure.in (libc_cv_cc_nofma): Check for option to disable
81607         generation of FMA instructions.
81608         * configure: Regenerate.
81609         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
81610         * sysdeps/ieee754/dbl-64/Makefile: New file.
81611         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
81612         Remove brandred-fma4.
81613         (CFLAGS-brandred-fma4.c): Remove.
81614         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
81615         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
81616         define.
81617         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
81618         define.
81620 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
81622         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
81623         LLONG_MAX != LONG_MAX.
81624         (_itoa_word): Use _ITOA_WORD_TYPE on value.
81625         (_fitoa_word): Likewise.
81626         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
81627         LLONG_MAX != LONG_MAX.
81628         * stdio-common/_itowa.h: Include <_itoa.h>.
81629         (_itowa_word): Use _ITOA_WORD_TYPE on value.
81630         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
81631         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
81632         only if not defined.
81633         (_ITOA_WORD_TYPE): Likewise.
81634         (_itoa_word): Use _ITOA_WORD_TYPE on value.
81635         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
81637 2012-03-21  David S. Miller  <davem@davemloft.net>
81639         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81641 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
81643         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
81644         of x86_64 when setting libc_cv_slibdir, libdir and
81645         libc_cv_localedir.
81646         * sysdeps/unix/sysv/linux/configure: Regenerated.
81648 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
81650         * manual/lang.texi (Old Varargs): Remove section.
81651         (How Variadic): Update menu.
81652         (va_start): Do not mention varargs.h.
81654 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
81655             Joseph Myers  <joseph@codesourcery.com>
81657         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
81658         link test.
81659         * configure: Regenerated.
81661 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
81663         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
81664         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
81665         conformtest.pl
81667 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
81669         * NOTES: Remove.
81670         * Makefile (files-for-dist): Remove NOTES.
81671         (NOTES): Remove rule.
81672         * README: Don't refer to NOTES.
81673         * manual/creature.texi: Don't include macros.texi.
81674         * manual/intro.texi (creature.texi): Remove comment referring to
81675         NOTES.
81677         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
81678         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
81679         * configure: Regenerated.
81680         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
81681         LIBC_TRY_CC_OPTION.
81682         (libc_cv_as_i686): Likewise.
81683         (libc_cv_cc_avx): Likewise.
81684         (libc_cv_cc_sse2avx): Likewise.
81685         (libc_cv_cc_fma4): Likewise.
81686         (libc_cv_cc_novzeroupper): Likewise.
81687         * sysdeps/i386/configure: Regenerated.
81689         [BZ #13883]
81690         * sysdeps/i386/fpu/s_cexp.S: Remove.
81691         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
81692         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
81693         * math/libm-test.inc (cexp_test): Add more tests.
81694         * sysdeps/i386/fpu/libm-test-ulps: Update.
81695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81697 2012-03-21  Allan McRae  <allan@archlinux.org>
81699         * timezone/Makefile: Do not install iso3166.tab and zone.tab
81701 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
81703         [BZ #13871]
81704         * math/w_exp2.c: Do not include <float.h>.
81705         (o_threshold, u_threshold): Remove.
81706         (__exp2): Calculate result before checking finiteness and calling
81707         __kernel_standard.
81708         * math/w_exp2f.c: Likewise.
81709         * math/w_exp2l.c: Likewise.
81710         * math/libm-test.inc (exp2_test): Require overflow exception for
81711         1e6 input.
81713         [BZ #3866]
81714         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
81715         range of signed 64-bit integers before using fistpll.  Remove
81716         checks for whether integers fit in mantissa bits.
81717         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
81718         the range of signed 32-bit integers before using fistpl.  Remove
81719         checks for whether integers fit in mantissa bits.
81720         * sysdeps/i386/fpu/e_powl.S (p64): New object.
81721         (__ieee754_powl): Test for y outside the range of signed 64-bit
81722         integers before using fistpll.  Reduce 64-bit values to 63-bit
81723         ones as needed.
81724         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
81725         divide-by-zero is raised for zero to large negative powers.
81726         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
81727         (__ieee754_powl): Test for y outside the range of signed 64-bit
81728         integers before using fistpll.  Reduce 64-bit values to 63-bit
81729         ones as needed.
81730         * math/libm-test.inc (pow_test): Add more tests.
81732 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
81734         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
81735         <stdio-common/_itoa.h>.
81736         * debug/segfault.c: Likewise.
81737         * elf/dl-cache.c: Likewise.
81738         * elf/dl-minimal.c: Likewise.
81739         * elf/dl-misc.c: Likewise.
81740         * elf/dl-sysdep.c: Likewise.
81741         * elf/dl-version.c: Likewise.
81742         * elf/rtld.c: Likewise.
81743         * hurd/hurdsock.c: Likewise.
81744         * hurd/lookup-retry.c: Likewise.
81745         * malloc/malloc.c: Likewise.
81746         * malloc/mtrace.c: Likewise.
81747         * nscd/nscd_getgr_r.c: Likewise.
81748         * nscd/nscd_getpw_r.c: Likewise.
81749         * nscd/nscd_getserv_r.c: Likewise.
81750         * posix/getopt_init.c: Likewise.
81751         * posix/wordexp.c: Likewise.
81752         * stdio-common/_itoa.c: Likewise.
81753         * stdio-common/printf_fphex.c: Likewise.
81754         * stdio-common/vfprintf.c: Likewise.
81755         * string/_strerror.c: Likewise.
81756         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
81757         * sysdeps/i386/i686/hp-timing.h: Likewise.
81758         * sysdeps/mach/_strerror.c: Likewise.
81759         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
81760         * sysdeps/mach/hurd/sethostid.c: Likewise.
81761         * sysdeps/mach/hurd/xmknodat.c: Likewise.
81762         * sysdeps/mach/xpg-strerror.c: Likewise.
81763         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
81764         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
81765         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
81766         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
81767         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
81768         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
81769         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
81770         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
81771         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
81772         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
81773         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
81774         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
81775         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
81776         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
81777         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
81778         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
81779         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
81780         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
81781         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
81782         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
81783         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
81785         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
81787         * stdio-common/_itoa.h: Moved to ...
81788         * sysdeps/generic/_itoa.h: Here.
81790         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
81792         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
81793         instead of "_itoa.h" and "_itowa.h".
81794         * stdio-common/vfprintf.: Likewise.
81796 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
81798         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
81799         <bits/wordsize.h>.
81800         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
81801         (__signbit): Likewise.
81802         (llrintf): Likewise.
81803         (llrint): Likewise.
81805 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
81807         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
81808         __WORDSIZE != 64.
81810 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
81812         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
81813         OVERFLOW_EXCEPTION_OK.
81814         * math/libm-test.inc ("Philosophy"): Update comment about
81815         exception testing.
81816         (OVERFLOW_EXCEPTION): Define.
81817         (OVERFLOW_EXCEPTION_OK): Likewise.
81818         (INVALID_EXCEPTION_OK): Renumber.
81819         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
81820         (IGNORE_ZERO_INF_SIGN): Likewise.
81821         (test_exceptions): Handle FE_OVERFLOW.
81822         (exp10_test): Expect overflow exceptions.
81823         (exp2_test): Likewise.
81824         (expm1_test): Likewise.
81825         (nextafter_test): Likewise.
81826         (pow_test): Likewise.
81827         (scalbn_test): Likewise.
81828         (scalbln_test): Likewise.
81830 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
81832         * sysdeps/x86_64/bits/atomic.h
81833         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
81834         64bit integer.
81835         (atomic_exchange_acq): Likewise.
81836         (__arch_exchange_and_add_body): Likewise.
81837         (__arch_add_body): Likewise.
81838         (atomic_add_negative): Likewise.
81839         (atomic_add_zero): Likewise.
81841 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
81843         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
81844         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
81846 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
81848         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
81849         Check __x86_64__ instead of __WORDSIZE.
81851 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
81853         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
81855 2012-03-19  David S. Miller  <davem@davemloft.net>
81857         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81859         * sysdeps/sparc/fpu/fenv_private.h: New file.
81860         * sysdeps/sparc/fpu/math_private.h: Use it.
81861         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
81862         Remove.
81863         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
81864         (libc_feholdexcept_setroundl): Remove.
81865         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
81866         Remove.
81867         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
81868         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
81870 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
81872         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
81873         int64_t instead of long int.
81874         (INSERT_WORDS64): Likewise.
81876 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
81878         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
81879         _Unwind_GetCFA return to _Unwind_Ptr first.
81881 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
81883         [BZ #13629]
81884         * math/s_clog.c: Include <float.h>.
81885         (__clog): Scale large or subnormal inputs.
81886         * math/s_clogf.c: Likewise.
81887         * math/s_clogl.c: Likewise.
81888         * math/s_clog10.c: Include <float.h>.
81889         (M_LOG10_2): Define.
81890         (__clog10): Scale large or subnormal inputs.
81891         * math/s_clog10f.c: Likewise.
81892         * math/s_clog10l.c: Likewise.
81893         * math/libm-test.inc (clog_test): Add more tests.
81894         (clog10_test): Likewise.
81895         * sysdeps/i386/fpu/libm-test-ulps: Update.
81896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81898         [BZ #11451]
81899         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
81900         x and y.
81901         * math/libm-test.inc (atan2_test): Add another test.
81903         * Makerules (common-objdir-compile): Remove.
81904         * sysdeps/unix/Makefile (config-generated): Do not add
81905         $(unix-generated) to variable.
81906         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
81907         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
81908         Remove rule.
81909         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
81910         Likewise.
81911         [generic bits/local_lim.h] (before-compile): Do not append to
81912         variable.
81913         [generic bits/local_lim.h] (common-generated): Likewise.
81914         [generic sys/param.h] (before-compile): Do not append to variable.
81915         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
81916         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
81917         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
81918         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
81919         include.
81920         [generic sys/param.h] (sys/param.h-includes): Remove variable.
81921         [generic sys/param.h] (sys/param.h-includes): Remove rule.
81922         [generic sys/param.h] ($(addprefix
81923         $(common-objpfx),$(sys/param.h-includes))): Likewise.
81924         [generic sys/param.h] (common-generated): Do not append to
81925         variable.
81926         [generic sys/param.h] (sysdep_headers): Likewise.
81927         [generic bits/errno.h] (before-compile): Do not append to
81928         variable.
81929         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
81930         rule.
81931         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
81932         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
81933         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
81934         [generic bits/errno.h] (common-generated): Do not append to
81935         variable.
81936         [generic bits/ioctls.h] (before-compile): Do not append to
81937         variable.
81938         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
81939         rule.
81940         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
81941         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
81942         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
81943         rule.
81944         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
81945         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
81946         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
81947         [generic bits/ioctls.h] (common-generated): Do not append to
81948         variable.
81949         [generic sys/syscall.h] (syscall.h): Remove variable.
81950         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
81951         rule.
81952         [generic sys/syscall.h] (before-compile): Do not append to
81953         variable.
81954         [generic sys/syscall.h] (common-generated): Likewise.
81955         * sysdeps/unix/errnos-tmpl.c: Remove file.
81956         * sysdeps/unix/errnos.awk: Likewise.
81957         * sysdeps/unix/ioctls-tmpl.c: Likewise.
81958         * sysdeps/unix/ioctls.awk: Likewise.
81959         * sysdeps/unix/mk-local_lim.c: Likewise.
81960         * sysdeps/unix/snarf-ioctls: Likewise.
81962 2012-03-19  Richard Henderson  <rth@twiddle.net>
81964         * sysdeps/i386/fpu/fenv_private.h: New file.
81965         * sysdeps/i386/fpu/math_private.h: Use it.
81966         (math_opt_barrier, math_force_eval): Remove.
81967         (libc_feholdexcept_setround_53bit): Remove.
81968         (libc_feupdateenv_53bit): Remove.
81969         * sysdeps/x86_64/fpu/math_private.h: Likewise.
81970         (math_opt_barrier, math_force_eval): Remove.
81971         (libc_feholdexcept): Remove.
81972         (libc_feholdexcept_setround): Remove.
81973         (libc_fetestexcept, libc_fesetenv): Remove.
81974         (libc_feupdateenv_test): Remove.
81975         (libc_feupdateenv, libc_feholdsetround): Remove.
81976         (libc_feresetround): Remove.
81978         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
81979         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
81981         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
81982         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
81983         (libc_feupdateenv_testl): New.
81984         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
81985         (libc_feupdateenv_testf): New.
81986         (libc_feupdateenv): Use libc_feupdateenv_test.
81987         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
81988         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
81990         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
81991         (libc_feholdsetroundf, libc_feholdsetroundl): New.
81992         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
81993         (libc_feresetround_noex): New.
81994         (libc_feresetround_noexf): New.
81995         (libc_feresetround_noexl): New.
81996         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
81997         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
81998         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
81999         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
82000         SET_RESTORE_ROUND.
82001         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
82002         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
82003         (__cos): Likewise.
82004         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
82005         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
82006         SET_RESTORE_ROUND_NOEX.
82007         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
82008         SET_RESTORE_ROUND_NOEXF.
82009         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
82010         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
82011         (libc_feholdsetroundf): New.
82012         (libc_feresetround, libc_feresetroundf): New.
82014         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
82015         (libc_feholdexcept_setround_53bit): Convert from macro to function.
82016         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
82018         * sysdeps/generic/math_private.h: Include <fenv.h>.
82019         (default_libc_feholdexcept): New.
82020         (default_libc_feholdexcept_setround): New.
82021         (default_libc_fesetenv, default_libc_feupdateenv): New.
82022         (libc_feholdexcept): Only define if undefined.
82023         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
82024         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
82025         (libc_feholdexcept_setroundl): Likewise.
82026         (libc_feholdexcept_setround_53bit): Likewise.
82027         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
82028         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
82029         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
82030         (libc_feupdateenv_53bit): Likewise.
82031         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
82032         (libc_feholdexcept): Convert from macro to inline function.
82033         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
82034         (libc_fesetenv, libc_feupdateenv): Likewise.
82036         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
82037         not previously defined.
82038         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
82039         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
82040         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
82041         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
82042         * sysdeps/ieee754/flt-32/math_private.h: New file.
82043         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
82044         math_private.h below SET_FLOAT_WORD.
82045         (__isnan, __isinf_ns, __finite): Remove.
82046         (__isnanf, __isinf_nsf, __finitef): Remove.
82048 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
82050         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82052 2012-03-17  David S. Miller  <davem@davemloft.net>
82054         [BZ #6471]
82055         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
82056         for 2.16.
82058 2012-03-16  David S. Miller  <davem@davemloft.net>
82060         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
82061         warnings.
82063         [BZ #6471]
82064         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
82065         properly.
82066         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
82067         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
82068         sysdep_routines when subdir is sysvipc.
82069         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
82070         __getshmlba helper.
82072         * sysdeps/sparc/fpu/libm-test/ulps: Update.
82074 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
82076         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
82077         [__LP64__].
82079 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
82081         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
82082         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
82083         (__lround): Renamed to ...
82084         (__llround): This.  Replace long int with long long int.
82085         Define lround functions as aliases of llround functions.
82086         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
82088 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
82090         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
82091         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
82092         adresses to uintptr_t.  Replace "long int" and "unsigned long
82093         int" with "greg_t" on va_arg.
82095 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
82097         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
82098         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
82100         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
82101         Move e_machine check before EI_CLASS check.  Handle x32
82102         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
82103         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
82104         SKIP_EM_IA_64 and include
82105         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
82107         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
82108         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
82109         (add_system_dir): New macro.
82111         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
82112         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
82114 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
82116         [BZ #2551]
82117         [BZ #2552]
82118         [BZ #2553]
82119         [BZ #2554]
82120         [BZ #2562]
82121         [BZ #2563]
82122         [BZ #2565]
82123         [BZ #2566]
82124         [BZ #2576]
82125         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
82126         (y0): Likewise.
82127         * math/w_j0f.c (j0f): Likewise.
82128         (y0f): Likewise.
82129         * math/w_j0l.c (__j0l): Likewise.
82130         (__y0l): Likewise.
82131         * math/w_j1.c (j1): Likewise.
82132         (y1): Likewise.
82133         * math/w_j1f.c (j1f): Likewise.
82134         (y1f): Likewise.
82135         * math/w_j1l.c (__j1l): Likewise.
82136         (__y1l): Likewise.
82137         * math/w_jn.c (jn): Likewise.
82138         (yn): Likewise.
82139         * math/w_jnf.c (jnf): Likewise.
82140         (ynf): Likewise.
82141         * math/w_jnl.c (__jnl): Likewise.
82142         (__ynl): Likewise.
82143         * math/libm-test.inc (j0_test): Add more tests.
82144         (j1_test): Likewise.
82145         (jn_test): Likewise.  Add trailing semicolon to existing test.
82146         (y0_test): Likewise.
82147         (y1_test): Likewise.
82148         * sysdeps/i386/fpu/libm-test-ulps: Update.
82149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82151         [BZ #13851]
82152         [BZ #13854]
82153         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
82154         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
82155         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
82156         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
82157         (__tanl): Set errno for infinite argument.
82158         * sysdeps/i386/fpu/mptan.c: Remove.
82159         * sysdeps/i386/fpu/s_tan.S: Likewise.
82160         * sysdeps/i386/fpu/s_tanl.S: Likewise.
82161         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
82162         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
82163         * math/libm-test.inc (tan_test): Add more tests and enable more
82164         tests for double and long double.
82165         * sysdeps/i386/fpu/libm-test-ulps: Update.
82166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82168 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
82170         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
82171         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
82173 2012-03-16  Roland McGrath  <roland@hack.frob.com>
82175         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
82176         * configure.in: Use it for both main tree and add-ons.
82177         * configure: Regenerated.
82179 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
82181         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
82183 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
82185         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
82186         in comment.
82188         [BZ #13851]
82189         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
82190         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
82191         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
82192         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
82193         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
82194         infinite argument.
82195         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
82196         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
82197         != 0 for prec == 2.
82198         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
82199         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
82200         * sysdeps/i386/fpu/s_cosl.S: Likewise.
82201         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
82202         * sysdeps/i386/fpu/s_sinl.S: Likewise.
82203         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
82204         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
82205         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
82206         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
82207         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
82208         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
82209         * math/libm-test.inc (cos_test): Add more tests and enable more
82210         tests for long double.
82211         (sin_test): Likewise.
82212         (sincos_test): Likewise.
82213         * sysdeps/i386/fpu/libm-test-ulps: Update.
82214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82216 2012-03-16  David S. Miller  <davem@davemloft.net>
82218         * sysdeps/sparc/fpu/math_private.h: New file.
82220 2012-03-15  David S. Miller  <davem@davemloft.net>
82222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
82223         file.
82224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
82225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
82226         file.
82227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
82228         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
82229         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
82230         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
82231         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
82232         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
82233         sysdep routines.
82234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
82236         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
82237         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
82239         * sysdeps/sparc/sparc-ifunc.h: New file.
82240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
82241         sparc-ifunc.h
82242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
82243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
82244         Likewise.
82245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
82246         Likewise.
82247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
82248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
82249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
82250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
82251         Likewise.
82252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
82253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
82254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
82255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
82256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
82257         Likewise.
82258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
82259         Likewise.
82260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
82261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
82262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
82263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
82264         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
82265         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
82266         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
82267         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
82268         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
82269         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
82270         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
82271         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
82272         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
82273         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
82274         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
82275         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
82276         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
82277         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
82278         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
82279         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
82280         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
82281         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
82282         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
82283         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
82285 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
82287         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
82288         scaling.
82289         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82291 2012-03-15  Andreas Jaeger  <aj@suse.de>
82293         [BZ #13852]
82294         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
82295         ieee754/flt-32 implementation for sin, cos and sincos.
82296         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
82297         * sysdeps/i386/fpu/s_cosf.S: Likewise.
82298         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
82299         * sysdeps/i386/fpu/s_sinf.S: Likewise.
82300         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
82301         ieee754/flt-32 implementation for tan.
82303         * math/libm-test.inc (cos_test): Enable some large input tests for
82304         float as well
82305         (sin_test): Likewise.
82306         (sincos_test): Likewise.
82307         (tan_test): Add tests for large input.
82309         * sysdeps/i386/fpu/libm-test-ulps: Update.
82311 2012-03-15  Andreas Jaeger  <aj@suse.de>
82313         [BZ #13658]
82314         * math/libm-test.inc (cos_test): Add more test cases.
82315         (sin_test): Likewise.
82316         (sincos_test): Likewise.
82318 2012-03-15  Andreas Jaeger  <aj@suse.de>
82320         [BZ #13837]
82321         * math/libm-test.inc (cos_test): Add a test case for large input
82322         value.
82323         (sin_test): Likewise.
82324         (sincos_test): Likewise.
82326 2012-03-15  Andreas Jaeger  <aj@suse.de>
82327             Joseph Myers  <joseph@codesourcery.com>
82329         [BZ #13658]
82330         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
82331         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
82332         * sysdeps/i386/fpu/branred.c: Likewise.
82333         * sysdeps/i386/fpu/dosincos.c: Likewise.
82334         * sysdeps/i386/fpu/mpa.c: Likewise.
82335         * sysdeps/i386/fpu/s_cos.S: Likewise.
82336         * sysdeps/i386/fpu/s_sin.S: Likewise.
82337         * sysdeps/i386/fpu/s_sincos.S: Likewise.
82338         * sysdeps/i386/fpu/sincos32.c: Likewise.
82340         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
82341         Define.
82342         (libc_feupdateenv_53bit): Define.
82343         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
82344         Define.
82345         (libc_feupdateenv_53bit): Define.
82347         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
82348         53 bit (without extend i386 double precision).
82350         * math/libm-test.inc (sincos_test): Add tests for large input.
82351         (sin): Likewise.
82352         (cos): Likewise.
82354         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
82356 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
82358         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82360 2012-03-15  David S. Miller  <davem@davemloft.net>
82362         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
82363         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
82364         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
82365         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
82366         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
82367         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
82368         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
82369         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
82370         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
82371         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
82372         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
82373         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
82374         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
82375         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
82376         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
82377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
82378         file.
82379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
82380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
82381         file.
82382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
82383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
82384         file.
82385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
82386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
82387         file.
82388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
82389         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
82390         fmin/fmax sysdep routines.
82391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
82393 2012-03-14  David S. Miller  <davem@davemloft.net>
82395         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
82396         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
82397         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
82398         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
82399         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
82400         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
82401         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
82402         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
82403         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
82404         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
82405         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
82406         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
82407         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
82408         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
82409         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
82410         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
82411         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
82412         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
82413         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
82414         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
82415         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
82416         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
82417         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
82418         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
82419         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
82420         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
82421         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
82422         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
82423         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
82424         routines.
82425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
82426         file.
82427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
82428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
82429         file.
82430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
82431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
82432         file.
82433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
82434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
82435         file.
82436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
82437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
82438         file.
82439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
82440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
82441         file.
82442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
82443         file.
82444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
82445         file.
82446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
82447         file.
82448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
82449         New file.
82450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
82451         file.
82452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
82453         file.
82454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
82455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
82456         file.
82457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
82458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
82459         file.
82460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
82461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
82462         file.
82463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
82464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
82465         VIS3 routines.
82467         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
82468         New file.
82470         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82472         * sysdeps/sparc/configure.in: New file.
82473         * sysdeps/sparc/configure: Generate.
82474         * configure.in (libc_cv_sparc_as_vis3): Substitute.
82475         * configure: Regenerate.
82476         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
82477         * config.make.in (have-as-vis3): New.
82478         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
82479         available use -Av9d instead of -Av9a.
82480         * sysdeps/sparc/sparc64/Makefile: Likewise.
82481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
82482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
82483         New file.
82484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
82485         file.
82486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
82487         New file.
82488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
82489         file.
82490         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
82491         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
82492         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
82493         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
82494         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
82496         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
82497         fzeros/fnegs to load 0x80000000 into a float register instead of
82498         using the stack.
82499         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
82501 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
82503         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82504         bits/syscall.h.
82505         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
82506         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
82507         ($(inst_includedir)/bits/syscall.h): Remove rule.
82508         ($(objpfx)bits/syscall.d): Include instead of
82509         $(objpfx)syscall-list.d.
82510         (generated): Change syscall-list.h and syscall-list.d to
82511         bits/syscall.h and bits/syscall.d.
82513 2012-03-14  Roland McGrath  <roland@hack.frob.com>
82515         [BZ #13846]
82516         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
82518 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
82520         [BZ #13841]
82521         * math/s_csqrt.c: Include <float.h>.
82522         (__csqrt): Scale large or subnormal inputs.
82523         * math/s_csqrtf.c: Likewise.
82524         * math/s_csqrtl.c: Likewise.
82525         * math/libm-test.inc (csqrt_test): Add more tests.
82526         * sysdeps/i386/fpu/libm-test-ulps: Update.
82527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82529         [BZ #13840]
82530         * math/libm-test.inc (hypot_test): Add more tests.
82532 2012-03-13  David S. Miller  <davem@davemloft.net>
82534         [BZ #13840]
82535         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
82536         double-precision for the calculation instead of scaling.
82538 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
82540         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
82541         manipulate bits before adding and subtracting TWO52[sx].
82542         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
82543         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
82544         Likewise.
82545         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
82547 2012-03-13  David S. Miller  <davem@davemloft.net>
82549         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
82550         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
82551         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
82552         rtld-global-offsets.h
82553         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
82555         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
82556         large parameters.
82558         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
82560         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
82561         'err' in the ifdef scope in which it is actually used.
82563         * nss/nss_db/db-init.c: Include string.h
82565 2012-03-12  David S. Miller  <davem@davemloft.net>
82567         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
82568         masking out of the most significant byte of random value used.
82569         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
82570         Fix coding style in previous change.
82572         * sysdeps/unix/sysv/linux/kernel-features.h
82573         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
82574         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
82575         expression.
82576         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
82577         later.
82579 2012-03-11  David S. Miller  <davem@davemloft.net>
82581         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
82582         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
82583         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
82584         for 'resultvar' otherwise things get truncated on 64-bit.
82586         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
82587         Fix masking out of the most significant byte of random value used.
82589         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82591 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
82593         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82595 2012-03-09  David S. Miller  <davem@davemloft.net>
82597         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
82598         variables with appropriate CPP guards.
82599         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
82600         from the frame pointer, not the stack pointer.  Correct layout
82601         comments.  Fix test on resulting framesize and the management of
82602         the outregs buffer for pltexit.  Preserve floating point return
82603         values across _dl_call_pltexit call.
82604         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
82605         framesize and the management of the outregs buffer for pltexit.
82606         Preserve floating point return values across _dl_call_pltexit
82607         call.
82608         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
82609         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
82610         (la_sparc64_gnu_pltexit): New functions.
82611         (print_exit): Fix format string for return register value.
82613 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
82615         * sunrpc/Makefile (others): Add rpcgen.
82616         ($(objpfx)rpcgen): Remove special build rule and dependency on
82617         libc.
82618         * sunrpc/rpcgen.c: New file.
82620 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
82622         [BZ #13673]
82623         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
82624         * stdio-common/bug-vfprintf-nargs.c: Likewise.
82625         * sysdeps/i386/crti.S: Likewise.
82626         * sysdeps/i386/crtn.S: Likewise.
82627         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
82628         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
82629         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
82630         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
82631         * sysdeps/sh/crti.S: Likewise.
82632         * sysdeps/sh/crtn.S: Likewise.
82633         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
82635         [BZ #13673]
82636         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
82637         with URL.
82638         * locale/programs/locfile-kw.gperf: Likewise.
82639         * locale/programs/charmap-kw.h: Regenerated.
82640         * locale/programs/locfile-kw.h: Likewise.
82642         [BZ #13673]
82643         * intl/plural.y: Replace FSF snail mail address with URL.
82644         * intl/plural.c: Regenerated.
82646 2012-03-09  Richard Henderson  <rth@twiddle.net>
82648         * include/math_private.h: Remove file.
82649         * math/math_private.h: Move file ...
82650         * sysdeps/generic/math_private.h: ... here.
82652         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
82653         * sysdeps/powerpc/fpu/math_private.h: Likewise.
82654         * sysdeps/x86_64/fpu/math_private.h: Likewise.
82656         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
82657         and <math_private.h>.
82658         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
82659         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
82660         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
82661         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
82662         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
82663         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
82664         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
82665         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82666         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
82667         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
82668         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82669         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
82670         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
82671         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
82672         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
82673         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
82674         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
82675         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
82676         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
82677         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
82678         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82679         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
82680         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
82681         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82682         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
82683         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
82684         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
82685         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
82686         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82687         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
82688         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
82689         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
82690         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
82691         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
82692         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
82693         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
82694         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
82695         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
82696         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
82697         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
82698         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
82699         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
82700         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
82701         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
82702         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
82703         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
82704         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
82705         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
82706         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
82707         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
82708         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
82709         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
82710         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
82711         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
82712         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
82713         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
82714         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
82715         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
82716         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
82717         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
82718         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
82719         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
82720         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
82721         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
82722         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
82723         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
82724         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
82725         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
82726         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
82727         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
82728         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
82729         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
82730         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
82731         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
82732         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
82733         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
82734         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
82735         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
82736         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
82737         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
82738         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
82739         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
82740         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
82741         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
82742         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
82743         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
82744         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
82745         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
82746         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
82747         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
82748         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
82749         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
82750         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
82751         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
82752         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
82753         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
82754         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
82755         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
82756         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
82757         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
82758         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
82759         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
82760         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
82761         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
82762         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
82763         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
82764         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
82765         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
82766         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
82767         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
82768         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
82769         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
82770         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
82771         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
82772         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
82773         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
82774         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
82775         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
82776         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
82777         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
82778         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
82779         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
82780         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
82781         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
82782         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
82783         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
82784         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
82785         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
82786         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
82787         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
82788         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
82789         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
82790         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
82791         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
82792         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
82793         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
82794         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
82795         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
82796         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
82797         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
82798         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
82799         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
82800         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
82801         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
82802         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
82803         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
82804         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
82805         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
82806         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
82807         * sysdeps/ieee754/k_standard.c: Likewise.
82808         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
82809         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
82810         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
82811         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
82812         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
82813         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
82814         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
82815         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
82816         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
82817         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
82818         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
82819         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
82820         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
82821         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
82822         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
82823         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
82824         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
82825         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
82826         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
82827         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
82828         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
82829         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
82830         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
82831         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
82832         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
82833         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
82834         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
82835         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
82836         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
82837         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
82838         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
82839         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
82840         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
82841         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
82842         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
82843         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
82844         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
82845         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
82846         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
82847         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
82848         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
82849         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
82850         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
82851         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
82852         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
82853         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
82854         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
82855         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
82856         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
82857         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
82858         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
82859         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
82860         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
82861         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
82862         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
82863         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
82864         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
82865         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
82866         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
82867         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
82868         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
82869         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
82870         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
82871         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
82872         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
82873         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
82874         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
82875         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
82876         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
82877         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
82878         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
82879         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
82880         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
82881         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
82882         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
82883         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
82884         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
82885         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
82886         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
82887         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
82888         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
82889         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
82890         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
82891         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
82892         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
82893         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
82894         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
82895         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
82896         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
82897         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
82898         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
82899         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
82900         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
82901         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
82902         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
82903         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
82904         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
82905         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
82906         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
82907         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
82908         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
82909         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
82910         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
82911         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
82912         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
82913         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
82914         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
82915         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
82916         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
82917         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
82918         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
82919         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
82920         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
82921         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
82922         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
82923         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
82924         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
82925         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
82926         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
82927         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
82928         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
82929         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
82930         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
82931         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
82932         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
82933         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
82934         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
82935         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
82936         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
82937         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
82938         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
82939         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
82940         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
82941         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
82942         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
82943         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
82944         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
82945         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
82946         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
82947         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
82948         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
82949         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
82950         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
82951         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
82952         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
82953         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
82954         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
82955         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
82956         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
82957         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
82958         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
82959         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
82960         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
82961         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
82962         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
82963         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
82964         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
82965         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
82966         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
82967         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
82968         * sysdeps/ieee754/s_lib_version.c: Likewise.
82969         * sysdeps/ieee754/s_matherr.c: Likewise.
82970         * sysdeps/ieee754/s_signgam.c: Likewise.
82971         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
82972         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
82973         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
82974         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
82975         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
82976         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
82977         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
82978         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
82979         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
82980         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
82981         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
82982         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
82983         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
82984         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
82985         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
82986         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
82987         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
82988         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
82989         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
82990         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
82991         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
82993 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
82995         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
82996         * sunrpc/rpc_main.c: Likewise.
82997         * sunrpc/rpc_svcout.c: Likewise.
82999 2012-03-09  David S. Miller  <davem@davemloft.net>
83001         * include/math_private.h: New file.
83003 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
83005         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
83006         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
83007         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
83008         from <bits/socket_type.h>.
83009         (enum __socket_type): Don't define here.
83010         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
83011         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83012         bits/socket_type.h.
83014         [BZ #13566]
83015         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
83016         checking __USE_GNU.
83018         * Makerules ($(inst_includedir)/%.h): New rule.
83019         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
83020         (install-others): Remove variable setting.
83021         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
83023 2012-03-08  Richard Henderson  <rth@twiddle.net>
83025         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
83026         from macro to inline function; merge with the
83027         !__LIBC_INTERNAL_MATH_INLINES version.
83028         (__ieee754_sqrtf): Likewise.
83030         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
83031         to inline function.
83032         (__rintf, __floor, __floorf): Likewise.
83034         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
83035         macro to inline function.
83036         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
83038         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
83039         not <math/math_private.h>.
83041 2012-03-08  David S. Miller  <davem@davemloft.net>
83043         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
83044         copyright year.
83045         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
83047 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
83049         * resolv/gai_misc.c (handle_requests): Fix struct timespec
83050         normalization.
83051         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
83052         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
83054 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
83056         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
83057         be defined individually, they must be defined as a block.  Define
83058         S for printing a string instead of hidint the different by using a
83059         macro for adding the 'l'.
83060         * stdio-common/tst-fphex-wide.c: Adjust.
83062 2012-03-07  Marek Polacek  <polacek@redhat.com>
83064         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
83066 2012-03-08  Marek Polacek  <polacek@redhat.com>
83068         [BZ #13806]
83069         * stdio-common/Makefile (tests): Add tst-fphex-wide.
83070         * stdio-common/tst-fphex.c: Define a few macros to make the
83071         test reusable.  Use them.
83072         * stdio-common/tst-fphex-wide.c: New file.
83074 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
83076         [BZ #6911]
83077         * manual/macros.texi (gnusystems): New macro.
83078         (nongnusystems): Likewise.
83079         (gnulinuxhurdsystems): Likewise.
83080         (gnuhurdsystems): Likewise..
83081         (gnulinuxsystems): Likewise.
83082         * manual/charset.texi: Use new macros or @theglibc{} to refer to
83083         variants of the GNU system, not "GNU system".
83084         * manual/conf.texi: Likewise.
83085         * manual/errno.texi: Likewise.  Update example of errno macro
83086         expansion.
83087         * manual/filesys.texi: Likewise.
83088         (getumask): Document as specific to GNU/Hurd.
83089         * manual/install.texi: Likewise.  Reword some references to
83090         GNU/Linux.
83091         * manual/intro.texi: Likewise.
83092         * manual/io.texi: Likewise.
83093         (File Name Portability): Detail which constraints are inapplicable
83094         to all GNU systems and which are only inapplicable to GNU/Hurd.
83095         * manual/job.texi: Likewise.
83096         * manual/llio.texi: Likewise.
83097         (O_NOCTTY): Document as present on GNU/Linux.
83098         * manual/maint.texi: Likewise.
83099         * manual/memory.texi: Likewise.
83100         * manual/pattern.texi: Likewise.
83101         * manual/pipe.texi: Likewise.
83102         * manual/process.texi: Likewise.
83103         * manual/resource.texi: Likewise.
83104         (RUSAGE_CHILDREN): Remove statement about specifying a particular
83105         child on GNU/Hurd.
83106         * manual/setjmp.texi: Likewise.
83107         * manual/signal.texi: Likewise.
83108         * manual/startup.texi: Likewise.
83109         * manual/stdio.texi: Likewise.
83110         * manual/terminal.texi: Likewise.
83111         (ONLCR): Document as POSIX.
83112         (OXTABS): Document availability on GNU/Linux as XTABS.
83113         (ONOEOT): Document availability separately from other bits.
83114         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
83115         * manual/time.texi: Likewise.
83116         * manual/users.texi: Likewise.
83117         * INSTALL: Regenerated.
83118         * sysdeps/gnu/errlist.c: Regenerated.
83120         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
83121         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
83122         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
83123         puts.
83124         * configure: Regenerated.
83126 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
83128         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
83129         default includes instead of AC_HEADER_CHECK.
83130         * sysdeps/i386/configure: Regenerated.
83132         [BZ #10716]
83133         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
83134         * math/s_cacoshf.c (__cacoshf): Likewise.
83135         * math/s_cacoshl.c (__cacoshl): Likewise.
83136         * math/s_casinh.c (__casinh): Set signs of result from argument.
83137         * math/s_casinhf.c (__casinhf): Likewise.
83138         * math/s_casinhl.c (__casinhl): Likewise.
83139         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
83140         (casinh_test): Add more tests.
83141         * sysdeps/i386/fpu/libm-test-ulps: Update.
83142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83144 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
83146         * po/zh_TW.po: Update from translation team.
83148         * login/Makefile (distribute): Remove variable.
83149         * catgets/Makefile: Likewise.
83150         * mach/Makefile: Likewise.
83151         * malloc/Makefile: Likewise.
83152         * misc/Makefile: Likewise.
83153         * iconv/Makefile: Likewise.
83154         * nscd/Makefile: Likewise.
83155         * hurd/Makefile: Likewise.
83156         * manual/Makefile: Likewise.
83157         * locale/Makefile: Likewise.
83158         * intl/Makefile: Likewise.
83159         * conform/Makefile: Likewise.
83160         * nss/Makefile: Likewise.
83161         * time/Makefile: Likewise.
83162         * soft-fp/Makefile: Likewise.
83163         * dirent/Makefile: Likewise.
83164         * gmon/Makefile: Likewise.
83165         * po/Makefile: Likewise.
83166         * rt/Makefile: Likewise.
83167         * socket/Makefile: Likewise.
83168         * math/Makefile: Likewise.
83169         * signal/Makefile: Likewise.
83170         * debug/Makefile: Likewise.
83171         * elf/Makefile: Likewise.
83172         * timezone/Makefile: Likewise.
83173         * stdlib/Makefile: Likewise.
83174         * iconvdata/Makefile: Likewise.
83175         * sunrpc/Makefile: Likewise.
83176         * io/Makefile: Likewise.
83177         * argp/Makefile: Likewise.
83178         * inet/Makefile: Likewise.
83179         * hesiod/Makefile: Likewise.
83180         * grp/Makefile: Likewise.
83181         * csu/Makefile: Likewise.
83182         * wctype/Makefile: Likewise.
83183         * crypt/Makefile: Likewise.
83184         * libio/Makefile: Likewise.
83185         * string/Makefile: Likewise.
83186         * nis/Makefile: Likewise.
83187         * resolv/Makefile: Likewise.
83188         * stdio-common/Makefile: Likewise.
83189         * wcsmbs/Makefile: Likewise.
83190         * dlfcn/Makefile: Likewise.
83191         * posix/Makefile: Likewise.
83193         [BZ #6959]
83194         * timezone/Makefile: Don't install timezone files, just the programs
83195         and scripts.
83197 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
83199         * nss/databases.def: Add missing gshadow entry.
83201         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
83203 2012-03-06  Marek Polacek  <polacek@redhat.com>
83205         [BZ #13726]
83206         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
83207         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
83208         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
83209         * stdio-common/tst-long-dbl-fphex.c: New file.
83211 2012-03-06  David S. Miller  <davem@davemloft.net>
83213         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
83214         (set_obp_int): New function.
83215         (get_obp_int): New function.
83216         (__get_clockfreq_via_dev_openprom): Likewise.
83217         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
83218         Avoid unused variable warnings on 'val' and use builtin_expect.
83219         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
83220         __builtin_expect.
83221         (INLINE_CLONE_SYSCALL): Likewise.
83223 2012-03-05  David S. Miller  <davem@davemloft.net>
83225         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83227 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
83229         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83231         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
83232         only for |x| >= 40.
83233         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
83235 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
83237         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
83238         Replace gettimeofday with __vdso_gettimeofday.
83240         * sysdeps/unix/sysv/linux/x86_64/init-first.c
83241         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
83242         __vdso_clock_gettime and __vdso_getcpu.
83244         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
83245         time with __vdso_time.
83247 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
83249         * manual/lang.texi (size_t): Note types to which size_t may be
83250         equivalent with the GNU C Library, but do not describe when
83251         differences between them are significant.
83253 2012-03-05  Andreas Jaeger  <aj@suse.de>
83255         * sysdeps/i386/fpu/libm-test-ulps: Update.
83257 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
83259         [BZ #3976]
83260         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
83261         (__ieee754_pow): Save and restore rounding mode and use
83262         round-to-nearest for main computations.
83263         * math/libm-test.inc (pow_test_tonearest): New function.
83264         (pow_test_towardzero): Likewise.
83265         (pow_test_downward): Likewise.
83266         (pow_test_upward): Likewise.
83267         (main): Call the new functions.
83268         * sysdeps/i386/fpu/libm-test-ulps: Update.
83269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83271         [BZ #3976]
83272         * math/libm-test.inc (cosh_test_tonearest): New function.
83273         (cosh_test_towardzero): Likewise.
83274         (cosh_test_downward): Likewise.
83275         (cosh_test_upward): Likewise.
83276         (sinh_test_tonearest): Likewise.
83277         (sinh_test_towardzero): Likewise.
83278         (sinh_test_downward): Likewise.
83279         (sinh_test_upward): Likewise.
83280         (main): Call the new functions.
83281         * sysdeps/i386/fpu/libm-test-ulps: Update.
83282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83284 2012-03-05  Tom de Vries  <tom@codesourcery.com>
83286         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
83287         default stack guard is set in last bytes.
83288         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
83290 2012-03-05  Kees Cook  <keescook@chromium.org>
83292         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
83294         [BZ #13656]
83295         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
83296         possibly allocate from heap instead of stack.
83297         * stdio-common/bug-vfprintf-nargs.c: New file.
83298         * stdio-common/Makefile (tests): Add nargs overflow test.
83300 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
83302         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83304 2012-03-03  Marek Polacek  <polacek@redhat.com>
83306         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
83307         * math/math_private.h: Likewise.
83308         * stdlib/tst-strtod.c: Likewise.
83309         * sysdeps/i386/i486/bits/atomic.h: Likewise.
83310         * sysdeps/x86_64/bits/atomic.h: Likewise.
83312 2012-03-02  David S. Miller  <davem@davemloft.net>
83314         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
83315         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
83316         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
83317         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
83318         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
83319         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
83320         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
83321         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
83323 2012-03-02  Roland McGrath  <roland@hack.frob.com>
83325         [BZ #13792]
83326         * manual/examples/README: New file, says the example source files
83327         can be used under GPL>=2.
83328         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
83329         line containing just "*/".
83330         * manual/examples/add.c: Add copyright header (GPL>=2).
83331         * manual/examples/argp-ex1.c: Likewise.
83332         * manual/examples/argp-ex2.c: Likewise.
83333         * manual/examples/argp-ex3.c: Likewise.
83334         * manual/examples/argp-ex4.c: Likewise.
83335         * manual/examples/atexit.c: Likewise.
83336         * manual/examples/db.c: Likewise.
83337         * manual/examples/dir.c: Likewise.
83338         * manual/examples/dir2.c: Likewise.
83339         * manual/examples/execinfo.c: Likewise.
83340         * manual/examples/filecli.c: Likewise.
83341         * manual/examples/filesrv.c: Likewise.
83342         * manual/examples/fmtmsgexpl.c: Likewise.
83343         * manual/examples/genpass.c: Likewise.
83344         * manual/examples/inetcli.c: Likewise.
83345         * manual/examples/inetsrv.c: Likewise.
83346         * manual/examples/isockad.c: Likewise.
83347         * manual/examples/longopt.c: Likewise.
83348         * manual/examples/memopen.c: Likewise.
83349         * manual/examples/memstrm.c: Likewise.
83350         * manual/examples/mkfsock.c: Likewise.
83351         * manual/examples/mkisock.c: Likewise.
83352         * manual/examples/mygetpass.c: Likewise.
83353         * manual/examples/pipe.c: Likewise.
83354         * manual/examples/popen.c: Likewise.
83355         * manual/examples/rprintf.c: Likewise.
83356         * manual/examples/search.c: Likewise.
83357         * manual/examples/select.c: Likewise.
83358         * manual/examples/setjmp.c: Likewise.
83359         * manual/examples/sigh1.c: Likewise.
83360         * manual/examples/sigusr.c: Likewise.
83361         * manual/examples/stpcpy.c: Likewise.
83362         * manual/examples/strdupa.c: Likewise.
83363         * manual/examples/strftim.c: Likewise.
83364         * manual/examples/strncat.c: Likewise.
83365         * manual/examples/subopt.c: Likewise.
83366         * manual/examples/swapcontext.c: Likewise.
83367         * manual/examples/termios.c: Likewise.
83368         * manual/examples/testopt.c: Likewise.
83369         * manual/examples/testpass.c: Likewise.
83370         * manual/examples/timeval_subtract.c: Likewise.
83372         [BZ #13792]
83373         * manual/time.texi (Elapsed Time): Move timeval_subtract example
83374         function to ...
83375         * manual/timeval_subtract.c.texi: ... here, new file.
83377 2012-03-02  David S. Miller  <davem@davemloft.net>
83379         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
83381 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
83383         [BZ #3976]
83384         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
83385         (__sin): Save and restore rounding mode and use round-to-nearest
83386         for all computations.
83387         (__cos): Save and restore rounding mode and use round-to-nearest
83388         for all computations.
83389         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
83390         <fenv.h>.
83391         (tan): Save and restore rounding mode and use round-to-nearest for
83392         all computations.
83393         * math/libm-test.inc (cos_test_tonearest): New function.
83394         (cos_test_towardzero): Likewise.
83395         (cos_test_downward): Likewise.
83396         (cos_test_upward): Likewise.
83397         (sin_test_tonearest): Likewise.
83398         (sin_test_towardzero): Likewise.
83399         (sin_test_downward): Likewise.
83400         (sin_test_upward): Likewise.
83401         (tan_test_tonearest): Likewise.
83402         (tan_test_towardzero): Likewise.
83403         (tan_test_downward): Likewise.
83404         (tan_test_upward): Likewise.
83405         (main): Call the new functions.
83406         * sysdeps/i386/fpu/libm-test-ulps: Update.
83407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83409         [BZ #10135]
83410         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
83411         small n, then large n, before computing and testing k+n.
83412         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
83413         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
83414         Likewise.
83415         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
83416         Likewise.
83417         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
83418         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
83419         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
83420         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
83421         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
83422         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
83423         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
83424         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
83425         * math/libm-test.inc (scalbn_test): Add more tests.
83426         (scalbln_test): Likewise.
83428         * manual/filesys.texi (mode_t): Describe constraints on size and
83429         signedness, not exact equivalence to a particular type.
83430         (ino_t): Likewise.
83431         (ino64_t): Likewise.
83432         (dev_t): Likewise.
83433         (nlink_t): Likewise.
83434         (blkcnt_t): Likewise.
83435         (blkcnt64_t): Likewise.
83436         * manual/llio.texi (off_t): Likewise.
83438         [BZ #3976]
83439         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
83440         (__ieee754_exp): Save and restore rounding mode and use
83441         round-to-nearest for all computations.
83442         * math/libm-test.inc (exp_test_tonearest): New function.
83443         (exp_test_towardzero): Likewise.
83444         (exp_test_downward): Likewise.
83445         (exp_test_upward): Likewise.
83446         (main): Call the new functions.
83447         * sysdeps/i386/fpu/libm-test-ulps: Update.
83448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83450 2012-03-01  Chris Demetriou  <cgd@google.com>
83452         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
83453         have predictable order.
83455 2012-03-01  David S. Miller  <davem@davemloft.net>
83457         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
83459         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
83460         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
83461         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
83462         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
83464         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
83465         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
83466         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
83467         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
83468         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
83469         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
83470         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
83471         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
83472         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
83474         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83476         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
83477         * sysdeps/sparc/fpu/libm-test-ulps: to here.
83478         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
83480         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
83481         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
83482         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
83483         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
83484         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
83485         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
83486         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
83487         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
83488         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
83489         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
83490         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
83491         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
83492         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
83493         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
83494         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
83495         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
83496         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
83497         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
83498         * sysdeps/sparc/elf/configure: Regenerated.
83500 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
83502         * configure.in (AS, LD): Require binutils 2.20 or later.
83503         * configure: Regenerated.
83504         * manual/install.texi (Tools for Compilation): Give binutils 2.20
83505         as required minimum version.
83506         * INSTALL: Regenerated.
83508         [BZ #2541]
83509         [BZ #4108]
83510         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
83511         before squaring exponent.
83512         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
83513         bottom long double and 27 bits of top long double before squaring
83514         exponent.
83515         * math/libm-test.inc (erfc_test): Add more tests.
83516         * sysdeps/i386/fpu/libm-test-ulps: Update.
83517         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
83518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83520 2012-03-01  Kai Tietz  <ktietz@redhat.com>
83522         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
83523         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
83524         containing bit-fields.
83525         * soft-fp/extended.h (_FP_UNION_E): Likewise.
83526         * soft-fp/single.h (_FP_UNION_S): Likewise.
83527         * soft-fp/double.h (_FP_UNION_D): Likewise.
83529 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
83531         [BZ #13786]
83532         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
83533         not include ../strcmp.S.
83534         [USE_AS_STRNCASECMP_L]: Likewise.
83535         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
83536         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
83537         * sysdeps/i386/i686/multiarch/strncase_l-c.c
83538         (__strncasecmp_l_ia32): Define as alias to
83539         __strncasecmp_l_nonascii.
83541         [BZ #5794]
83542         * math/libm-test.inc (expm1_test): Add test for bug 5794.
83543         * sysdeps/i386/fpu/libm-test-ulps: Update.
83544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83546         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
83547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83549 2012-02-29  Jeff Law  <law@redhat.com>
83551         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
83552         out of bounds read.
83554 2012-02-29  Marek Polacek  <polacek@redhat.com>
83556         [BZ #13706]
83557         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
83558         * elf/Makefile: Add rules to run tst-unused-dep.out.
83560 2012-02-28  David S. Miller  <davem@davemloft.net>
83562         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
83563         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
83564         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
83565         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
83566         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
83567         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
83569 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
83571         * math/libm-test.inc (llround_test): Move one test from
83572         lround_test.  Use TEST_f_L in moved test.
83573         (lround_test): Move misplaced test to llround_test.  Add testcase
83574         from bug 2561.
83576 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
83578         * sysdeps/x86_64/fpu/e_expf.S: New file.
83579         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
83581 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
83583         [BZ #13637]
83584         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
83585         of remain_len that may cause incomplete multi-byte character and
83586         false match.
83587         * posix/bug-regex33.c: New file.
83588         * posix/Makefile (tests): Add bug-regex33.
83590 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
83592         * manual/macros.texi: New file.
83593         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
83594         * manual/libc.texinfo: Include macros.texi.
83595         * manual/creatute.texi: Likewise.
83596         * manual/install.texi: Likewise.
83597         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
83598         @glibcadj{} in references to the GNU C Library.
83599         * manual/charset.texi: Likewise.
83600         * manual/conf.texi: Likewise.
83601         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
83602         when not using those macros.
83603         * manual/creature.texi: Likewise.
83604         * manual/crypt.texi: Likewise.
83605         * manual/errno.texi: Likewise.
83606         * manual/filesys.texi: Likewise.
83607         * manual/header.texi: Likewise.
83608         * manual/install.texi: Likewise.
83609         * manual/intro.texi: Likewise.
83610         * manual/io.texi: Likewise.
83611         * manual/job.texi: Likewise.
83612         * manual/lang.texi: Likewise.
83613         * manual/libc.texiinfo: Likewise.
83614         * manual/llio.texi: Likewise.
83615         * manual/locale.texi: Likewise.
83616         * manual/maint.texi: Likewise.
83617         * manual/math.texi: Likewise.
83618         * manual/memory.texi: Likewise.
83619         * manual/message.texi: Likewise.
83620         * manual/nss.texi: Likewise.
83621         * manual/pattern.texi: Likewise.
83622         * manual/process.texi: Likewise.
83623         * manual/resource.texi: Likewise.
83624         * manual/search.texi: Likewise.
83625         * manual/setjmp.texi: Likewise.
83626         * manual/signal.texi: Likewise.
83627         * manual/socket.texi: Likewise.
83628         * manual/startup.texi: Likewise.
83629         * manual/stdio.texi: Likewise.
83630         * manual/string.texi: Likewise.
83631         * manual/sysinfo.texi: Likewise.
83632         * manual/syslog.texi: Likewise.
83633         * manual/terminal.texi: Likewise.
83634         * manual/time.texi: Likewise.
83635         * manual/users.texi: Likewise.
83636         * INSTALL: Regenerated.
83637         * NOTES: Regenerated.
83638         * sysdeps/gnu/errlist.c: Regenerated.
83640 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
83642         * include/dirent.h: Include <dirstream.h> before
83643         <dirent/dirent.h>.
83645 2012-02-28  David S. Miller  <davem@davemloft.net>
83647         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
83648         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
83649         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
83650         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
83652 2012-02-27  David S. Miller  <davem@davemloft.net>
83654         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
83655         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
83656         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
83657         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
83659         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
83660         frame pointer instead of stack pointer relative arg slot.
83661         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
83662         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
83663         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
83665 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
83667         [BZ #3992]
83668         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
83670 2012-02-27  David S. Miller  <davem@davemloft.net>
83672         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
83673         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
83674         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
83675         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
83676         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
83677         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
83678         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
83679         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
83681 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
83683         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
83684         later.  Allow versions 5-9.
83685         * configure: Regenerated.
83686         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
83687         required minimum version and 4.6 as recommended version.  Do not
83688         mention bugs in GCC 2.7 and 2.8.
83689         * INSTALL: Regenerated.
83691 2012-02-27  David S. Miller  <davem@davemloft.net>
83693         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
83694         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
83695         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
83696         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
83697         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
83698         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
83699         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
83700         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
83702         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
83703         manipulate bits before adding and subtracting TWO112[sx].
83704         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
83706 2012-02-27  Roland McGrath  <roland@hack.frob.com>
83708         [BZ #13775]
83709         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
83710         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
83711         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
83712         being in POSIX, because they are in 1003.1-2008.
83714         * rt/tst-aio.c: Include <fcntl.h>.
83715         * rt/tst-aio7.c: Likewise.
83716         * rt/tst-aio64.c: Likewise.
83718         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
83720 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
83722         * manual/install.texi (--with-headers): Describe headers as
83723         interface headers, not private headers.
83724         (Specific advice for GNU/Linux systems): Describe use of headers
83725         from "make headers_install", not private headers from older
83726         kernels.
83727         * INSTALL: Regenerated.
83728         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
83729         Change to 2.6.19.
83730         * sysdeps/unix/sysv/linux/configure: Regenerated.
83732         * manual/llio.texi (fclean): Remove documentation.
83734         * manual/Makefile (libc-texi-generated): New variable.  Include
83735         version.texi.
83736         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
83737         $(libc-texi-generated), not duplicated list of files.
83738         (version.texi, stamp-version): New rules.
83739         (realclean): Remove $(libc-texi-generated), not individual files
83740         from that list.  Do not remove dir-add.texinfo.
83741         * manual/libc.texinfo: Comment out uses of edition numbers and
83742         references to printed manual.  Remove last-updated dates.
83743         (EDITION): Comment out.
83744         (ISBN): Likewise.
83745         (VERSION, UPDATED): Remove.
83746         (version.texi): Include.
83748 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
83750         * sysdeps/posix/spawni.c: Include <signal.h>.
83751         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
83752         * sysdeps/pthread/aio_fsync.c: Likewise.
83754 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
83756         * conform/Makefile (tests): Run only when not cross-compiling and
83757         when fast-check is not defined.
83759         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
83760         * conform/data/limits.h-data: Fixes for POSIX2008.
83761         * conform/run-conformtest.sh: Run all tests.
83762         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
83763         headers.
83764         * include/bits/dlfcn.h: Likewise.
83765         * include/langinfo.h: Likewise.
83766         * include/monetary.h: Likewise.
83767         * include/sys/poll.h: Likewise.
83769         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
83770         for __USE_GNU.
83771         * posix/spawn.h: Define __need_sigset_t.
83772         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
83773         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
83774         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
83775         to get sigevent_t only.
83776         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
83777         only for __USE_GNU.
83778         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
83779         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
83780         process_vm_writev only for __USE_GNU.
83781         * termios/termios.h: Declare tcgetsid also for POSIX2008.
83783         * conform/Makefile: For now ignore errors from run-conformtest.
83784         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
83785         POSIX to avoid namespace pollution.  Don't prepend headers.
83786         * conform/data/aio.h-data: Fixes for POSIX testing.
83787         * conform/data/fcntl.h-data: Likewise.
83788         * conform/data/glob.h-data: Likewise.
83789         * conform/data/grp.h-data: Likewise.
83790         * conform/data/pthread.h-data: Likewise.
83791         * conform/data/pwd.h-data: Likewise.
83792         * conform/data/signal.h-data: Likewise.
83793         * conform/data/spawn.h-data: Likewise.
83794         * conform/data/stdio.h-data: Likewise.
83795         * conform/data/stdlib.h-data: Likewise.
83796         * conform/data/stropts.h-data: Likewise.
83797         * conform/data/sys/mman.h-data: Likewise.
83798         * conform/data/sys/stat.h-data: Likewise.
83799         * conform/data/sys/types.h-data: Likewise.
83800         * conform/data/sys/wait.h-data: Likewise.
83801         * conform/data/time.h-data: Likewise.
83802         * conform/data/unistd.h-data: Likewise.
83803         * conform/data/utime.h-data: Likewise.
83805         * io/sys/stat.h: fchmod was always in POSIX.
83806         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
83807         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
83808         * rt/aio.h: Define __need_timespec before including <time.h>.
83809         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
83810         struct.  Add forward declaration of pthread_attr_t and use it in
83811         sigevent.
83812         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
83813         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
83814         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
83815         always remove CLK_TCK definition.
83817 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
83819         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
83821 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
83823         * conform/run-conformtest.sh: New file.
83824         * conform/Makefile: Run run-conformtest for tests.
83825         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
83826         support.
83828         * conform/data/uchar.h-data: New file.
83829         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
83830         * conform/data/arpa/inet.h-data: Likewise.
83831         * conform/data/assert.h-data: Likewise.
83832         * conform/data/complex.h-data: Likewise.
83833         * conform/data/cpio.h-data: Likewise.
83834         * conform/data/ctype.h-data: Likewise.
83835         * conform/data/dirent.h-data: Likewise.
83836         * conform/data/dlfcn.h-data: Likewise.
83837         * conform/data/errno.h-data: Likewise.
83838         * conform/data/fcntl.h-data: Likewise.
83839         * conform/data/float.h-data: Likewise.
83840         * conform/data/fmtmsg.h-data: Likewise.
83841         * conform/data/fnmatch.h-data: Likewise.
83842         * conform/data/ftw.h-data: Likewise.
83843         * conform/data/glob.h-data: Likewise.
83844         * conform/data/grp.h-data: Likewise.
83845         * conform/data/iconv.h-data: Likewise.
83846         * conform/data/inttypes.h-data: Likewise.
83847         * conform/data/langinfo.h-data: Likewise.
83848         * conform/data/libgen.h-data: Likewise.
83849         * conform/data/limits.h-data: Likewise.
83850         * conform/data/locale.h-data: Likewise.
83851         * conform/data/math.h-data: Likewise.
83852         * conform/data/monetary.h-data: Likewise.
83853         * conform/data/mqueue.h-data: Likewise.
83854         * conform/data/ndbm.h-data: Likewise.
83855         * conform/data/net/if.h-data: Likewise.
83856         * conform/data/netdb.h-data: Likewise.
83857         * conform/data/netinet/in.h-data: Likewise.
83858         * conform/data/nl_types.h-data: Likewise.
83859         * conform/data/poll.h-data: Likewise.
83860         * conform/data/pthread.h-data: Likewise.
83861         * conform/data/pwd.h-data: Likewise.
83862         * conform/data/regex.h-data: Likewise.
83863         * conform/data/sched.h-data: Likewise.
83864         * conform/data/search.h-data: Likewise.
83865         * conform/data/semaphore.h-data: Likewise.
83866         * conform/data/setjmp.h-data: Likewise.
83867         * conform/data/signal.h-data: Likewise.
83868         * conform/data/spawn.h-data: Likewise.
83869         * conform/data/stdarg.h-data: Likewise.
83870         * conform/data/stdio.h-data: Likewise.
83871         * conform/data/stdlib.h-data: Likewise.
83872         * conform/data/string.h-data: Likewise.
83873         * conform/data/strings.h-data: Likewise.
83874         * conform/data/stropts.h-data: Likewise.
83875         * conform/data/sys/ipc.h-data: Likewise.
83876         * conform/data/sys/mman.h-data: Likewise.
83877         * conform/data/sys/msg.h-data: Likewise.
83878         * conform/data/sys/resource.h-data: Likewise.
83879         * conform/data/sys/select.h-data: Likewise.
83880         * conform/data/sys/sem.h-data: Likewise.
83881         * conform/data/sys/shm.h-data: Likewise.
83882         * conform/data/sys/socket.h-data: Likewise.
83883         * conform/data/sys/stat.h-data: Likewise.
83884         * conform/data/sys/statvfs.h-data: Likewise.
83885         * conform/data/sys/time.h-data: Likewise.
83886         * conform/data/sys/timeb.h-data: Likewise.
83887         * conform/data/sys/times.h-data: Likewise.
83888         * conform/data/sys/types.h-data: Likewise.
83889         * conform/data/sys/uio.h-data: Likewise.
83890         * conform/data/sys/un.h-data: Likewise.
83891         * conform/data/sys/utsname.h-data: Likewise.
83892         * conform/data/sys/wait.h-data: Likewise.
83893         * conform/data/syslog.h-data: Likewise.
83894         * conform/data/tar.h-data: Likewise.
83895         * conform/data/termios.h-data: Likewise.
83896         * conform/data/utime.h-data: Likewise.
83897         * conform/data/utmpx.h-data: Likewise.
83898         * conform/data/varargs.h-data: Likewise.
83899         * conform/data/wchar.h-data: Likewise.
83900         * conform/data/wctype.h-data: Likewise.
83901         * conform/data/wordexp.h-data: Likewise.
83903         * include/stropts.h: New file.
83904         * include/uchar.h: New file.
83905         * include/aio.h: Changes to allow conformtest.pl to use the headers.
83906         * include/assert.h: Likewise.
83907         * include/ctype.h: Likewise.
83908         * include/dirent.h: Likewise.
83909         * include/dlfcn.h: Likewise.
83910         * include/fcntl.h: Likewise.
83911         * include/fnmatch.h: Likewise.
83912         * include/glob.h: Likewise.
83913         * include/grp.h: Likewise.
83914         * include/libio.h: Likewise.
83915         * include/locale.h: Likewise.
83916         * include/math.h: Likewise.
83917         * include/net/if.h: Likewise.
83918         * include/netdb.h: Likewise.
83919         * include/netinet/in.h: Likewise.
83920         * include/pthread.h: Likewise.
83921         * include/pwd.h: Likewise.
83922         * include/regex.h: Likewise.
83923         * include/sched.h: Likewise.
83924         * include/search.h: Likewise.
83925         * include/setjmp.h: Likewise.
83926         * include/signal.h: Likewise.
83927         * include/stdio.h: Likewise.
83928         * include/stdlib.h: Likewise.
83929         * include/string.h: Likewise.
83930         * include/sys/cdefs.h: Likewise.
83931         * include/sys/mman.h: Likewise.
83932         * include/sys/msg.h: Likewise.
83933         * include/sys/resource.h: Likewise.
83934         * include/sys/select.h: Likewise.
83935         * include/sys/socket.h: Likewise.
83936         * include/sys/stat.h: Likewise.
83937         * include/sys/statvfs.h: Likewise.
83938         * include/sys/time.h: Likewise.
83939         * include/sys/times.h: Likewise.
83940         * include/sys/uio.h: Likewise.
83941         * include/sys/utsname.h: Likewise.
83942         * include/sys/wait.h: Likewise.
83943         * include/termios.h: Likewise.
83944         * include/time.h: Likewise.
83945         * include/ulimit.h: Likewise.
83946         * include/unistd.h: Likewise.
83947         * include/utime.h: Likewise.
83948         * include/wchar.h: Likewise.
83949         * include/wctype.h: Likewise.
83950         * include/wordexp.h: Likewise.
83952         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
83954         * time/time.h: TIME_UTC must be a macro.
83955         Make timespec_get available for ISO C11 only as well.
83957 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
83959         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
83960         Reported by Peng Haitao <penght@cn.fujitsu.com>.
83962 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
83964         * configure.in: Use -o not -a in test for unsupported multi-arch.
83966 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
83968         * manual/texinfo.tex: Update to version 2012-01-19.16.
83970 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
83972         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
83974 2012-02-24  Roland McGrath  <roland@hack.frob.com>
83976         [BZ #13738]
83977         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
83978         * manual/fdl-1.3.texi: New file.
83979         * manual/fdl-1.1.texi: File removed.
83981         [BZ #13738]
83982         * manual/libc.texinfo (FDL_VERSION): New @set.
83983         Use it for mention of FDL in cover text.
83984         (Documentation License): Use it in @include file name.
83986 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
83987             Roland McGrath  <roland@hack.frob.com>
83989         [BZ #5461]
83990         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
83991         (not LONG_LONG_MAX and LONG_LONG_MIN.
83992         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
83993         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
83994         name.
83995         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
83997 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
83999         [BZ #2547]
84000         [BZ #11365]
84001         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
84002         manipulate bits before adding and subtracting TWO23[sx].
84003         * math/libm-test.inc (nearbyint_test): Add more tests.
84005 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
84007         [BZ #2548]
84008         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
84009         bits before adding and subtracting TWO23[sx].
84010         * math/libm-test.inc (rint_test): Add more tests.
84011         (rint_test_tonearest): Likewise.
84012         (rint_test_towardzero): Likewise.
84013         (rint_test_downward): Likewise.
84014         (rint_test_upward: Likewise.
84016 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
84018         [BZ #10110]
84019         * include/stdc-predef.h: New file.  Extracted from features.h.
84020         * include/features.h: Include stdc-predef.h.
84021         * Makefile (headers): Add stdc-predef.h.
84022         * CONFORMANCE (Compiler limitations): Update.
84024 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
84026         * manual/libc.texinfo (VERSION, UPDATED): Revert.
84028 2012-02-21  David S. Miller  <davem@davemloft.net>
84030         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
84031         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
84033 2012-02-20  David S. Miller  <davem@davemloft.net>
84035         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
84036         using a normal save/restore sequence, rather than allocating a
84037         dummy stack frame just to store a frame pointer and restore.
84038         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
84040 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
84042         * manual/install.texi: Fix stray word in line-wrapped comment.
84044 2012-02-20  David S. Miller  <davem@davemloft.net>
84046         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
84047         both binutils and gcc support GOTDATA.
84049         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
84050         "rd %pc" in the PIC register setup sequences.
84052         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
84053         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
84054         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
84055         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
84056         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
84057         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
84058         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
84059         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
84060         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
84061         (SYSCALL_ERROR_HANDLER): Likewise.
84062         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
84063         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
84064         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
84065         (SYSCALL_ERROR_HANDLER): Likewise.
84067         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
84068         (HAVE_GCC_GOTDATA): New.
84069         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
84070         relocation support in both binutils and gcc.
84071         * sysdeps/sparc/elf/configure: Regenerate.
84073         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
84074         * sysdeps/sparc/sparc32/elf/configure: Delete.
84075         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
84076         * sysdeps/sparc/sparc64/elf/configure: Delete.
84077         * sysdeps/sparc/elf/configure.in: New file.
84078         * sysdeps/sparc/elf/configure: Generate.
84080         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
84081         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
84082         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
84083         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
84084         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
84086 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
84088         * manual/install.texi: Do not mention specific glibc version
84089         numbers.
84090         * manual/libc.texinfo (VERSION, UPDATED): Update.
84091         (@copying): Use @copyright{} and range of years.
84093 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
84095         [BZ #13695]
84096         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
84097         [crti.S not in sysdirs] (generated): Do not append.
84098         [crti.S not in sysdirs] (omit-deps): Likewise.
84099         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
84100         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
84101         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
84102         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
84103         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
84104         Likewise.
84105         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
84106         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
84107         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
84108         * csu/defs.awk: Remove file.
84109         * sysdeps/generic/initfini.c: Likewise.
84110         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
84111         variable.
84112         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
84113         Likewise.
84115 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
84117         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
84118         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
84119         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
84120         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
84121         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
84122         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
84123         <bits/epoll.h>.
84124         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
84125         (__EPOLL_PACKED): Define to empty if not defined by
84126         <bits/epoll.h>.
84127         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
84128         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84129         bits/epoll.h.
84131 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
84133         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
84134         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
84135         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
84136         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
84137         <bits/timerfd.h>.
84138         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
84139         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84140         bits/timerfd.h.
84142 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
84144         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
84145         in C locale.
84146         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
84147         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
84148         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
84149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84151 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
84153         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84154         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
84156 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
84158         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
84159         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
84160         defined.
84161         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
84162         Likewise.
84163         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
84164         entry for 2.16.
84166 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
84168         * math/w_acos.c: Use non-signaling floating-point comparisons.
84169         * math/w_acosf.c: Likewise.
84170         * math/w_acosh.c: Likewise.
84171         * math/w_acoshf.c: Likewise.
84172         * math/w_acoshl.c: Likewise.
84173         * math/w_acosl.c: Likewise.
84174         * math/w_asin.c: Likewise.
84175         * math/w_asinf.c: Likewise.
84176         * math/w_asinl.c: Likewise.
84177         * math/w_atanh.c: Likewise.
84178         * math/w_atanhf.c: Likewise.
84179         * math/w_atanhl.c: Likewise.
84180         * math/w_exp2.c: Likewise.
84181         * math/w_exp2f.c: Likewise.
84182         * math/w_exp2l.c: Likewise.
84183         * math/w_j0.c: Likewise.
84184         * math/w_j0f.c: Likewise.
84185         * math/w_j0l.c: Likewise.
84186         * math/w_j1.c: Likewise.
84187         * math/w_j1f.c: Likewise.
84188         * math/w_j1l.c: Likewise.
84189         * math/w_jn.c: Likewise.
84190         * math/w_jnf.c: Likewise.
84191         * math/w_log.c: Likewise.
84192         * math/w_log10.c: Likewise.
84193         * math/w_log10f.c: Likewise.
84194         * math/w_log10l.c: Likewise.
84195         * math/w_log2.c: Likewise.
84196         * math/w_log2f.c: Likewise.
84197         * math/w_log2l.c: Likewise.
84198         * math/w_logf.c: Likewise.
84199         * math/w_logl.c: Likewise.
84200         * math/w_sqrt.c: Likewise.
84201         * math/w_sqrtf.c: Likewise.
84202         * math/w_sqrtl.c: Likewise.
84203         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
84204         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
84205         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
84206         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
84207         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
84209 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
84211         [BZ #9739]
84212         * manual/string.texi (strnlen): Use correct parameter name in
84213         equivalent expression.
84215 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
84217         [BZ #11174]
84218         * manual/users.texi (seteuid): Consistently use neweuid for
84219         argument name.
84221 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
84223         [BZ #13704]
84224         * manual/nss.texi (Services in the NSS configuration): Correct
84225         list of services in example configuration file.
84227 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
84229         [BZ #11322]
84230         * manual/arith.texi: Remove statements about negative zero
84231         behaving identically to zero.
84233 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
84235         [BZ #5993]
84236         * manual/install.texi: Do not document upgrading from libc5.
84238 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
84240         [BZ #4596]
84241         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
84243 2012-02-18  David S. Miller  <davem@davemloft.net>
84245         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
84246         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
84247         %o7 across the call.
84248         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
84249         instead.
84250         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
84251         SETUP_PIC_REG_LEAF.
84252         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84253         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
84254         * sysdeps/sparc/crtn.S: Likewise.
84256 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
84258         * aout/Makefile: Remove.
84260 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
84262         [BZ #13058]
84263         * manual/examples/argp-ex1.c (main): Format definition in GNU
84264         style.
84265         * manual/examples/argp-ex2.c (main): Likewise.
84266         * manual/examples/argp-ex3.c (main): Likewise.
84267         * manual/examples/argp-ex4.c (main): Likewise.
84268         * manual/examples/longopt.c (main): Use new-style prototype
84269         definition.
84270         * manual/examples/strncat.c (main): Specify return type and use
84271         (void) for arguments.
84272         * manual/examples/subopt.c (main): Use char **argv argument.
84274 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
84276         [BZ #5077]
84277         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
84278         rounding modes.
84280 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
84282         [BZ #6907]
84283         * manual/string.texi (strchr): Change when strchrnul is
84284         recommended.
84286 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
84288         [BZ #174]
84289         * manual/locale.texi (setlocale): Document LOCPATH.
84291 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
84293         [BZ #10210]
84294         * manual/process.texi (execle): Move @dots{} before last argument.
84296 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
84298         [BZ #12047]
84299         * manual/charset.texi (Generic Charset Conversion): Fix typo
84300         (LC_TYPE -> LC_CTYPE).
84302 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
84304         [BZ #5805]
84305         * manual/arith.texi (scalbn): Use @var{} on parameter names.
84306         (scalbnf): Likewise.
84307         (scalbnl): Likewise.
84308         (scalbln): Likewise.
84309         (scalblnf): Likewise.
84310         (scalblnl): Likewise.
84311         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
84312         (vwarnx): Likewise.
84313         (verr): Likewise.
84314         (verrx): Likewise.
84315         * manual/filesys.texi (telldir): Use braces around return type.
84316         * manual/llio.texi (mmap): Add space after comma.
84317         (mmap64): Likewise.
84318         * manual/math.texi (jn): Use @var{} on parameter names.
84319         (jnf): Likewise.
84320         (jnl): Likewise.
84321         (yn): Likewise.
84322         (ynf): Likewise.
84323         (ynl): Likewise.
84324         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
84325         line.
84326         * manual/resource.texi (ulimit): Use @dots{} instead of literal
84327         "...".
84328         (sched_get_priority_min): Remove semicolon on @deftypefun line.
84329         (sched_get_priority_max): Likewise.
84330         * manual/signal.texi (sigvec): Add space after comma.
84331         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
84332         names.
84333         (if_indextoname): Likewise.
84334         (if_freenameindex): Likewise.
84335         (sendto): Use ',' instead of '.' in prototype.
84336         * manual/startup.texi (syscall): Use @dots{} instead of literal
84337         "...".
84338         * manual/stdio.texi (__fpending): Separate initial words of
84339         paragraph from @deftypefun line.
84340         * manual/syslog.texi (syslog): Use @dots{} instead of literal
84341         "...".
84342         (vsyslog): Use @var{} on parameter names.
84343         * manual/terminal.texi (stty): Use @var{} on parameter names.
84344         * manual/users.texi (getutmp): Use @var{} on parameter names.
84345         (getutmpx): Likewise.
84347 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
84349         [BZ #6884]
84350         * manual/stdio.texi (fopen): Fix typos in description of
84351         ",ccs=STRING".
84353 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
84355         [BZ #4026]
84356         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
84357         get clock_id definition.
84359 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
84361         [BZ #4822]
84362         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
84363         (madvise): Cast every argument to void on its own.
84365 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
84367         [BZ #9902]
84368         * manual/startup.texi (Exit Status): Fix typo.
84370 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
84372         [BZ #10140]
84373         * manual/examples/argp-ex1.c: Include <stdlib.h>.
84374         * manual/examples/argp-ex2.c: Likewise.
84375         * manual/examples/argp-ex3.c: Likewise.
84377 2012-02-16  Richard Henderson  <rth@redhat.com>
84379         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
84380         * sysdeps/s390/s390-32/initfini.c: Remove.
84381         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
84382         * sysdeps/s390/s390-64/initfini.c: Remove.
84384 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
84386         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
84387         compiler output for sysdeps/generic/initfini.c.
84388         * sysdeps/sh/elf/initfini.c: Remove file.
84390 2012-02-16  David S. Miller  <davem@davemloft.net>
84392         [BZ #11494]
84393         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
84395         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
84396         * sysdeps/sparc/crti.S: New file.
84397         * sysdeps/sparc/crtn.S: New file.
84398         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
84399         * sysdeps/sparc/sparc64/Makefile: Likewise.
84401 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
84403         [BZ #3335]
84404         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
84406 2012-02-15  Roland McGrath  <roland@hack.frob.com>
84408         [BZ #4822]
84409         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
84411         * mach/devstream.c (cookie_io_functions_t): Macro removed.
84412         (write, read, close): Likewise.
84413         Patch by Aurelien Jarno <aurelien@aurel32.net>.
84415 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
84417         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
84418         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
84419         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
84420         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
84421         <bits/signalfd.h>.
84422         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
84423         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84424         bits/signalfd.h.
84426 2012-02-14  Marek Polacek  <polacek@redhat.com>
84428         * sysdeps/x86_64/crti.S: New file.
84429         * sysdeps/x86_64/crtn.S: New file.
84430         * sysdeps/x86_64/elf/initfini.c: Remove file.
84432 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
84434         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
84435         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
84436         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
84437         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
84438         <bits/inotify.h>.
84439         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
84440         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84441         bits/inotify.h.
84443 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
84445         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
84446         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
84447         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
84448         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
84449         <bits/eventfd.h>.
84450         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
84451         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84452         bits/eventfd.h.
84454 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
84456         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
84457         __feraiseexcept instead of feraiseexcept.
84459         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
84460         nanosleep invocations.
84461         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
84462         strings, and add error checking for a nanosleep invocations.
84464 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
84466         Replace FSF snail mail address with URLs, as per GNU coding standards.
84467         Most of the snail mail addresses were wrong anyway, and omitting
84468         them makes the source code easier to maintain.  Almost all of the
84469         changes are to license notices and to locale LC_IDENTIFICATION
84470         addresses, except for this one:
84471         * manual/libc.texinfo: In "Published by", give the FSF's URL,
84472         not its snail mail address.
84474 2012-02-09  Richard Henderson  <rth@twiddle.net>
84476         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
84477         of kernel-features.h.
84479         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
84481 2012-02-08  Marek Polacek  <polacek@redhat.com>
84483         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
84484         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
84485         * sysdeps/gnu/_G_config.h: Likewise.
84486         * sysdeps/generic/_G_config.h: Likewise.
84488 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
84490         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
84491         tests.
84492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84494         * sysdeps/powerpc/powerpc32/crti.S: New file.
84495         * sysdeps/powerpc/powerpc32/crtn.S: New file.
84496         * sysdeps/powerpc/powerpc64/crti.S: New file.
84497         * sysdeps/powerpc/powerpc64/crtn.S: New file.
84499         * Makeconfig (have-initfini): Don't set.
84500         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
84501         * configure.in (nopic_initfini): Don't substitute.
84502         * config.h.in (HAVE_INITFINI): Don't #undef.
84503         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
84504         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
84506 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
84508         Support crti.S and crtn.S provided directly by architectures.
84509         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
84510         [crti.S in sysdirs] (omit-deps): Likewise.
84511         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
84512         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
84513         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
84514         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
84515         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
84516         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
84517         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
84518         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
84519         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
84520         compiler output for sysdeps/generic/initfini.c.
84521         * sysdeps/i386/elf/Makefile: Remove file.
84522         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
84524 2012-02-07  Marek Polacek  <polacek@redhat.com>
84526         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
84527         * sysdeps/gnu/_G_config.h: Likewise.
84528         * sysdeps/mach/hurd/_G_config.h: Likewise.
84530 2012-02-07  Marek Polacek  <polacek@redhat.com>
84532         * math/Makefile (tests): Add tst-CMPLX2.
84533         * math/tst-CMPLX2.c: New file.
84535 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
84537         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84539         * math/libm-test.inc (jn_test): Add missing L suffix.
84541 2012-02-06  Marek Polacek  <polacek@redhat.com>
84543         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
84544         * sysdeps/i386/fpu/e_powf.S: Likewise.
84545         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
84546         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
84547         * sysdeps/i386/fpu/e_acosh.S: Likewise.
84548         * sysdeps/i386/fpu/e_pow.S: Likewise.
84549         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
84550         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
84551         * sysdeps/i386/fpu/s_expm1.S: Likewise.
84552         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
84553         * sysdeps/i386/fpu/e_log2.S: Likewise.
84554         * sysdeps/i386/fpu/e_log2l.S: Likewise.
84555         * sysdeps/i386/fpu/e_scalb.S: Likewise.
84556         * sysdeps/i386/fpu/e_powl.S: Likewise.
84557         * sysdeps/i386/fpu/s_log1p.S: Likewise.
84558         * sysdeps/i386/fpu/e_log10f.S: Likewise.
84559         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
84560         * sysdeps/i386/fpu/e_logl.S: Likewise.
84561         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
84562         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
84563         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
84564         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
84565         * sysdeps/i386/fpu/e_log2f.S: Likewise.
84566         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
84567         * sysdeps/i386/fpu/e_log.S: Likewise.
84568         * sysdeps/i386/fpu/s_cexp.S: Likewise.
84569         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
84570         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
84571         * sysdeps/i386/fpu/e_logf.S: Likewise.
84572         * sysdeps/i386/fpu/e_log10l.S: Likewise.
84573         * sysdeps/i386/fpu/e_atanh.S: Likewise.
84574         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
84575         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
84576         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
84577         * sysdeps/i386/fpu/e_log10.S: Likewise.
84578         * sysdeps/i386/fpu/s_frexp.S: Likewise.
84579         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
84580         * sysdeps/i386/fpu/s_asinh.S: Likewise.
84581         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
84582         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
84583         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
84584         * sysdeps/i386/asm-syntax.h: Likewise.
84585         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
84586         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
84587         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
84588         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
84589         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
84590         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
84591         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
84592         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
84593         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
84594         * sysdeps/powerpc/sysdep.h: Likewise.
84595         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
84596         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
84598 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
84600         [BZ #411]
84601         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
84603 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
84605         * sysdeps/i386/sysdep.h: Include <features.h>.
84606         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
84607         version.
84609 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
84611         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
84612         Define.
84613         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
84614         LOAD_PIC_REG_STR.
84616 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
84618         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
84619         (SETUP_PIC_REG): Use GET_PC_THUNK.
84620         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
84621         macro.
84623 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
84625         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
84626         for non-PIC compilation.
84627         (SETUP_PIC_REG): Add .p2align directive.
84628         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
84629         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
84630         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
84631         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
84632         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
84633         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
84634         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
84635         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
84636         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
84637         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
84638         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
84639         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
84640         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
84641         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
84642         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
84643         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
84644         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
84645         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
84646         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
84647         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
84648         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
84649         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
84650         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
84651         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
84652         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
84653         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
84654         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
84655         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
84656         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
84657         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
84658         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
84659         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
84660         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
84661         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
84662         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
84663         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
84664         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
84665         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
84666         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
84667         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
84668         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
84670 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
84672         * math/tst-CMPLX.c: Include <stdio.h>.
84674 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
84676         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
84677         float.
84678         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
84679         * sysdeps/sparc/bits/mathdef.h: Likewise.
84681 2012-01-31  Marek Polacek  <polacek@redhat.com>
84683         * libio/libio.h: Don't define _PARAMS.
84684         * locale/programs/config.h: Don't define PARAMS.
84685         * stdlib/strtol_l.c: Likewise.
84686         (__strtol_l): Remove PARAMS from the prototype.
84688 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
84690         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
84691         names.  Just use the correct names.  Remove unnecessary wrapper
84692         functions.
84693         * malloc/arena.c: Likewise.
84694         * malloc/hooks.c: Likewise.
84696         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
84697         ARENA_TEST says not to.  Simplify test for creation of a new arena.
84698         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
84700 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
84702         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
84703         into tail calls.
84704         (update_get_addr): New function.
84705         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
84706         GET_ADDR_MODULE parameter.
84708 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
84710         * crypt/cert.c: Remove __STDC__ conditionals.
84711         * crypt/crypt-entry.c: Likewise.
84712         * crypt/crypt_util.c: Likewise.
84713         * libio/filedoalloc.c: Likewise.
84714         * libio/fileops.c: Likewise.
84715         * libio/genops.c: Likewise.
84716         * libio/iofclose.c: Likewise.
84717         * libio/iofdopen.c: Likewise.
84718         * libio/iofopen.c: Likewise.
84719         * libio/iofopen64.c: Likewise.
84720         * libio/iogetdelim.c: Likewise.
84721         * libio/iopopen.c: Likewise.
84722         * libio/obprintf.c: Likewise.
84723         * libio/oldfileops.c: Likewise.
84724         * libio/oldiofclose.c: Likewise.
84725         * libio/oldiofdopen.c: Likewise.
84726         * libio/oldiofopen.c: Likewise.
84727         * libio/oldiopopen.c: Likewise.
84728         * libio/wfiledoalloc.c: Likewise.
84729         * libio/wgenops.c: Likewise.
84730         * locale/programs/xmalloc.c: Likewise.
84731         * misc/syslog.c: Likewise.
84732         * stdio-common/xbug.c: Likewise.
84733         * string/memchr.c: Likewise.
84734         * string/memcmp.c: Likewise.
84735         * string/memrchr.c: Likewise.
84736         * string/rawmemchr.c: Likewise.
84737         * sysdeps/posix/getcwd.c: Likewise.
84738         * time/strftime_l.c: Likewise.
84740 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
84742         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
84743         * config.make.in (config-cflags-sse2avx): Define.
84744         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
84745         Fix typo.
84747 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
84749         * scripts/config.guess: Update from upstream config git repository.
84750         * scripts/config.sub: Likewise.
84752 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
84754         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
84755         (EM_NUM): Update.
84756         (R_TILEPRO_*, R_TILEGX_*): New macros.
84758         * scripts/firstversions.awk: Fix bug in version range handling.
84760         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
84762         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
84764         * include/sys/epoll.h: New file.
84765         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
84766         libc_hidden_def.
84768 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
84770         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
84771         Avoid unnecessary __WORDSIZE == 64 test.
84772         (fmaxf): Use VEX format if possible.
84773         (fmax): Likewise.
84774         (fminf): Likewise.
84775         (fmin): Likewise.
84777         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
84778         * math/math_private.h: Remove libc_fegetround* and
84779         libc_fesetround*.
84780         * sysdeps/i386/configure.in: Check for -msse2avx.
84781         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
84782         also if SSE2AVX is defined.
84783         Remove libc_fegetround* and libc_fesetround*.
84784         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
84785         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
84786         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
84787         of HAS_YMM_USABLE.
84788         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
84789         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
84790         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
84791         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
84792         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
84794         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
84796 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84798         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
84799         size is not set.
84800         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
84802 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
84804         [BZ #13618]
84805         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
84806         relocation.
84807         * Makeconfig (libm): Define.
84808         * elf/Makefile: Add rules to build and run tst-relsort1.
84809         * elf/tst-relsort1.c: New file.
84810         * elf/tst-relsort1mod1.c: New file.
84811         * elf/tst-relsort1mod2.c: New file.
84813 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
84815         * math/s_ldexp.c: Remove __STDC__ conditionals.
84816         * math/s_ldexpf.c: Likewise.
84817         * math/s_ldexpl.c: Likewise.
84818         * math/s_nextafter.c: Likewise.
84819         * math/s_nexttowardf.c: Likewise.
84820         * math/s_significand.c: Likewise.
84821         * math/s_significandf.c: Likewise.
84822         * math/s_significandl.c: Likewise.
84823         * math/w_jnl.c: Likewise.
84824         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
84825         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
84826         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
84827         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
84828         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
84829         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
84830         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
84831         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
84832         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
84833         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
84834         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
84835         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
84836         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
84837         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
84838         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
84839         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
84840         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
84841         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
84842         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
84843         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
84844         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
84845         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
84846         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
84847         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
84848         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
84849         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
84850         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
84851         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
84852         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
84853         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
84854         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
84855         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
84856         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
84857         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
84858         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
84859         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
84860         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
84861         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
84862         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
84863         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
84864         * sysdeps/ieee754/k_standard.c: Likewise.
84865         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
84866         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
84867         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
84868         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
84869         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
84870         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
84871         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
84872         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
84873         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
84874         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
84875         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
84876         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
84877         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
84878         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
84879         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
84880         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
84881         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
84882         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
84883         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
84884         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
84885         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
84886         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
84887         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
84888         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
84889         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
84890         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
84891         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
84892         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
84893         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
84894         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
84895         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
84896         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
84897         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
84898         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
84899         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
84900         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
84901         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
84902         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
84903         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
84904         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
84905         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
84906         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
84907         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
84908         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
84909         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
84910         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
84911         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
84912         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
84913         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
84914         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
84915         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
84916         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
84917         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
84918         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
84919         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
84920         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
84921         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
84922         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
84923         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
84924         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
84925         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
84926         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
84927         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
84928         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
84929         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
84930         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
84931         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
84932         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
84933         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
84934         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
84935         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
84936         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
84937         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
84938         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
84939         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
84940         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
84941         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
84942         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
84943         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
84944         * sysdeps/ieee754/s_matherr.c: Likewise.
84945         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
84946         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
84947         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
84948         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
84950 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
84952         * crypt/md5.h: Remove __STDC__ conditionals.
84953         * libio/libioP.h: Likewise.
84954         * locale/programs/config.h: Likewise.
84955         * sysdeps/generic/sysdep.h: Likewise.
84956         * sysdeps/i386/asm-syntax.h: Likewise.
84957         * sysdeps/s390/asm-syntax.h: Likewise.
84958         * sysdeps/unix/sysdep.h: Likewise.
84959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
84960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
84962 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
84964         * libio/libio.h: Remove __STDC__ conditionals.
84965         * malloc/obstack.h: Likewise.
84966         * math/complex.h: Likewise.
84967         * math/math.h: Likewise.
84968         * sysdeps/generic/_G_config.h: Likewise.
84969         * sysdeps/gnu/_G_config.h: Likewise.
84970         * sysdeps/mach/hurd/_G_config.h: Likewise.
84971         * sysdeps/powerpc/bits/mathdef.h: Likewise.
84972         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
84973         * sysdeps/sparc/bits/mathdef.h: Likewise.
84975 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
84977         [BZ #13583]
84978         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
84979         Clean up HAS_* macros.
84980         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
84981         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
84982         possible.
84983         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
84984         HAS_AVX.
84985         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
84986         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
84987         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
84988         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
84989         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
84991 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
84993         * elf/tst-unique3.cc (gets): Remove declaration.
84994         * elf/tst-unique3lib.cc (gets): Likewise.
84995         * elf/tst-unique3lib2.cc (gets): Likewise.
84996         * elf/tst-unique4.cc (gets): Likewise.
84998 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
85000         * include/stdio.h: Add C++ protection.  Add gets declarations and
85001         definitions.
85002         * debug/tst-chk1.c: Don't declare gets here.
85003         * stdio-common/tst-gets.c: Likewise.
85005 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
85007         * posix/glob: Remove directory.
85009 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
85011         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
85013 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
85015         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
85016         of the non-standard EPFNOSUPPORT.
85018 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85020         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
85021         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
85022         ANYWHERE set to 1 only on KERN_NO_SPACE error.
85024 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
85026         * wcsmbs/uchar.h: Test __STDC_VERSION__.
85028 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
85030         * nscd/aicache.c (addhstaiX): Do not cache negative results of
85031         transient errors.
85032         * nscd/grpcache.c (cache_addgr): Likewise.
85033         * nscd/hstcache.c (cache_addhst): Likewise.
85034         * nscd/initgrcache.c (addinitgroupsX): Likewise.
85035         * nscd/pwdcache.c (cache_addpw): Likewise.
85036         * nscd/servicescache.c (cache_addserv): Likewise.
85038 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
85040         * malloc/malloc.c: Various cleanups.
85041         * malloc/hooks.c: Likewise.
85043         * stdlib/Makefile (tests): Add bug-fmtmsg1.
85044         * stdlib/bug-fmtmsg1.c: New file.
85046         * stdlib/fmtmsg.c (init): Add missing unlock.
85047         Patch by Peng Haitao <penght@cn.fujitsu.com>.
85049 2012-01-12  Marek Polacek  <polacek@redhat.com>
85051         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
85052         and _GNU_SOURCE.
85054 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
85056         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
85057         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
85058         macro to ensure uniqueness of label name.
85059         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
85060         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
85062 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
85064         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
85066         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
85067         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
85068         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
85069         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
85071 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
85073         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
85075         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
85076         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
85077         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
85079         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
85081         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
85082         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
85083         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
85084         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
85086         * math/bits/math-finite.h: Add ldexp support.
85088 2012-01-10  Marek Polacek  <polacek@redhat.com>
85090         * locale/programs/localedef.h (show_archive_content): Add noreturn
85091         attribute.
85093 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
85095         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
85097 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
85099         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
85101         * io/Makefile (headers): Add bits/poll2.h.
85103 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
85105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
85106         typo #include statement.
85108 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
85110         * include/sys/cdefs.h: Define __attribute_alloc_size.
85111         * catgets/gencat.c: Add alloc_size attribute and apply consistently
85112         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
85113         * elf/pldd.c: Likewise.
85114         * iconv/iconv_charmap.c: Likewise.
85115         * iconv/iconvconfig.c: Likewise.
85116         * iconv/strtab.c: Likewise.
85117         * locale/programs/locale.c: Likewise.
85118         * locale/programs/localedef.h: Likewise.
85119         * locale/programs/simple-hash.c: Likewise.
85120         * nscd/nscd.h: Likewise.
85121         * nss/makedb.c: Likewise.
85122         * sysdeps/generic/ldconfig.h: Likewise.
85123         * locale/programs/localedef.c: Remove xmalloc prototype.
85124         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
85126 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
85128         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
85129         appropriate.
85131 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
85133         * math/Makefile (tests): Add tst-CMPLX.
85134         * math/tst-CMPLX.c: New file.
85136         * math/complex.h (CMPLXL): Fix typo.
85138         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
85139         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
85140         GLIBC_2.16.
85141         * debug/tst-chk1.c: Add poll and ppoll tests.
85142         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
85143         * include/sys/poll.h: Add hidden proto for ppoll.
85144         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
85145         * sysdeps/mach/hurd/ppoll.c: Likewise.
85146         * io/ppoll.c: Likewise.
85147         * debug/poll_chk.c: New file.
85148         * debug/ppoll_chk.c: New file.
85149         * include/bits/poll2.h: New file.
85150         * io/bits/poll2.h: New file.
85152         [BZ #1350]
85153         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
85155         * configure.in: static is always set to yes.  Remove.
85156         * config.make.in: Don't set build-static.
85157         * Makeconfig: Remove use of build-static.
85158         * dlfcn/Makefile: Likewise.
85159         * elf/Makefile: Likewise.
85160         * math/Makefile: Likewise.
85161         * misc/Makefile: Likewise.
85162         * nptl/Makefile: Likewise.
85163         * sysdeps/mach/hurd/Makefile: Likewise.
85165         * configure.in: PWD_P is not used anymore.
85166         * config.make.in: Remove PWD_P entry.
85168         * configure.in: Remove last remnants of RANLIB.
85169         No need to check for signed size_t anymore.
85170         Don't set libc_commonpagesize and libc_relro_required here for Alpha
85171         and IA-64.
85172         Remove __builtin_expect test because we require at least gcc 3.4.
85173         * aclocal.m4: Likewise.
85175         * wcsmbs/mbrtoc16.c: Implement using towc function.
85176         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
85177         * wcsmbs/wcsmbsload.c: Likewise.
85178         * iconv/gconv_simple.c: Likewise.
85179         * iconv/gconv_int.h: Likewise.
85180         * iconv/gconv_builtin.h: Likewise.
85181         * iconv/iconv_prog.c: Remove CHAR16 handling.
85183         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
85185         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
85187         * configure.in: Remove --with-elf and --enable-bounded options.
85188         Dont set base_machine for ia64.  More non-ELF conditions removed.
85189         Remove testing and setting of leading underscore information.
85190         * config.make.in (build-bounded): Set to no.
85191         * config.h.in: Remove NO_UNDERSCORES entry.
85192         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
85193         them.
85194         * csu/start.c: Remove !NO_UNDERSCORE code.
85195         * locale/localeinfo.h: Likewise.
85196         * sysdeps/generic/machine-gmon.h: Likewise.
85197         * sysdeps/generic/sysdep.h: Likewise.
85198         * sysdeps/i386/sysdep.h: Likewise.
85199         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
85200         * sysdeps/mach/sysdep.h: Likewise.
85201         * sysdeps/s390/s390-32/sysdep.h: Likewise.
85202         * sysdeps/s390/s390-64/sysdep.h: Likewise.
85203         * sysdeps/sh/sysdep.h: Likewise.
85204         * sysdeps/sparc/sparc32/alloca.S: Likewise.
85205         * sysdeps/unix/i386/sysdep.S: Likewise.
85206         * sysdeps/unix/sparc/start.c: Likewise.
85207         * sysdeps/unix/sparc/sysdep.S: Likewise.
85208         * sysdeps/unix/sparc/sysdep.h: Likewise.
85209         * sysdeps/unix/start.c: Likewise.
85210         * sysdeps/unix/x86_64/sysdep.S: Likewise.
85211         * sysdeps/x86_64/sysdep.h: Likewise.
85213 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
85215         [BZ #13553]
85216         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
85217         for non-gcc.
85218         * argp/argp-fmtstream.h: Use const instead __const.
85219         * argp/argp.h: Likewise.
85220         * assert/assert.h: Likewise.
85221         * bits/fenv.h: Likewise.
85222         * bits/sched.h: Likewise.
85223         * bits/sigset.h: Likewise.
85224         * bits/sigthread.h: Likewise.
85225         * catgets/nl_types.h: Likewise.
85226         * conform/data/pthread.h-data: Likewise.
85227         * crypt/crypt-private.h: Likewise.
85228         * crypt/crypt.h: Likewise.
85229         * crypt/crypt_util.c: Likewise.
85230         * ctype/ctype.h: Likewise.
85231         * debug/execinfo.h: Likewise.
85232         * debug/mbsnrtowcs_chk.c: Likewise.
85233         * debug/mbsrtowcs_chk.c: Likewise.
85234         * debug/wcsnrtombs_chk.c: Likewise.
85235         * debug/wcsrtombs_chk.c: Likewise.
85236         * debug/wcstombs_chk.c: Likewise.
85237         * dirent/dirent.h: Likewise.
85238         * dlfcn/dlfcn.h: Likewise.
85239         * elf/neededtest4.c: Likewise.
85240         * grp/grp.h: Likewise.
85241         * gshadow/gshadow.h: Likewise.
85242         * iconv/gconv.h: Likewise.
85243         * iconv/gconv_int.h: Likewise.
85244         * iconv/gconv_simple.c: Likewise.
85245         * iconv/iconv.h: Likewise.
85246         * iconv/loop.c: Likewise.
85247         * iconv/skeleton.c: Likewise.
85248         * include/aio.h: Likewise.
85249         * include/aliases.h: Likewise.
85250         * include/argz.h: Likewise.
85251         * include/arpa/inet.h: Likewise.
85252         * include/assert.h: Likewise.
85253         * include/dirent.h: Likewise.
85254         * include/dlfcn.h: Likewise.
85255         * include/execinfo.h: Likewise.
85256         * include/fcntl.h: Likewise.
85257         * include/fenv.h: Likewise.
85258         * include/glob.h: Likewise.
85259         * include/grp.h: Likewise.
85260         * include/libintl.h: Likewise.
85261         * include/mntent.h: Likewise.
85262         * include/netdb.h: Likewise.
85263         * include/pwd.h: Likewise.
85264         * include/rpc/netdb.h: Likewise.
85265         * include/sched.h: Likewise.
85266         * include/search.h: Likewise.
85267         * include/shadow.h: Likewise.
85268         * include/signal.h: Likewise.
85269         * include/stdio.h: Likewise.
85270         * include/stdlib.h: Likewise.
85271         * include/string.h: Likewise.
85272         * include/sys/socket.h: Likewise.
85273         * include/sys/stat.h: Likewise.
85274         * include/sys/statfs.h: Likewise.
85275         * include/sys/statvfs.h: Likewise.
85276         * include/sys/syslog.h: Likewise.
85277         * include/sys/time.h: Likewise.
85278         * include/sys/uio.h: Likewise.
85279         * include/time.h: Likewise.
85280         * include/unistd.h: Likewise.
85281         * include/utmp.h: Likewise.
85282         * include/wchar.h: Likewise.
85283         * include/wctype.h: Likewise.
85284         * inet/aliases.h: Likewise.
85285         * inet/arpa/inet.h: Likewise.
85286         * inet/netinet/ether.h: Likewise.
85287         * inet/netinet/in.h: Likewise.
85288         * intl/libintl.h: Likewise.
85289         * io/bits/fcntl2.h: Likewise.
85290         * io/fcntl.h: Likewise.
85291         * io/ftw.h: Likewise.
85292         * io/sys/poll.h: Likewise.
85293         * io/sys/stat.h: Likewise.
85294         * io/sys/statfs.h: Likewise.
85295         * io/sys/statvfs.h: Likewise.
85296         * io/utime.h: Likewise.
85297         * libio/bits/stdio.h: Likewise.
85298         * libio/bits/stdio2.h: Likewise.
85299         * libio/libio.h: Likewise.
85300         * libio/libioP.h: Likewise.
85301         * libio/stdio.h: Likewise.
85302         * locale/lc-ctype.c: Likewise.
85303         * locale/locale.h: Likewise.
85304         * login/utmp.h: Likewise.
85305         * malloc/arena.c: Likewise.
85306         * malloc/malloc.c: Likewise.
85307         * malloc/malloc.h: Likewise.
85308         * malloc/mcheck.c: Likewise.
85309         * malloc/mtrace.c: Likewise.
85310         * math/bits/mathcalls.h: Likewise.
85311         * math/fenv.h: Likewise.
85312         * math/math_private.h: Likewise.
85313         * misc/bits/error.h: Likewise.
85314         * misc/bits/syslog.h: Likewise.
85315         * misc/err.h: Likewise.
85316         * misc/error.h: Likewise.
85317         * misc/fstab.h: Likewise.
85318         * misc/mntent.h: Likewise.
85319         * misc/regexp.h: Likewise.
85320         * misc/search.h: Likewise.
85321         * misc/sgtty.h: Likewise.
85322         * misc/sys/mman.h: Likewise.
85323         * misc/sys/syslog.h: Likewise.
85324         * misc/sys/uio.h: Likewise.
85325         * misc/sys/xattr.h: Likewise.
85326         * misc/ttyent.h: Likewise.
85327         * nis/rpcsvc/ypclnt.h: Likewise.
85328         * nss/nss.h: Likewise.
85329         * posix/bits/unistd.h: Likewise.
85330         * posix/fnmatch.h: Likewise.
85331         * posix/glob.h: Likewise.
85332         * posix/sched.h: Likewise.
85333         * posix/spawn.h: Likewise.
85334         * posix/sys/wait.h: Likewise.
85335         * posix/unistd.h: Likewise.
85336         * posix/wordexp.h: Likewise.
85337         * pwd/pwd.h: Likewise.
85338         * resolv/netdb.h: Likewise.
85339         * resource/sys/resource.h: Likewise.
85340         * rt/aio.h: Likewise.
85341         * rt/bits/mqueue2.h: Likewise.
85342         * rt/mqueue.h: Likewise.
85343         * shadow/shadow.h: Likewise.
85344         * signal/signal.h: Likewise.
85345         * socket/send.c: Likewise.
85346         * socket/sendto.c: Likewise.
85347         * socket/sys/socket.h: Likewise.
85348         * stdio-common/printf.h: Likewise.
85349         * stdlib/bits/stdlib.h: Likewise.
85350         * stdlib/fmtmsg.h: Likewise.
85351         * stdlib/monetary.h: Likewise.
85352         * stdlib/stdlib.h: Likewise.
85353         * stdlib/ucontext.h: Likewise.
85354         * streams/stropts.h: Likewise.
85355         * string/argz.h: Likewise.
85356         * string/bits/string2.h: Likewise.
85357         * string/string.h: Likewise.
85358         * string/strings.h: Likewise.
85359         * sunrpc/rpc/auth.h: Likewise.
85360         * sunrpc/rpc/auth_des.h: Likewise.
85361         * sunrpc/rpc/clnt.h: Likewise.
85362         * sunrpc/rpc/netdb.h: Likewise.
85363         * sunrpc/rpc/pmap_clnt.h: Likewise.
85364         * sunrpc/rpc/xdr.h: Likewise.
85365         * sysdeps/generic/inttypes.h: Likewise.
85366         * sysdeps/generic/net/if.h: Likewise.
85367         * sysdeps/generic/sys/swap.h: Likewise.
85368         * sysdeps/gnu/net/if.h: Likewise.
85369         * sysdeps/gnu/utmpx.h: Likewise.
85370         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
85371         * sysdeps/i386/i486/bits/string.h: Likewise.
85372         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
85373         * sysdeps/s390/bits/string.h: Likewise.
85374         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
85375         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
85376         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
85377         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
85378         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
85379         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
85380         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
85381         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
85382         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
85383         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
85384         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
85385         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
85386         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
85387         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
85388         * sysdeps/unix/sysv/linux/readv.c: Likewise.
85389         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
85390         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
85391         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
85392         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
85393         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
85394         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
85395         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
85396         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
85397         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
85398         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
85399         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
85400         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
85401         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
85402         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
85403         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
85404         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
85405         * sysvipc/sys/ipc.h: Likewise.
85406         * sysvipc/sys/msg.h: Likewise.
85407         * sysvipc/sys/sem.h: Likewise.
85408         * sysvipc/sys/shm.h: Likewise.
85409         * termios/termios.h: Likewise.
85410         * time/sys/time.h: Likewise.
85411         * time/time.h: Likewise.
85412         * wcsmbs/bits/wchar2.h: Likewise.
85413         * wcsmbs/uchar.h: Likewise.
85414         * wcsmbs/wchar.h: Likewise.
85415         * wctype/wctype.h: Likewise.
85417         [BZ #13551]
85418         * Makeconfig: Remove all but ELF support including AIX support.
85419         * Makerules: Likewise.
85420         * config.h.in: Likewise.
85421         * config.make.in: Likewise.
85422         * configure: Likewise.
85423         * configure.in: Likewise.
85424         * csu/Makefile: Likewise.
85425         * csu/version.c: Likewise.
85426         * debug/Makefile: Likewise.
85427         * dlfcn/Makefile: Likewise.
85428         * elf/Makefile: Likewise.
85429         * extra-lib.mk: Likewise.
85430         * iconv/Makefile: Likewise.
85431         * include/libc-symbols.h: Likewise.
85432         * include/shlib-compat.h: Likewise.
85433         * resolv/Makefile: Likewise.
85434         * resolv/res_libc.c: Likewise.
85435         * rt/Makefile: Likewise.
85436         * sysdeps/i386/asm-syntax.h: Likewise.
85437         * sysdeps/i386/sysdep.h: Likewise.
85438         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
85439         * sysdeps/mach/sysdep.h: Likewise.
85440         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
85441         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
85442         * sysdeps/s390/asm-syntax.h: Likewise.
85443         * sysdeps/s390/s390-32/sysdep.h: Likewise.
85444         * sysdeps/s390/s390-64/sysdep.h: Likewise.
85445         * sysdeps/sh/sysdep.h: Likewise.
85446         * sysdeps/unix/sparc/sysdep.h: Likewise.
85447         * sysdeps/wordsize-32/divdi3.c: Likewise.
85448         * sysdeps/x86_64/sysdep.h: Likewise.
85450         * argp/Versions: Remove _argp_unlock_xxx.
85452         [BZ #13559]
85453         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
85454         * abilist/libBrokenLocale.abilist: Likewise.
85455         * abilist/libanl.abilist: Likewise.
85456         * abilist/libc.abilist: Likewise.
85457         * abilist/libcrypt.abilist: Likewise.
85458         * abilist/libdl.abilist: Likewise.
85459         * abilist/libm.abilist: Likewise.
85460         * abilist/libnsl.abilist: Likewise.
85461         * abilist/libpthread.abilist: Likewise.
85462         * abilist/libresolv.abilist: Likewise.
85463         * abilist/librt.abilist: Likewise.
85464         * abilist/libthread_db.abilist: Likewise.
85465         * abilist/libutil.abilist: Likewise.
85466         * abilist/libnss_db.abilist: New file.
85468         * scripts/abilist.awk: Add support for indirect functions.
85470         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
85472         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
85474         * shlib-versions: Remove entries for ports architectures.
85476         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
85477         files in ports.
85478         * elf/stackguard-macros.h: Remove support for IA-64.
85479         * elf/tst-auditmod1.c: Likewise.
85480         * sysdeps/generic/ldsodefs.h: Likewise.
85482         * sysdeps/unix/sysv/linux/configure.in: Ports should define
85483         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
85484         configure files.
85486         [BZ #13552]
85487         * configure.in: Remove --enable-omitfp support.
85488         * FAQ.in: Adjust.
85489         * config.make.in: Likewise.
85490         * Makeconfig: Likewise.
85491         * manual/install.texi: Likewise.
85493         In case anyone cares, the IA-64 architecture could move to ports.
85494         * sysdeps/ia64/*: Removed.
85495         * sysdeps/unix/sysv/linux/ia64/*: Removed.
85496         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
85498         [BZ #13555]
85499         * configure.in: Remove entries for unsupported architectures.
85501         [BZ #13533]
85502         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
85503         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
85504         routines.
85505         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
85506         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
85507         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
85508         fall back to using wcrtomb.
85509         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
85510         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
85511         renaming.
85512         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
85513         * wcsmbs/tst-c16c32-1.c: New file.
85515         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
85516         local variable.
85518         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
85520         * elf/tst-unique3.cc: Add explicit declaration of gets.
85521         * elf/tst-unique3lib.cc: Likewise.
85522         * elf/tst-unique3lib2.cc: Likewise.
85523         * elf/tst-unique4.cc: Likewise.
85525         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
85527 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
85529         [BZ #13566]
85530         * assert/assert.h (static_assert): Don't define for C++.
85531         * libio/stdio.h (gets): Do declare for C++ <= C++11.
85532         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
85534 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
85536         * iconv/loop.c (single loop): Fix assertion in storing of
85537         remaining bytes.
85539         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
85541 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
85543         * posix/getconf.c: Update copyright year.
85544         * nss/getent.c: Likewise.
85545         * nss/makedb.c: Likewise.
85546         * iconv/iconvconfig.c: Likewise.
85547         * iconv/iconv_prog.c: Likewise.
85548         * elf/ldconfig.c: Likewise.
85549         * elf/pldd.c: Likewise.
85550         * elf/sotruss.ksh: Likewise.
85551         * catgets/gencat.c: Likewise.
85552         * csu/version.c: Likewise.
85553         * elf/ldd.bash.in: Likewise.
85554         * elf/sprof.c (print_version): Likewise.
85555         * locale/programs/locale.c: Likewise.
85556         * locale/programs/localedef.c: Likewise.
85557         * login/programs/pt_chown.c: Likewise.
85558         * nscd/nscd.c (print_version): Likewise.
85559         * debug/xtrace.sh: Likewise.
85560         * malloc/memusage.sh: Likewise.
85561         * malloc/mtrace.pl: Likewise.
85562         * debug/catchsegv.sh: Likewise.
85564 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
85566         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
85567         pure attribute.
85569 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
85571         [BZ #13533]
85572         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
85573         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
85574         transformations.
85575         * iconv/gconv_int.h: Likewise.
85576         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
85577         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
85578         from libc for GLIBC_2.16.
85579         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
85580         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
85581         * wcsmbs/uchar.h: Really define mbstate_t.
85582         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
85583         * wcsmbs/c16rtomb.c: New file.
85584         * wcsmbs/mbrtoc16.c: New file.
85585         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
85586         for C/POSIX locale.
85587         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
85588         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
85590         * wcsmbs/wchar.h: Add missing __restrict.
85592 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
85594         [BZ #13532]
85595         * time/Makefile (routines): Add timespec_get.
85596         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
85597         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
85598         timespec for ISO C11.
85599         * time/timespec_get.c: New file.
85600         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
85601         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
85603         [BZ #13531]
85604         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
85605         * stdlib/stdlib.h: Declare aligned_alloc.
85606         * Versions.def: Add GLIBC_2.16 for libc.
85607         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
85609         [BZ 13527]
85610         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
85611         ISO C11.
85613         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
85614         code.
85616         [BZ #13528]
85617         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
85619         [BZ #13529]
85620         * assert/assert.h (static_assert): Define.
85622         * version.h: Update for 2.16 development version.
85624         [BZ #13526]
85625         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
85626         _ISOC11_SOURCE.
85628         * version.h (RELEASE): Bump for 2.15 release.
85629         * include/features.h (__GLIBC_MINOR__): Bump to 15.
85631         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
85632         Patch by Marek Polacek <mpolacek@redhat.com>.
85634         * bits/byteswap.h: Protect long long constants with __extension__.
85635         * sysdeps/i386/bits/byteswap.h: Likewise.
85636         * sysdeps/ia64/bits/byteswap.h: Likewise.
85637         * sysdeps/s390/bits/byteswap.h: Likewise.
85638         * sysdeps/x86_64/bits/byteswap.h: Likewise.
85640 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85642         [BZ #13540]
85643         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
85644         destination buffer.
85645         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
85647 2011-12-23  Marek Polacek  <polacek@redhat.com>
85649         * elf/dl-addr.c (determine_info): Add inline keyword.
85650         * elf/tst-auditmod4b.c (check_avx): Likewise.
85651         * elf/tst-auditmod6b.c (check_avx): Likewise.
85652         * elf/tst-auditmod6c.c (check_avx): Likewise.
85653         * elf/tst-auditmod7b.c (check_avx): Likewise.
85655 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
85657         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
85658         !__SSE_MATH__.
85660 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85662         [BZ #13540]
85663         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
85664         processing for last bytes.
85666 2011-08-06  Bruno Haible  <bruno@clisp.org>
85668         [BZ #13061]
85669         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
85670         U+0385, not to U+1FEE.
85672         [BZ #13062]
85673         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
85674         entry for U+00A5 U+0301.
85676 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
85678         [BZ #13166]
85679         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
85680         buffer for the output is too small.
85682         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
85683         optimization.
85685         [BZ #13185]
85686         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
85687         SSE flags if possible.
85689 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85691         [BZ #13540]
85692         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
85693         processing for last bytes.
85695 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
85697         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
85698         (syscall-list-default-options, syscall-list-default-condition)
85699         (syscall-list-includes): Define.
85700         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
85701         list of ABIs and options and #if conditions for each ABI.  Do not
85702         handle common syscalls between ABIs specially.
85703         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
85704         Remove.
85705         (syscall-list-variants, syscall-list-32bit-options)
85706         (syscall-list-32bit-condition, syscall-list-64bit-options)
85707         (syscall-list-64bit-condition): Define.
85708         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
85709         (syscall-list-variants, syscall-list-32bit-options)
85710         (syscall-list-32bit-condition, syscall-list-64bit-options)
85711         (syscall-list-64bit-condition): Define.
85712         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
85713         Remove.
85714         (syscall-list-variants, syscall-list-32bit-options)
85715         (syscall-list-32bit-condition, syscall-list-64bit-options)
85716         (syscall-list-64bit-condition): Define.
85717         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
85718         Remove.
85719         (syscall-list-variants, syscall-list-32bit-options)
85720         (syscall-list-32bit-condition, syscall-list-64bit-options)
85721         (syscall-list-64bit-condition): Define.
85723 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
85725         * locale/iso-639.def: Add brx entry.
85727         [BZ #13328]
85728         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
85729         Proposed by Mariusz_Cukr <marcukr@op.pl>.
85731         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
85732         __feraiseexcept_renamed.
85734 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
85736         [BZ #13538]
85737         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
85738         EPOLLET with unsigned values.
85739         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
85740         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
85742         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
85743         to large cancellation.
85744         * math/s_cacoshf.c: Likewise.
85745         * math/s_cacoshl.c: Likewise.
85747 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
85749         [BZ #13305]
85750         [BZ #12786]
85751         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
85752         * math/s_cacoshf.c: Likewise.
85753         * math/s_cacoshl.c: Likewise.
85755 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
85757         [BZ #13439]
85758         * iconv/gconv.h: Define __GCONV_SWAP.
85759         * iconvdata/unicode.c: The swap bit must be stored in __flags.
85760         * iconvdata/utf-16.c: Likewise.
85761         * iconvdata/utf-32.c: Likewise.
85763 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
85765         [BZ #13524]
85766         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
85767         numerator after shifting it by one limb.
85769 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
85771         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
85772         under [__USE_EXTERN_INLINES].
85774 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
85776         [BZ #13446]
85777         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
85779 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
85781         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
85782         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
85783         optimized code.
85784         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
85785         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
85786         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
85787         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
85788         for strncasecmp/strncasecmp_l compilation.
85789         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
85790         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
85792 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
85794         [BZ #13484]
85795         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
85796         of __asm__.
85798 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
85800         [BZ #13506]
85801         * time/tzfile.c (__tzfile_read): Check values from file header.
85803 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
85805         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
85806         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
85807         * powerpc/powerpc32/dl-start.S: Likewise.
85808         * powerpc/powerpc32/elf/start.S: Likewise.
85809         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
85810         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
85811         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
85812         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
85813         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
85814         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
85815         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
85816         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
85817         * powerpc/powerpc32/fpu/s_round.S: Likewise.
85818         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
85819         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
85820         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
85821         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
85822         * powerpc/powerpc32/memset.S: Likewise.
85823         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
85824         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
85825         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
85826         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
85827         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
85828         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
85829         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
85830         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
85831         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
85832         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
85833         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
85834         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
85835         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
85837 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
85839         * math/libm-test.inc: Added more nearbyint tests.
85840         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
85841         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
85842         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
85843         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
85845 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
85847         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
85848         FD_CLOEXEC.
85850 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85852         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
85853         Add wcscpy-ssse3 wcscpy-c.
85854         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
85855         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
85856         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
85857         * sysdeps/x86_64/wcschr.S: New file.
85858         * sysdeps/x86_64/wcsrchr.S: New file.
85859         * string/test-strcmp.c: Remove checking of wcscmp function for
85860         wrong alignments.
85861         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
85862         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
85863         wcsrchr-sse2 wcsrchr-c.
85864         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
85865         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
85866         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
85867         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
85868         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
85869         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
85870         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
85871         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
85872         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
85873         * wcsmbc/wcschr.c (WCSCHR): New macro.
85875 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85877         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
85878         * wcsmbs/test-wcsrchr.c: New file.
85879         * string/test-strrchr.c: Add wcsrchr support.
85880         (WIDE): New macro.
85881         * wcsmbs/test-wcscpy.c: New file.
85882         * string/test-strcpy.c: Add wcscpy support.
85883         (WIDE): New macro.
85885 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
85887         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
85888         the inner loop.
85890 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
85892         [BZ #13472]
85893         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
85895 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
85897         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
85898         Minor optimizations.
85900         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
85901         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
85902         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
85904 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
85906         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
85907         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
85908         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
85909         for gcc to avoid warnings.
85910         * inet/Makefile (tests): Add tst-checks.
85911         * inet/tst-checks.c: New file.
85913         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
85914         warning.
85916         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
85917         __wmemcmp_sse2.
85919         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
85920         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
85922         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
85924 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
85926         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
85927         problem.
85929         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
85931 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
85933         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
85934         conditional on GCC version.
85935         (__arch_compare_and_exchange_val_8_acq)
85936         (__arch_compare_and_exchange_val_16_acq)
85937         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
85938         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
85939         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
85941 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
85943         * sysdeps/sh/backtrace.c: New file.
85945 2011-12-02  Andreas Schwab  <schwab@redhat.com>
85947         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
85948         parenthesis.
85950 2011-12-01  Andreas Schwab  <schwab@redhat.com>
85952         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
85953         falling back to utime.
85955 2011-11-30  Andreas Schwab  <schwab@redhat.com>
85957         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
85958         expectations for float.
85960 2011-11-29  Andreas Schwab  <schwab@redhat.com>
85962         * locale/weight.h (findidx): Add parameter len.
85963         * locale/weightwc.h (findidx): Likewise.
85964         * posix/fnmatch_loop.c (FCT): Adjust caller.
85965         * posix/regcomp.c (build_equiv_class): Likewise.
85966         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
85967         * posix/regexec.c (check_node_accept_bytes): Likewise.
85968         * string/strcoll_l.c (STRCOLL): Likewise.
85969         * string/strxfrm_l.c (STRXFRM): Likewise.
85971 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
85973         * Makefile.in: Remove CVSOPT handling.
85974         * configure.in: Remove use of AC_REVISION.
85975         * iconvdata/Makefile (distribute): No need to filter out CVS.
85976         * scripts/list-sources.sh: Remove CVS, subversion and monotone
85977         handling.
85979 2011-11-16  Andreas Schwab  <schwab@redhat.com>
85981         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
85982         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
85983         [USE_AS_STRNCASECMP_L]: Likewise.
85984         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
85985         NO_TLS_DIRECT_SEG_REFS.
85986         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
85987         Fix argument offsets for non-PIC.
85988         [USE_AS_STRNCASECMP_L]: Likewise.
85989         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
85990         NO_TLS_DIRECT_SEG_REFS.
85992 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
85994         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
85995         O_CLOEXEC.
85996         * locale/loadlocale.c (_nl_load_locale): Likewise.
85998 2011-11-15  Andreas Schwab  <schwab@redhat.com>
86000         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
86001         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
86002         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
86003         (SYSCALL_GETTIME): Set errno on error.
86005         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
86006         count references to noai6ai_cached.
86008 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
86010         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
86012         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
86013         FD_CLOEXEC for /proc/self/maps.
86015         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
86016         FD_CLOEXEC for /proc/meminfo.
86018         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
86019         gai.conf.
86021         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
86022         FD_CLOEXEC for given file.
86024         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
86026         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
86027         FD_CLOEXEC for /etc/hosts.
86028         (_gethtent): Likewise.
86030         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
86032         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
86033         cancellation and set FD_CLOEXEC for /etc/netgroup.
86035         * nss/nss_files/files-key.c (search): Don't allow cancellation when
86036         reading /etc/publickey.
86038         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
86039         allow cancellation when reading /etc/group.
86041         * nss/nss_files/files-alias.c (internal_setent): Don't allow
86042         cancellation.
86043         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
86045         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
86046         when using data file.
86048         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
86050         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
86051         (write_nis_obj): Use "c" and "e" in fopen.
86053         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
86055         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
86057         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
86059         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
86061         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
86062         locale.alias.
86064         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
86066         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
86068         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
86070         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
86071         file parsing and set FD_CLOEXEC.
86073 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
86075         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
86077 2011-11-14  Andreas Schwab  <schwab@redhat.com>
86079         * malloc/arena.c (arena_get2): Don't call reused_arena when
86080         _int_new_arena failed.
86082 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
86084         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
86085         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
86086         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
86087         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
86088         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
86089         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
86090         to compile strcasecmp and strncasecmp.
86091         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
86092         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
86094         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
86096 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
86098         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
86099         locale-defines.sym to gen-as-const-headers.
86100         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
86101         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
86102         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
86103         to compile strcasecmp and strncasecmp.
86104         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
86105         strcasecmp_l and strncasecmp_l.
86106         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
86107         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
86108         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
86109         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
86110         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
86111         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
86112         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
86113         * sysdeps/i386/i686/multiarch/strncase.S: New file.
86114         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
86115         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
86116         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
86118 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
86120         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
86121         result of SYSDEP_GETTIME_CPU to retval.
86122         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
86123         parameter list to macro.  Remove trailing semicolon.  Adjust users.
86125         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
86126         variable.
86128         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
86129         mantissa words.
86130         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
86132         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
86133         from unused variable.
86135         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
86136         DWARF definitions.
86137         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
86138         for assembling.
86140         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
86141         over namespaces.
86143         * sunrpc/rpc_prot.c (rejected): Fix case value.
86145         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
86146         unsigned long long int to avoid warnings in shift.
86148         * posix/regex_internal.c (re_string_reconstruct): Actually use result
86149         of use of trans.
86150         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
86151         variable tmp.
86153         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
86154         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
86155         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
86157         * nis/nis_table.c (nis_list): Use variable of correct type for
86158         result of __follow_path call.
86160 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86162         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
86163         of math functions ceil, trunc, floor, round, and sqrt, when
86164         avaliable on the platform.
86165         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
86166         name clash.
86167         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
86168         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
86169         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
86171 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
86173         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
86174         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
86176 2011-11-11  Roland McGrath  <roland@hack.frob.com>
86178         * include/unistd.h: Fix __readlink return type.
86179         Reported by Chris Metcalf <cmetcalf@tilera.com>.
86181 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
86183         * stdlib/ucontext.h: Undo last change for makecontext.
86185 2011-11-11  Andreas Schwab  <schwab@redhat.com>
86187         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
86189         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
86190         * setjmp/setjmp.h: Mark functions as non-leaf.
86191         * setjmp/bits/setjmp2.h: Likewise.
86192         * stdlib/ucontext.h: Likewise.
86194 2011-11-10  Andreas Schwab  <schwab@redhat.com>
86196         * malloc/arena.c (_int_new_arena): Don't increment narenas.
86197         (reused_arena): Don't check arena limit.
86198         (arena_get2): Atomically check arena limit.
86200 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
86202         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
86203         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
86205         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
86206         instructions.
86208 2011-11-07  Andreas Schwab  <schwab@redhat.com>
86210         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
86211         handler when locking.
86213         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
86214         Fix size of allocated buffer.
86216 2011-11-04  Andreas Schwab  <schwab@redhat.com>
86218         [BZ #10103]
86219         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
86220         declarations for long double functions.
86221         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
86223         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
86225 2011-11-03  Andreas Schwab  <schwab@redhat.com>
86227         * nscd/nscd.c (main): Don't start AVC thread until credentials are
86228         installed.
86230         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
86231         is disabled.
86233 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86235         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
86237 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
86239         * include/alloca.h (stackinfo_alloca_round): Define.
86240         (extend_alloca): Use it.
86241         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
86242         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
86243         here.
86245         * scripts/check-local-headers.sh: Ignore libaudit.h.
86247         * nscd/Makefile (extra-objs): Make recursively expanded.
86249 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
86251         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
86252         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
86254         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
86255         * posix/tst-rfc3484-2.c: Likewise.
86256         * posix/tst-rfc3484-3.c: Likewise.
86258         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
86259         process_vm_writev.
86260         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
86261         process_vm_writev.
86262         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
86263         process_vm_writev from libc using GLIBC_2.15 version.
86265         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
86267 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
86269         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
86270         stack usage.
86272 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
86274         [BZ #13367]
86275         * nss/getent.c (initgroups_keys): Show error message in case no group
86276         names are given.
86278         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
86279         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
86280         __bump_nl_timestamp.
86281         * nscd/connections (nscd_init): When host database is served open
86282         netlink socket and request notification about configuration changes.
86283         (main_loop_poll): Track netlink file descriptor and bump timestamp
86284         in case data becomes available.
86285         (main_loop_epoll): Likewise.
86286         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
86287         (database_pers_head): Add extra_data fileds.
86288         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
86289         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
86290         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
86291         Adjust caller.
86292         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
86293         in6ai data, call __free_in6ai.
86294         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
86295         Add -DHAVE_NETLINK.
86296         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
86297         interface information.  Reuse previous data if netlink timestamp
86298         is not changed.
86299         (__bump_nl_timestamp): New function.
86300         (__free_in6ai): New function.
86302 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
86304         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
86305         close_not_cancel_no_status here.
86306         (__check_pf): Reorganize code a bit to not call close twice if OOM.
86308 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
86310         [BZ #13276]
86311         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
86312         return value.
86314         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
86315         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
86316         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
86318 2011-07-03  Andreas Jaeger  <aj@suse.de>
86320         [BZ #10709]
86321         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
86322         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
86323         * math/libm-test.inc (sin_test): Add test case.
86325 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
86327         [BZ #13337]
86328         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
86329         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
86331         * elf/chroot_canon.c (chroot_canon): Cleanups.
86333         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
86335         [BZ #13335]
86336         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
86337         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
86339         * string/test-strchr.c: Make usable for strchrnul testing.
86340         * string/test-strchrnul.c: New file.
86341         * string/Makefile (strop-tests): Add strchrnul.
86343         * po/it.po: Update from translation team.
86344         * po/es.po: Likewise.
86346 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
86348         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
86349         the three constants needed as parameters.  Drop the others.
86350         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
86351         __m128i_strloadu_tolower.
86352         Create and initialize variable zero and use it in all the places
86353         where _mm_setzero_si128 was used.
86355         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
86356         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
86357         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
86358         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
86359         anymore.
86360         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
86361         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
86362         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
86363         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
86364         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
86365         __mpranred, __mptan.
86366         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
86367         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
86368         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
86369         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
86370         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
86371         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
86372         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
86373         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
86374         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
86376 2011-10-28  Andreas Schwab  <schwab@redhat.com>
86378         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
86379         redefine if SHARED.
86380         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
86382         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
86383         wide char related routines to wcsmbs subdir.
86385 2011-10-27  Andreas Schwab  <schwab@redhat.com>
86387         [BZ #13344]
86388         * misc/sys/cdefs.h (__THROWNL): Define.
86389         * posix/unistd.h: Use __THREADNL instead of __THREAD
86390         for memory synchronization functions.
86392 2011-10-26  Roland McGrath  <roland@hack.frob.com>
86394         [BZ #13349]
86395         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
86396         doesn't exist.
86397         * manual/stdio.texi (Obstack Streams): Node removed.
86399 2011-10-26  Andreas Schwab  <schwab@redhat.com>
86401         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
86402         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
86403         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
86405         * math/math_private.h (math_force_eval): Allow non-addressable
86406         arguments.
86407         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
86409 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
86411         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
86412         file is not needed.
86414         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
86415         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
86416         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
86417         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
86418         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
86419         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
86420         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
86421         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
86422         Add AVX variants.
86423         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
86424         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
86425         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
86426         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
86427         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
86428         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
86429         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
86430         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
86431         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
86432         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
86433         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
86434         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
86435         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
86436         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
86437         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
86438         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
86439         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
86440         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
86441         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
86443         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
86444         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
86446         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
86447         place.  Use VEX encoding when compiling for AVX.
86449 2011-10-25  Andreas Schwab  <schwab@redhat.com>
86451         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
86452         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
86454         * string/test-strchr.c (do_test): Don't generate NUL bytes.
86456 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
86458         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
86459         useless if() expression.
86460         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
86461         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
86462         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
86463         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
86464         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
86465         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
86466         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
86467         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
86468         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
86469         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
86470         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
86471         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
86472         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
86473         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
86474         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
86475         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
86476         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
86477         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
86478         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
86480         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
86482 2011-10-25  Andreas Schwab  <schwab@redhat.com>
86484         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
86485         condition.
86486         * elf/dl-fini.c (_dl_sort_fini): Likewise.
86488 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
86490         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
86491         .text section.  Avoid duplicate constants.
86492         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
86493         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86494         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
86495         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86496         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
86497         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86498         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86499         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86500         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
86501         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
86502         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
86503         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
86504         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
86505         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
86506         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
86507         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
86508         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
86509         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
86510         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
86511         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86512         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
86513         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
86514         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
86515         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
86516         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
86517         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
86518         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
86519         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
86520         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
86521         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
86522         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
86523         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
86524         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
86525         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
86526         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
86527         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
86528         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
86529         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
86530         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
86531         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
86532         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
86533         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
86534         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
86535         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
86536         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
86538 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
86540         * sysdeps/x86_64/dla.h: Move to ...
86541         * sysdeps/x86_64/fpu/dla.h: ...here.
86542         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
86543         situations.  Use __builtin_fma only for gcc 4.6 and up.
86545         * config.make.in: Add have-mfma4 entry.
86546         * configure.in: Substitute libc_cv_cc_fma4.
86547         * math/Makefile (dbl-only-routines): Add sincostab.
86548         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
86549         Use __sincostab not sincos.
86550         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
86551         name is a macro.
86552         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
86553         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86554         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86555         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
86556         using __copysign.
86557         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
86558         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
86559         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
86560         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
86561         and __inv.
86562         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
86563         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
86564         __copysign.
86565         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
86566         define aliases when function name is a macro.
86567         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
86568         sysdeps/ieee754/dbl-64/sincos.tbl.
86569         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
86570         fma4-enabled routines.
86571         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
86572         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
86573         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
86574         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
86575         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
86576         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
86577         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
86578         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
86579         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
86580         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
86581         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
86582         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
86583         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
86584         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
86585         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
86586         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
86587         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
86588         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
86589         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
86590         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
86591         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
86592         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
86593         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
86594         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
86595         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
86596         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
86597         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
86598         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
86599         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
86600         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
86602         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
86603         rename.
86604         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86605         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86606         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86607         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86608         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86609         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86610         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
86611         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86613 2011-10-24  Andreas Schwab  <schwab@redhat.com>
86615         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
86617 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
86619         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
86621         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
86622         prediction.
86623         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
86625         * string/strnlen.c: Don't define STRNLEN, reverse logic.
86626         Remove unused variable magic_bits.
86627         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
86629         * string/strnlen.c: Define and use STRNLEN macro.
86630         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
86631         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
86632         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
86633         * wcsmbs/wcslen.c: Define and use WCSLEN.
86634         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
86635         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
86636         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
86637         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
86638         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
86639         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
86640         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
86642 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86644         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86645         strnlen-sse2-no-bsf.
86646         Rename strlen-no-bsf to strlen-sse2-no-bsf.
86647         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
86648         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
86649         Add strnlen support.
86650         (USE_AS_STRNLEN): New macro.
86651         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
86652         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
86653         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
86654         * sysdeps/x86_64/wcslen.S: New file.
86656 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
86658         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
86659         XMM-moves are used for copying on small sizes.
86661 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86663         * wcsmbs/Makefile (strop-tests): Add wcschr.
86664         * wcsmbs/test-wcschr.c: New file.
86665         * string/test-strchr.c: Update.
86666         Add wcschr support.
86667         (WIDE): New macro.
86669 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86671         * wcsmbs/Makefile (strop-tests): Add wcslen.
86672         * wcsmbs/test-wcslen.c: New file.
86673         * string/test-strlen.c: Update.
86674         Add wcslen support.
86675         (WIDE): New macro.
86677 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
86679         * po/it.po: Update from translation team.
86681 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86683         * sysdeps/x86_64/wcscmp.S: Update.
86684         Fix wrong comparison semantics.
86685         wcscmp shall use signed comparison not unsigned.
86686         Don't use substraction to avoid overflow bug.
86687         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
86688         * wcsmbc/wcscmp.c: Likewise.
86689         * string/test-strcmp.c: Likewise.
86690         Add new tests to check cases with negative values.
86692 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
86694         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
86695         * sysdeps/x86_64/dla.h: ...here.  New file.
86696         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
86697         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86698         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86699         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86700         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86701         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
86702         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86703         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
86704         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86706 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
86708         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
86709         __ynl_finite aliases.
86711 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
86713         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
86715         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
86716         define DLA_FMA.
86717         [DLA_FMA] (EMULV): Use DLA_FMA.
86718         [DLA_FMA] (MUL12): Use EMULV.
86719         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
86720         that are not needed.
86721         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86722         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86723         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86724         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86725         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86726         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
86727         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86729 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
86731         * math/s_nan.c: Undef __nan.
86732         * math/s_nanf.c: Undef __nanf.
86733         * math/s_nanl.c: Undef __nanl.
86734         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
86735         "math_private.h".
86737 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
86739         * math/s_catan.c: Add branch predictions.
86740         * math/s_catanf.c: Likewise.
86741         * math/s_catanh.c: Likewise.
86742         * math/s_catanhf.c: Likewise.
86743         * math/s_catanhl.c: Likewise.
86744         * math/s_catanl.c: Likewise.
86745         * math/s_cexp.c: Likewise.
86746         * math/s_cexpf.c: Likewise.
86747         * math/s_cexpl.c: Likewise.
86748         * math/s_clog.c: Likewise.
86749         * math/s_clog10.c: Likewise.
86750         * math/s_clog10f.c: Likewise.
86751         * math/s_clog10l.c: Likewise.
86752         * math/s_clogf.c: Likewise.
86753         * math/s_clogl.c: Likewise.
86754         * math/s_csqrt.c: Likewise.
86755         * math/s_csqrtf.c: Likewise.
86756         * math/s_csqrtl.c: Likewise.
86757         * math/s_ctanf.c: Likewise.
86758         * math/s_ctanh.c: Likewise.
86759         * math/s_ctanhf.c: Likewise.
86760         * math/s_ctanhl.c: Likewise.
86761         * math/s_ctanl.c: Likewise.
86763         * math/math_private.h: Define __nan, __nanf, __nanl.
86764         * math/s_cacosh.c: Include <math_private.h>.
86765         * math/s_cacoshl.c: Likewise.
86766         * math/s_casinh.c: Likewise.
86767         * math/s_casinhf.c: Likewise.
86768         * math/s_casinhl.c: Likewise.
86769         * math/s_ccos.c: Rely entire on ccosh.
86770         * math/s_ccosf.c: Rely entire on ccoshf.
86771         * math/s_ccosl.c: Rely entirely on ccoshl.
86772         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
86773         Remove tests for FE_INVALID.
86774         * math/s_ccoshf.c: Likewise.
86775         * math/s_ccoshl.c: Likewise.
86776         * math/s_csin.c: Likewise.
86777         * math/s_csinf.c: Likewise.
86778         * math/s_csinh.c Likewise.
86779         * math/s_csinhf.c: Likewise.
86780         * math/s_csinhl.c: Likewise.
86781         * math/s_csinl.c: Likewise.
86782         * math/s_ctan.c: Likewise.
86783         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
86784         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
86785         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
86787 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
86789         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
86790         compilation problems.
86792         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
86793         __builtin_expect.
86795 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
86797         * sysdeps/i386/configure.in: Test for -mfma4 option.
86798         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
86799         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
86800         COMMON_CPUID_INDEX_80000001.
86801         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
86802         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
86803         use it if FMA3 is not supported.
86804         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
86806         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
86807         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
86809 2011-10-20  Andreas Schwab  <schwab@redhat.com>
86811         [BZ #12892]
86812         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
86813         it would create a cycle with a link time dependency.
86815 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
86817         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
86818         instruction.
86819         * string/Makefile (strop-tests): Add rawmemchr.
86820         * string/test-rawmemchr.c: New file.
86822         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
86823         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
86824         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
86825         when compiling str{,n}casecmp and when AVX is available.  Hook up
86826         new optimized code in initializers.
86828 2011-10-19  Andreas Schwab  <schwab@redhat.com>
86830         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
86831         __feraiseexcept instead of feraiseexcept.
86833 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
86835         * math/math_private.h: Define defaults for libc_fetestexcept and
86836         libc_feupdateenv.
86837         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
86838         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
86839         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
86840         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
86841         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
86842         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
86843         libc_fetestexcept and libc_feupdateenv.
86845         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
86846         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
86847         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
86848         * sysdeps/x86_64/fpu/math_private.h: Define special version of
86849         libc_feholdexcept_setround.
86851         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
86852         Add s_nearbyint-c and s_nearbyintf-c.
86853         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
86854         nearbyintf inlines.
86855         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
86856         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
86857         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
86858         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
86860         * math/math_private.h: Define defaults for libc_fegetround,
86861         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
86862         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
86863         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
86864         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
86865         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
86866         standard functions.
86867         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
86868         Remove comments and hacks for old compiler versions.
86869         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
86870         libc_fegetround, libc_fesetround, libc_feholdexcept, and
86871         libc_feholdexceptl.
86873 2011-10-18  Andreas Schwab  <schwab@redhat.com>
86875         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
86876         (__feraiseexcept_renamed): Add __NTH.
86877         (feraiseexcept): Add __NTH.  Rename local variables to fix
86878         namespace violations.
86880 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
86882         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
86884         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
86886         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
86887         recently added interfaces.
86888         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
86890         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
86891         about macro parameter expansion.
86893         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
86894         __NO_MATH_INLINES is defined.  Cleanups.
86896         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
86897         and __floorf is target has SSE4.1.
86898         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
86899         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
86900         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
86901         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
86903         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
86904         name.
86905         (floorf): Likewise.
86907         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
86909 2011-10-17  Andreas Schwab  <schwab@redhat.com>
86911         * misc/sys/cdefs.h: Fix last change.
86913         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
86914         database lookup.
86916 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
86918         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
86920         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
86921         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
86922         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
86923         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
86924         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
86925         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
86926         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
86927         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
86928         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
86929         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
86930         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
86931         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
86932         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
86933         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
86934         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
86935         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
86936         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
86937         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
86938         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
86939         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
86940         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
86941         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
86943         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
86944         ceil, ceilf, floor, floorf.
86946         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
86947         Perform IRELATIVE relocations last.
86949         * elf/do-rel.h: Add another parameter nrelative, replacing the
86950         local variable with the same name.  Change name of the function
86951         to end in Rel or Rela (uppercase).
86952         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
86953         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
86954         elf_dynamic_do_##reloc function.
86956 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
86958         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
86959         is sufficient, at least on modern CPUs.
86961         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
86963         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
86964         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
86966         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
86967         __expl_finite.
86968         * math/bits/math-finite.h: Add entries for exp.
86969         * math/e_expl.c: Add __*_finite alias.
86970         * sysdeps/i386/fpu/e_exp.S: Likewise.
86971         * sysdeps/i386/fpu/e_expf.S: Likewise.
86972         * sysdeps/i386/fpu/e_expl.c: Likewise.
86973         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
86974         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
86975         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
86976         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
86977         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
86978         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
86979         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
86981         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
86982         is sufficient, at least on modern CPUs.
86984         * ctype/ctype-info.c (__ctype_init): Define.
86985         * include/ctype.h (__ctype_init): Declare.
86986         (__ctype_b_loc): The variable is always initialized.
86987         (__ctype_toupper_loc): Likewise.
86988         (__ctype_tolower_loc): Likewise.
86989         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
86990         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
86992 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
86994         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
86996         * configure.in: Also look in $cxxmachine/include for C++ system
86997         headers.
86999 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87001         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
87002         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
87003         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
87004         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
87005         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
87006         (USE_AS_WMEMCMP): New macro.
87007         Fixing indents.
87008         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
87009         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
87010         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
87011         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
87012         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87013         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
87014         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
87015         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
87016         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
87017         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
87018         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
87019         (USE_AS_WMEMCMP): New macro.
87020         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
87021         * sysdeps/string/test-memcmp.c: Update.
87022         Fix simple_wmemcmp.
87023         Add new tests.
87024         * wcsmbs/wmemcmp.c: Update.
87025         (WMEMCMP): New macro.
87026         Fix overflow bug.
87028 2011-10-12  Andreas Jaeger  <aj@suse.de>
87030         [BZ #13268]
87031         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
87033 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
87035         * libio/iofwide.c (do_length): Avoid warning.
87037         * ctype/ctype.h (__isctype_f): Add missing __THROW.
87039 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
87041         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
87043         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
87044         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
87045         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
87046         * sysdeps/i386/i686/fpu/e_log.S: New file.
87047         * sysdeps/i386/i686/fpu/e_logf.S: New file.
87048         * sysdeps/i386/i686/fpu/e_logl.S: New file.
87050         * ctype/ctype.h: Add support for inlined isXXX functions when
87051         compiling C++ code.
87053 2011-10-14  Andreas Schwab  <schwab@redhat.com>
87055         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
87057         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
87059 2011-10-13  Roland McGrath  <roland@hack.frob.com>
87061         [BZ #13291]
87062         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
87064 2011-10-13  Andreas Schwab  <schwab@redhat.com>
87066         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
87067         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
87068         feraiseexcept.
87070         * sysdeps/x86_64/memrchr.S: Check for zero size.
87072         * string/stratcliff.c: Add memrchr tests.
87074 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87076         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87077         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
87078         rawmemchr-sse2 rawmemchr-sse2-bsf.
87079         * sysdeps/i386/i686/multiarch/memchr.S: New file.
87080         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
87081         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
87082         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
87083         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
87084         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
87085         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
87086         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
87087         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
87088         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
87089         * string/memrchr.c (MEMRCHR): New macro.
87091 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
87093         Add integration with gcc's -ffinite-math-only and optimize wrapper
87094         functions in libm.
87095         * Versions.def: Define GLIBC_2.15 version for libm.
87096         * math/Makefile (headers): Add bits/math-finite.h.
87097         * math/bits/math-finite.h: New file.
87098         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
87099         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
87100         * math/e_acoshl.c: Add __*_finite alias.
87101         * math/e_acosl.c: Likewise.
87102         * math/e_asinl.c: Likewise.
87103         * math/e_atan2l.c: Likewise.
87104         * math/e_atanhl.c: Likewise.
87105         * math/e_coshl.c: Likewise.
87106         * math/e_exp10.c: Likewise.
87107         * math/e_exp10f.c: Likewise.
87108         * math/e_exp10l.c: Likewise.
87109         * math/e_exp2l.c: Likewise.
87110         * math/e_fmodl.c: Likewise.
87111         * math/e_gammal_r.c: Likewise.
87112         * math/e_hypotl.c: Likewise.
87113         * math/e_j0l.c: Likewise.
87114         * math/e_j1l.c: Likewise.
87115         * math/e_jnl.c: Likewise.
87116         * math/e_lgammal_r.c: Likewise.
87117         * math/e_log10l.c: Likewise.
87118         * math/e_log2l.c: Likewise.
87119         * math/e_logl.c: Likewise.
87120         * math/e_powl.c: Likewise.
87121         * math/e_sinhl.c: Likewise.
87122         * math/e_sqrtl.c: Likewise.
87123         * math/e_scalb.c: Completely rewritten and optimized.
87124         * math/e_scalbf.c: Likewise.
87125         * math/e_scalbl.c: Likewise.
87126         * math/w_acos.c: Likewise.
87127         * math/w_acosf.c: Likewise.
87128         * math/w_acosl.c: Likewise.
87129         * math/w_acosh.c: Likewise.
87130         * math/w_acoshf.c: Likewise.
87131         * math/w_acoshl.c: Likewise.
87132         * math/w_asin.c: Likewise.
87133         * math/w_asinf.c: Likewise.
87134         * math/w_asinl.c: Likewise.
87135         * math/w_atan2.c: Likewise.
87136         * math/w_atan2f.c: Likewise.
87137         * math/w_atan2l.c: Likewise.
87138         * math/w_atanh.c: Likewise.
87139         * math/w_atanhf.c: Likewise.
87140         * math/w_atanhl.c: Likewise.
87141         * math/w_exp10.c: Likewise.
87142         * math/w_exp10f.c: Likewise.
87143         * math/w_exp10l.c: Likewise.
87144         * math/w_fmod.c: Likewise.
87145         * math/w_fmodf.c: Likewise.
87146         * math/w_fmodl.c: Likewise.
87147         * math/w_j0.c: Likewise.
87148         * math/w_j0f.c: Likewise.
87149         * math/w_j0l.c: Likewise.
87150         * math/w_j1.c: Likewise.
87151         * math/w_j1f.c: Likewise.
87152         * math/w_j1l.c: Likewise.
87153         * math/w_jn.c: Likewise.
87154         * math/w_jnf.c: Likewise.
87155         * math/w_log.c: Likewise.
87156         * math/w_logf.c: Likewise.
87157         * math/w_logl.c: Likewise.
87158         * math/w_log10.c: Likewise.
87159         * math/w_log10f.c: Likewise.
87160         * math/w_log10l.c: Likewise.
87161         * math/w_log2.c: Likewise.
87162         * math/w_log2f.c: Likewise.
87163         * math/w_log2l.c: Likewise.
87164         * math/w_pow.c: Likewise.
87165         * math/w_powf.c: Likewise.
87166         * math/w_powl.c: Likewise.
87167         * math/w_remainder.c: Likewise.
87168         * math/w_remainderf.c: Likewise.
87169         * math/w_remainderl.c: Likewise.
87170         * math/w_scalb.c: Likewise.
87171         * math/w_scalbf.c: Likewise.
87172         * math/w_scalbl.c: Likewise.
87173         * math/w_sqrt.c: Likewise.
87174         * math/w_sqrtf.c: Likewise.
87175         * math/w_sqrtl.c: Likewise.
87176         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
87177         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
87178         used.
87179         * math/math_private.h: Declare __kernel_standard_f.
87180         * math/w_cosh.c: Remove cruft and optimize a bit.
87181         * math/w_coshf.c: Likewise.
87182         * math/w_coshl.c: Likewise.
87183         * math/w_exp2.c: Likewise.
87184         * math/w_exp2f.c: Likewise.
87185         * math/w_exp2l.c: Likewise.
87186         * math/w_hypot.c: Likewise.
87187         * math/w_hypotf.c: Likewise.
87188         * math/w_hypotl.c: Likewise.
87189         * math/w_lgamma.c: Likewise.
87190         * math/w_lgamma_r.c: Likewise.
87191         * math/w_lgammaf.c: Likewise.
87192         * math/w_lgammaf_r.c: Likewise.
87193         * math/w_lgammal.c: Likewise.
87194         * math/w_lgammal_r.c: Likewise.
87195         * math/w_sinh.c: Likewise.
87196         * math/w_sinhf.c: Likewise.
87197         * math/w_sinhl.c: Likewise.
87198         * math/w_tgamma.c: Likewise.
87199         * math/w_tgammaf.c: Likewise.
87200         * math/w_tgammal.c: Likewise.
87201         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
87202         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
87203         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
87204         Minor optimizations.  Pretty printing.  Remove cruft.
87205         * sysdeps/i386/fpu/e_acosf.S: Likewise.
87206         * sysdeps/i386/fpu/e_acosh.S: Likewise.
87207         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
87208         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
87209         * sysdeps/i386/fpu/e_acosl.c: Likewise.
87210         * sysdeps/i386/fpu/e_asin.S: Likewise.
87211         * sysdeps/i386/fpu/e_asinf.S: Likewise.
87212         * sysdeps/i386/fpu/e_atan2.S: Likewise.
87213         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
87214         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
87215         * sysdeps/i386/fpu/e_atanh.S: Likewise.
87216         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
87217         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
87218         * sysdeps/i386/fpu/e_exp10.S: Likewise.
87219         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
87220         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
87221         * sysdeps/i386/fpu/e_exp2.S: Likewise.
87222         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
87223         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
87224         * sysdeps/i386/fpu/e_fmod.S: Likewise.
87225         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
87226         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
87227         * sysdeps/i386/fpu/e_hypot.S: Likewise.
87228         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
87229         * sysdeps/i386/fpu/e_log.S: Likewise.
87230         * sysdeps/i386/fpu/e_log10.S: Likewise.
87231         * sysdeps/i386/fpu/e_log10f.S: Likewise.
87232         * sysdeps/i386/fpu/e_log10l.S: Likewise.
87233         * sysdeps/i386/fpu/e_log2.S: Likewise.
87234         * sysdeps/i386/fpu/e_log2f.S: Likewise.
87235         * sysdeps/i386/fpu/e_log2l.S: Likewise.
87236         * sysdeps/i386/fpu/e_logf.S: Likewise.
87237         * sysdeps/i386/fpu/e_logl.S: Likewise.
87238         * sysdeps/i386/fpu/e_pow.S: Likewise.
87239         * sysdeps/i386/fpu/e_powf.S: Likewise.
87240         * sysdeps/i386/fpu/e_powl.S: Likewise.
87241         * sysdeps/i386/fpu/e_remainder.S: Likewise.
87242         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
87243         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
87244         * sysdeps/i386/fpu/e_scalb.S: Likewise.
87245         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
87246         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
87247         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
87248         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
87249         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
87250         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
87251         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
87252         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87253         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
87254         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
87255         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
87256         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
87257         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
87258         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
87259         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
87260         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
87261         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
87262         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87263         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
87264         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
87265         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87266         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
87267         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
87268         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
87269         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87270         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
87271         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
87272         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
87273         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
87274         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
87275         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
87276         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
87277         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
87278         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
87279         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
87280         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
87281         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
87282         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
87283         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
87284         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
87285         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
87286         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
87287         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
87288         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
87289         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
87290         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
87291         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
87292         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
87293         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
87294         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
87295         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
87296         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
87297         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
87298         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
87299         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
87300         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
87301         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
87302         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
87303         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
87304         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
87305         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
87306         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
87307         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
87308         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
87309         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
87310         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
87311         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
87312         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
87313         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
87314         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
87315         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
87316         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
87317         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
87318         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
87319         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
87320         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
87321         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
87322         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
87323         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
87324         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
87325         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
87326         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
87327         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
87328         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
87329         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
87330         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
87331         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
87332         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
87333         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
87334         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
87335         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
87336         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
87337         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
87338         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
87339         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
87340         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
87341         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
87342         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
87343         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
87344         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
87345         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
87346         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
87347         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
87348         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
87349         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
87350         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
87351         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
87352         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
87353         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
87354         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
87355         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
87356         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
87357         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
87358         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
87359         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
87360         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
87361         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
87362         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
87363         (__isnanf): Likewise.
87364         (__isinf_ns): Likewise.
87365         (__isinf_nsf): Likewise.
87366         (__finite): Likewise.
87367         (__finitef): Likewise.
87368         (__ieee754_sqrt): Define as macro.
87369         (__ieee754_sqrtf): Define as macro.
87370         (__ieee754_sqrtl): Define as macro.
87371         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
87372         inlined copy.
87373         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
87374         __FINITE_MATH_ONLY__ consistent.
87375         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
87377 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
87379         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
87380         of rawmemchr.
87382         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
87384 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
87386         * po/ja.po: Update from translation team.
87388 2011-10-08  Roland McGrath  <roland@hack.frob.com>
87390         * locale/programs/locarchive.c (prepare_address_space): New function.
87391         (create_archive, enlarge_archive, open_archive): Use it.
87393         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
87394         inside [SHARED], where it is used.
87396         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
87398         * nss/getent.c (netgroup_keys): Remove unused variable.
87399         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
87401 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
87403         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
87404         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
87405         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
87406         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
87407         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
87408         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
87409         * math/Makefile (libm-calls): Add s_isinf_ns.
87410         * math/divtc3.c: Use __isinf_nsl instead of isinf.
87411         * math/multc3.c: Likewise.
87412         * math/s_casin.c: Likewise.
87413         * math/s_casinf.c: Likewise.
87414         * math/s_casinl.c: Likewise.
87415         * math/s_ccos.c: Likewise.
87416         * math/s_ccosf.c: Likewise.
87417         * math/s_ccosl.c: Likewise.
87418         * math/s_ctan.c: Likewise.
87419         * math/s_ctanf.c: Likewise.
87420         * math/s_ctanh.c: Likewise.
87421         * math/s_ctanhf.c: Likewise.
87422         * math/s_ctanhl.c: Likewise.
87423         * math/s_ctanl.c: Likewise.
87424         * math/w_fmod.c: Likewise.
87425         * math/w_fmodf.c: Likewise.
87426         * math/w_fmodl.c: Likewise.
87427         * math/w_remainder.c: Likewise.
87428         * math/w_remainderf.c: Likewise.
87429         * math/w_remainderl.c: Likewise.
87430         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
87431         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
87432         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
87433         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
87434         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
87435         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
87436         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
87437         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
87439         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
87440         of the number.
87441         * stdio-common/printf_fphex.c: Likewise.
87442         * stdio-common/printf_size.c: Likewise.
87444         * math/e_exp10.c: Include math_private.h using <...> not "...".
87445         * math/e_exp10f.c: Likewise.
87446         * math/e_exp10l.c: Likewise.
87447         * math/e_exp2l.c: Likewise.
87448         * math/e_j0l.c: Likewise.
87449         * math/e_j1l.c: Likewise.
87450         * math/e_jnl.c: Likewise.
87451         * math/e_lgammal_r.c: Likewise.
87452         * math/e_rem_pio2l.c: Likewise.
87453         * math/e_scalb.c: Likewise.
87454         * math/e_scalbf.c: Likewise.
87455         * math/e_scalbl.c: Likewise.
87456         * math/k_cosl.c: Likewise.
87457         * math/k_sinl.c: Likewise.
87458         * math/k_tanl.c: Likewise.
87459         * math/s_cacoshf.c: Likewise.
87460         * math/s_catan.c: Likewise.
87461         * math/s_catanf.c: Likewise.
87462         * math/s_catanh.c: Likewise.
87463         * math/s_catanhf.c: Likewise.
87464         * math/s_catanhl.c: Likewise.
87465         * math/s_catanl.c: Likewise.
87466         * math/s_ccosh.c: Likewise.
87467         * math/s_ccoshf.c: Likewise.
87468         * math/s_ccoshl.c: Likewise.
87469         * math/s_cexp.c: Likewise.
87470         * math/s_cexpf.c: Likewise.
87471         * math/s_cexpl.c: Likewise.
87472         * math/s_clog.c: Likewise.
87473         * math/s_clog10.c: Likewise.
87474         * math/s_clog10f.c: Likewise.
87475         * math/s_clog10l.c: Likewise.
87476         * math/s_clogf.c: Likewise.
87477         * math/s_clogl.c: Likewise.
87478         * math/s_csin.c: Likewise.
87479         * math/s_csinf.c: Likewise.
87480         * math/s_csinh.c: Likewise.
87481         * math/s_csinhf.c: Likewise.
87482         * math/s_csinhl.c: Likewise.
87483         * math/s_csinl.c: Likewise.
87484         * math/s_csqrt.c: Likewise.
87485         * math/s_csqrtf.c: Likewise.
87486         * math/s_csqrtl.c: Likewise.
87487         * math/s_ctan.c: Likewise.
87488         * math/s_ctanf.c: Likewise.
87489         * math/s_ctanh.c: Likewise.
87490         * math/s_ctanhf.c: Likewise.
87491         * math/s_ctanhl.c: Likewise.
87492         * math/s_ctanl.c: Likewise.
87493         * math/s_ldexp.c: Likewise.
87494         * math/s_ldexpf.c: Likewise.
87495         * math/s_ldexpl.c: Likewise.
87496         * math/s_significand.c: Likewise.
87497         * math/s_significandf.c: Likewise.
87498         * math/s_significandl.c: Likewise.
87499         * math/w_acos.c: Likewise.
87500         * math/w_acosf.c: Likewise.
87501         * math/w_acosh.c: Likewise.
87502         * math/w_acoshf.c: Likewise.
87503         * math/w_acoshl.c: Likewise.
87504         * math/w_acosl.c: Likewise.
87505         * math/w_asin.c: Likewise.
87506         * math/w_asinf.c: Likewise.
87507         * math/w_asinl.c: Likewise.
87508         * math/w_atan2.c: Likewise.
87509         * math/w_atan2f.c: Likewise.
87510         * math/w_atan2l.c: Likewise.
87511         * math/w_atanh.c: Likewise.
87512         * math/w_atanhf.c: Likewise.
87513         * math/w_atanhl.c: Likewise.
87514         * math/w_cosh.c: Likewise.
87515         * math/w_coshf.c: Likewise.
87516         * math/w_coshl.c: Likewise.
87517         * math/w_dremf.c: Likewise.
87518         * math/w_exp10.c: Likewise.
87519         * math/w_exp10f.c: Likewise.
87520         * math/w_exp10l.c: Likewise.
87521         * math/w_exp2.c: Likewise.
87522         * math/w_exp2f.c: Likewise.
87523         * math/w_fmod.c: Likewise.
87524         * math/w_fmodf.c: Likewise.
87525         * math/w_fmodl.c: Likewise.
87526         * math/w_hypot.c: Likewise.
87527         * math/w_hypotf.c: Likewise.
87528         * math/w_hypotl.c: Likewise.
87529         * math/w_j0.c: Likewise.
87530         * math/w_j0f.c: Likewise.
87531         * math/w_j0l.c: Likewise.
87532         * math/w_j1.c: Likewise.
87533         * math/w_j1f.c: Likewise.
87534         * math/w_j1l.c: Likewise.
87535         * math/w_jn.c: Likewise.
87536         * math/w_jnf.c: Likewise.
87537         * math/w_jnl.c: Likewise.
87538         * math/w_lgamma.c: Likewise.
87539         * math/w_lgamma_r.c: Likewise.
87540         * math/w_lgammaf.c: Likewise.
87541         * math/w_lgammaf_r.c: Likewise.
87542         * math/w_lgammal.c: Likewise.
87543         * math/w_lgammal_r.c: Likewise.
87544         * math/w_log.c: Likewise.
87545         * math/w_log10.c: Likewise.
87546         * math/w_log10f.c: Likewise.
87547         * math/w_log10l.c: Likewise.
87548         * math/w_log2.c: Likewise.
87549         * math/w_log2f.c: Likewise.
87550         * math/w_log2l.c: Likewise.
87551         * math/w_logf.c: Likewise.
87552         * math/w_logl.c: Likewise.
87553         * math/w_pow.c: Likewise.
87554         * math/w_powf.c: Likewise.
87555         * math/w_powl.c: Likewise.
87556         * math/w_remainder.c: Likewise.
87557         * math/w_remainderf.c: Likewise.
87558         * math/w_remainderl.c: Likewise.
87559         * math/w_scalb.c: Likewise.
87560         * math/w_scalbf.c: Likewise.
87561         * math/w_scalbl.c: Likewise.
87562         * math/w_sinh.c: Likewise.
87563         * math/w_sinhf.c: Likewise.
87564         * math/w_sinhl.c: Likewise.
87565         * math/w_sqrt.c: Likewise.
87566         * math/w_sqrtf.c: Likewise.
87567         * math/w_sqrtl.c: Likewise.
87568         * math/w_tgamma.c: Likewise.
87569         * math/w_tgammaf.c: Likewise.
87570         * math/w_tgammal.c: Likewise.
87572         * po/ja.po: Update from translation team.
87574 2011-09-29  Andreas Jaeger  <aj@suse.de>
87576         [BZ #13179]
87577         * sunrpc/netname.c (netname2host): Fix logic.
87579         [BZ #6779]
87580         [BZ #6783]
87581         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
87582         correctly.
87583         * math/w_remainder.c (__remainder): Likewise.
87584         * math/w_remainderf.c (__remainderf): Likewise.
87585         * math/libm-test.inc (remainder_test): Add test cases.
87587 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87589         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
87590         sdiv_qrnnd.
87592 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
87594         * string/test-memcmp.c: Avoid unncessary #defines.
87595         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
87597 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87599         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
87600         Use new sse2 version for core i3 - i7 as it's faster
87601         than sse42 version.
87602         (bit_Prefer_PMINUB_for_stringop): New.
87603         * sysdeps/x86_64/rawmemchr.S: Update.
87604         Replace with faster SSE2 version.
87605         * sysdeps/x86_64/memrchr.S: New file.
87606         * sysdeps/x86_64/memchr.S: Update.
87607         Replace with faster SSE2 version.
87609 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
87611         * elf/dl-load.c (lose): Add cast to avoid warning.
87613 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
87615         * po/ca.po: Update from translation team.
87617         * inet/getnetgrent_r.c: Hook up nscd.
87618         * nscd/Makefile (routines): Add nscd_netgroup.
87619         (nscd-modules): Add netgroupcache.
87620         (CFLAGS-netgroupcache.c): Define.
87621         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
87622         (cache_search): Add const to second parameter.
87623         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
87624         INNETGR.
87625         (dbs): Add netgrdb entry.
87626         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
87627         (verify_persistent_db): Handle netgrdb.
87628         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
87629         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
87630         GETFDNETGR.
87631         (netgroup_response_header): Define.
87632         (innetgroup_response_header): Define.
87633         (datahead): Add netgroup_response_header and innetgroup_response_header
87634         elements.
87635         * nscd/nscd.conf: Add entries for netgroup cache.
87636         * nscd/nscd.h (dbtype): Add netgrdb.
87637         (_PATH_NSCD_NETGROUP_DB): Define.
87638         (netgroup_iov_disabled): Declare.
87639         (xmalloc, xcalloc, xrealloc): Move declarations here.
87640         (cache_search): Adjust prototype.
87641         Add netgroup-related prototypes.
87642         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
87643         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
87644         (__nscd_innetgr): Declare.
87645         * nscd/selinux.c (perms): Use access_vector_t as element type and
87646         add netgroup-related initializers.
87647         * nscd/netgroupcache.c: New file.
87648         * nscd/nscd_netgroup.c: New file.
87649         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
87650         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
87651         For four parameters use innetgr.
87652         * nss/nss_files/files-init.c: Add definition and callback for netgr.
87653         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
87654         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
87655         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
87657         * nscd/connections.c (register_traced_file): Don't register file
87658         for disabled databases.
87660 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
87662         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
87664         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
87665         from tree and freeing node.
87667 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
87669         * nss/nsswitch.c (__nss_database_lookup): Handle
87670         nss_parse_service_list out of memory case.
87672 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
87674         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
87675         out of memory case.
87677 2011-10-04  Andreas Schwab  <schwab@redhat.com>
87679         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
87680         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
87681         pass it down.
87682         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
87683         elf_machine_rela, elf_machine_lazy_rel.
87684         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
87685         (ELF_DYNAMIC_DO_REL): Likewise.
87686         (ELF_DYNAMIC_DO_RELA): Likewise.
87687         (ELF_DYNAMIC_RELOCATE): Likewise.
87688         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
87689         to ELF_DYNAMIC_DO_REL.
87690         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
87691         (dl_main): In trace mode always set __RTLD_NOIFUNC.
87692         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
87693         elf_machine_rela.
87694         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
87695         skip_ifunc, don't call ifunc function if non-zero.
87696         (elf_machine_rela): Likewise.
87697         (elf_machine_lazy_rel): Likewise.
87698         (elf_machine_lazy_rela): Likewise.
87699         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
87700         (elf_machine_lazy_rel): Likewise.
87701         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
87702         Likewise.
87703         (elf_machine_lazy_rel): Likewise.
87704         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
87705         Likewise.
87706         (elf_machine_lazy_rel): Likewise.
87707         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
87708         (elf_machine_lazy_rel): Likewise.
87709         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
87710         (elf_machine_lazy_rel): Likewise.
87711         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
87712         (elf_machine_lazy_rel): Likewise.
87713         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
87714         (elf_machine_lazy_rel): Likewise.
87715         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
87716         (elf_machine_lazy_rel): Likewise.
87717         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
87718         (elf_machine_lazy_rel): Likewise.
87720 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
87722         * nss/nss_files/files-init.c (_nss_files_init): Use static
87723         initialization for all the *_traced_file variables.
87725 2011-09-28  Andreas Schwab  <schwab@redhat.com>
87727         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
87729 2011-09-27  Roland McGrath  <roland@hack.frob.com>
87731         [BZ #13226]
87732         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
87734 2011-09-27  Andreas Schwab  <schwab@redhat.com>
87736         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
87737         Reread the line before reparsing it.
87739 2011-09-26  Andreas Schwab  <schwab@redhat.com>
87741         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
87743 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
87744             Maxim Kuvyrkov  <maxim@codesourcery.com>
87745             Joseph Myers  <joseph@codesourcery.com>
87747         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
87748         if needed for __stack_chk_guard.
87750 2011-09-19  Roland McGrath  <roland@hack.frob.com>
87752         * sysdeps/posix/spawni.c (script_execute): Always define it.
87753         It will be optimized away if unused.
87754         (maybe_script_execute): New function.
87755         (__spawni): Call it.
87757         * Makerules: Don't include tls.make.
87758         (config-tls): Always set to thread.
87759         * tls.make.c: File removed.
87761 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
87763         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
87764         * config.make.in (CPPFLAGS-config): New substituted variable.
87766 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
87768         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
87770         [BZ #13192]
87771         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
87772         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
87774 2011-09-15  Roland McGrath  <roland@hack.frob.com>
87776         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
87777         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
87778         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
87779         (CALL_FAIL): Likewise.
87780         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
87781         (CALL_FAIL): Macro removed.
87782         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
87784 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
87786         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
87787         for __FINITE_MATH_ONLY__ == 1.
87789 2011-09-15  Andreas Schwab  <schwab@redhat.com>
87791         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
87792         __ieee754_sqrt instead of sqrt.
87793         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
87794         __ieee754_sqrtf instead of sqrtf.
87795         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
87796         __floorf instead of floorf.
87797         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
87798         __floorf, __truncf instead of floorf, truncf.
87800 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
87802         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
87804         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
87805         __extern_always_inline.
87806         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
87807         32-bit.
87809 2011-09-14  Andreas Schwab  <schwab@redhat.com>
87811         * elf/rtld.c (dl_main): Also relocate in dependency order when
87812         doing symbol dependency testing.
87814 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
87816         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
87817         Always define `refsym'.
87819 2011-09-13  Andreas Schwab  <schwab@redhat.com>
87821         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
87822         (__FD_ELT): Renamed from __FDELT.
87823         * misc/bits/select2.h (__FD_ELT): Likewise.
87824         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
87825         __FD_MASK instead of __FDELT, __FDMASK.
87826         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
87827         Likewise.
87828         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
87829         Likewise.
87831         * elf/Makefile (gen-ldd): Fix pattern.
87833         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
87834         (init_tls): Likewise.
87836 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
87838         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
87840 2011-09-12  Andreas Schwab  <schwab@redhat.com>
87842         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
87843         `struct cmsghdr *' instead of `void *'.
87844         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
87845         Likewise.
87847 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
87849         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
87850         if non-absolute.
87851         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
87852         ldd_rewrite_script.
87854 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
87856         * configure.in: Remove --with-tls option.
87857         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
87858         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
87859         out in case it is missing.
87860         * sysdeps/ia64/elf/configure.in: Likewise.
87861         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
87862         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
87863         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
87864         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
87865         * sysdeps/sh/elf/configure.in: Likewise.
87866         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
87867         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
87868         * sysdeps/x86_64/elf/configure.in: Likewise.
87869         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
87870         * sysdeps/mach/hurd/tls.h: Likewise.
87872         [BZ #13067]
87873         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
87875         [BZ #13090]
87876         * configure.in: Fix use of AC_INIT.
87878         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
87880 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
87882         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
87883         __set_errno.
87884         * malloc/hooks.c: Likewise.
87886         [BZ #11929]
87887         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
87888         variables statically.
87889         (narenas): Initialize.
87890         (list_lock): Initialize.
87891         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
87892         initializtion of main_arena and list_lock.  Small cleanups.
87893         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
87894         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
87895         Add initializers to main_arena and mp_.
87896         (malloc_state): Remove pagesize member.  Change all users to use
87897         GLRO(dl_pagesize).
87899         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
87900         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
87901         is always initialized.
87903         * malloc/malloc.c: Removed unused configurations and dead code.
87904         * malloc/arena.c: Likewise.
87905         * malloc/hooks.c: Likewise.
87906         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
87908         * include/tls.h: Removed.  USE___THREAD must always be defined.
87909         * bits/libc-tsd.h: Don't handle !USE___THREAD.
87910         * elf/dl-libc.c: Likewise.
87911         * elf/dl-tsd.c: Likewise.
87912         * include/errno.h: Likewise.
87913         * include/netdb.h: Likewise.
87914         * include/resolv.h: Likewise.
87915         * inet/herrno-loc.c: Likewise.
87916         * inet/herrno.c: Likewise.
87917         * malloc/arena.c: Likewise.
87918         * malloc/hooks.c: Likewise.
87919         * malloc/malloc.c: Likewise.
87920         * resolv/res-state.c: Likewise.
87921         * resolv/res_libc.c: Likewise.
87922         * sysdeps/i386/dl-machine.h: Likewise.
87923         * sysdeps/ia64/dl-machine.h: Likewise.
87924         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
87925         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
87926         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
87927         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
87928         * sysdeps/sh/dl-machine.h: Likewise.
87929         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
87930         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
87931         * sysdeps/unix/i386/sysdep.S: Likewise.
87932         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
87933         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
87934         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
87935         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
87936         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
87937         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
87938         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
87939         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
87940         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
87941         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
87942         * sysdeps/unix/x86_64/sysdep.S: Likewise.
87943         * sysdeps/x86_64/dl-machine.h: Likewise.
87944         * tls.make.c: Likewise.
87946         * configure.in: Remove --with-__thread option.  Make tests for
87947         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
87948         tls_model attribute fail if no support is available.  Remove
87949         USE_IN_LIBIO.
87950         * Makeconfig: Adjust for dropped configure option.  All features are
87951         now mandatory.
87952         * Makerules: Likewise.
87953         * Versions.def: Likewise.
87954         * argp/argp-fmtstream.c: Likewise.
87955         * argp/argp-fmtstream.h: Likewise.
87956         * argp/argp-help.c: Likewise.
87957         * assert/assert.c: Likewise.
87958         * config.h.in: Likewise.
87959         * config.make.in: Likewise.
87960         * configure: Likewise.
87961         * configure.in: Likewise.
87962         * csu/Versions: Likewise.
87963         * csu/init.c: Likewise.
87964         * elf/tst-audit2.c: Likewise.
87965         * elf/tst-tls10.c: Likewise.
87966         * elf/tst-tls10.h: Likewise.
87967         * elf/tst-tls11.c: Likewise.
87968         * elf/tst-tls12.c: Likewise.
87969         * elf/tst-tls14.c: Likewise.
87970         * elf/tst-tlsmod11.c: Likewise.
87971         * elf/tst-tlsmod12.c: Likewise.
87972         * elf/tst-tlsmod13.c: Likewise.
87973         * elf/tst-tlsmod13a.c: Likewise.
87974         * elf/tst-tlsmod14a.c: Likewise.
87975         * elf/tst-tlsmod15b.c: Likewise.
87976         * elf/tst-tlsmod16a.c: Likewise.
87977         * elf/tst-tlsmod16b.c: Likewise.
87978         * elf/tst-tlsmod7.c: Likewise.
87979         * elf/tst-tlsmod8.c: Likewise.
87980         * elf/tst-tlsmod9.c: Likewise.
87981         * gmon/gmon.c: Likewise.
87982         * grp/fgetgrent_r.c: Likewise.
87983         * grp/putgrent.c: Likewise.
87984         * hurd/fopenport.c: Likewise.
87985         * include/libc-symbols.h: Likewise.
87986         * include/tls.h: Likewise.
87987         * intl/gettextP.h: Likewise.
87988         * intl/loadinfo.h: Likewise.
87989         * locale/global-locale.c: Likewise.
87990         * locale/localeinfo.h: Likewise.
87991         * mach/devstream.c: Likewise.
87992         * malloc/arena.c: Likewise.
87993         * malloc/set-freeres.c: Likewise.
87994         * misc/err.c: Likewise.
87995         * misc/getttyent.c: Likewise.
87996         * misc/mntent_r.c: Likewise.
87997         * posix/getopt.c: Likewise.
87998         * posix/wordexp.c: Likewise.
87999         * pwd/fgetpwent_r.c: Likewise.
88000         * resolv/Versions: Likewise.
88001         * resolv/res_hconf.c: Likewise.
88002         * shadow/fgetspent_r.c: Likewise.
88003         * shadow/putspent.c: Likewise.
88004         * stdio-common/printf_fphex.c: Likewise.
88005         * stdio-common/tmpfile.c: Likewise.
88006         * stdlib/abort.c: Likewise.
88007         * stdlib/fmtmsg.c: Likewise.
88008         * sunrpc/auth_unix.c: Likewise.
88009         * sunrpc/clnt_perr.c: Likewise.
88010         * sunrpc/clnt_tcp.c: Likewise.
88011         * sunrpc/clnt_udp.c: Likewise.
88012         * sunrpc/clnt_unix.c: Likewise.
88013         * sunrpc/openchild.c: Likewise.
88014         * sunrpc/svc_simple.c: Likewise.
88015         * sunrpc/svc_tcp.c: Likewise.
88016         * sunrpc/svc_udp.c: Likewise.
88017         * sunrpc/svc_unix.c: Likewise.
88018         * sunrpc/xdr.c: Likewise.
88019         * sunrpc/xdr_array.c: Likewise.
88020         * sunrpc/xdr_rec.c: Likewise.
88021         * sunrpc/xdr_ref.c: Likewise.
88022         * sunrpc/xdr_stdio.c: Likewise.
88024 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
88026         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88028 2011-07-03  Andreas Jaeger  <aj@suse.de>
88030         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
88031         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
88032         regenerate with gen-libm-tests.pl.
88034 2010-05-12  Petr Baudis  <pasky@suse.cz>
88036         [BZ #11589]
88037         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
88038         around j0() zero points by switching to j1().
88039         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
88040         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
88041         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
88042         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
88044 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
88046         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
88047         instead of 0.
88048         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
88049         instead of 0.
88050         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
88051         Patch in part by Pavel Roskin <proski@gnu.org>.
88053         [BZ #13138]
88054         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
88055         realloc.
88056         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
88057         Free memory block if necessary.
88059         [BZ #12847]
88060         * libio/genops.c (INTDEF): For string streams the _lock pointer can
88061         be NULL.  Don't lock in this case.
88063 2011-09-09  Roland McGrath  <roland@hack.frob.com>
88065         * elf/elf.h (ELFOSABI_GNU): New macro.
88066         (ELFOSABI_LINUX): Define to that.
88068 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
88070         * string/strncat.c (strncat): Undef the symbol in case it has been
88071         defined in bits/string.h.
88073 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
88075         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
88077         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
88078         link map.
88080 2011-08-17  Andreas Jaeger  <aj@suse.de>
88082         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
88084 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
88085             Ian Lance Taylor  <iant@google.com>
88087         * math/libm-test.inc (lround_test): New testcase.
88088         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
88090 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
88092         * Makefile: Remove support for automatic cvs check-ins.
88093         * Makerules: Likewise.
88094         * config.make.in: Likewise.
88095         * configure.in: Likewise.
88096         * intl/Makefile: Likewise.
88097         * locale/Makefile: Likewise.
88098         * po/Makefile: Likewise.
88099         * posix/Makefile: Likewise.
88100         * sysdeps/gnu/Makefile: Likewise.
88101         * sysdeps/mach/hurd/Makefile: Likewise.
88102         * sysdeps/sparc/sparc32/Makefile: Likewise.
88104         [BZ #13118]
88105         * posix/Makefile (bug-regex32-ENV): Define.
88106         Patch by John Stanley <jpsinthemix@verizon.net>.
88108         * misc/Makefile (headers): Add bits/select2.h.
88109         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
88110         * misc/bits/select2.h: New file.
88111         * include/bits/select2.h: New file.
88112         * debug/Makefile (routines): Add fdelt_chk.
88113         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
88114         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
88115         FD_ISSET.
88116         * debug/fdelt_chk.c: New file.
88118         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
88119         * wcsmbs/test-wmemcmp.c: Likewise.
88120         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
88121         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
88123 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88125         * string/Makefile (strop-tests): Add memcmp.
88126         * string/test-wmemcmp.c: New file.
88127         * string/test-memcmp.c: Add wmemcmp support.
88129 2011-09-08  Roland McGrath  <roland@hack.frob.com>
88131         [BZ #13153]
88132         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
88133         2011-07-19 change.
88135         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
88136         garbage value in a __mach_port_mod_refs call in the cases of the
88137         task-self and thread-self ports.
88139 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88141         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
88143 2011-09-08  Andreas Schwab  <schwab@redhat.com>
88145         * elf/dl-load.c (lose): Check for non-null L.
88147 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
88149         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
88151         * elf/dl-libc.c (dlerror_run): Pass back error code from
88152         dl_catch_error.
88154         [BZ #13123]
88155         * elf/dl-load.c (lose): Free l_origin if it is valid.
88157         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
88158         names.
88159         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
88160         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
88161         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
88162         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
88163         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
88164         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
88166 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88168         * sysdeps/powerpc/fpu/e_hypot.c: New file.
88169         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
88170         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
88171         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
88172         * sysdeps/powerpc/fpu/k_cosf.c: New file.
88173         * sysdeps/powerpc/fpu/k_sinf.c: New file.
88174         * sysdeps/powerpc/fpu/s_cosf.c: New file.
88175         * sysdeps/powerpc/fpu/s_sinf.c: New file.
88176         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
88177         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
88179 2011-08-15  Alan Modra  <amodra@gmail.com>
88181         [BZ #13092]
88182         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
88183         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
88184         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
88185         ppc_mcount to static-only-routines.
88186         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
88187         __mcount_internal.
88188         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
88189         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
88191 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
88193         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
88194         for finite and infinity parameters.
88196 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
88198         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
88199         and add nop instructions for throughput optimization.
88200         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
88202 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
88204         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
88205         aligned copy for power7 with vector-scalar instructions.
88206         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
88208 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
88210         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
88211         AVX check.
88213 2011-09-07  Andreas Schwab  <schwab@redhat.com>
88215         [BZ #13144]
88216         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
88217         last change.
88219 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
88221         * sysdeps/unix/sysv/linux/x86_64/init-first.c
88222         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
88223         syscall wrapper around clock_gettime in __vdso_clock_gettime.
88224         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
88225         clock_gettime.
88227 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
88229         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
88230         Forgot to demangle the pointer.
88232         * sysdeps/i386/sysdep.h: Define atom_text_section.
88233         * sysdeps/x86_64/sysdep.h: Likewise.
88234         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
88235         section with atom_text_section.
88236         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
88237         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
88238         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
88239         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
88240         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
88242         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
88243         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
88244         already be defined.  Change to take two parameters and don't assign
88245         result to variable.  Adjust all users.
88246         Define INTERNAL_GETTIME if not already defined.
88247         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
88248         call.
88249         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
88250         HAVE_CLOCK_GETTIME_VSYSCALL.
88251         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
88253         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
88254         gettimeofday vsyscall, just use time.
88256 2011-09-06  Andreas Schwab  <schwab@redhat.com>
88258         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
88259         <errno.h>.
88261 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
88263         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
88264         syscall on x86-64.
88265         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
88266         syscall.
88267         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
88268         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
88269         syscall if possible.
88271 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
88273         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
88274         e_ident.  Don't pass to find_mapsXX.
88275         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
88277 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
88279         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88280         strchr-sse2-no-bsf strrchr-sse2-no-bsf
88281         * sysdeps/x86_64/multiarch/strchr.S: Update.
88282         Check bit_slow_BSF bit.
88283         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
88284         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
88285         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
88287 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
88289         [BZ #13134]
88290         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
88291         before glibc 2.15.
88292         (tryshell): Define.
88293         (__spawni): Change last parameter to be flag.  Test
88294         SPAWN_XFLAGS_USE_PATH flag to use path or not.
88295         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
88296         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
88297         * posix/spawni.c: Likewise.
88298         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
88299         * posix/spawnp.c: Likewise.  Change normal version to use
88300         SPAWN_XFLAGS_USE_PATH.
88301         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
88302         SPAWN_XFLAGS_TRY_SHELL.
88304         [BZ #13150]
88305         * posix/glob.h: Remove gcc 1.x support.
88307         [BZ #13068]
88308         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
88310 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
88312         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88313         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
88314         strrchr-sse2-bsf
88315         * sysdeps/i386/i686/multiarch/strchr.S: New file.
88316         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
88317         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
88318         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
88319         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
88320         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
88322 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88324         * sysdeps/x86_64/wcscmp.S: New file.
88326         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
88327         wcscmp-c wcscmp-sse2
88328         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
88329         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
88330         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
88331         * wcsmbs/wcscmp.c: Allow renaming.
88333 2011-09-05  David S. Miller  <davem@davemloft.net>
88335         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
88336         stack slot, rather than the struct return pointer slot.
88337         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
88338         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
88339         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
88340         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
88342 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
88344         * po/ja.po: Update from translation team.
88346         [BZ #13144]
88347         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
88348         kernel in 64-bit binaries.
88350 2011-09-01  David S. Miller  <davem@davemloft.net>
88352         * elf/elf.h (HWCAP_SPARC_*): Move to..
88353         * sysdeps/sparc/sysdep.h: this new file and add new values.
88354         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
88355         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
88356         _DL_HWCAP_COUNT to 24.
88357         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
88358         entries.
88359         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
88360         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
88361         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
88362         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
88363         instead of magic constants.
88364         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
88366 2011-08-31  David S. Miller  <davem@davemloft.net>
88368         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
88369         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
88370         Reimplement to do errno handling inline.
88371         (SYSCALL_ERROR_HANDLER): New macro.
88372         (__SYSCALL_STRING): Do not do errno handling in asm.
88373         (__CLONE_SYSCALL_STRING): Delete.
88374         (__INTERNAL_SYSCALL_STRING): Delete.
88375         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
88376         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
88377         (PSEUDO): Reimplement to do errno handling inline.
88378         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
88379         (SYSCALL_ERROR_HANDLER): New macro.
88380         (__SYSCALL_STRING): Do not do errno handling in asm.
88381         (__CLONE_SYSCALL_STRING): Delete.
88382         (__INTERNAL_SYSCALL_STRING): Delete.
88383         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
88384         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
88385         i386.
88386         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
88387         (inline_syscall*): Add 'err' argument.
88388         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
88389         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
88390         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
88391         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
88393         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
88394         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
88396 2011-08-30  Andreas Schwab  <schwab@redhat.com>
88398         * elf/rtld.c (dl_main): Relocate objects in dependency order.
88400 2011-08-29  Jiri Olsa <jolsa@redhat.com>
88402         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
88403         directive.
88405 2011-08-24  David S. Miller  <davem@davemloft.net>
88407         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
88409 2011-08-24  Andreas Schwab  <schwab@redhat.com>
88411         * elf/Makefile: Add rules to build and run unload8 test.
88412         * elf/unload8.c: New file.
88413         * elf/unload8mod1.c: New file.
88414         * elf/unload8mod1x.c: New file.
88415         * elf/unload8mod2.c: New file.
88416         * elf/unload8mod3.c: New file.
88418         * elf/dl-close.c (_dl_close_worker): Reset private search list if
88419         it wasn't used.
88421 2011-08-23  David S. Miller  <davem@davemloft.net>
88423         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
88424         subtract stack bias.
88425         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
88426         %sp not %fp in calculations.
88427         (_JMPBUF_UNWINDS_ADJ): Likewise.
88429         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
88430         (aio_suspend): Call it to force an exception region around the
88431         AIO_MISC_WAIT() invocation.
88433 2011-08-23  Andreas Schwab  <schwab@redhat.com>
88435         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
88436         backslash.
88438 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
88440         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
88441         protection macro.
88442         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
88443         and <dl-machine.h>.
88444         (Elf64_FuncDesc): Remove.
88446 2011-08-22  David S. Miller  <davem@davemloft.net>
88448         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
88449         sigaltstack check, add missing cfi directives.
88450         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
88451         missing cfi directives, and sigaltstack handling.
88453 2011-08-16  Andreas Schwab  <schwab@redhat.com>
88455         [BZ #11724]
88456         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
88457         object is seen twice.
88458         * elf/dl-fini.c (_dl_sort_fini): Likewise.
88460         * elf/Makefile (distribute): Add tst-initorder2.c.
88461         (tests): Add tst-initorder2.
88462         (modules-names): Add tst-initorder2a tst-initorder2b
88463         tst-initorder2c tst-initorder2d.  Add rules to build them.
88464         ($(objpfx)tst-initorder2.out): New rule.
88465         * elf/tst-initorder2.c: New file.
88466         * elf/tst-initorder2.exp: New file.
88468 2011-08-22  Andreas Schwab  <schwab@redhat.com>
88470         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
88472         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
88473         dependencies back to end of function.
88475         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
88476         $(elfobjdir)/ld.so.
88478 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
88480         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
88481         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
88482         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
88483         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
88484         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
88485         of __vdso_gettimeofday.
88486         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
88487         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
88488         attribute_hidden.
88489         (_libc_vdso_platform_setup): Remove initialization of
88490         __vdso_gettimeofday and __vdso_time.
88492 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
88494         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
88495         and fgetc_unlocked.
88496         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
88497         getc_unlocked.
88499         * elf/dl-open.c (add_to_global): Report additions to the global scope
88500         for LD_DEBUG=scopes.
88501         (dl_open_worker): Also print scope of newly loaded dependencies.
88502         (_dl_show_scope): Indicate if there is no scope.
88504         [BZ #13114]
88505         * stdio-common/Makefile (tests): Add bug24.
88506         * stdio-common/bug24.c: New file.
88508 2011-08-19  Andreas Jaeger  <aj@suse.de>
88510         [BZ #13114]
88511         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
88512         non-existant file when using close-on-exec mode.
88514 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
88516         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
88517         the very first instruction.
88519         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
88520         the CFI state in the end.
88521         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
88522         inclusion of dl-trampoline.h.
88523         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
88525 2011-08-19  Andreas Schwab  <schwab@redhat.com>
88527         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
88528         expectations for long double.
88530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
88531         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
88533 2011-08-14  David S. Miller  <davem@davemloft.net>
88535         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
88536         artificual limit depends upon the system page size.
88538 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
88540         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
88541         * resolv/Makefile: Define CFLAGS-libresolv.
88543 2011-08-17  Andreas Schwab  <schwab@redhat.com>
88545         * nss/makedb.c (compute_tables): Make variables used in nested
88546         function static.
88548 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
88550         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
88551         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
88552         if buffer was too small.
88554         * elf/pldd.c (main): Attach to all threads in the process.
88555         Rewrite /proc handling to use *at functions.
88557 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
88559         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
88560         specifies first scope to show.
88561         (dl_open_worker): Update callers.  Move printing scope of new
88562         object to before the relocation.
88563         * elf/rtld.c (dl_main): Update _dl_show_scope call.
88564         * sysdeps/generic/ldsodefs.h: Update declaration.
88566         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
88567         string for the scope number.
88569 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
88571         * nscd/servicescache.c (cache_addserv): Make sure written is always
88572         initialized.
88574 2011-08-14  Roland McGrath  <roland@hack.frob.com>
88576         * sysdeps/i386/i486/bits/atomic.h
88577         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
88578         statement expression, so as to suppress "set but not used" warning.
88579         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
88581         * string/strncat.c (STRNCAT): Use prototype definition.
88583         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
88584         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
88585         -Iprograms here.
88586         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
88587         (localedef-modules): Add localedef.
88588         (locale-modules): Add locale.
88590         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
88591         * elf/rtld.c (dl_main): Invert order of assignment in last change,
88592         to avoid a warning.
88594 2011-08-14  David S. Miller  <davem@davemloft.net>
88596         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
88597         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
88599 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
88601         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
88602         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
88603         * elf/rtld.c (dl_main): Set l_name of vDSO.
88604         Call _dl_show_scope when DL_DEBUG_SCOPES.
88605         (process_dl_debug): Recognize scopes flag and also set it for all.
88606         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
88607         Declare _dl_show_scope.
88609         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
88610         (do_dlopen): Pass caller_dlopen to dl_open.
88611         (__libc_dlopen_mode): Initialize caller_dlopen.
88613         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
88614         of libc.  Make tolower call locale-independent.  Optimize a bit by
88615         using isdigit instead of isalnum.
88616         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
88618 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
88620         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
88621         was a dependency or dynamically loaded.
88623 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
88625         * intl/l10nflist.c: Allow architecture-specific pop function.
88626         * sysdeps/x86_64/l10nflist.c: New file.
88628         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
88629         classification.
88631 2011-08-10  Andreas Schwab  <schwab@redhat.com>
88633         * include/dirent.h: Add libc_hidden_proto for scandirat and
88634         scandirat64.  Don't declare __scandirat64.
88635         * dirent/scandirat.c: Add libc_hidden_def.
88636         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
88637         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
88639 2011-08-10  David S. Miller  <davem@davemloft.net>
88641         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
88642         enum.
88643         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
88644         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
88645         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
88647 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
88649         * Versions.def [libc]: Add GLIBC_2.15.
88650         * dirent/Makefile (routines): Add scandirat and scandirat64.
88651         * dirent/Versions [libc]: Export scandirat and scandirat64 for
88652         GLIBC_2.15.
88653         * dirent/dirent.h: Declare scandirat and scandirat64.
88654         * dirent/scandirat.c: New file.
88655         * dirent/scandirat64.c: New file.
88656         * sysdeps/wordsize-64/scandirat.c: New file.
88657         * sysdeps/wordsize-64/scandirat64.c: New file.
88658         * dirent/opendir.c: Define opendirat.
88659         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
88660         using scandirat.
88661         * dirent/scandir64.c: Adjust for scandir.c change.
88662         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
88663         __scandirat64, and __scandir_cancel_handler.
88664         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
88665         additional parameter and use openat instead of open (outside of ld.so).
88666         Add new __opendir as wrapper around __opendirat.
88667         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
88668         here without requiring old scandirat implementation.
88670 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
88672         * dirent/scandir.c (cancel_handler): Renamed to
88673         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
88674         defined.  Adjust users.
88675         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
88676         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
88678 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
88680         * string/test-string.h (IMPL): Use __STRING to expand name and then
88681         stringify it.
88683         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
88684         of cleanups.
88686 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88688         * string/Makefile: Update.
88689         (strop-tests): Append strncat.
88690         * string/test-wcscmp.c: New file.
88691         New comprehensive test for wcscmp.
88692         * string/test-strcmp.c: Update.
88693         (WIDE): New define.
88695 2011-07-22  Andreas Schwab  <schwab@redhat.com>
88697         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
88698         line.
88700 2011-07-26  Andreas Schwab  <schwab@redhat.com>
88702         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
88703         encoding to ACE if AI_IDN.
88705 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
88707         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
88708         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
88710 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
88712         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
88713         Fix overflow bug in strncat.
88714         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
88716         * string/test-strncat.c: Update.
88717         Add new tests for checking overflow bugs.
88719 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
88721         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88722         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
88723         * sysdeps/i386/i686/multiarch/strcat.S: New file.
88724         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
88725         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
88726         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
88727         * sysdeps/i386/i686/multiarch/strncat.S: New file.
88728         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
88729         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
88731         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
88732         (USE_AS_STRCAT): Define.
88733         Add strcat and strncat support.
88734         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
88736 2011-07-25  Andreas Schwab  <schwab@redhat.com>
88738         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
88739         __n bigger than INT_MAX+1.
88740         (__strncmp_g): Likewise.
88742 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
88744         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
88745         * libio/stido.h: Likewise.
88747         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
88748         (AF_NFC): Define.
88749         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
88750         (AF_NFC): Define.
88752         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
88753         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
88754         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
88755         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
88756         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
88758         [BZ #13021]
88759         * scripts/test-installation.pl: Don't expect libnss_test1 to be
88760         installed.
88762         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
88763         typo.
88764         (_dl_x86_64_save_sse): Likewise.
88766 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
88768         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
88769         OSXSAVE.
88770         (_dl_x86_64_save_sse): Likewise.
88772         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
88774         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
88776 2011-07-21  Andreas Schwab  <schwab@redhat.com>
88778         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
88779         change.
88780         (_dl_x86_64_save_sse): Use correct AVX check.
88782 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88784         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
88785         bug in strncpy/strncat.
88786         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
88788 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
88790         * string/tester.c (test_strcat): Add tests for different alignments
88791         of source and destination.
88792         (test_strncat): Likewise.
88794 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
88796         [BZ #12852]
88797         * posix/glob.c (glob): Check passed in values before using them in
88798         expressions to avoid some overflows.
88799         (glob_in_dir): Likewise.
88801         [BZ #13007]
88802         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
88803         check for AVX enablement so that we don't crash with old kernels and
88804         new hardware.
88805         * elf/tst-audit4.c: Add same checks here.
88806         * elf/tst-audit6.c: Likewise.
88808         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
88810 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
88812         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
88814 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
88816         * po/cs.po: Update from translation team.
88817         * po/bg.po: Likewise.
88819 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
88821         * misc/sys/cdefs.h: Add support for const attribute.
88822         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
88823         to gnu_dev_{major,minor,makedev} functions.
88825 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
88827         * intl/dcigettext.c (get_output_charset): Add missing bracket.
88829 2011-07-20  Andreas Schwab  <schwab@redhat.com>
88831         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
88832         strlen results.
88834 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88836         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
88837         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
88838         register in order to avoid conflicts with the soft frame pointer
88839         being held in r11 when necessary.
88840         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
88841         (INTERNAL_VSYSCALL_NCS): Likewise.
88843 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
88845         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
88846         * elf/dl-fini.c (_dl_fini): Adjust caller.
88847         * elf/dl-close.c (_dl_close_worker): Likewise.
88848         * sysdeps/generic/ldsodefs.h: Adjust declaration.
88850 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
88852         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
88853         "aux_cache->nlibs < 0".
88855         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
88856         in the reload-count case.
88858 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
88860         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88861         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
88862         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
88863         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
88864         * sysdeps/x86_64/multiarch/strcat.S: New file.
88865         * sysdeps/x86_64/multiarch/strncat.S: New file.
88866         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
88867         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
88868         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
88869         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
88870         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
88871         (USE_AS_STRCAT): Define.
88872         Add strcat and strncat support.
88873         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
88874         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
88875         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
88876         * string/strncat.c: Update.
88877         (USE_AS_STRNCAT): Define.
88878         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88879         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
88880         and i7.
88881         * sysdeps/x86_64/multiarch/init-arch.h
88882         (bit_Prefer_PMINUB_for_stringop): New.
88883         (index_Prefer_PMINUB_for_stringop): Likewise.
88884         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
88885         bit_Prefer_PMINUB_for_stringop.
88887 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
88889         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
88890         buffer64.
88891         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
88892         of casting of buffer.
88893         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
88894         buffer32 and buffer64.
88895         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
88896         writes instead of casting of buffer.
88897         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
88898         buffer32.
88899         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
88900         casting of buffer.
88902 2011-07-19  Andreas Schwab  <schwab@redhat.com>
88904         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
88906 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
88908         * nscd/nscd.c (termination_handler): Don't do anything for a database
88909         if it has not yet been initialized.
88911 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
88913         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
88915 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
88917         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
88919 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
88921         * po/nl.po: Update from translation team.
88922         * po/sv.po: Likewise.
88924 2011-07-16  Roland McGrath  <roland@hack.frob.com>
88926         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
88927         now disallowed by GCC.
88929         * configure.in (use-default-link): Default to yes if a test -shared
88930         link meets our qualifications.
88931         * configure: Regenerated.
88933         * config.make.in (output-format): New variable.
88934         * configure.in: Check for ld --print-output-format support.
88935         * configure: Regenerated.
88936         * Makerules ($(common-objpfx)format.lds)
88937         [$(output-format) != unknown]: Just use $(output-format),
88938         instead of the linker-script munging.
88940 2011-07-14  Roland McGrath  <roland@hack.frob.com>
88942         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
88943         of $(common-objpfx)shlib.lds.
88944         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
88946         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
88947         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
88949         * configure.in (-z relro check): Adjust test code to add a large
88950         writable data section after it.
88951         * configure: Regenerated.
88953 2011-07-11  Roland McGrath  <roland@hack.frob.com>
88955         * configure.in (-z relro check): Fix test code to make the variable
88956         truly const.
88957         * configure: Regenerated.
88959 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
88961         * nscd/nscd.h (struct traced_file): Define.
88962         (struct database_dyn): Remove inotify_descr, reset_res, and filename
88963         elements.  Add traced_files.
88964         (inotify_fd): Declare.
88965         (register_traced_file): Declare.
88966         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
88967         (inotify_fd): Export.
88968         (resolv_conf_descr): Remove.
88969         (nscd_init): Move inotify descriptor creation to main.
88970         Don't register files for notification here.
88971         (register_traced_file): New function.
88972         (invalidate_cache): Don't use reset_res to determine whether to call
88973         res_init, go through the list of registered files.
88974         (main_loop_poll): The inotify descriptors are now stored in the
88975         structures for the traced files.
88976         (main_loop_epoll): Likewise.
88977         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
88978         to __nss_disable_nscd.
88979         * nscd/cache.c (prune_cache): There is no single inotify descriptor
88980         for a database anymore.  Check the records for all the registered
88981         files instead.
88982         * nss/Makefile (libnss_files-routines): Add files-init.
88983         (libnss_db-routines): Add db-init.
88984         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
88985         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
88986         * nss/nss_db/db-init.c: New file.
88987         * nss/nss_files/files-init.c: New file.
88988         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
88989         __nss_lookup_function.
88990         (__nss_lookup_function): Call nss_load_library.
88991         (nss_load_all_libraries): New function.
88992         (__nss_disable_nscd): Take parameter with callback function for files
88993         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
88994         used for the cached services.
88995         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
88996         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
88997         options for features to all the files in nscd.
88999         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
89001 2011-07-10  Roland McGrath  <roland@hack.frob.com>
89003         * csu/elf-init.c (__libc_csu_init): Comment typo.
89005 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
89007         * po/pl.po: Update from translation team.
89008         * po/ja.po: Likewise.
89009         * po/ru.po: Likewise.
89010         * po/ko.po: Likewise.
89011         * po/fr.po: Likewise.
89013 2011-07-09  Roland McGrath  <roland@hack.frob.com>
89015         * configure.in (.ctors/.dtors header and trailer check):
89016         Use an empirical test on a built program.
89017         * configure: Regenerated.
89019         * configure.in (-z relro check): Use an empirical test on a built DSO.
89020         Detect, but do not require, on ia64.
89021         * configure: Regenerated.
89023         * configure.in (READELF): Find it with AC_CHECK_TOOL.
89024         Update tests that use readelf to use $READELF instead.
89025         * configure: Regenerated.
89027 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
89029         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
89030         if the result is not used.
89032 2011-07-05  Andreas Jaeger  <aj@suse.de>
89034         [BZ #9696]
89035         * stdlib/tst-strtod.c: Add testcase.
89037 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
89039         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
89040         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
89041         The latter has a higher limit.  Take additional parameter to pass to
89042         the new function.
89043         (__pathconf): Pass file to __statfs_link_max.
89044         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
89045         __statfs_link_max.
89046         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
89047         __statfs_link_max.
89049         [BZ #12868]
89050         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
89051         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
89052         Handle Lustre.
89053         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
89054         (__statfs_filesize_max): Likewise.
89055         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
89057 2011-07-05  Andreas Jaeger  <aj@suse.de>
89059         * resolv/res_comp.c (dn_skipname): Remove unused variable.
89061 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
89063         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
89064         `status' variable.
89065         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
89066         Likewise.
89068 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
89070         * Makefile (strop-tests): Add strncat.
89071         * string/test-strncat.c: New file.
89073 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
89075         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
89077 2011-06-21  Andreas Jaeger  <aj@suse.de>
89079         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
89080         Copy rule from iconvdata/Makefile.
89082 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
89084         [BZ #12922]
89085         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
89086         but no long options are defined, just return 'W'.
89088 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
89090         [BZ #9696]
89091         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
89093 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
89095         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
89096         netgroups to read.
89097         (innetgr): Likewise.
89099 2011-07-05  Roland McGrath  <roland@hack.frob.com>
89101         * config.make.in (install_root): Default to $(DESTDIR).
89103 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
89105         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
89107 2011-07-02  Roland McGrath  <roland@hack.frob.com>
89109         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
89111         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
89112         containing directory rather than embedding absolute directory names.
89114         * scripts/check-local-headers.sh: Rewritten using awk.
89115         Match by word, not by line.  Print error messages for matches.
89116         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
89118         * Makerules [shlib-lds-flags empty]:
89119         ($(common-objpfx)libc_pic.opts): New target.
89120         ($(common-objpfx)libc_pic.os.clean): New target.
89121         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
89123         * config.make.in (OBJCOPY): New variable.
89124         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
89125         * configure: Regenerated.
89127         * config.make.in (use-default-link): New variable.
89128         * configure.in (use_default_link): Grok --with-default-link to set it.
89129         * configure: Regenerated.
89130         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
89131         (shlib-lds, shlib-lds-flags): Define to empty.
89133         * Makerules (shlib-lds): New variable.
89134         (shlib-lds-flags): New variable.
89135         (build-shlib, build-moduile, build-module-asneeded): Use it.
89136         ($(common-objpfx)libc.so): Use $(shlib-lds).
89137         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
89138         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
89140         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
89141         DT_FLAGS/DT_FLAGS_1 with zero flags.
89143         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
89144         linker script munging.
89146 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
89148         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
89149         as 128-bit value.
89150         * crypt/sha512.c (sha512_process_block): Perform total addition using
89151         128-bit if possible.
89152         (__sha512_finish_ctx): Likewise.
89153         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
89154         as 64-bit value.
89155         * crypt/sha256.c (SWAP64): Define.
89156         (sha256_process_block): Perform total addition using 64-bit if
89157         possible.
89158         (__sha256_finish_ctx): Likewise.
89160 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
89162         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
89163         * nscd/initgrcache.c (addinitgroupsX): Likewise.
89164         * nscd/hstcache.c (cache_addhst): Likewise.
89165         * nscd/grpcache.c (cache_addgr): Likewise.
89166         * nscd/aicache.c (addhstaiX): Likewise.
89167         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
89169 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
89171         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
89172         * nscd/initgrcache.c (addinitgroupsX): Likewise.
89173         * nscd/hstcache.c (cache_addhst): Likewise.
89174         * nscd/grpcache.c (cache_addgr): Likewise.
89175         * nscd/aicache.c (addhstaiX): Likewise.
89177 2011-07-01  Andreas Schwab  <schwab@redhat.com>
89179         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
89180         domain only when needed.
89182 2011-06-30  Andreas Schwab  <schwab@redhat.com>
89184         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
89185         is always restored.
89187 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
89189         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
89190         are re-adding the entry.
89191         * nscd/servicescache.c (cache_addserv): Likewise.
89193 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
89195         * sysdeps/generic/dl-irel.h: fix protection against multiple
89196         inclusions.
89197         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
89199 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
89201         [BZ #12935]
89202         * malloc/memusage.sh: Fix quoting in message.
89203         * debug/xtrace.sh: Likewise.
89205         * configure.in: Remove support for --experimental-malloc option, make
89206         it the default.
89207         * config.make.in: Likewise.
89208         * malloc/Makefile: Likewise.
89210 2011-06-27  Andreas Schwab  <schwab@redhat.com>
89212         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
89213         two-byte characters.
89215 2011-06-27  Roland McGrath  <roland@hack.frob.com>
89217         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
89218         AC_CACHE_CHECK invocation.
89219         * configure: Regenerated.
89221         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
89223 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
89225         [BZ #12350]
89226         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
89227         bit from old_res_options.
89229         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
89231         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
89232         value type for setfct.
89234 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
89236         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
89237         __gettimeofday instead of gettimeofday.
89239 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
89241         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
89243 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
89245         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
89247         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
89248         info.
89250 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
89252         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89253         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
89254         strcpy-sse2-unaligned strncpy-sse2-unaligned
89255         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
89256         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
89257         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
89258         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
89259         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
89260         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
89261         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
89262         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
89263         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
89264         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
89265         (STRCPY): Support SSE2 and SSSE3 versions.
89267 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
89269         [BZ #12874]
89270         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
89271         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
89272         kernels which artificially limit size of requests.
89274 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
89276         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89277         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
89278         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
89279         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
89280         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
89281         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
89282         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
89283         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
89284         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
89285         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
89286         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
89287         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
89288         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
89289         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
89290         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
89291         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89292         Enable unaligned load optimization for Intel Core i3, i5 and i7
89293         processors.
89294         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
89295         Define.
89296         (index_Fast_Unaligned_Load): Define.
89297         (HAS_FAST_UNALIGNED_LOAD): Define.
89299 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
89301         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
89303 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
89305         [BZ #12907]
89306         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
89307         until it is clear that the information is realy needed.
89308         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
89310 2011-06-22  Andreas Schwab  <schwab@redhat.com>
89312         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
89314 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
89316         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
89317         /sys/devices/system/cpu/online if it is usable.
89319         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
89320         reading the information from the /proc filesystem to once a second.
89322 2011-06-21  Andreas Jaeger  <aj@suse.de>
89324         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
89325         NULL after inclusion of kernel headers.
89327 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
89329         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
89330         calls to internal_setent.
89332         [BZ #12885]
89333         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
89334         addresses using gethostbyname4_r ignore IPv4 addresses.
89336         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
89337         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
89339         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
89341 2011-06-20  David S. Miller  <davem@davemloft.net>
89343         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
89344         inclusions.
89345         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
89347         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
89348         (elf_irel): Use it.
89349         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
89350         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
89351         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
89352         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
89353         * sysdeps/x86_64/dl-irel.h: Likewise.
89355         * elf/dl-runtime.c: Use elf_ifunc_invoke.
89356         * elf/dl-sym.c: Likewise.
89358 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
89360         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
89361         need to dereference resplen2.
89363 2011-06-14  Andreas Schwab  <schwab@redhat.com>
89365         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
89367 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
89369         * Makeconfig: Define vardbdir and inst_vardbdir.
89370         * nss/Makefile: Add rules to install db-Makefile.
89372         * nss/nss_db/db-XXX.c: Cleanup.
89374         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
89375         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
89376         GLIBC_PRIVATE.
89377         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
89378         * nss/makedb.c: Implement -g option to specify that value strings
89379         are generated and should not be added to table iterated over for
89380         get*ent calls.
89381         * nss/nss_db/db-initgroups.c: New file.
89383         * nss/getent.c: Add support for initgroups lookups through getgrouplist
89384         interface.
89386         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
89387         (internal_getgrouplist): Adjust to name change.
89388         Update use_initgroups_entry if this is not the first call.
89389         * nss/databases.def: Add initgroups entry.
89391         * nss/makedb.c (compute_tables): Check result of multiple hash table
89392         sizes to minimize maximum chain length.
89394 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
89396         * Versions.def: Add entry for libnss_db.
89397         * shlib-versions: Likewise.
89398         * nss/Makefile: Add rules to build libnss_db.
89399         * nss/Versions: Add libnss_db information.  Organize libnss_files
89400         entries better.
89401         * nss/db-Makefile: Add gshadow support.  Change rules for the new
89402         makedb progra.  Some minor improvements to generate smaller files.
89403         * nss/nss_db/nss_db.h: Move NSS database header data structures to
89404         here from...
89405         * nss/makedb.c: ...here.
89406         Improve database format to be smaller and require less memory at
89407         runtime.
89408         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
89409         db anymore.
89410         * nss/nss_db/db-netgrp.c: Likewise.
89411         * nss/nss_db/db-open.c: Likewise.
89412         * nss/nss_files/flies-XXX.x: Adjust comments.
89413         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
89414         * nss/nss_files/files-grp.c: Likewise.
89415         * nss/nss_files/files-hosts.c: Likewise.
89416         * nss/nss_files/files-network.c: Likewise.
89417         * nss/nss_files/files-proto.c: Likewise.
89418         * nss/nss_files/files-pwd.c: Likewise.
89419         * nss/nss_files/files-rpc.c: Likewise.
89420         * nss/nss_files/files-service.c: Likewise.
89421         * nss/nss_files/files-sgrp.c: Likewise.
89422         * nss/nss_files/files-spwd.c: Likewise.
89423         * nss/nss_db/db-alias.c: Removed.
89424         * nss/nss_db/dummy-db.h: Removed.
89426 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
89428         * nss/makedb.c: Rewritten to not use database library.
89429         * nss/Makefile: Update to build new makedb program.
89431 2011-06-14  Andreas Jaeger  <aj@suse.de>
89433         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
89434         memset declaration.
89436 2011-06-10  Andreas Schwab  <schwab@redhat.com>
89438         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
89439         tmpbuf.
89441 2011-06-10  Roland McGrath  <roland@hack.frob.com>
89443         * Makerules (shlib.lds): Fail if the linker script comes out empty.
89444         * elf/Makefile ($(objpfx)ld.so): Likewise.
89446         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
89447         Don't list ld.so twice in dependencies.
89449         * posix/bug-regex31.c: Include <stdlib.h>.
89451         * nscd/hstcache.c (cache_addhst): Remove unused variable.
89453         * nis/nss_compat/compat-spwd.c
89454         (getspent_next_nss_netgr): Remove unused variable.
89455         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
89457         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
89458         nonmembers" output to use the right array.
89460         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
89462         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
89464         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
89465         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
89466         * catgets/gencat.c (read_input_file): Likewise.
89467         * locale/programs/locarchive.c (enlarge_archive): Likewise.
89469         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
89470         variable definition inside #if's controlling its use.
89472         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
89474         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
89476         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
89478         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
89479         unreachable code.
89481         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
89483         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
89484         * configure: Regenerated.
89486         * Makerules: Revert last change.
89487         * elf/Makefile: Likewise.
89489 2011-06-09  Roland McGrath  <roland@hack.frob.com>
89491         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
89492         * elf/Makefile ($(objpfx)librtld.os): Likewise.
89493         (reloc-link): Likewise.
89495 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
89497         * elf/Makefile: Add rules to build pldd.
89498         * elf/pldd.c: New file.
89499         * elf/pldd-xx.c: New file.
89501 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
89503         * version.h: Update for 2.15 development version.
89505 2011-06-07  David S. Miller  <davem@davemloft.net>
89507         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
89508         ifuncs.
89509         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
89510         elf_machine_lazy_rel): Likewise.
89511         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
89512         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
89513         elf_machine_lazy_rel): Likewise.
89514         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
89515         dl_hwcap via passed in argument.
89516         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
89517         Likewise.
89519 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89521         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
89523 2011-06-06  Roland McGrath  <roland@hack.frob.com>
89525         [BZ #12849]
89526         * manual/fdl-1.1.texi: New file, verbatim from:
89527         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
89528         * manual/lgpl-2.1.texi: New file, verbatim from:
89529         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
89530         * manual/Makefile (licenses): New variable, list those new file names.
89531         (texis): Use it.
89532         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
89534         * manual/fdl.texi: File removed.
89535         * manual/lesser.texi: File removed.
89536         * manual/libc.texinfo (Copying, Documentation License):
89537         Use new @include file names, put @appendix directive before @include.
89539 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
89541         [BZ #12841]
89542         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
89543         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
89544         (mq_open): Add __NTH.
89546 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
89548         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89549         Assume Intel Core i3/i5/i7 processor if AVX is available.
89551 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
89553         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
89554         typo.
89556 2011-05-31  Andreas Schwab  <schwab@redhat.com>
89558         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
89559         memory.  Use alloca_account.  Fix memory leak when retrying.
89561 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
89563         * version.h (RELEASE): Bump for 2.14 release.
89564         * include/features.h (__GLIBC_MINOR__): Bump to 14.
89566         * config.make.in (RANLIB): Remove entry.
89568 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
89570         * po/Makefile (po-sed-cmd): Add ksh to extensions.
89571         (libc.pot): Work around missing support for .ksh extension in xgettext.
89573         [BZ #12684]
89574         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
89575         if both request failed.
89576         (send_dg): In case of server errors clear resplen or *resplen2.
89578         [BZ #12454]
89579         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
89580         when there are multiple maps.
89581         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
89582         (_dl_fini): Remove test here.
89584         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
89586 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
89588         [BZ #12350]
89589         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
89590         bit from old_res_options.
89591         (gaih_inet): Likewise.
89593         [BZ #11099]
89594         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
89595         as signed.
89597         * resolv/res_init.c (res_setoptions): Make the code more compact.
89599         [BZ #11558]
89600         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
89601         set RES_USEVC.
89603         [BZ #11634]
89604         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
89606         * malloc/malloc.h: Mark malloc hook variables as deprecated.
89608         [BZ #11781]
89609         * malloc/malloc.h: Declare malloc hook variables as volatile.
89611         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
89612         in last patch.
89614         [BZ #11799]
89615         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
89616         raise in the comment.
89617         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
89618         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
89619         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
89621 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
89623         [BZ #12811]
89624         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
89625         grow the buffers more if it already has to be sufficient.
89626         (build_wcs_upper_buffer): Likewise.
89627         * posix/regexec.c (check_matching): Likewise.
89628         (clean_state_log_if_needed): Likewise.
89629         (extend_buffers): Don't enlarge buffers beyond size of the input
89630         buffer.
89631         Patches mostly by Emil Wojak <emil@wojak.eu>.
89632         * posix/bug-regex32.c: New file.
89633         * posix/Makefile (tests): Add bug-regex32.
89635         * locale/findlocale.c (_nl_find_locale): Return right away if
89636         _nl_explode_name failed.
89637         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
89639         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
89641         * debug/xtrace.sh: Unify messages.
89642         * malloc/memusage.sh: Likewise.
89644         [BZ #12813]
89645         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
89646         time symbol from vDSO.  Substitute with vsyscall if not available.
89647         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
89648         __vdso_time.
89650         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
89651         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
89652         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
89653         Add sendmmsg and internal_sendmmsg.
89654         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
89655         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
89656         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
89658         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
89659         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
89660         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
89662 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
89664         [BZ #12813]
89665         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
89666         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
89667         available.
89668         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
89669         __vdso_getcpu.
89671         [BZ #12814]
89672         * iconvdata/Makefile (tests): Add bug-iconv9.
89673         * iconvdata/bug-iconv9.c: New file.
89675 2011-05-27  Andreas Schwab  <schwab@redhat.com>
89677         [BZ #12814]
89678         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
89680 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
89682         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
89683         (struct user_regs_struct): Change intcs field back to cs.
89685 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
89687         * po/ja.po: Update from translation team.
89689 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
89691         [BZ #12795]
89692         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
89693         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
89695 2011-05-20  Andreas Schwab  <schwab@redhat.com>
89697         * stdlib/longlong.h: Update from GCC.
89699 2011-05-23  Andreas Schwab  <schwab@redhat.com>
89701         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
89702         parameter name.
89703         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
89704         Add parameter name.
89705         (__sysconf): Pass it down.
89707 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
89709         [BZ #12671]
89710         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
89711         some situations.
89712         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
89713         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
89714         add in in __libc_use_alloca calls.  Adjust callers.
89715         (glob): Use malloc in some situations.
89717         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
89718         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
89719         pltexit.
89721 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
89723         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
89724         and CLOCK_BOOTTIME_ALARM.
89726         [BZ #12782]
89727         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
89728         is returned.
89730         * string/_strerror.c (__strerror_r): Print negative errors as signed
89731         numbers.
89733         [BZ #12777]
89734         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
89735         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
89736         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
89738         * configure.in: Fix typo in redirection and correct removal of test
89739         files in two cases.
89741         [BZ #12788]
89742         * locale/setlocale.c (new_composite_name): Fix test to check for
89743         identical name of all categories.
89745         [BZ #12792]
89746         * libio/filedoalloc.c (local_isatty): New function.
89747         (_IO_file_doallocate): Use local_isatty.
89748         * stdio-common/perror.c (perror): In case a new stream is used
89749         forward the stream error.
89750         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
89751         error flag.
89753 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
89755         [BZ #11884]
89756         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
89757         alloca.
89758         * include/alloca.h (extend_alloca_account): Define.
89760         [BZ #11857]
89761         * posix/regex.h: Fix comments with documentation of user-accessible
89762         fields after compilation and describe correct free'ing of pattern
89763         after re_compile_pattern.
89764         Patch by Reuben Thomas <rrt@sc3d.org>.
89766 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
89768         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
89769         and -mno-altivec to prevent the compiler from using Altivec and/or
89770         VSX instructions when the corresponding registers are not available.
89772 2011-05-19  Andreas Schwab  <schwab@redhat.com>
89774         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
89776 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
89778         * libio/freopen.c (freopen): Use __dup2, not dup2.
89779         * libio/freopen64.c (freopen64): Likewise.
89781 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
89783         [BZ #12775]
89784         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
89785         * math/Makefile (tests): Add test-powl.
89786         (CFLAGS-test-powl.c): Define.
89787         * math/test-powl.c: New file.
89789 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
89791         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
89793 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
89795         [BZ #11837]
89796         * iconvdata/gb18030.c: Update to GB18020-2005.
89798 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
89800         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
89801         RE_SYNTAX_POSIX_AWK): Update to match recent development.
89802         Patch by Aharon Robbins <arnold@skeeve.com>.
89804         [BZ #11892]
89805         * stdlib/putenv.c (putenv): Don't always create copy of the variable
89806         on the stack.
89808         [BZ #11895]
89809         * misc/pselect.c (__pselect): Handle timeout value errors hidden
89810         through underflows.
89812         [BZ #12766]
89813         * misc/error.c (error_at_line): Ensure file_name and old_file_name
89814         point to strings before performing equality test for error_one_per_line
89815         mode.
89817         [BZ #11697]
89818         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
89820         [BZ #11820]
89821         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
89822         (struct user_fpregs_struct): Avoid __uint*_t types.
89824         [BZ #6420]
89825         * malloc/mtrace.c (tr_where): Add additional parameter to point to
89826         symbol info.  Use it instead of calling _dl_addr locally.
89827         (lock_and_info): New function.
89828         (tr_freehook): Call lock_and_info and pass symbol info as additional
89829         parameter to tr_where.
89830         (tr_mallochook): Likewise.
89831         (tr_reallochook): Likewise.
89832         (tr_memalignhook): Likewise.
89834         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
89835         used and couldn't be at all thread-safe.
89837 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
89839         * libio/freopen.c (freopen): Don't close old file descriptor
89840         before the new one is opened.  Instead dup the new file descriptor
89841         to the old one after the new stream is created.
89842         * libio/freopen64.c (freopen64): Likewise.
89843         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
89844         * libio/fileops.c (_IO_new_file_close_it): Handle new
89845         _IO_FLAGS2_NOCLOSE flag.
89846         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
89847         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
89848         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
89849         _IO_FLAGS2_NOCLOSE flag.
89850         * include/unistd.h: Add hidden_proto for dup3.
89851         Define __have_dup3.
89852         * io/dup3.c: Define hidden symbol.
89853         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
89855         [BZ #7101]
89856         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
89857         when an incomplete long option is used.
89858         * posix/tst-getopt_long1.c: New file.
89859         * posix/Makefile (tests): Add tst-getopt_long1.
89861         [BZ #10138]
89862         * scripts/config.guess: Update from autoconf-2.68.
89863         * scripts/config.sub: Likewise.
89865         [BZ #10157]
89866         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
89867         tests into ...
89868         (has_cpuclock): ...this.  New function.
89869         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
89870         macro here based on has_cpuclock code.
89872         [BZ #10149]
89873         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
89874         First byte (not low byte) is now always NUL.
89875         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
89877         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
89878         Use non-cancelable interfaces.
89880         [BZ #9809]
89881         * locale/iso-639.def: Add entry for Sorani.
89883         [BZ #11901]
89884         * include/stdlib.h: Move include protection to the right place.
89885         Define abort_msg_s.  Declare __abort_msg with it.
89886         * stdlib/abort.c (__abort_msg): Adjust type.
89887         * assert/assert.c (__assert_fail_base): New function.  Majority
89888         of code from __assert_fail.  Allocate memory for __abort_msg with
89889         mmap.
89890         (__assert_fail): Now call __assert_fail_base.
89891         * assert/assert-perr.c: Remove bulk of implementation.  Use
89892         __assert_fail_base.
89893         * include/assert.hL Declare __assert_fail_base.
89894         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
89895         mmap.
89896         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
89898 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
89900         [BZ #11952]
89901         [BZ #12453]
89902         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
89903         until all modules are registered in the DTV.
89904         * elf/Makefile: Add rules to build and run tst-tls19.
89905         * elf/tst-tls19.c: New file.
89906         * elf/tst-tls19mod1.c: New file.
89907         * elf/tst-tls19mod2.c: New file.
89908         * elf/tst-tls19mod3.c: New file.
89909         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
89911         [BZ #12083]
89912         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
89913         correctly.
89915         [BZ #12601]
89916         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
89917         two-byte sequence errors.
89918         * iconvdata/Makefile (tests): Add bug-iconv8.
89919         * iconvdata/bug-iconv8.c: New file.
89921         [BZ #12626]
89922         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
89923         buf2 definition.
89925         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
89927         [BZ #12432]
89928         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
89929         (dummy_getcfa): New function.
89930         (init): Get _Unwind_GetCFA address, use dummy if not found.
89931         (backtrace_helper): In recursion check, also check whether CFA changes.
89932         (__backtrace): Completely initialize arg.
89934         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
89935         storing incomplete byte sequence in state object.  Avoid testing for
89936         guaranteed too small input if we know there is enough data available.
89938 2011-05-11  Andreas Schwab  <schwab@redhat.com>
89940         * Makeconfig (+link-pie): Indent.
89941         * Rules (binaries-pie): Define if $(have-fpie) and
89942         $(build-shared).
89943         (binaries-shared): Also filter out $(binaries-pie).
89944         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
89945         * nscd/Makefile (others-pie): Add nscd.
89946         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
89947         ($(objpfx)nscd): Remove command override.
89948         * login/Makefile (others-pie): Add pt_chown.
89949         ($(objpfx)pt_chown): Remove command override.
89950         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
89951         remove command overrides.
89953 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
89955         * libio/tst_putwc.c: Fix error messages.
89957         [BZ #12724]
89958         * libio/fileops.c (_IO_new_file_close_it): Always flush when
89959         currently writing and seek to current position when not.
89960         * libio/Makefile (tests): Add bug-fclose1.
89961         * libio/bug-fclose1.c: New file.
89963 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
89965         [BZ #12511]
89966         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
89967         don't set DF_1_NODELETE here.
89968         (do_lookup_x): When entering new entry test for copy relocation
89969         and if necessary set DF_1_NODELETE flag.
89970         * elf/tst-unique4.cc: New file.
89971         * elf/tst-unique4.h: New file.
89972         * elf/tst-unique4lib.cc: New file.
89973         * elf/Makefile: Add rules to build and run tst-unique4.
89974         Patch by Piotr Bury <pbury@goahead.com>.
89976 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
89978         [BZ #12052]
89979         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
89981         [BZ #12625]
89982         * misc/mntent_r.c (addmntent): Flush the stream after the output
89984         [BZ #12393]
89985         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
89986         (is_trusted_path_normalize): Skip initial colon.  Append slash
89987         to empty buffer.  Duplicate is_trusted_path code but allow
89988         constructed patch to be prefix.
89989         (is_dst): Allow $ORIGIN followed by /.
89990         (_dl_dst_substitute): Correct clearing of check_for_trusted.
89991         Correct testing of result of is_trusted_path_normalize
89992         (decompose_rpath): Fix warning.
89994 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
89996         [BZ #11257]
89997         * grp/initgroups.c (internal_getgrouplist): When we found the service
89998         list through the initgroups entry in nsswitch.conf do not always
89999         continue on a successful lookup.  Don't always use the
90000         __nss_group_database value if it is set.
90001         * nss/nsswitch.conf (initgroups): Change action for successful db
90002         lookup to continue for compatibility.
90004 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
90006         [BZ #11532]
90007         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
90008         and CP774 modules.
90009         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
90010         and CP774 modules.
90011         * iconvdata/tst-tables.sh: Likewise.
90012         * iconvdata/cp770.c: New file.
90013         * iconvdata/cp771.c: New file.
90014         * iconvdata/cp772.c: New file.
90015         * iconvdata/cp773.c: New file.
90016         * iconvdata/cp774.c: New file.
90017         * iconvdata/testdata/CP770: New file.
90018         * iconvdata/testdata/CP770..UTF8: New file.
90019         * iconvdata/testdata/CP771: New file.
90020         * iconvdata/testdata/CP771..UTF8: New file.
90021         * iconvdata/testdata/CP772: New file.
90022         * iconvdata/testdata/CP772..UTF8: New file.
90023         * iconvdata/testdata/CP773: New file.
90024         * iconvdata/testdata/CP773..UTF8: New file.
90025         * iconvdata/testdata/CP774: New file.
90026         * iconvdata/testdata/CP774..UTF8: New file.
90028         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
90029         END CHARMAP line.
90030         * iconvdata/gen-8bit-gap.sh: Likewise.
90031         * iconvdata/gen-8bit.sh: Likewise.
90033         * locale/iso-639.def: Add ary entry.
90035         [BZ #11258]
90036         * locale/C-translit.h.in: Add U20A1 transliteration.
90038         [BZ #12178]
90039         * locale/iso-639.def: Add wae entry.
90040         Patch by Kevin Bortis <bortis@translate-wae.ch>.
90042         [BZ #12545]
90043         * locale/programs/localedef.c (construct_output_path): Use ssize_t
90044         for n.
90046         [BZ #12711]
90047         * locale/C-translit.h.in: Add entry for U20B9.
90048         Patch by pravin.d.s@gmail.com.
90050 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
90052         [BZ #12713]
90053         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
90054         ENAMETOOLONG use generic getcwd.
90055         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
90056         in rtld.  Use *stat64.
90057         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
90058         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
90059         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
90060         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
90061         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
90062         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
90063         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
90064         __fstatat64 macros.
90065         * include/dirent.h: Add libc_hidden_proto for rewinddir.
90066         * dirent/rewinddir.c: Add libc_hidden_def.
90067         * sysdeps/mach/hurd/rewinddir.c: Likewise.
90068         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
90070         * include/dirent.h (__alloc_dir): Add flags parameter.
90071         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
90072         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
90073         __alloc_dir.
90074         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
90075         from fdopendir if O_CLOEXEC is already set.
90077 2011-03-15  Alan Modra  <amodra@gmail.com>
90079         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
90080         l_tls_firstbyte_offset non-zero.  Save padding offset in
90081         l_tls_firstbyte_offset for later use.
90082         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
90083         freeing static tls block.
90085 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
90087         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
90088         where #ifdef was intended.  The intent is to prevent ARG_MAX from
90089         being defined by the kernel headers.
90091 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
90093         [BZ #12734]
90094         * resolv/resolv.h: Define RES_NOTLDQUERY.
90095         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
90096         no-tld-query and set RES_NOTLDQUERY.
90097         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
90098         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
90099         modern BIND to search name as TLD unless forbidden.
90101 2011-05-07  Petr Baudis  <pasky@suse.cz>
90102             Ulrich Drepper  <drepper@gmail.com>
90104         [BZ #12393]
90105         * elf/dl-load.c (fillin_rpath): Move trusted path check...
90106         (is_trusted_path): ...to here.
90107         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
90108         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
90109         using is_trusted_path_normalize() in setuid scripts.
90111 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
90113         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
90114         __BEGIN/__END_DECLS.
90116 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
90118         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
90119         NSS_STATUS_NOTFOUND if no record was found.
90121 2011-05-05  Andreas Schwab  <schwab@redhat.com>
90123         * sunrpc/Makefile (headers): Add rpc/netdb.h.
90124         (headers-not-in-tirpc): Remove rpc/netdb.h
90125         * resolv/netdb.h: Revert last change.
90127 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
90129         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
90130         circular dependency between libgcc.a and libc.a.
90132 2011-05-05  Andreas Schwab  <schwab@redhat.com>
90134         * resolv/netdb.h: Don't include <rpc/netdb.h>.
90135         * nis/Makefile: Don't install rpcsvc/*.
90136         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
90137         instead of <rpc/types.h>.
90138         (MAXHOSTNAMELEN): Define.
90140 2011-05-03  Andreas Schwab  <schwab@redhat.com>
90142         * elf/ldconfig.c (add_dir): Don't crash on empty path.
90144 2011-04-28  Maciej Babinski  <mbabinski@google.com>
90146         [BZ #12714]
90147         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
90148         gethostbyname4_r when IPv6 results are possible.
90150 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
90152         [BZ #12723]
90153         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
90154         _PC_PIPE_BUF handling.
90156 2011-04-30  Bruno Haible  <bruno@clisp.org>
90158         [BZ #12717]
90159         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
90160         * resolv/netdb.h (getnameinfo): Change type of flags parameter
90161         to 'int'.
90162         * inet/getnameinfo.c (getnameinfo): Likewise.
90164 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
90166         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
90167         to groups setting in database lookup.
90168         * nss/nsswitch.conf: Add initgroups entry.
90170 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
90172         [BZ #12685]
90173         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
90174         mode string.
90175         Patch by Eric Blake <eblake@redhat.com>.
90177 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
90179         * sunrpc/Makefile (need-export-routines): Add svc_run.
90180         (routines): Remove svc_run.
90181         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
90182         * sunrpc/clnt_perr.c (clnt_perrno): Export.
90183         * sunrpc/svc_run.c (svc_run): Likewise.
90184         * sunrpc/svc_udp.c (svcudp_create): Likewise.
90186 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
90188         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
90189         problem in reallocation in last patch.
90191 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
90193         * sunrpc/Makefile: Move inclusion of Rules.
90195 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
90197         * nss/nss_files/files-initgroups.c: New file.
90198         * nss/Makefile (libnss_files-routines): Add files-initgroups.
90199         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
90200         _nss_files_initgroups_dyn.
90202 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
90204         * elf/elf.h (R_ARM_IRELATIVE): Define.
90206 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
90208         * po/ru.po: Update from translation team.
90210 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
90212         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
90213         dependencies.
90215 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
90217         [BZ #12653]
90218         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
90219         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
90220         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
90221         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
90222         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
90224 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
90226         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
90227         differing bytes.
90228         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
90229         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
90230         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
90232 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
90234         [BZ #12420]
90235         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
90236         storing it.
90237         * stdlib/bug-getcontext.c: New file.
90238         * stdlib/Makefile: Add rules to build and run bug-getcontext.
90240 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90242         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
90243         instructions into .machine "z9-109".
90244         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
90245         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
90247 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90249         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
90250         between environment variables and auxiliary vector.
90252 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
90254         * Makefile: Add rules to build linkobj/libc.so.
90255         * include/libc-symbols.h: Define libc_hidden_nolink.
90256         * include/rpc/auth.h: Mark functions which are to be hidden.
90257         * include/rpc/auth_des.h: Likewise.
90258         * include/rpc/auth_unix.h: Likewise.
90259         * include/rpc/clnt.h: Likewise.
90260         * include/rpc/des_crypt.h: Likewise.
90261         * include/rpc/key_prot.h: Likewise.
90262         * include/rpc/pmap_clnt.h: Likewise.
90263         * include/rpc/pmap_prot.h: Likewise.
90264         * include/rpc/pmap_rmt.h: Likewise.
90265         * include/rpc/rpc_msg.h: Likewise.
90266         * include/rpc/svc.h: Likewise.
90267         * include/rpc/svc_auth.h: Likewise.
90268         * include/rpc/xdr.h: Likewise.
90269         * nis/Makefile: Link all DSOs against linkobj/libc.so.
90270         * nss/Makefile: Likewise.
90271         * sunrpc/Makefile: Don't install headers.  Build library with normal
90272         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
90273         * sunrpc/auth_des.c: Hide exported symbols by default, export some
90274         for the compat linking library.  Remove use of INTDEF/INTUSE.
90275         * sunrpc/auth_none.c: Likewise.
90276         * sunrpc/auth_unix.c: Likewise.
90277         * sunrpc/authdes_prot.c: Likewise.
90278         * sunrpc/authuxprot.c: Likewise.
90279         * sunrpc/clnt_gen.c: Likewise.
90280         * sunrpc/clnt_perr.c: Likewise.
90281         * sunrpc/clnt_raw.c: Likewise.
90282         * sunrpc/clnt_simp.c: Likewise.
90283         * sunrpc/clnt_tcp.c: Likewise.
90284         * sunrpc/clnt_udp.c: Likewise.
90285         * sunrpc/clnt_unix.c: Likewise.
90286         * sunrpc/des_crypt.c: Likewise.
90287         * sunrpc/des_soft.c: Likewise.
90288         * sunrpc/get_myaddr.c: Likewise.
90289         * sunrpc/key_call.c: Likewise.
90290         * sunrpc/key_prot.c: Likewise.
90291         * sunrpc/netname.c: Likewise.
90292         * sunrpc/pm_getmaps.c: Likewise.
90293         * sunrpc/pm_getport.c: Likewise.
90294         * sunrpc/pmap_clnt.c: Likewise.
90295         * sunrpc/pmap_prot.c: Likewise.
90296         * sunrpc/pmap_prot2.c: Likewise.
90297         * sunrpc/pmap_rmt.c: Likewise.
90298         * sunrpc/publickey.c: Likewise.
90299         * sunrpc/rpc_cmsg.c: Likewise.
90300         * sunrpc/rpc_common.c: Likewise.
90301         * sunrpc/rpc_dtable.c: Likewise.
90302         * sunrpc/rpc_prot.c: Likewise.
90303         * sunrpc/rpc_thread.c: Likewise.
90304         * sunrpc/rtime.c: Likewise.
90305         * sunrpc/svc.c: Likewise.
90306         * sunrpc/svc_auth.c: Likewise.
90307         * sunrpc/svc_authux.c: Likewise.
90308         * sunrpc/svc_raw.c: Likewise.
90309         * sunrpc/svc_run.c: Likewise.
90310         * sunrpc/svc_simple.c: Likewise.
90311         * sunrpc/svc_tcp.c: Likewise.
90312         * sunrpc/svc_udp.c: Likewise.
90313         * sunrpc/svc_unix.c: Likewise.
90314         * sunrpc/svcauth_des.c: Likewise.
90315         * sunrpc/xcrypt.c: Likewise.
90316         * sunrpc/xdr.c: Likewise.
90317         * sunrpc/xdr_array.c: Likewise.
90318         * sunrpc/xdr_float.c: Likewise.
90319         * sunrpc/xdr_intXX_t.c: Likewise.
90320         * sunrpc/xdr_mem.c: Likewise.
90321         * sunrpc/xdr_rec.c: Likewise.
90322         * sunrpc/xdr_ref.c: Likewise.
90323         * sunrpc/xdr_sizeof.c: Likewise.
90324         * sunrpc/xdr_stdio.c: Likewise.
90326 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
90328         [BZ #12650]
90329         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
90330         * sysdeps/ia64/dl-tls.h: Likewise.
90331         * sysdeps/powerpc/dl-tls.h: Likewise.
90332         * sysdeps/s390/dl-tls.h: Likewise.
90333         * sysdeps/sh/dl-tls.h: Likewise.
90334         * sysdeps/sparc/dl-tls.h: Likewise.
90335         * sysdeps/x86_64/dl-tls.h: Likewise.
90336         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
90338 2011-03-14  Andreas Schwab  <schwab@redhat.com>
90340         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
90341         rpath element also skip the following colon.
90342         (expand_dynamic_string_token): Add is_path parameter and pass
90343         down to DL_DST_REQUIRED and _dl_dst_substitute.
90344         (decompose_rpath): Call expand_dynamic_string_token with
90345         non-zero is_path.  Ignore empty rpaths.
90346         (_dl_map_object_from_fd): Call expand_dynamic_string_token
90347         with zero is_path.
90349 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
90351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
90352         Make cancelable.
90354 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
90356         [BZ #12655]
90357         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
90358         Patch by Filipe David Manana <fdmanana@apache.org>.
90360 2011-04-07  Andreas Schwab  <schwab@redhat.com>
90362         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
90363         Maintain aligned stack.
90364         (CHECK_RSP): Remove unused macro.
90366 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
90368         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
90369         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
90371 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
90373         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
90375         * include/features.h: Mention __USE_XOPEN2K8 in comment.
90377 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
90379         [BZ #12518]
90380         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
90381         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
90382         * sysdeps/x86_64/memmove.c: New file.
90383         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
90384         (memcpy): Renamed to ...
90385         (__new_memcpy): This.
90386         (memcpy): Provide GLIBC_2_14 memcpy.
90387         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
90388         (memcpy): Provide GLIBC_2_2_5 memcpy.
90390 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
90392         [BZ #12631]
90393         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
90395 2011-03-30  Andreas Schwab  <schwab@redhat.com>
90397         * misc/syncfs.c: New file.
90398         * misc/Makefile (routines): Add syncfs.
90399         * posix/unistd.h: Declare syncfs.
90400         * sysdeps/unix/syscalls.list: Add syncfs.
90402 2011-04-01  Andreas Schwab  <schwab@redhat.com>
90404         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
90405         open_by_handle_at.
90406         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
90407         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
90408         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
90409         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
90410         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
90411         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
90412         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
90414 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
90416         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
90417         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
90418         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
90419         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
90420         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
90421         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
90422         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
90424         * io/Makefile: Compile fallocate.c, fallocate64.c, and
90425         sync_file_range.c with -fexceptions.
90426         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
90427         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
90428         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
90429         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
90430         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
90431         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
90432         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
90433         sync_file_range as cancellation point
90434         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
90435         now a wrapper around __call_sync_file_range with cancellation handling.
90436         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
90437         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
90438         function name to __call_sync_file_range.
90439         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
90440         Add call_sync_file_range.
90442 2011-04-01  Andreas Schwab  <schwab@redhat.com>
90444         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
90445         bits/timex.h.
90447 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
90449         * iconv/iconv.h: Fix typo in comment.
90450         * io/fcntl.h: Likewise.
90451         * libio/stdio.h: Likewise.
90452         * posix/spawn.h: Likewise.
90453         * posix/unistd.h: Likewise.
90454         * stdlib/stdlib.h: Likewise.
90455         * time/time.h: Likewise.
90456         * wcsmbs/wchar.h: Likewise.
90458         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
90459         open_by_handle): Add.
90460         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
90461         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
90462         Augment a few comments.
90463         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
90464         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
90465         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
90466         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
90467         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
90468         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
90469         open_by_handle.
90471         * io/fcntl.h (AT_EMPTY_PATH): Define.
90473 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
90475         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
90476         * sysdeps/unix/sysv/linux/bits/time.h: New file.
90477         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
90478         to...
90479         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
90480         * Versions.def: Add GLIBC_2.14.
90481         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
90482         Export.
90484 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
90486         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
90487         round counter.
90488         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
90490 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
90492         [BZ #12597]
90493         * string/test-strncmp.c (do_page_test): New function.
90494         (check2): Likewise.
90495         (test_main): Call check2.
90496         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
90498 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
90500         [BZ #12587]
90501         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
90502         Handle cache information in CPU leaf 4.
90503         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
90505 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
90507         [BZ #12583]
90508         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
90509         character representation.
90510         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
90512 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
90514         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
90515         END(__isnan) to END(__isnanf) to match function entry point/label
90516         EALIGN(__isnanf,...).
90518 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
90520         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
90522 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
90524         [BZ #12510]
90525         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
90526         copy from the symbol referenced in the relocation to initialize the
90527         used variable.
90528         Patch by Piotr Bury <pbury@goahead.com>.
90529         * elf/Makefile: Add rules to build and tst-unique3.
90530         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
90531         * elf/tst-unique3.cc: New file.
90532         * elf/tst-unique3.h: New file.
90533         * elf/tst-unique3lib.cc: New file.
90534         * elf/tst-unique3lib2.cc: New file.
90536         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
90538 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
90540         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
90541         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
90542         to _start.
90544 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
90546         * elf/dl-load.c (_dl_map_object): If we are looking for the first
90547         to-be-loaded object along a path to loader is ld.so.
90549 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
90550             Ulrich Drepper  <drepper@gmail.com>
90552         * sysdeps/x86_64/memset.S: After aligning destination, code
90553         branches to different locations depending on the value of
90554         misalignment, when multiarch is enabled. Fix this.
90556 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
90558         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
90559         Set _x86_64_preferred_memory_instruction for AMD processsors.
90560         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90561         Set bit_Prefer_SSE_for_memop for AMD processors.
90563 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
90565         * libio/fmemopen.c (fmemopen): Optimize a bit.
90567 2011-03-03  Andreas Schwab  <schwab@redhat.com>
90569         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
90571 2011-03-03  Roland McGrath  <roland@redhat.com>
90573         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
90575 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
90577         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
90578         __bzero_ultra1 instead of __memset_ultra1.
90580 2011-02-23  Andreas Schwab  <schwab@redhat.com>
90581             Ulrich Drepper  <drepper@gmail.com>
90583         [BZ #12509]
90584         * include/link.h (struct link_map): Add l_orig_initfini.
90585         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
90586         returning unsuccessfully.
90587         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
90588         close of a file loaded at startup, restore the original l_initfini
90589         list.
90590         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
90591         list, store the pointer.
90592         * elf/Makefile ($(objpfx)noload-mem): New rule.
90593         (noload-ENV): Define.
90594         (tests): Add $(objpfx)noload-mem.
90595         * elf/noload.c: Include <memcheck.h>.
90596         (main): Call mtrace.  Close all opened handles.
90598 2011-02-17  Andreas Schwab  <schwab@redhat.com>
90600         [BZ #12454]
90601         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
90602         dependencies are missing.
90604 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90606         Fix __if_freereq crash: Unlike the generic version which uses free,
90607         Hurd needs munmap.
90608         * sysdeps/mach/hurd/ifreq.h: New file.
90610 2011-01-27  Petr Baudis  <pasky@suse.cz>
90611             Ulrich Drepper  <drepper@gmail.com>
90613         [BZ 12445]#
90614         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
90615         to extend_alloca().
90616         * stdio-common/bug23.c: New file.
90617         * stdio-common/Makefile (tests): Add bug23.
90619 2010-09-28  Andreas Schwab  <schwab@redhat.com>
90620             Ulrich Drepper  <drepper@gmail.com>
90622         [BZ #12489]
90623         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
90624         before performing relro protection.  At old place add assertion
90625         to make sure nothing changed.
90627 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
90628             Glauber de Oliveira Costa  <glommer@gmail.com>
90630         * elf/elf.h: Add new ARM TLS relocs.
90632 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
90634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
90635         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
90636         cast from r3.
90637         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
90638         'tests' variable.
90639         * sysdeps/wordsize-64/tst-writev.c: New file.
90641 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
90643         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
90644         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
90645         insns in _dl_start to prevent a TOC reference before relocs are
90646         resolved.
90648 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
90650         [BZ #12469]
90651         * Makeconfig: Remove RANLIB definition.
90652         * Makerules: Don't use RANLIB.
90653         * aclocal.m4: Remove ranlib test.
90654         * configure.in: No need to check for ranlib.
90655         * elf/rtld-Rules: Don't use RANLIB.
90657 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90659         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
90660         protection macro.
90661         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
90662         inclusion protection macro.
90664         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
90665         SIGRTMIN and SIGRTMAX and print information in that case only when
90666         SIGRTMIN is defined.
90668 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
90670         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
90671         arginfo fn returning -1.
90673         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
90674         and thousands string is zero terminated.
90676 2011-02-03  Andreas Schwab  <schwab@redhat.com>
90678         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
90679         sysdeps/unix/sysv/linux/bits/socket.h.
90681 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90683         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
90684         (__CPU_COUNT): Remove old macros.
90685         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
90686         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
90687         (__CPU_ALLOC, __CPU_FREE): Add macros.
90688         (__sched_cpualloc, __sched_cpufree): Add declarations.
90690 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
90692         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
90693         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
90694         * nscd/aicache.c (addhstaiX): Return timeout of added value.
90695         (readdhstai): Return value of addhstaiX call.
90696         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
90697         (addgrbyX): Return value returned by cache_addgr.
90698         (readdgrbyname): Return value returned by addgrbyX.
90699         (readdgrbygid): Likewise.
90700         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
90701         (addpwbyX): Return value returned by cache_addpw.
90702         (readdpwbyname): Return value returned by addhstbyX.
90703         (readdpwbyuid): Likewise.
90704         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
90705         (addservbyX): Return value returned by cache_addserv.
90706         (readdservbyname): Return value returned by addservbyX:
90707         (readdservbyport): Likewise.
90708         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
90709         (addhstbyX): Return value returned by cache_addhst.
90710         (readdhstbyname): Return value returned by addhstbyX.
90711         (readdhstbyaddr): Likewise.
90712         (readdhstbynamev6): Likewise.
90713         (readdhstbyaddrv6): Likewise.
90714         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
90715         (readdinitgroups): Return value returned by addinitgroupsX.
90716         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
90717         (prune_cache): Keep track of timeout value of re-added entries.
90718         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
90719         * nscd/nscd.h: Adjust prototypes of readd* functions.
90721 2011-02-04  Roland McGrath  <roland@redhat.com>
90723         * nis/nis_server.c (nis_servstate): Use the right name for 0.
90724         (nis_stats): Likewise.
90725         * nis/nis_modify.c (nis_modify): Likewise.
90726         * nis/nis_remove.c (nis_remove): Likewise.
90727         * nis/nis_add.c (nis_add): Likewise.
90729         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
90731         * posix/fnmatch_loop.c: Add some consts.
90733         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
90735 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
90737         [BZ #12460]
90738         * config.make.in (config-cflags-novzeroupper): Define.
90739         * configure.in: Substitute libc_cv_cc_novzeroupper.
90740         * elf/Makefile (AVX-CFLAGS): Define.
90741         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
90742         (CFLAGS-tst-auditmod4a.c): Likewise.
90743         (CFLAGS-tst-auditmod4b.c): Likewise.
90744         (CFLAGS-tst-auditmod6b.c): Likewise.
90745         (CFLAGS-tst-auditmod6c.c): Likewise.
90746         (CFLAGS-tst-auditmod7b.c): Likewise.
90747         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
90749 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
90751         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
90752         function to the callback.
90753         Patch partly by Jiri Olsa <jolsa@redhat.com>.
90755 2011-02-02  Andreas Schwab  <schwab@redhat.com>
90757         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
90758         of errno.
90760 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
90762         [BZ #11724]
90763         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
90764         of constructors.
90765         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
90766         of destructors.
90767         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
90769         [BZ #11724]
90770         * elf/Makefile: Add rules to build and run new test.
90771         * elf/tst-initorder.c: New file.
90772         * elf/tst-initorder.exp: New file.
90773         * elf/tst-initordera1.c: New file.
90774         * elf/tst-initordera2.c: New file.
90775         * elf/tst-initordera3.c: New file.
90776         * elf/tst-initordera4.c: New file.
90777         * elf/tst-initorderb1.c: New file.
90778         * elf/tst-initorderb2.c: New file.
90779         * elf/tst-order-a1.c: New file.
90780         * elf/tst-order-a2.c: New file.
90781         * elf/tst-order-a3.c: New file.
90782         * elf/tst-order-a4.c: New file.
90783         * elf/tst-order-b1.c: New file.
90784         * elf/tst-order-b2.c: New file.
90785         * elf/tst-order-main.c: New file.
90786         New test case by George Gensure <werkt0@gmail.com>.
90788 2010-10-01  Andreas Schwab  <schwab@redhat.com>
90790         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
90791         decoding ACE if AI_CANONIDN.
90793 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
90795         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
90797 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
90799         * version.h (RELEASE): Bump for 2.13 release.
90800         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
90802         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
90804         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
90805         MADV_NOHUGEPAGE.
90806         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
90807         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
90808         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
90809         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
90810         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
90811         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
90813         * posix/getconf.c: Update copyright year.
90814         * catgets/gencat.c: Likewise.
90815         * csu/version.c: Likewise.
90816         * debug/catchsegv.sh: Likewise.
90817         * debug/xtrace.sh: Likewise.
90818         * elf/ldconfig.c: Likewise.
90819         * elf/ldd.bash.in: Likewise.
90820         * elf/sprof.c (print_version): Likewise.
90821         * iconv/iconv_prog.c: Likewise.
90822         * iconv/iconvconfig.c: Likewise.
90823         * locale/programs/locale.c: Likewise.
90824         * locale/programs/localedef.c: Likewise.
90825         * malloc/memusage.sh: Likewise.
90826         * malloc/mtrace.pl: Likewise.
90827         * nscd/nscd.c (print_version): Likewise.
90828         * nss/getent.c: Likewise.
90830         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
90831         PF_CAIF, and PF_ALG.
90832         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
90834 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
90836         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
90837         (modules-names): Use them.
90838         (ifunc-test-modules, ifunc-pie-tests): Define.
90839         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
90840         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
90841         (test-extras): Likewise.
90842         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
90843         $(compile-command.c).
90844         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
90845         (all-built-dso): Define.
90846         (check-textrel.out, check-execstack.out): Depend on it.
90848         * configure.in: Don't override --enable-multi-arch.
90850 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
90852         [BZ #6812]
90853         * nscd/hstcache.c (tryagain): Define.
90854         (cache_addhst): Return tryagain not notfound for temporary errors.
90855         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
90856         failed.
90858 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
90860         [BZ #10563]
90861         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
90862         to make the syscall.
90863         * sysdeps/unix/sysv/linux/setgroups.c: New file.
90865         [BZ #12378]
90866         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
90867         and fall back to matching as normal character if the string ends before
90868         the matching ']' is found.  This is what POSIX requires.
90869         * posix/testfnm.c: Adjust test result.
90870         * posix/globtest.sh: Adjust test result.  Add new test.
90871         * posix/tst-fnmatch.input: Likewise.
90872         * posix/tst-fnmatch2.c: Add new test.
90874 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
90876         * elf/Makefile (check-execstack): Revert last change.  Depend on
90877         check-execstack.h.
90878         (check-execstack.h): New target.
90879         (generated): Add check-execstack.h.
90880         * elf/check-execstack.c: Include "check-execstack.h".
90881         (main): Revert last change.
90882         (handle_file): Return zero if GNU_STACK is absent and
90883         DEFAULT_STACK_PERMS doesn't include PF_X.
90885 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
90887         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
90888         in child fails because the descriptor is already closed.
90889         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
90890         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
90891         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
90893         [BZ #12397]
90894         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
90895         syscall.
90897         [BZ #10484]
90898         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
90899         temporary buffer used to handle multi lookups locally.
90900         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
90902 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
90904         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
90905         loader is ld.so.
90907 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
90909         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
90910         alignment for SSE2.
90912 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
90914         [BZ #12394]
90915         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
90916         characters.  When rounding increased number of integer digits recompute
90917         number of groups.
90918         * stdio-common/tst-grouping.c: New file.
90919         * stdio-common/Makefile: Add rules to build and run tst-grouping.
90921 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
90923         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
90924         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
90926         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
90927         void.
90928         * bits/select.h: Likewise.
90930 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
90932         * po/ja.po: Update from translation team.
90934 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
90936         [BZ #11155]
90937         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
90938         implementation just like for lxstat, fxstatat, et al.
90940 2010-12-27  Jim Meyering  <meyering@redhat.com>
90942         [BZ #12348]
90943         * posix/regexec.c (build_trtable): Return failure indication upon
90944         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
90946 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
90948         [BZ #12201]
90949         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
90950         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
90951         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
90952         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
90954         [BZ #12207]
90955         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
90957         [BZ #12204]
90958         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
90959         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
90961 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
90963         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
90964         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
90965         script has SORT_BY_INIT_PRIORITY.
90966         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
90967         NO_CTORS_DTORS_SECTIONS is defined.
90968         * elf/soinit.c: Likewise.
90969         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
90970         NO_CTORS_DTORS_SECTIONS is defined.
90971         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
90972         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
90973         * sysdeps/sh/init-first.c: Likewise.
90974         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
90976 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
90978         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
90979         always use the slow path.
90981 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
90983         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
90984         similar rule which adds the sysdep directories to the header search in
90985         order to pick up the correct platform stackinfo.h.
90986         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
90987         perform test if it is, otherwise return successfully without testing.
90988         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
90989         DEFAULT_STACK_PERMS define in stackinfo.h.
90990         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
90991         defined in stackinfo.h.
90992         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
90993         DEFAULT_STACK_PERMS defined in stackinfo.h.
90994         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
90995         * sysdeps/ia64/stackinfo.h: Likewise.
90996         * sysdeps/s390/stackinfo.h: Likewise.
90997         * sysdeps/sh/stackinfo.h: Likewise.
90998         * sysdeps/sparc/stackinfo.h: Likewise.
90999         * sysdeps/x86_64/stackinfo.h: Likewise.
91000         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
91001         PF_X for powerpc64.  Retain PF_X for powerpc32.
91003 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
91005         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
91006         accurately.
91007         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
91008         GETDENTS_64BIT_ALIGNED.
91010 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
91012         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
91014 2010-12-10  Andreas Schwab  <schwab@redhat.com>
91016         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
91017         _GNU_SOURCE.
91019         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
91020         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
91021         Remove __restrict.
91022         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
91023         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
91025 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
91027         [BZ #11655]
91028         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
91029         are initialized.
91031 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
91033         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
91035 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
91037         * po/it.po: Update from translation team.
91039 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
91041         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
91042         unused codes.
91044 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
91046         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
91048 2010-11-24  Andreas Schwab  <schwab@redhat.com>
91050         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
91051         specially.
91052         (gaih_getanswer_slice): Likewise.
91054 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
91056         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
91058 2010-05-31  Petr Baudis  <pasky@suse.cz>
91060         [BZ #11149]
91061         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
91062         silently even in the chroot mode.
91064 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
91066         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
91067         last patch a bit.  Pretty printing
91069 2010-05-31  Petr Baudis <pasky@suse.cz>
91071         [BZ #10085]
91072         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
91073         initialization of skip_initgroups_dyn.
91075 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
91077         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
91078         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
91080 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
91082         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
91084 2010-11-11  Andreas Schwab  <schwab@redhat.com>
91086         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
91087         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
91088         (tst-fnmatch-ENV): Set MALLOC_TRACE.
91089         ($(objpfx)tst-fnmatch-mem): New rule.
91090         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
91091         * posix/tst-fnmatch.c (main): Call mtrace.
91093 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
91095         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91096         Support Intel processor model 6 and model 0x2c.
91098 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
91100         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
91101           signed comparison.
91103 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
91105         [BZ #12205]
91106         * string/test-strncasecmp.c (check_result): New function.
91107         (do_one_test): Use it.
91108         (check1): New function.
91109         (test_main): Use it.
91110         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
91111         Support strcasecmp and strncasecmp.
91113 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
91115         [BZ #12194]
91116         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
91117         * sysdeps/x86_64/bits/byteswap.h: Likewise.
91119 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
91121         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
91122         IFUNC support.
91123         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91124         memset-x86-64.
91125         * sysdeps/x86_64/multiarch/bzero.S: New file.
91126         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
91127         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
91128         * sysdeps/x86_64/multiarch/memset.S: New file.
91129         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
91130         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91131         Set bit_Prefer_SSE_for_memop for Intel processors.
91132         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
91133         Define.
91134         (index_Prefer_SSE_for_memop): Define.
91135         (HAS_PREFER_SSE_FOR_MEMOP): Define.
91137 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
91139         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
91140         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
91142 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
91144         [BZ #12191]
91145         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
91146         (__x86_64_raw_data_cache_size_half): Likewise.
91147         (__x86_64_raw_shared_cache_size): Likewise.
91148         (__x86_64_raw_shared_cache_size_half): Likewise.
91150         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
91151         (__x86_64_raw_data_cache_size_half): Likewise.
91152         (__x86_64_raw_shared_cache_size): Likewise.
91153         (__x86_64_raw_shared_cache_size_half): Likewise.
91154         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
91155         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
91156         and __x86_64_raw_shared_cache_size_half.  Round
91157         __x86_64_data_cache_size_half, __x86_64_data_cache_size
91158         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
91159         to multiple of 256 bytes.
91161 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
91163         [BZ #12167]
91164         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
91165         of inacessible symlinks.  Verify result of symlink before returning it.
91166         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
91167         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
91169 2010-10-28  Erich Ritz  <erichritz@gmail.com>
91171         * math/math.h (isinf): Fix typo in comment.
91173 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
91175         * po/da.po: Update from translation team.
91177 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
91179         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
91180         is added to the list.
91182 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91183             Ulrich Drepper  <drepper@gmail.com>
91185         * elf/dl-object.c (_dl_new_object): Don't append the new object to
91186         the global list here.  Move code to...
91187         (_dl_add_to_namespace_list): ...here.  New function.
91188         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
91189         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
91190         * elf/dl-load.c (lose): Don't remove the element from the list.
91191         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
91192         (_dl_map_object): Likewise.
91194 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
91196         [BZ #12159]
91197         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
91198         into all bytes of SSE register.
91199         Patch by Richard Li <richardpku@gmail.com>.
91201 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
91203         [BZ #12140]
91204         * malloc/malloc.c (_int_free): Fill correct number of bytes when
91205         perturbing.
91207 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
91209         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
91210         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
91211         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
91212         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
91213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
91214         submachine.
91215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
91217 2010-10-22  Andreas Schwab  <schwab@redhat.com>
91219         * include/dlfcn.h (__RTLD_SECURE): Define.
91220         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
91221         mode & __RTLD_SECURE instead.
91222         (open_path): Rename preloaded parameter to secure.
91223         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
91224         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
91225         * elf/dl-deps.c (openaux): Likewise.
91226         * elf/rtld.c (struct map_args): Remove is_preloaded.
91227         (map_doit): Don't use it.
91228         (dl_main): Likewise.
91229         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
91230         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
91232 2010-09-09  Andreas Schwab  <schwab@redhat.com>
91234         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
91235         (sysd-rules-targets): Remove duplicates.
91236         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
91237         rtld-%.$o dependency.
91239 2010-10-18  Andreas Schwab  <schwab@redhat.com>
91241         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
91242         _dl_map_object do it.
91244 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
91246         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
91247         fast fma builtins, define the macros in the C99 standard.
91248         (FP_FAST_FMAF): Likewise.
91249         (FP_FAST_FMAL): Likewise.
91250         * sysdeps/x86_64/bits/mathdef.h: Likewise.
91252         * bits/mathdef.h: Update copyright year.
91253         * sysdeps/powerpc/bits/mathdef.h: Likewise.
91255 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
91257         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
91258         builtins, define the macros in the C99 standard.
91259         (FP_FAST_FMAF): Likewise.
91260         (FP_FAST_FMAL): Likewise.
91261         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
91262         multiply/add.
91263         (FP_FAST_FMAF): Likewise.
91265 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
91267         [BZ #3268]
91268         * math/libm-test.inc (fma_test): Some new testcases.
91269         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
91270         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
91271         y and infinite z.  Do multiplication by C already in long double.
91272         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
91273         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
91274         y and infinite z.  Do bitwise or of inexact bit into u.d.
91275         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
91276         * sysdeps/i386/fpu/s_fmaf.S: Removed.
91277         * sysdeps/i386/fpu/s_fma.S: Removed.
91278         * sysdeps/i386/fpu/s_fmal.S: Removed.
91280 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
91282         [BZ #3268]
91283         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
91284         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
91285         computation is not scheduled after fetestexcept.  Fix value
91286         of minimum denormal long double.
91288 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
91290         [BZ #3268]
91291         * math/libm-test.inc (fma_test): Add some more tests.
91292         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
91293         correctly.
91295 2010-10-15  Andreas Schwab  <schwab@redhat.com>
91297         * scripts/data/localplt-s390-linux-gnu.data: New file.
91298         * scripts/data/localplt-s390x-linux-gnu.data: New file.
91300 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
91302         [BZ #3268]
91303         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
91304         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
91305         instead of dbl-64.
91306         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
91307         inlines.
91308         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
91309         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
91310         if one of x and y is very large and the other is subnormal.
91311         * sysdeps/s390/fpu/s_fmaf.c: New file.
91312         * sysdeps/s390/fpu/s_fma.c: New file.
91313         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
91314         * sysdeps/powerpc/fpu/s_fma.S: New file.
91315         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
91316         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
91317         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
91319 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
91321         [BZ #3268]
91322         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
91323         fma tests.
91324         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
91325         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
91326         * sysdeps/i386/i686/multiarch/s_fma.c: Include
91327         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
91328         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
91329         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
91330         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
91332 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
91334         [BZ #12078]
91335         * posix/regcomp.c (parse_branch): One more memory leak plugged.
91336         * posix/bug-regex31.input: Add test case.
91338 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
91340         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
91341         * posix/bug-regex31.input: New file.
91343         [BZ #12078]
91344         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
91345         (parse_sub_exp): Fix last change, use postorder.
91347         * posix/bug-regex31.c: New file.
91348         * posix/Makefile: Add rules to build and run bug-regex31.
91350         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
91352         [BZ #12078]
91353         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
91355         [BZ #12108]
91356         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
91357         to have entries in sys_siglist.
91359         [BZ #12093]
91360         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
91361         be NULL.
91363 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
91365         [BZ #3268]
91366         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
91367         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
91368         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
91369         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
91370         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
91371         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
91372         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
91373         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
91374         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
91375         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
91376         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
91377         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
91378         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
91379         * math/ftestexcept.c (fetestexcept): Likewise.
91380         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
91381         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
91382         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
91383         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
91384         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
91385         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
91386         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
91388 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
91390         [BZ #12107]
91391         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
91392         newline.
91394 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
91396         * string/bug-strstr1.c: New file.
91397         * string/Makefile: Add rules to build and run bug-strstr1.
91399 2010-10-05  Eric Blake  <eblake@redhat.com>
91401         [BZ #12092]
91402         * string/str-two-way.h (two_way_long_needle): Always clear memory
91403         when skipping input due to the shift table.
91405 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
91407         [BZ #12005]
91408         * malloc/mcheck.c: Handle large requests.
91410         [BZ #12077]
91411         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
91412         for strncmp and strncasecmp.
91413         * string/stratcliff.c: Add tests for strcmp and strncmp.
91414         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
91416 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
91418         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
91419         __set_fpscr.
91421 2010-09-30  Andreas Jaeger  <aj@suse.de>
91423         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
91424         (CGROUP_SUPER_MAGIC): Define.
91425         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
91426         Handle btrfs and cgroup file systems.
91427         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
91428         Likewise.
91430 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
91432         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
91433         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
91435 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91437         [BZ #12067]
91438         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
91439         trying to locate the ELF header.
91441 2010-09-27  Andreas Schwab  <schwab@redhat.com>
91443         [BZ #11611]
91444         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
91445         Mask out sign-bit copies when constructing f_fsid.
91447 2010-09-24  Petr Baudis <pasky@suse.cz>
91449         * debug/stack_chk_fail_local.c: Add missing licence exception.
91450         * debug/warning-nop.c: Likewise.
91452 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
91454         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
91455         implementing getdents64 using getdents syscall, set d_type if
91456         __ASSUME_GETDENTS32_D_TYPE.
91458 2010-09-16  Andreas Schwab  <schwab@redhat.com>
91460         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
91461         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
91463 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
91465         [BZ #12037]
91466         * posix/unistd.h: Undo change of feature selection for ftruncate from
91467         2010-01-11.
91469 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
91471         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
91472         detection.
91474 2010-09-20  Andreas Schwab  <schwab@redhat.com>
91476         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
91477         fanotify_mark.
91478         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
91480 2010-09-14  Andreas Schwab  <schwab@redhat.com>
91482         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
91483         variables after CHECK_SP call.
91484         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
91486 2010-09-13  Andreas Schwab  <schwab@redhat.com>
91487             Ulrich Drepper  <drepper@redhat.com>
91489         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
91490         re-relocationg ld.so.
91491         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
91492         _dl_init_paths call.
91493         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
91494         here anymore.
91496 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
91498         * resolv/res_init.c (__res_vinit): Count the default server we added.
91500 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
91501             Ulrich Drepper  <drepper@redhat.com>
91503         [BZ #11968]
91504         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
91505         (____longjmp_chk): Use %ebx for saving value across system call.
91506         Add unwind info.
91508 2010-09-06  Andreas Schwab  <schwab@redhat.com>
91510         * manual/Makefile: Don't mix pattern rules with normal rules.
91512 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
91514         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
91515         operation.
91516         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
91517         * libio/iofopncook.c (_IO_cookie_init): Likewise.
91518         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
91519         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
91520         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
91521         Likewise.
91523 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
91525         [BZ #11979]
91526         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
91527         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
91529 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
91531         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
91532         * sysdeps/x86_64/addmul_1.S: Likewise.
91533         * sysdeps/x86_64/lshift.S: Likewise.
91534         * sysdeps/x86_64/mul_1.S: Likewise.
91535         * sysdeps/x86_64/rshift.S: Likewise.
91536         * sysdeps/x86_64/sub_n.S: Likewise.
91537         * sysdeps/x86_64/submul_1.S: Likewise.
91539 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91541         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
91542         Define __sched_param instead of SCHED_* and sched_param when
91543         <bits/sched.h> is included with __need_schedparam defined.
91544         * bits/sched.h [__need_schedparam]
91545         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
91546         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
91547         (__defined_schedparam): Define to 1.
91548         (__sched_param): New structure, identical to sched_param.
91549         (__need_schedparam): Undefine.
91551 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
91553         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
91554         (epoll_create1): Declare.
91556         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
91558 2010-08-31  Andreas Schwab  <schwab@redhat.com>
91560         [BZ #7066]
91561         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
91562         shifting retval into place.
91564 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
91566         * nis/rpcsvc/nis.h: Update copyright notice.
91567         * nis/rpcsvc/nis.x: Likewise.
91568         * nis/rpcsvc/nis_callback.h: Likewise.
91569         * nis/rpcsvc/nis_callback.x: Likewise.
91570         * nis/rpcsvc/nis_object.x: Likewise.
91571         * nis/rpcsvc/nis_tags.h: Likewise.
91572         * nis/rpcsvc/yp.h: Likewise.
91573         * nis/rpcsvc/yp.x: Likewise.
91574         * nis/rpcsvc/ypupd.h: Likewise.
91575         * nis/yp_xdr.c: Likewise.
91576         * nis/ypupdate_xdr.c: Likewise.
91578         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
91579         mainly the body of pmap_getport.  Add parameters to specify timeouts.
91580         (pmap_getport): Use __libc_rpc_getport.
91581         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
91582         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
91583         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
91585 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
91587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
91588         fanotify_mark.
91590 2010-08-27  Roland McGrath  <roland@redhat.com>
91592         * sysdeps/i386/i686/multiarch/Makefile
91593         (CFLAGS-varshift.c): New variable.
91595 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
91597         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
91598         * sysdeps/i386/i686/multiarch/varshift.c: New file.
91600         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
91602         * sysdeps/x86_64/strlen.S: Minimal code improvement.
91604 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
91606         * sysdeps/x86_64/strlen.S: Unroll the loop.
91607         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91608         strlen-sse2 strlen-sse2-bsf.
91609         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
91610         __strlen_no_bsf if bit_Slow_BSF is set.
91611         (__strlen_sse42): Removed.
91612         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
91613         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
91615 2010-08-25  Roland McGrath  <roland@redhat.com>
91617         * sysdeps/x86_64/multiarch/varshift.S: File removed.
91618         * sysdeps/x86_64/multiarch/varshift.c: New file.
91619         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
91620         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
91621         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
91622         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
91624 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
91626         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91627         strlen-sse2 strlen-sse2-bsf.
91628         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
91629         __strlen_sse2_bsf if bit_Slow_BSF is unset.
91630         (__strlen_sse2): Removed.
91631         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
91632         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
91633         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
91634         bit_Slow_BSF for Atom.
91635         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
91636         (index_Slow_BSF): Define.
91637         (HAS_SLOW_BSF): Define.
91639 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
91641         [BZ #10851]
91642         * resolv/res_init.c (__res_vinit): When no server address at all
91643         is given default to loopback.
91645 2010-08-24  Roland McGrath  <roland@redhat.com>
91647         * configure.in: Remove config-name.h generation.
91648         * configure: Regenerated.
91649         * config-name.in: File removed.
91650         * scripts/config-uname.sh: New file.
91651         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
91652         ($(objdir)config-name.h): New target.
91654         * sunrpc/rpc_parse.h: Avoid nested comment.
91656 2010-08-24  Richard Henderson  <rth@redhat.com>
91657             Ulrich Drepper  <drepper@redhat.com>
91658             H.J. Lu  <hongjiu.lu@intel.com>
91660         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
91661         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
91662         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
91663         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
91664         _mm_alignr_epi8 with _mm_loadu_si128.
91665         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
91666         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
91667         (__m128i_shift_right): Removed.
91668         * sysdeps/i386/i686/multiarch/varshift.h: New file.
91669         * sysdeps/i386/i686/multiarch/varshift.S: New file.
91670         * sysdeps/x86_64/multiarch/varshift.h: New file.
91671         * sysdeps/x86_64/multiarch/varshift.S: New file.
91673 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
91675         * configure.in: Move assembler checks to before sysdep dir checking.
91677 2010-08-20  Petr Baudis  <pasky@suse.cz>
91679         * LICENSES: Sync the sunrpc license.
91681 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
91683         * sunrpc/auth_des.c: Update copyright notice once again.
91684         * sunrpc/auth_none.c: Likewise.
91685         * sunrpc/auth_unix.c: Likewise.
91686         * sunrpc/authdes_prot.c: Likewise.
91687         * sunrpc/authuxprot.c: Likewise.
91688         * sunrpc/bindrsvprt.c: Likewise.
91689         * sunrpc/clnt_gen.c: Likewise.
91690         * sunrpc/clnt_perr.c: Likewise.
91691         * sunrpc/clnt_raw.c: Likewise.
91692         * sunrpc/clnt_simp.c: Likewise.
91693         * sunrpc/clnt_tcp.c: Likewise.
91694         * sunrpc/clnt_udp.c: Likewise.
91695         * sunrpc/clnt_unix.c: Likewise.
91696         * sunrpc/des_crypt.c: Likewise.
91697         * sunrpc/des_soft.c: Likewise.
91698         * sunrpc/get_myaddr.c: Likewise.
91699         * sunrpc/getrpcport.c: Likewise.
91700         * sunrpc/key_call.c: Likewise.
91701         * sunrpc/key_prot.c: Likewise.
91702         * sunrpc/openchild.c: Likewise.
91703         * sunrpc/pm_getmaps.c: Likewise.
91704         * sunrpc/pm_getport.c: Likewise.
91705         * sunrpc/pmap_clnt.c: Likewise.
91706         * sunrpc/pmap_prot.c: Likewise.
91707         * sunrpc/pmap_prot2.c: Likewise.
91708         * sunrpc/pmap_rmt.c: Likewise.
91709         * sunrpc/rpc/auth.h: Likewise.
91710         * sunrpc/rpc/auth_unix.h: Likewise.
91711         * sunrpc/rpc/clnt.h: Likewise.
91712         * sunrpc/rpc/des_crypt.h: Likewise.
91713         * sunrpc/rpc/key_prot.h: Likewise.
91714         * sunrpc/rpc/netdb.h: Likewise.
91715         * sunrpc/rpc/pmap_clnt.h: Likewise.
91716         * sunrpc/rpc/pmap_prot.h: Likewise.
91717         * sunrpc/rpc/pmap_rmt.h: Likewise.
91718         * sunrpc/rpc/rpc.h: Likewise.
91719         * sunrpc/rpc/rpc_des.h: Likewise.
91720         * sunrpc/rpc/rpc_msg.h: Likewise.
91721         * sunrpc/rpc/svc.h: Likewise.
91722         * sunrpc/rpc/svc_auth.h: Likewise.
91723         * sunrpc/rpc/types.h: Likewise.
91724         * sunrpc/rpc/xdr.h: Likewise.
91725         * sunrpc/rpc_clntout.c: Likewise.
91726         * sunrpc/rpc_cmsg.c: Likewise.
91727         * sunrpc/rpc_common.c: Likewise.
91728         * sunrpc/rpc_cout.c: Likewise.
91729         * sunrpc/rpc_dtable.c: Likewise.
91730         * sunrpc/rpc_hout.c: Likewise.
91731         * sunrpc/rpc_main.c: Likewise.
91732         * sunrpc/rpc_parse.c: Likewise.
91733         * sunrpc/rpc_parse.h: Likewise.
91734         * sunrpc/rpc_prot.c: Likewise.
91735         * sunrpc/rpc_sample.c: Likewise.
91736         * sunrpc/rpc_scan.c: Likewise.
91737         * sunrpc/rpc_scan.h: Likewise.
91738         * sunrpc/rpc_svcout.c: Likewise.
91739         * sunrpc/rpc_tblout.c: Likewise.
91740         * sunrpc/rpc_util.c: Likewise.
91741         * sunrpc/rpc_util.h: Likewise.
91742         * sunrpc/rpcinfo.c: Likewise.
91743         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
91744         * sunrpc/rpcsvc/key_prot.x: Likewise.
91745         * sunrpc/rpcsvc/klm_prot.x: Likewise.
91746         * sunrpc/rpcsvc/mount.x: Likewise.
91747         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
91748         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
91749         * sunrpc/rpcsvc/rex.x: Likewise.
91750         * sunrpc/rpcsvc/rstat.x: Likewise.
91751         * sunrpc/rpcsvc/rusers.x: Likewise.
91752         * sunrpc/rpcsvc/sm_inter.x: Likewise.
91753         * sunrpc/rpcsvc/spray.x: Likewise.
91754         * sunrpc/rpcsvc/yppasswd.x: Likewise.
91755         * sunrpc/rtime.c: Likewise.
91756         * sunrpc/svc.c: Likewise.
91757         * sunrpc/svc_auth.c: Likewise.
91758         * sunrpc/svc_authux.c: Likewise.
91759         * sunrpc/svc_raw.c: Likewise.
91760         * sunrpc/svc_run.c: Likewise.
91761         * sunrpc/svc_simple.c: Likewise.
91762         * sunrpc/svc_tcp.c: Likewise.
91763         * sunrpc/svc_udp.c: Likewise.
91764         * sunrpc/svc_unix.c: Likewise.
91765         * sunrpc/svcauth_des.c: Likewise.
91766         * sunrpc/xcrypt.c: Likewise.
91767         * sunrpc/xdr.c: Likewise.
91768         * sunrpc/xdr_array.c: Likewise.
91769         * sunrpc/xdr_float.c: Likewise.
91770         * sunrpc/xdr_mem.c: Likewise.
91771         * sunrpc/xdr_rec.c: Likewise.
91772         * sunrpc/xdr_ref.c: Likewise.
91773         * sunrpc/xdr_sizeof.c: Likewise.
91774         * sunrpc/xdr_stdio.c: Likewise.
91776         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
91777         handling.
91779 2010-08-19  Andreas Schwab  <schwab@redhat.com>
91781         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
91783 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
91785         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
91786         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
91787         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
91788         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
91789         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
91790         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
91791         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
91792         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
91793         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
91794         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
91795         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
91796         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
91797         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
91798         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
91800 2010-07-26  Anton Blanchard  <anton@samba.org>
91802         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
91803         * malloc/arena.c (heap_trim): Likewise.
91805 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
91807         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
91808         here.  Not...
91809         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
91810         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
91812 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
91814         * sysdeps/i386/elf/Makefile: New file.
91816 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
91818         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
91819         from fanotify_init.
91820         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
91821         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
91823 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
91825         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
91826         of strncasecmp_l.
91827         * sysdeps/multiarch/strcmp.S: Likewise.
91829 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
91831         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
91832         strncase_l-nonascii.
91833         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
91834         Add strncase_l-ssse3.
91835         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
91836         * sysdeps/x86_64/strcmp.S: Likewise.
91837         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
91838         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
91839         * sysdeps/x86_64/strncase.S: New file.
91840         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
91841         * sysdeps/x86_64/strncase_l.S: New file.
91842         * string/Makefile (strop-tests): Add strncasecmp.
91843         * string/test-strncasecmp.c: New file.
91845         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
91846         warning.
91848         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
91849         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
91851 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
91853         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
91855 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
91857         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
91858         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
91859         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
91861 2010-05-01  Alan Modra  <amodra@gmail.com>
91863         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
91864         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
91865         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
91866         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
91867         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
91868         tidying.  Don't tail-call __sigjmp_save for static lib.
91869         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
91870         save location.
91871         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
91872         (CALL_MCOUNT): Add eh info, and nop after bl.
91873         (TAIL_CALL_SYSCALL_ERROR): New macro.
91874         (PSEUDO_RET): Use it.
91875         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
91876         Correct save location of integer regs and cr.
91877         (_dl_profile_resolve): Correct cr save location.  Delete nops
91878         after bl when SHARED.  Reduce cfi size a little by better
91879         placement of cfi directives.
91880         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
91881         make a stack frame.  Instead use parm save area as a temp.
91882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
91883         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
91884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
91885         Don't make a stack frame for parent, use parm save area.
91886         Increase child stack frame to 112 bytes.  Don't save unused reg,
91887         and adjust reg usage.  Set up cfi on error recovery and
91888         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
91889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
91890         (__makecontext): Add dummy nop after jump to exit.
91891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
91892         Use correct parm save area and cr save, reduce stack frame.
91893         Correct cfi for possible PSEUDO_RET frame setup.
91894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
91895         Branch to local label emitted by PSEUDO_RET rather than
91896         __syscall_error.
91898 2010-08-12  Andreas Schwab  <schwab@redhat.com>
91900         [BZ #11904]
91901         * locale/programs/locale.c (print_assignment): New function.
91902         (show_locale_vars): Use it.
91904 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
91906         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
91907         field.
91908         (struct statfs64): Likewise.
91909         (_STATFS_F_FLAGS): Define.
91910         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
91911         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
91912         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
91913         (ST_VALID): Define locally.
91914         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
91915         __statvfs_getflags, use the provided value.
91916         * sysdeps/unix/sysv/linux/kernel-features.h: Define
91917         __ASSUME_STATFS_F_FLAGS.
91919         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
91921         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
91922         Add sys/fanotify.h.
91923         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
91924         fanotify_mask for GLIBC_2.13.
91925         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
91926         fanotify_init and fanotify_mark.
91927         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
91928         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
91930         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
91931         Add prlimit.
91932         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
91933         prlimit64 for GLIBC_2.13.
91934         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
91935         prlimit64.
91936         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
91937         syscall.
91938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
91939         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
91940         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
91941         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
91942         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
91943         add prlimit alias.
91944         * sysdeps/unix/sysv/linux/prlimit.c: New file.
91946         [BZ #11903]
91947         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
91948         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
91950         * nss/Makefile: Add rules to build and run tst-nss-test1.
91951         * shlib-versions: Add entry for libnss_test1.
91952         * nss/nss_test1.c: New file.
91953         * nss/tst-nss-test1.c: New file.
91955         * nss/nsswitch.c (__nss_database_custom): Define new variable.
91956         (__nss_configure_lookup): Set appropriate entry in
91957         __nss_configure_lookup to true.
91958         * nss/nsswitch.h: Define enum with indeces of databases in
91959         databases and __nss_database_custom arrays.  Declare
91960         __nss_database_custom.
91961         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
91962         to avoid using nscd when custom rules are installed.
91963         * nss/getXXbyYY_r.c: Likewise.
91964         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
91966         * nss/nss_files/files-parse.c: Whitespace fixes.
91968 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
91970         [BZ #11883]
91971         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
91972         * posix/fnmatch_loop.c: Likewise.
91974 2010-07-17  Andi Kleen  <ak@linux.intel.com>
91976         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
91977         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
91978         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
91979         * Versions.def [GLIBC_2.13]: Add.
91981 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
91983         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
91984         Also fail if tpwd after pwuid call is NULL.
91986 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91988         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
91989         when converting to ms.
91991 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91993         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
91994         EOPNOTSUPP errors with ENOTTY.
91995         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
91996         EOPNOTSUPP errors with ENOTTY.
91998 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
92000         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
92001         Add strcasecmp_l-ssse3.
92002         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
92003         strcasecmp.
92004         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
92005         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
92006         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
92008 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
92010         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
92012         * string/Makefile (strop-tests): Add strcasecmp.
92013         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
92014         strcasecmp_l-nonascii.
92015         (gen-as-const-headers): Add locale-defines.sym.
92016         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
92017         * sysdeps/x86_64/strcasecmp.S: New file.
92018         * sysdeps/x86_64/strcasecmp_l.S: New file.
92019         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
92020         * sysdeps/x86_64/locale-defines.sym: New file.
92021         * string/test-strcasecmp.c: New file.
92023         * string/test-strcasestr.c: Test both ends of the range of characters.
92024         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
92026 2010-07-29  Roland McGrath  <roland@redhat.com>
92028         [BZ #11856]
92029         * manual/locale.texi (Yes-or-No Questions): Fix example code.
92031 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
92033         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
92034         for ld.so.
92036 2010-07-27  Andreas Schwab  <schwab@redhat.com>
92038         * manual/memory.texi (Malloc Tunable Parameters): Document
92039         M_PERTURB.
92041 2010-07-26  Roland McGrath  <roland@redhat.com>
92043         [BZ #11840]
92044         * configure.in (-fgnu89-inline check): Set and substitute
92045         gnu89_inline, not libc_cv_gnu89_inline.
92046         * configure: Regenerated.
92047         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
92049 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
92051         * string/test-strnlen.c: New file.
92052         * string/Makefile (strop-tests): Add strnlen.
92053         * string/tester.c (test_strnlen): Add a few more test cases.
92054         * string/tst-strlen.c: Better error reporting.
92056         * sysdeps/x86_64/strnlen.S: New file.
92058 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
92060         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
92061         lower-latency instructions.
92063 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
92065         * string/test-strcasestr.c: New file.
92066         * string/test-strstr.c: New file.
92067         * string/Makefile (strop-tests): Add strstr and strcasestr.
92068         * string/str-two-way.h: Don't undefine MAX.
92069         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
92071 2010-07-21  Andreas Schwab  <schwab@redhat.com>
92073         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92074         strcasestr-nonascii.
92075         (CFLAGS-strcasestr-nonascii.c): Define.
92076         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
92077         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
92078         Remove unused attribute.
92080 2010-07-20  Roland McGrath  <roland@redhat.com>
92082         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
92083         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
92084         ld.so.cache was broken.  With it, there is no way to disable dsocaps
92085         like LD_HWCAP_MASK can disable hwcaps.
92087 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
92089         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
92091 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
92093         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
92094         call in strcasestr.
92095         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
92096         __strcasestr_sse42_nonascii.
92097         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
92098         strcasestr-nonascii.c.
92099         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
92101 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
92103         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
92104         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
92105         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
92106         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
92108 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
92110         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
92111         fcntl.
92113 2010-07-06  Andreas Schwab  <schwab@redhat.com>
92115         [BZ #11577]
92116         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
92117         dl_signal_cerror.
92119 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
92121         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
92122         _PC_PIPE_BUF using F_GETPIPE_SZ.
92124 2010-07-05  Roland McGrath  <roland@redhat.com>
92126         * manual/arith.texi (Rounding Functions): Fix rint description
92127         implicit in round description.
92129 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
92131         * elf/Makefile: Fix linking for a few tests to make recent linker
92132         happy.
92134 2010-06-30  Andreas Schwab  <schwab@redhat.com>
92136         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
92137         $(common-objpfx)libc_nonshared.a.
92139 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
92141         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
92142         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
92143         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
92144         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
92145         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
92146         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
92147         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
92148         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
92149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
92150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
92151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
92152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
92153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
92154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
92155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
92156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
92157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
92158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
92159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
92160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
92161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
92162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
92163         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
92164         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
92165         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
92166         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
92167         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
92168         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
92169         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
92170         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
92171         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
92172         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
92173         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
92174         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
92175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
92176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
92177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
92178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
92179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
92180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
92181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
92182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
92183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
92184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
92185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
92186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
92187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
92188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
92190 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
92192         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
92193         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
92194         * string/memmove.c (memmove): Renamed to ...
92195         (MEMMOVE): ...this.  Default to memmove.
92196         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
92197         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
92198         (END_CHK): Define.
92199         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92200         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
92201         mempcpy-ssse3-back memmove-ssse3-back.
92202         * sysdeps/x86_64/multiarch/bcopy.S: New file .
92203         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
92204         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
92205         * sysdeps/x86_64/multiarch/memcpy.S: New file.
92206         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
92207         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
92208         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
92209         * sysdeps/x86_64/multiarch/memmove.c: New file.
92210         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
92211         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
92212         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
92213         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
92214         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
92215         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
92216         Define.
92217         (index_Fast_Copy_Backward): Define.
92218         (HAS_ARCH_FEATURE): Define.
92219         (HAS_FAST_REP_STRING): Define.
92220         (HAS_FAST_COPY_BACKWARD): Define.
92222 2010-06-21  Andreas Schwab  <schwab@redhat.com>
92224         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
92225         Restore proper fallback handling.
92227 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
92229         [BZ #11701]
92230         * posix/group_member.c (__group_member): Correct checking loop.
92232         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
92233         OOM in getpwuid_r correctly.  Return error number when the caller
92234         should return, otherwise -1.
92235         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
92236         call returning > 0 value.
92237         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
92239 2010-06-07  Andreas Schwab  <schwab@redhat.com>
92241         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
92242         libc_nonshared.a from targets in modules-names.
92244 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
92246         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
92247         requires it.
92249 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
92251         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
92252         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
92253         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
92254         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
92256 2010-06-02  Andreas Schwab  <schwab@redhat.com>
92258         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
92260 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
92262         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
92263         and F_GETPIPE_SZ.
92264         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
92265         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
92266         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
92267         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
92268         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
92269         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
92271 2010-06-14  Roland McGrath  <roland@redhat.com>
92273         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
92275 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
92277         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
92278         __REDIRECT followed by __THROW.
92279         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
92280         * posix/getopt.h (getopt): Likewise.
92282 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
92284         * hurd/lookup-at.c (__file_name_lookup_at): Accept
92285         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
92286         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
92287         in AT_FLAGS.
92288         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
92289         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
92291 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
92293         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
92295 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
92297         [BZ #11640]
92298         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92299         Properly check family and model.
92301 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
92303         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
92305 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
92307         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
92309 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
92311         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
92312         symbol reference.
92314 2010-05-19  Andreas Schwab  <schwab@redhat.com>
92316         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
92317         symbol reference.
92319 2010-05-21  Andreas Schwab  <schwab@redhat.com>
92321         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
92322         and internal_recvmmsg.
92323         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
92324         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
92325         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
92326         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
92328         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
92329         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
92330         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
92332 2010-05-20  Andreas Schwab  <schwab@redhat.com>
92334         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
92336 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
92338         POWER7 optimizations.
92339         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
92340         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
92342 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
92344         * version.h: Update for 2.13 development version.
92346 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
92348         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
92349         exceptions.  Return 0.
92351 2010-05-07  Roland McGrath  <roland@redhat.com>
92353         * elf/ldconfig.c (main): Add a const.
92355 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
92357         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
92358         (args_options): Add no-idn option.
92359         (ahosts_keys_int): Add idn_flags to ai_flags.
92360         (parse_option): Handle 'i' option to clear idn_flags.
92362         * malloc/malloc.c (_int_free): Possible race in the most recently
92363         added check.  Only act on the data if no current modification
92364         happened.
92366 See ChangeLog.17 for earlier changes.