benchtests: Allow selecting baseline for compare_string.py
[glibc.git] / ChangeLog
blobefdd9b6d85bbb9c1512aeda2a9c4912eec8645d3
1 2017-08-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3         * benchtests/scripts/compare_strings.py (main): Add an
4         optional -base option.
5         (process_results): New argument base_func.
7         * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
8         hardcoding memcpy.
9         * benchtests/bench-memcpy-large.c (test_name): Likewise.
10         * benchtests/bench-memcpy-random.c (test_name): Likewise.
12 2017-08-07  Andreas Schwab  <schwab@suse.de>
14         * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
15         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16         * intl/Makefile ($(objpfx)tst-gettext.out)
17         ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
18         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
19         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
20         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
21         * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
22         * posix/Makefile ($(objpfx)globtest.out)
23         ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
24         * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
25         ($(objpfx)tst-printf.out): Likewise.
26         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
27         ($(objpfx)tst-setcontext3.out): Likewise.
29 2017-08-07  H.J. Lu  <hongjiu.lu@intel.com>
31         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32         Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
33         e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
34         slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
35         halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
36         and mptan-fma.
37         (CFLAGS-doasin-fma.c): New.
38         (CFLAGS-dosincos-fma.c): Likewise.
39         (CFLAGS-e_asin-fma.c): Likewise.
40         (CFLAGS-e_atan2-fma.c): Likewise.
41         (CFLAGS-e_exp-fma.c): Likewise.
42         (CFLAGS-e_log-fma.c): Likewise.
43         (CFLAGS-e_pow-fma.c): Likewise.
44         (CFLAGS-halfulp-fma.c): Likewise.
45         (CFLAGS-mpa-fma.c): Likewise.
46         (CFLAGS-mpatan-fma.c): Likewise.
47         (CFLAGS-mpatan2-fma.c): Likewise.
48         (CFLAGS-mpexp-fma.c): Likewise.
49         (CFLAGS-mplog-fma.c): Likewise.
50         (CFLAGS-mpsqrt-fma.c): Likewise.
51         (CFLAGS-mptan-fma.c): Likewise.
52         (CFLAGS-s_atan-fma.c): Likewise.
53         (CFLAGS-sincos32-fma.c): Likewise.
54         (CFLAGS-slowexp-fma.c): Likewise.
55         (CFLAGS-slowpow-fma.c): Likewise.
56         (CFLAGS-s_sin-fma.c): Likewise.
57         (CFLAGS-s_tan-fma.c): Likewise.
58         * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
59         * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
60         * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
61         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
62         * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
63         * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
64         * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
65         * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
66         * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
67         * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
68         * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
69         * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
70         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
71         * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
72         * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
73         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
74         * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
75         * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
76         * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
77         * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
78         * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
79         * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
80         * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
81         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
82         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
83         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
84         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
85         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
86         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
87         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
88         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
90 2017-08-04  Joseph Myers  <joseph@codesourcery.com>
92         * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
93         (min_of_type_f): New macro.
94         (min_of_type_): Likewise.
95         (min_of_type_l): Likewise.
96         (min_of_type_f128): Likewise.
97         (min_of_type): Define using __MATH_TG and taking an expression
98         argument.
99         (math_check_force_underflow): Pass expression instead of type to
100         min_of_type.
101         (math_check_force_underflow_nonneg): Likewise.
103 2017-08-04  H.J. Lu  <hongjiu.lu@intel.com>
105         * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
106         (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
107         HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
109 2017-08-04  H.J. Lu  <hongjiu.lu@intel.com>
111         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
112         bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
113         memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
114         memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
115         strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
116         strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
117         memcpy_chk-nonshared, mempcpy_chk-nonshared,
118         memmove_chk-nonshared and memset_chk-nonshared
119         * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
120         * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
121         * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
122         * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
123         * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
124         * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
125         * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
126         * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
127         * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
128         * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
129         * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
130         * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
131         * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
132         * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
133         * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
134         * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
135         * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
136         * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
137         * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
138         * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
139         * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
140         * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
141         * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
142         * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
143         * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
144         * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
145         * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
146         * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
147         * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
148         * sysdeps/i386/i686/multiarch/memset.c: Likewise.
149         * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
150         * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
151         * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
152         * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
153         * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
154         * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
155         * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
156         * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
157         * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
158         * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
159         * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
160         * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
161         * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
162         * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
163         * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
164         * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
165         * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
166         * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
167         * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
168         * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
169         * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
170         * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
171         * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
172         * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
173         * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
174         * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
175         * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
176         * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
177         * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
178         * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
179         * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
180         * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
181         * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
182         * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
183         * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
184         * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
185         * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
186         * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
187         * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
188         * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
189         * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
190         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
191         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
192         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
193         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
194         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
195         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
196         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
197         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
198         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
199         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
200         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
201         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
202         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
203         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
204         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
205         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
206         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
207         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
208         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
209         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
210         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
211         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
212         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
213         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
214         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
215         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
216         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
217         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
218         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
219         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
220         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
221         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
222         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
223         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
224         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
225         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
226         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
228 2017-08-04  H.J. Lu  <hongjiu.lu@intel.com>
230         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
231         Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
232         svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
233         svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
234         svml_d_log2_core-sse2, svml_d_log4_core-sse,
235         svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
236         svml_d_pow4_core-sse, svml_d_pow8_core-avx2
237         svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
238         svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
239         svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
240         svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
241         svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
242         svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
243         svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
244         svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
245         svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
246         svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
247         svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
248         svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
249         * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
250         * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
251         * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
252         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
253         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
254         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
255         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
256         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
257         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
258         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
259         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
260         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
261         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
262         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
263         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
264         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
265         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
266         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
267         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
268         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
269         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
270         * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
271         * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
272         * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
273         * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
274         * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
275         * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
276         * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
277         * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
278         * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
279         * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
280         * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
281         * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
282         * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
283         * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
284         * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
285         * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
286         * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
287         * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
288         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S:  Renamed to
289         ...
290         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
291         Don't include <sysdep.h> nor <init-arch.h>.
292         (_ZGVbN2v_cos): Removed.
293         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S:  Renamed to
294         ...
295         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
296         Don't include <sysdep.h> nor <init-arch.h>.
297         (_ZGVdN4v_cos): Removed.
298         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S:  Renamed to
299         ...
300         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
301         Don't include <sysdep.h> nor <init-arch.h>.
302         (_ZGVeN8v_cos): Removed.
303         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S:  Renamed to
304         ...
305         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
306         Don't include <sysdep.h> nor <init-arch.h>.
307         (_ZGVbN2v_exp): Removed.
308         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S:  Renamed to
309         ...
310         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
311         Don't include <sysdep.h> nor <init-arch.h>.
312         (_ZGVdN4v_exp): Removed.
313         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S:  Renamed to
314         ...
315         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
316         Don't include <sysdep.h> nor <init-arch.h>.
317         (_ZGVeN8v_exp): Removed.
318         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S:  Renamed to
319         ...
320         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
321         Don't include <sysdep.h> nor <init-arch.h>.
322         (_ZGVbN2v_log): Removed.
323         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S:  Renamed to
324         ...
325         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
326         Don't include <sysdep.h> nor <init-arch.h>.
327         (_ZGVdN4v_log): Removed.
328         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S:  Renamed to
329         ...
330         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
331         Don't include <sysdep.h> nor <init-arch.h>.
332         (_ZGVeN8v_log): Removed.
333         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S:  Renamed to
334         ...
335         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
336         Don't include <sysdep.h> nor <init-arch.h>.
337         (_ZGVbN2vv_pow): Removed.
338         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S:  Renamed to
339         ...
340         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
341         Don't include <sysdep.h> nor <init-arch.h>.
342         (_ZGVdN4vv_pow): Removed.
343         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S:  Renamed to
344         ...
345         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
346         Don't include <sysdep.h> nor <init-arch.h>.
347         (_ZGVeN8vv_pow): Removed.
348         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S:  Renamed to
349         ...
350         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
351         Don't include <sysdep.h> nor <init-arch.h>.
352         (_ZGVbN2v_sin): Removed.
353         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S:  Renamed to
354         ...
355         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
356         Don't include <sysdep.h> nor <init-arch.h>.
357         (_ZGVbN4v_sin): Removed.
358         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S:  Renamed to
359         ...
360         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
361         Don't include <sysdep.h> nor <init-arch.h>.
362         (_ZGVbN8v_sin): Removed.
363         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S:  Renamed to
364         ...
365         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
366         Don't include <sysdep.h> nor <init-arch.h>.
367         (_ZGVbN2vvv_sincos): Removed.
368         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S:  Renamed to
369         ...
370         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
371         Don't include <sysdep.h> nor <init-arch.h>.
372         (_ZGVdN4vvv_sincos): Removed.
373         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S:  Renamed to
374         ...
375         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
376         Don't include <sysdep.h> nor <init-arch.h>.
377         (_ZGVeN8vvv_sincos): Removed.
378         * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S:  Renamed to
379         ...
380         * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
381         Don't include <sysdep.h> nor <init-arch.h>.
382         (_ZGVeN16v_cosf): Removed.
383         * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S:  Renamed to
384         ...
385         * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
386         Don't include <sysdep.h> nor <init-arch.h>.
387         (_ZGVbN4v_cosf): Removed.
388         * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S:  Renamed to
389         ...
390         * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
391         Don't include <sysdep.h> nor <init-arch.h>.
392         (_ZGVdN8v_cosf): Removed.
393         * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S:  Renamed to
394         ...
395         * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
396         Don't include <sysdep.h> nor <init-arch.h>.
397         (_ZGVeN16v_expf): Removed.
398         * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S:  Renamed to
399         ...
400         * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
401         Don't include <sysdep.h> nor <init-arch.h>.
402         (_ZGVbN4v_expf): Removed.
403         * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S:  Renamed to
404         ...
405         * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
406         Don't include <sysdep.h> nor <init-arch.h>.
407         (_ZGVdN8v_expf): Removed.
408         * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S:  Renamed to
409         ...
410         * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
411         Don't include <sysdep.h> nor <init-arch.h>.
412         (_ZGVeN16v_logf): Removed.
413         * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S:  Renamed to
414         ...
415         * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
416         Don't include <sysdep.h> nor <init-arch.h>.
417         (_ZGVbN4v_logf): Removed.
418         * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S:  Renamed to
419         ...
420         * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
421         Don't include <sysdep.h> nor <init-arch.h>.
422         (_ZGVdN8v_logf): Removed.
423         * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S:  Renamed to
424         ...
425         * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
426         Don't include <sysdep.h> nor <init-arch.h>.
427         (_ZGVeN16vv_powf): Removed.
428         * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S:  Renamed to
429         ...
430         * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
431         Don't include <sysdep.h> nor <init-arch.h>.
432         (_ZGVbN4vv_powf): Removed.
433         * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S:  Renamed to
434         ...
435         * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
436         Don't include <sysdep.h> nor <init-arch.h>.
437         (_ZGVdN8vv_powf): Removed.
438         * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S:  Renamed to
439         ...
440         * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
441         Don't include <sysdep.h> nor <init-arch.h>.
442         (_ZGVeN16vvv_sincosf): Removed.
443         * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S:  Renamed to
444         ...
445         * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
446         Don't include <sysdep.h> nor <init-arch.h>.
447         (_ZGVbN4vvv_sincosf): Removed.
448         * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S:  Renamed to
449         ...
450         * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
451         Don't include <sysdep.h> nor <init-arch.h>.
452         (_ZGVdN8vvv_sincosf): Removed.
453         * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S:  Renamed to
454         ...
455         * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
456         Don't include <sysdep.h> nor <init-arch.h>.
457         (_ZGVeN16v_sinf): Removed.
458         * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S:  Renamed to
459         ...
460         * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
461         Don't include <sysdep.h> nor <init-arch.h>.
462         (_ZGVbN4v_sinf): Removed.
463         * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S:  Renamed to
464         ...
465         * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
466         Don't include <sysdep.h> nor <init-arch.h>.
467         (_ZGVdN8v_sinf): Removed.
469 2017-08-04  H.J. Lu  <hongjiu.lu@intel.com>
471         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
472         Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
473         s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
474         s_rint-sse4_1 and s_rintf-sse4_1.
475         * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
476         * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
477         * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
478         * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
479         * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
480         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
481         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
482         * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
483         * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
484         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
485         * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This.  Don't
486         include <machine/asm.h> nor <init-arch.h>.  Include <sysdep.h>.
487         (__ceil): Removed.
488         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
489         * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This.  Don't
490         include <machine/asm.h> nor <init-arch.h>.  Include <sysdep.h>.
491         (__ceilf): Removed.
492         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
493         * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This.  Don't
494         include <machine/asm.h> nor <init-arch.h>.  Include <sysdep.h>.
495         (__floor): Removed.
496         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
497         * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This.  Don't
498         include <machine/asm.h> nor <init-arch.h>.  Include <sysdep.h>.
499         (__floorf): Removed.
500         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
501         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This.  Don't
502         include <machine/asm.h> nor <init-arch.h>.  Include <sysdep.h>.
503         (__nearbyint): Removed.
504         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
505         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This.  Don't
506         include <machine/asm.h> nor <init-arch.h>.  Include <sysdep.h>.
507         (__nearbyintf): Removed.
508         * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
509         * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This.  Don't
510         include <machine/asm.h> nor <init-arch.h>.  Include <sysdep.h>.
511         (__rint): Removed.
512         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
513         * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This.  Don't
514         include <machine/asm.h> nor <init-arch.h>.  Include <sysdep.h>.
515         (__rintf): Removed.
517 2017-08-04  H.J. Lu  <hongjiu.lu@intel.com>
519         * sysdeps/i386/start.S (_start): Check Check PIC instead of
520         SHARED.  Avoid dynamic relocation against main in static PIE.
522 2017-08-04  H.J. Lu  <hongjiu.lu@intel.com>
524         [BZ #21815]
525         * elf/Makefile (CFLAGS-tst-prelink.c): New.
526         (LDFLAGS-tst-prelink): Likewise.
528 2017-08-04  H.J. Lu  <hongjiu.lu@intel.com>
530         * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
531         Define to I386_USE_SYSENTER to 0 or 1 if not defined.
532         (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
533         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
534         (INTERNAL_SYSCALL_NCS): Likewise.
535         (LOADARGS_1): Likewise.
536         (LOADARGS_5): Likewise.
537         (RESTOREARGS_1): Likewise.
538         (RESTOREARGS_5): Likewise.
540 2017-08-04  H.J. Lu  <hongjiu.lu@intel.com>
542         * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
543         (MEMPCPY_SYMBOL): Likewise.
544         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
545         (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
546         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
547         in libc.a.
548         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
549         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
550         Likewise.
551         * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
552         (__hidden_ver1): Don't use in libc.a.
553         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
554         (__mempcpy): Don't create a weak alias in libc.a.
555         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
556         libc.a.
557         * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
558         (__hidden_ver1): Don't use in libc.a.
560 2017-08-04  H.J. Lu  <hongjiu.lu@intel.com>
562         * config.make.in (have-insert): New.
563         * configure.ac (libc_cv_insert): New.  Set to yes if linker
564         supports INSERT in linker script.
565         (AC_SUBST(libc_cv_insert): New.
566         * configure: Regenerated.
567         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
568         if $(have-insert) == yes.
570 2017-08-04  H.J. Lu  <hongjiu.lu@intel.com>
572         * elf/Makefile (tests): Add vismain only if
573         $(have-protected-data) == yes.
574         (tests-pie): Likewise.
576 2017-08-04  H.J. Lu  <hongjiu.lu@intel.com>
578         [BZ #21871]
579         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
580         bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
582 2017-08-04  H.J. Lu  <hongjiu.lu@intel.com>
584         [BZ #21790]
585         * sysdeps/i386/i586/memset.S
586         (__memset_zero_constant_len_parameter): Removed.
587         * sysdeps/i386/i686/memset.S
588         (__memset_zero_constant_len_parameter): Likewise.
589         * sysdeps/i386/i686/multiarch/memset_chk.S
590         (__memset_zero_constant_len_parameter): Likewise.
591         * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
592         Likewise.
594 2017-08-03  Aurelien Jarno  <aurelien@aurel32.net>
596         * stdlib/getentropy.c (getentropy): Change return type to int.
598 2017-08-03  Aurelien Jarno  <aurelien@aurel32.net>
600         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
602 2017-08-03  Joseph Myers  <joseph@codesourcery.com>
604         * math/s_nextafter.c (__nextafter): Use uintN_t instead of
605         u_intN_t.
606         * math/s_nexttowardf.c (__nexttowardf): Likewise.
607         * sysdeps/generic/math_private.h (ieee_double_shape_type):
608         Likewise.
609         (ieee_float_shape_type): Likewise.
610         * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
611         * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
612         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
613         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
614         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
615         * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
616         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
617         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
618         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
619         Likewise.
620         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
621         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
622         (__ieee754_yn): Likewise.
623         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
624         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
625         * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
626         Likewise.
627         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
628         * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
629         * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
630         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
631         (__erfc): Likewise.
632         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
633         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
634         * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
635         * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
636         * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
637         * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
638         Likewise.
639         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
640         * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
641         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
642         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
643         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
644         * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
645         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
646         * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
647         * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
648         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
649         (__issignaling): Likewise.
650         * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
651         * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
652         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
653         Likewise.
654         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
655         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
656         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
657         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
658         Likewise.
659         * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
660         Likewise.
661         * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
662         * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
663         * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
664         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
665         (__erfcf): Likewise.
666         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
667         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
668         * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
669         * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
670         Likewise.
671         * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
672         * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
673         Likewise.
674         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
675         * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
676         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
677         * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
678         * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
679         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
680         * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
681         * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
682         Likewise.
683         * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
684         Likewise.
685         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
686         Likewise.
687         * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
688         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
689         Likewise.
690         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
691         Likewise.
692         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
693         (__ieee754_ynl): Likewise.
694         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
695         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
696         Likewise.
697         * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
698         Likewise.
699         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
700         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
701         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
702         Likewise.
703         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
704         * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
705         * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
706         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
707         * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
708         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
709         * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
710         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
711         Likewise.
712         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
713         * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
714         * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
715         Likewise.
716         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
717         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
718         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
719         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
720         * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
721         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
722         Likewise.
723         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
724         Likewise.
725         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
726         Likewise.
727         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
728         Likewise.
729         * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
730         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
731         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
732         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
733         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
734         * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
735         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
736         Likewise.
737         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
738         Likewise.
739         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
740         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
741         Likewise.
742         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
743         (__ieee754_remainderl): Likewise.
744         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
745         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
746         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
747         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
748         Likewise.
749         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
750         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
751         Likewise.
752         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
753         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
754         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
755         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
756         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
757         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
758         Likewise.
759         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
760         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
761         (__ieee754_y0l): Likewise.
762         (pzero): Likewise.
763         (qzero): Likewise.
764         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
765         (__ieee754_y1l): Likewise.
766         (pone): Likewise.
767         (qone): Likewise.
768         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
769         (__ieee754_ynl): Likewise.
770         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
771         (__ieee754_lgammal_r): Likewise.
772         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
773         Likewise.
774         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
775         * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
776         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
777         (__erfcl): Likewise.
778         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
779         * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
780         Likewise.
781         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
782         * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
783         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
784         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
785         * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
786         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
787         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
788         Likewise.
789         * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
790         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
791         * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
792         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
793         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
794         Likewise.
795         * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
796         * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
797         Likewise.
798         * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
799         * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
800         * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
801         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
802         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
804 2017-08-03  Florian Weimer  <fweimer@redhat.com>
806         [BZ #21885]
807         * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
808         on memory allocation failure.
810 2017-08-03  Alan Modra  <amodra@gmail.com>
812         * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
813         tst-tlsopt-powerpc.c with function name change and no test harness.
814         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
815         Call tls_get_addr_opt_test.
816         * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
817         (modules-names): Add mod-tlsopt-powerpc.
818         (mod-tlsopt-powerpc.so-no-z-defs): Define.
819         (tst-tlsopt-powerpc): Depend on .so.
820         * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
821         define.  Expand use in TLS_GD and TLS_LD.
823 2017-08-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
825         * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
826         function.
827         * sysdeps/posix/shm_open.c: Include <pthread.h>.
829 2017-08-02  Joseph Myers  <joseph@codesourcery.com>
831         [BZ #21686]
832         * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
833         comparing size with that of double.
834         (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
835         (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
836         (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
837         (__TGMATH_TERNARY_REAL_ONLY): Likewise.
838         (__TGMATH_BINARY_REAL_IMAG): Likewise.
839         * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
840         unsigned __int128 types.
842 2017-08-02  Steve Ellcey  <sellcey@cavium.com>
844         * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
845         CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
846         CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
847         CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
848         CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
850 2017-08-02  H.J. Lu  <hongjiu.lu@intel.com>
852         * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
854 2017-08-02  H.J. Lu  <hongjiu.lu@intel.com>
856         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
857         of SHARED.
858         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
859         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
860         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
861         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
862         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
863         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
864         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
866 2017-08-02  Joseph Myers  <joseph@codesourcery.com>
868         [BZ #21685]
869         * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
870         bit-field expressions passed to sizeof or typeof.
871         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
872         (__TGMATH_F128): Likewise.
873         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
874         (__TGMATH_CF128): Likewise.
875         (__TGMATH_UNARY_REAL_ONLY): Likewise.
876         (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
877         (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
878         (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
879         (__TGMATH_BINARY_REAL_ONLY): Likewise.
880         (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
881         (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
882         (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
883         (__TGMATH_TERNARY_REAL_ONLY): Likewise.
884         (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
885         (__TGMATH_UNARY_REAL_IMAG): Likewise.
886         (__TGMATH_UNARY_IMAG): Likewise.
887         (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
888         (__TGMATH_BINARY_REAL_IMAG): Likewise.
889         * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
890         type.
891         (define_vars_for_type): Handle bit_field type specially.
892         (Tests.__init__): Declare structure with bit-field element.
894 2017-08-02  H.J. Lu  <hongjiu.lu@intel.com>
896         [BZ #21791]
897         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
898         (MEMCPY_CHK): Define only if SHARED is defined.
899         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
900         Likewise.
901         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
902         Likewise.
904 See ChangeLog.18 for earlier changes.