et_EE locale: Base collation on iso14651_t1 [BZ #22517]
[glibc.git] / ChangeLog
blobf36d934c5237e1559f5feb9ff48df90e3d03475d
1 2017-12-05  Mike FABIAN  <mfabian@redhat.com>
3         [BZ #22517]
4         * localedata/Makefile: Add et_EE.UTF-8 to test-input
5         and to the list of locales to be built for testing.
6         * localedata/et_EE.UTF-8.in: New file for testing the collation.
7         * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
8         and build the collation rules upon that.
10 2017-12-05  Chris Metcalf  <cmetcalf@mellanox.com>
12         * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
13         replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
14         v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
15         * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
16         instead of __insn__xxx.
17         * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
18         * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
19         * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
20         * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
21         * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
22         * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
24 2017-12-05  Florian Weimer  <fweimer@redhat.com>
26         Linux: Implement interfaces for memory protection keys
27         * support/Makefile (libsupport-routines): Add xraise, xsigaction,
28         xsignal, xsysconf.
29         * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
30         * support/xunistd.h (xsysconf): Declare.
31         * support/xraise.c: New file.
32         * support/xsigaction.c: Likewise.
33         * support/xsignal.c: Likewise.
34         * support/xsysconf.c: Likewise.
35         * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
36         pkey_set, pkey_get, pkey_mprotect.
37         [misc] (tests): Add tst-pkey.
38         (tst-pkey): Link with -lpthread.
39         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
40         pkey_free, pkey_set, pkey_get, pkey_mprotect.
41         * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
42         (PKEY_DISABLE_WRITE): Define.
43         (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
44         Declare.
45         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
46         (SEGV_PKUERR): Add.
47         * sysdeps/unix/sysv/linux/pkey_get.c: New file.
48         * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
49         * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
50         * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
51         Add.
52         * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
53         * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
54         * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
55         * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
56         * sysdeps/unix/sysv/linux/**.abilist: Update.
58 2017-12-05  Florian Weimer  <fweimer@redhat.com>
60         * support/tst-test_compare.c (subprocess): Use long long instead
61         of long argument for consistent type width across 32-bit and
62         64-bit architectures.
63         (do_test): Adjust expected output.
65 2017-12-05  Joseph Myers  <joseph@codesourcery.com>
67         * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
68         (cosf): Define using libm_alias_float.
69         * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
70         (fabsf): Define using libm_alias_float.
71         * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
72         (fmaf): Define using libm_alias_float.
73         * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
74         (rintf): Define using libm_alias_float.
75         * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
76         (sinf): Define using libm_alias_float.
77         * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
78         <libm-alias-float.h>.
79         (modff): Define using libm_alias_float.
80         * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
81         <libm-alias-float.h>.
82         (logbf): Define using libm_alias_float.
83         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
84         <libm-alias-float.h>.
85         (ceilf): Define using libm_alias_float.
86         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
87         <libm-alias-float.h>.
88         (copysignf): Define using libm_alias_float.
89         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
90         <libm-alias-float.h>.
91         (floorf): Define using libm_alias_float.
92         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
93         <libm-alias-float.h>.
94         (llrintf): Define using libm_alias_float.
95         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
96         <libm-alias-float.h>.
97         (llroundf): Define using libm_alias_float.
98         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
99         <libm-alias-float.h>.
100         (lrintf): Define using libm_alias_float.
101         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
102         <libm-alias-float.h>.
103         (lroundf): Define using libm_alias_float.
104         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
105         <libm-alias-float.h>.
106         (nearbyintf): Define using libm_alias_float.
107         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
108         <libm-alias-float.h>.
109         (rintf): Define using libm_alias_float.
110         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
111         <libm-alias-float.h>.
112         (roundf): Define using libm_alias_float.
113         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
114         <libm-alias-float.h>.
115         (truncf): Define using libm_alias_float.
116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
117         Include <libm-alias-float.h>.
118         (ceilf): Define using libm_alias_float.
119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
120         Include <libm-alias-float.h>.
121         (copysignf): Define using libm_alias_float.
122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
123         Include <libm-alias-float.h>.
124         (floorf): Define using libm_alias_float.
125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
126         Include <libm-alias-float.h>.
127         (llrintf): Define using libm_alias_float.
128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
129         Include <libm-alias-float.h>.
130         (llroundf): Define using libm_alias_float.
131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
132         Include <libm-alias-float.h>.
133         (logbf): Define using libm_alias_float.
134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
135         Include <libm-alias-float.h>.
136         (lrintf): Define using libm_alias_float.
137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
138         Include <libm-alias-float.h>.
139         (lroundf): Define using libm_alias_float.
140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
141         Include <libm-alias-float.h>.
142         (modff): Define using libm_alias_float.
143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
144         Include <libm-alias-float.h>.
145         (roundf): Define using libm_alias_float.
146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
147         Include <libm-alias-float.h>.
148         (truncf): Define using libm_alias_float.
149         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
150         <libm-alias-float.h>.
151         (llrintf): Define using libm_alias_float.
152         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
153         <libm-alias-float.h>.
154         (llroundf): Define using libm_alias_float.
155         * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
156         <libm-alias-float.h>.
157         (ceilf): Define using libm_alias_float.
158         * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
159         <libm-alias-float.h>.
160         (floorf): Define using libm_alias_float.
161         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
162         <libm-alias-float.h>.
163         (llroundf): Define using libm_alias_float.
164         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
165         <libm-alias-float.h>.
166         (lroundf): Define using libm_alias_float.
167         * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
168         <libm-alias-float.h>.
169         (roundf): Define using libm_alias_float.
170         * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
171         <libm-alias-float.h>.
172         (truncf): Define using libm_alias_float.
173         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
174         <libm-alias-float.h>.
175         (copysignf): Define using libm_alias_float.
176         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
177         <libm-alias-float.h>.
178         (llrintf): Define using libm_alias_float.
179         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
180         <libm-alias-float.h>.
181         (llroundf): Define using libm_alias_float.
182         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
183         <libm-alias-float.h>.
184         (lrintf): Define using libm_alias_float.
185         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
186         <libm-alias-float.h>.
187         (lroundf): Define using libm_alias_float.
188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
189         <libm-alias-float.h>.
190         (ceilf): Define using libm_alias_float.
191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
192         <libm-alias-float.h>.
193         (copysignf): Define using libm_alias_float.
194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
195         <libm-alias-float.h>.
196         (cosf): Define using libm_alias_float.
197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
198         <libm-alias-float.h>.
199         (floorf): Define using libm_alias_float.
200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
201         <libm-alias-float.h>.
202         (llrintf): Define using libm_alias_float.
203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
204         <libm-alias-float.h>.
205         (llroundf): Define using libm_alias_float.
206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
207         <libm-alias-float.h>.
208         (logbf): Define using libm_alias_float.
209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
210         <libm-alias-float.h>.
211         (modff): Define using libm_alias_float.
212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
213         <libm-alias-float.h>.
214         (roundf): Define using libm_alias_float.
215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
216         <libm-alias-float.h>.
217         (sinf): Define using libm_alias_float.
218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
219         <libm-alias-float.h>.
220         (truncf): Define using libm_alias_float.
221         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
222         <libm-alias-float.h>.
223         (ceilf): Define using libm_alias_float.
224         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
225         <libm-alias-float.h>.
226         (copysignf): Define using libm_alias_float.
227         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
228         <libm-alias-float.h>.
229         (floorf): Define using libm_alias_float.
230         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
231         <libm-alias-float.h>.
232         (llrintf): Define using libm_alias_float.
233         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
234         <libm-alias-float.h>.
235         (llroundf): Define using libm_alias_float.
236         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
237         <libm-alias-float.h>.
238         (nearbyintf): Define using libm_alias_float.
239         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
240         <libm-alias-float.h>.
241         (rintf): Define using libm_alias_float.
242         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
243         <libm-alias-float.h>.
244         (roundf): Define using libm_alias_float.
245         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
246         <libm-alias-float.h>.
247         (truncf): Define using libm_alias_float.
248         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
249         <libm-alias-float.h>.
250         (ceilf): Define using libm_alias_float.
251         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
252         <libm-alias-float.h>.
253         (floorf): Define using libm_alias_float.
254         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
255         <libm-alias-float.h>.
256         (llroundf): Define using libm_alias_float.
257         * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
258         <libm-alias-float.h>.
259         (roundf): Define using libm_alias_float.
260         * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
261         <libm-alias-float.h>.
262         (truncf): Define using libm_alias_float.
263         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
264         <libm-alias-float.h>.
265         (copysignf): Define using libm_alias_float.
266         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
267         <libm-alias-float.h>.
268         (llrintf): Define using libm_alias_float.
269         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
270         <libm-alias-float.h>.
271         (llroundf): Define using libm_alias_float.
272         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
273         <libm-alias-float.h>.
274         (cosf): Define using libm_alias_float.
275         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
276         <libm-alias-float.h>.
277         (llrintf): Define using libm_alias_float.
278         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
279         <libm-alias-float.h>.
280         (llroundf): Define using libm_alias_float.
281         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
282         <libm-alias-float.h>.
283         (sinf): Define using libm_alias_float.
285 2017-12-04  Florian Weimer  <fweimer@redhat.com>
287         * support/check.h (TEST_COMPARE): Define.
288         (support_test_compare_failure): Declare.
289         * support/Makefile (libsupport-routines): Add
290         support_test_compare_failure.
291         (tests): Add tst-test_compare.
292         * support /support_test_compare_failure.c: New file.
293         * support/tst-test_compare.c: Likewise.
295 2017-12-04  Mike FABIAN  <mfabian@redhat.com>
297         [BZ #22527]
298         *  localedata/locales/tr_TR (LC_COLLATE): Base collation rules
299         on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
300         available, this rewrite of the collation rules does reproduce
301         the test file in the same order.
303 2017-12-04  Mike FABIAN  <mfabian@redhat.com>
305         [BZ #10580]
306         * localedata/locales/hr_HR (LC_TIME): Use two letters for the
307         digraphs in the month and day names. Using single code points for
308         digraphs is deprecated.  While there are dedicated Unicode
309         codepoints, for the digraphs, these are included for backwards
310         compatibility and modern texts use a sequence of Basic Latin
311         characters. See: https://www.unicode.org/faq/ligature_digraph.html
312         This makes the month and day names agree exactly with CLDR now,
313         CLDR does not use the single code points for the digraphs either.
315 2017-12-04  Chris Metcalf  <cmetcalf@mellanox.com>
317         * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
319 2017-12-04  Joseph Myers  <joseph@codesourcery.com>
321         * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
322         of floor.
324 2017-12-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
326         * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
327         Define only for libc.so.
329 2017-12-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
331         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
332         (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
333          CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
334         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
335         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
337 2017-12-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
339         [BZ #5997]
340         * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
342 2017-12-02  John David Anglin  <danglin@gcc.gnu.org>
344         [BZ libc/19170]
345         * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
346         PREINIT_FUNCTION_WEAK is nonzero.
347         (gmon_initializer): New function.  Put procedure label for it in
348         .init_array section.
349         (_init): Don't call PREINIT_FUNCTION.
350         * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
351         * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
352         value when map argument is null.
354         * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
355         depi instruction from PIC pc-relative sequence.
356         * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
357         * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
358         (elf_machine_load_address): Likewise.
359         (elf_machine_runtime_setup): Likewise.
361 2017-12-02  Joseph Myers  <joseph@codesourcery.com>
363         * sysdeps/powerpc/power7/fpu/s_logb.c: Include
364         <libm-alias-double.h>.
365         (logb): Define using libm_alias_double.
366         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
367         <libm-alias-double.h>.
368         (copysign): Define using libm_alias_double.
369         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
370         <libm-alias-double.h>.
371         (llrint): Define using libm_alias_double.
372         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
373         <libm-alias-double.h>.
374         (llround): Define using libm_alias_double.
375         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
376         <libm-alias-double.h>.
377         (lrint): Define using libm_alias_double.
378         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
379         <libm-alias-double.h>.
380         (lround): Define using libm_alias_double.
381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
382         Include <libm-alias-double.h>.
383         (copysign): Define using libm_alias_double.
384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
385         Include <libm-alias-double.h>.
386         (llrint): Define using libm_alias_double.
387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
388         Include <libm-alias-double.h>.
389         (llround): Define using libm_alias_double.
390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
391         <libm-alias-double.h>.
392         (logb): Define using libm_alias_double.
393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
394         Include <libm-alias-double.h>.
395         (lrint): Define using libm_alias_double.
396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
397         Include <libm-alias-double.h>.
398         (lround): Define using libm_alias_double.
399         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
400         <libm-alias-double.h>.
401         (llrint): Define using libm_alias_double.
402         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
403         <libm-alias-double.h>.
404         (llround): Define using libm_alias_double.
405         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
406         <libm-alias-double.h>.
407         (llround): Define using libm_alias_double.
408         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
409         <libm-alias-double.h>.
410         (lround): Define using libm_alias_double.
411         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
412         <libm-alias-double.h>.
413         (copysign): Define using libm_alias_double.
414         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
415         <libm-alias-double.h>.
416         (llrint): Define using libm_alias_double.
417         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
418         <libm-alias-double.h>.
419         (llround): Define using libm_alias_double.
420         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
421         <libm-alias-double.h>.
422         (lrint): Define using libm_alias_double.
423         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
424         <libm-alias-double.h>.
425         (lround): Define using libm_alias_double.
426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
427         <libm-alias-double.h>.
428         (copysign): Define using libm_alias_double.
429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
430         <libm-alias-double.h>.
431         (llrint): Define using libm_alias_double.
432         (lrint): Likewise.
433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
434         <libm-alias-double.h>.
435         (llround): Define using libm_alias_double.
436         (lround): Likewise.
437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
438         <libm-alias-double.h>.
439         (logb): Define using libm_alias_double.
440         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
441         <libm-alias-double.h>.
442         (copysign): Define using libm_alias_double.
443         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
444         <libm-alias-double.h>.
445         (llrint): Define using libm_alias_double.
446         (lrint): Likewise.
447         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
448         <libm-alias-double.h>.
449         (llround): Define using libm_alias_double.
450         (lround): Likewise.
451         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
452         <libm-alias-double.h>.
453         (llround): Define using libm_alias_double.
454         (lround): Likewise.
455         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
456         <libm-alias-double.h>.
457         (copysign): Define using libm_alias_double.
458         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
459         <libm-alias-double.h>.
460         (llrint): Define using libm_alias_double.
461         (lrint): Likewise.
462         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
463         <libm-alias-double.h>.
464         (llround): Define using libm_alias_double.
465         (lround): Likewise.
466         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
467         <libm-alias-double.h>.
468         (llrint): Define using libm_alias_double.
469         (lrint): Likewise.
470         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
471         <libm-alias-double.h>.
472         (llround): Define using libm_alias_double.
473         (lround): Likewise.
475 2017-12-01  Joseph Myers  <joseph@codesourcery.com>
477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
478         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
479         compat symbol based on llround.
481         * sysdeps/powerpc/power7/fpu/s_logb.c
482         [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
483         symbol based on __logb, not on logb.
484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
485         [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
487         [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
489         * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
490         (rint): Define using libm_alias_double.
491         * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
492         <libm-alias-double.h>.
493         (modf): Define using libm_alias_double.
494         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
495         <libm-alias-double.h>.
496         (ceil): Define using libm_alias_double.
497         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
498         <libm-alias-double.h>.
499         (floor): Define using libm_alias_double.
500         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
501         <libm-alias-double.h>.
502         (nearbyint): Define using libm_alias_double.
503         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
504         <libm-alias-double.h>.
505         (rint): Define using libm_alias_double.
506         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
507         <libm-alias-double.h>.
508         (round): Define using libm_alias_double.
509         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
510         <libm-alias-double.h>.
511         (trunc): Define using libm_alias_double.
512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
513         <libm-alias-double.h>.
514         (ceil): Define using libm_alias_double.
515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
516         Include <libm-alias-double.h>.
517         (floor): Define using libm_alias_double.
518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
519         <libm-alias-double.h>.
520         (modf): Define using libm_alias_double.
521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
522         Include <libm-alias-double.h>.
523         (round): Define using libm_alias_double.
524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
525         Include <libm-alias-double.h>.
526         (trunc): Define using libm_alias_double.
527         * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
528         <libm-alias-double.h>.
529         (ceil): Define using libm_alias_double.
530         * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
531         <libm-alias-double.h>.
532         (floor): Define using libm_alias_double.
533         * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
534         <libm-alias-double.h>.
535         (round): Define using libm_alias_double.
536         * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
537         <libm-alias-double.h>.
538         (trunc): Define using libm_alias_double.
539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
540         <libm-alias-double.h>.
541         (ceil): Define using libm_alias_double.
542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
543         <libm-alias-double.h>.
544         (floor): Define using libm_alias_double.
545         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
546         <libm-alias-double.h>.
547         (modf): Define using libm_alias_double.
548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
549         <libm-alias-double.h>.
550         (round): Define using libm_alias_double.
551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
552         <libm-alias-double.h>.
553         (trunc): Define using libm_alias_double.
554         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
555         <libm-alias-double.h>.
556         (ceil): Define using libm_alias_double.
557         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
558         <libm-alias-double.h>.
559         (floor): Define using libm_alias_double.
560         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
561         <libm-alias-double.h>.
562         (nearbyint): Define using libm_alias_double.
563         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
564         <libm-alias-double.h>.
565         (rint): Define using libm_alias_double.
566         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
567         <libm-alias-double.h>.
568         (round): Define using libm_alias_double.
569         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
570         <libm-alias-double.h>.
571         (trunc): Define using libm_alias_double.
572         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
573         <libm-alias-double.h>.
574         (ceil): Define using libm_alias_double.
575         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
576         <libm-alias-double.h>.
577         (floor): Define using libm_alias_double.
578         * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
579         <libm-alias-double.h>.
580         (round): Define using libm_alias_double.
581         * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
582         <libm-alias-double.h>.
583         (trunc): Define using libm_alias_double.
585         * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
586         (fabs): Define using libm_alias_double.
587         * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
588         (fma): Define using libm_alias_double.
589         * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
590         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
591         * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
592         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
594 2017-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
596         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
598         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
599         SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
600         SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
603         due redirect macro.
605 2017-12-01  Andreas Schwab  <schwab@linux-m68k.org>
607         * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
609 2017-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
611         * sysdeps/sparc/sparc64/cpu_relax.c: New file.
612         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
613         * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
614         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
617         (libm-sysdep_routines): Add s_nearbyintf-generic and
618         s_nearbyint-generic.
619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
620         New file.
621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
623         Likewise.
624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
625         Likewise.
626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
627         file.
628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
629         Likewise.
631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
632         (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
634         file.
635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
637         Likewise.
638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
643         (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
645         file.
646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
648         Likewise.
649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
654         (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
656         file.
657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
659         Likewise.
660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
665         (sysdep_calls): New rule.
666         (sysdep_routines): Use sysdep_calls as base.
667         (libm-sysdep_routines): Add generic rule for symbols shared with
668         libc.  Add s_copysign-generic and s_copysign-generic objects.
669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
670         New file.
671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
673         Likewise.
674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
678 2017-12-01  Mike FABIAN  <mfabian@redhat.com>
680         [BZ #22519]
681         * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
682         the list of locales to be built for testing.
683         * localedata/is_IS.UTF-8.in: New file.
684         * localedata/locales/is_IS (LC_COLLATE): Base collation rules
685         on iso14651_t1.
687 2017-12-01  Joseph Myers  <joseph@codesourcery.com>
689         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
690         <libm-alias-float.h>.
691         (fabsf): Define using libm_alias_float.
693 2017-11-30  H.J. Lu  <hongjiu.lu@intel.com>
695         * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
697 2017-11-30  Joseph Myers  <joseph@codesourcery.com>
699         * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
700         <libm-alias-float.h>.
701         (fabsf): Define using libm_alias_float.
702         * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
703         <libm-alias-float.h>.
704         (lrintf): Define using libm_alias_float.
705         * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
706         <libm-alias-float.h>.
707         (rintf): Define using libm_alias_float.
709         * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
710         <libm-alias-double.h>.
711         (fabs): Define using libm_alias_double.
712         * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
713         <libm-alias-double.h>.
714         (lrint): Define using libm_alias_double.
715         * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
716         <libm-alias-double.h>.
717         (rint): Define using libm_alias_double.
719         * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
720         * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
721         * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
722         * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
723         * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
724         * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
725         * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
726         * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
727         * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
728         * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
729         * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
730         * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
731         * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
732         * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
733         * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
734         * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
735         * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
736         * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
737         s_atan_template.c.
738         * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
739         * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
740         * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
741         s_ceil_template.c.
742         * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
743         * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
744         * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
745         s_cos_template.c.
746         * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
747         * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
748         * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
749         s_expm1_template.c.
750         * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
751         * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
752         * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
753         s_fabs_template.c.
754         * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
755         * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
756         * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
757         s_floor_template.c.
758         * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
759         * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
760         * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
761         s_frexp_template.c.
762         * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
763         * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
764         s_lrint_template.c.
765         * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
766         * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
767         * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
768         s_modf_template.c.
769         * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
770         * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
771         * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
772         s_nearbyint_template.c.
773         * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
774         * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
775         * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
776         s_remquo_template.c.
777         * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
778         * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
779         * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
780         s_rint_template.c.
781         * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
782         * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
783         * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
784         s_sin_template.c.
785         * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
786         * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
787         * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
788         s_sincos_template.c.
789         * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
790         * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
791         * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
792         s_tan_template.c.
793         * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
794         * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
795         * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
796         s_tanh_template.c.
797         * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
798         * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
799         * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
800         s_trunc_template.c.
801         * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
802         * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
803         * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
804         s_atan.c instead of including s_atan.c.
805         * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
806         s_atanf.c instead of including s_atanf.c.
807         * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
808         s_atanl.c instead of including s_atanl.c.
809         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
810         instead of s_atan.c.
811         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
812         instead of s_atanf.c.
813         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
814         instead of s_atanl.c.
816         * scripts/update-copyrights: Do not handle intl/plural.c
817         specially.
819 2017-11-30  Juro Bystricky  <juro.bystricky@linux.intel.com>
821         [BZ #22432]
822         * configure.ac (BISON): Require to be present.
823         * configure: Regenerated.
824         * intl/Makefile (generated): Add plural.c.
825         [$(BISON) != no]: Make code unconditional.
826         (plural.c): Change rule to $(objpfx)plural.c.
827         ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
828         * intl/plural.c: Remove.
829         * manual/install.texi (Tools for Compilation): Document bison as
830         required.
831         * INSTALL: Regenerated.
833 2017-11-30  Joseph Myers  <joseph@codesourcery.com>
835         * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
836         <libm-alias-double.h>.
837         (llrint): Define using libm_alias_double.
838         * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
839         <libm-alias-float.h>.
840         (llrintf): Define using libm_alias_float.
841         * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
842         <libm-alias-ldouble.h>.
843         (llrintl): Define using libm_alias_ldouble.
845         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
846         declare_mgen_alias instead of weak_alias.
847         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
848         * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
849         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
851 2017-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
853         * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
854         Add add_n-generic.
855         * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
856         * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
857         * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
859         * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
860         Add submul_1-generic.
861         * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
862         * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
863         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
865         * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
866         Add addmul_1-generic.
867         * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
868         * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
869         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
871         * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
872         Add sub_n-generic.
873         * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
874         * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
875         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
877         * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
878         Add mul_1-generic.
879         * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
880         * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
881         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
883 2017-11-30  Mike FABIAN  <mfabian@redhat.com>
885         According to CLDR, collation rules for Serbian and Bosnian
886         should be the same as for Croatian.
888         [BZ #22534]
889         * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
890         and to the list of locales to be built for testing.
891         * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
892         * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
893         * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
894         * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
896 2017-11-30  Mike FABIAN  <mfabian@redhat.com>
898         * localedata/locales/hr_HR (LC_COLLATE): Fix collation
899         to make test case pass.
900         * localedata/hr_HR.UTF-8.in: Add more test strings.
902 2017-11-30  Mike FABIAN  <mfabian@redhat.com>
904         * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
906 2017-11-30  Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
908         * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
909         the list of locales to built for testing.
910         * localedata/hr_HR.UTF-8.in: New file.
912 2017-11-30  Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
914         [BZ #10580]
915         * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
916         iso14651_t1.
917         * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
918         CLDR (except use ligatures for the digraphs, CLDR does not use
919         the ligatures), add first_workday, some fixes in the date and time
920         formats.
921         * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
922         for Đ and đ.
923         * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
924         lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
925         Add int_p_cs_precedes and int_n_cs_precedes.
926         * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
927         "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
928         LC_MONETARY now).
929         * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
930         * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
931         name_miss.
932         * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
933         and lang_lib. Change postal_fmt.
935 2017-11-30  H.J. Lu  <hongjiu.lu@intel.com>
937         * debug/longjmp_chk.c: Include <setjmpP.h> instead of
938         <setjmp.h>.
939         * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
940         (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
941         * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
942         (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
943         * sysdeps/generic/setjmpP.h: New file.
944         * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
945         * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
946         * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
947         * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
948         Add jmp_buf-ssp.sym.
949         (tests): Add tst-saved_mask-1.
951 2017-11-30  Arjun Shankar  <arjun@redhat.com>
953         [BZ #22375]
954         * malloc/malloc.c (__libc_malloc): Use checked_request2size
955         instead of request2size.
957 2017-11-30  Joseph Myers  <joseph@codesourcery.com>
959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
960         (__lllrint): Remove alias.
961         (lllrint): Likewise.
962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
963         (__lllrintf): Likewise.
964         (lllrintf): Likewise.
966         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
967         <libm-alias-float.h>.
968         (copysignf): Define using libm_alias_float.
969         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
970         <libm-alias-float.h>.
971         (fabsf): Define using libm_alias_float.
972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
973         Include <libm-alias-float.h>.
974         (copysignf): Define using libm_alias_float.
975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
976         <libm-alias-float.h>.
977         (fabsf): Define using libm_alias_float.
978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
979         <libm-alias-float.h>.
980         (fdimf): Define using libm_alias_float.
981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
982         <libm-alias-float.h>.
983         (fmaf): Define using libm_alias_float.
984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
985         <libm-alias-float.h>.
986         (llrintf): Define using libm_alias_float.
987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
988         Include <libm-alias-float.h>.
989         (nearbyintf): Define using libm_alias_float.
990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
991         <libm-alias-float.h>.
992         (rintf): Define using libm_alias_float.
993         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
994         <libm-alias-float.h>.
995         (llrintf): Define using libm_alias_float.
996         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
997         <libm-alias-float.h>.
998         (lrintf): Define using libm_alias_float.
999         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
1000         <libm-alias-float.h>.
1001         (nearbyintf): Define using libm_alias_float.
1002         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
1003         <libm-alias-float.h>.
1004         (rintf): Define using libm_alias_float.
1005         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
1006         <libm-alias-float.h>.
1007         (ceilf): Define using libm_alias_float.
1008         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
1009         <libm-alias-float.h>.
1010         (floorf): Define using libm_alias_float.
1011         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
1012         <libm-alias-float.h>.
1013         (fmaf): Define using libm_alias_float.
1014         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
1015         <libm-alias-float.h>.
1016         (lrintf): Define using libm_alias_float.
1017         (llrintf): Likewise.
1018         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
1019         <libm-alias-float.h>.
1020         (nearbyintf): Define using libm_alias_float.
1021         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
1022         <libm-alias-float.h>.
1023         (rintf): Define using libm_alias_float.
1024         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
1025         <libm-alias-float.h>.
1026         (truncf): Define using libm_alias_float.
1027         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
1028         <libm-alias-float.h>.
1029         (copysignf): Define using libm_alias_float.
1030         * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
1031         <libm-alias-float.h>.
1032         (fabsf): Define using libm_alias_float.
1033         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
1034         <libm-alias-float.h>.
1035         (lrintf): Define using libm_alias_float.
1036         (llrintf): Likewise.
1037         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
1038         <libm-alias-float.h>.
1039         (nearbyintf): Define using libm_alias_float.
1040         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
1041         <libm-alias-float.h>.
1042         (rintf): Define using libm_alias_float.
1044 2017-11-29  Joseph Myers  <joseph@codesourcery.com>
1046         * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
1047         <libm-alias-double.h>.
1048         (copysign): Define using libm_alias_double.
1049         * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
1050         <libm-alias-double.h>.
1051         (fabs): Define using libm_alias_double.
1052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1053         Include <libm-alias-double.h>.
1054         (copysign): Define using libm_alias_double.
1055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
1056         <libm-alias-double.h>.
1057         (fabs): Define using libm_alias_double.
1058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
1059         <libm-alias-double.h>.
1060         (fdim): Define using libm_alias_double.
1061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
1062         <libm-alias-double.h>.
1063         (fma): Define using libm_alias_double.
1064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
1065         <libm-alias-double.h>.
1066         (llrint): Define using libm_alias_double.
1067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
1068         Include <libm-alias-double.h>.
1069         (nearbyint): Define using libm_alias_double.
1070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
1071         <libm-alias-double.h>.
1072         (rint): Define using libm_alias_double.
1073         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
1074         <libm-alias-double.h>.
1075         (fabs): Define using libm_alias_double.
1076         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
1077         <libm-alias-double.h>.
1078         (llrint): Define using libm_alias_double.
1079         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
1080         <libm-alias-double.h>.
1081         (nearbyint): Define using libm_alias_double.
1082         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
1083         <libm-alias-double.h>.
1084         (rint): Define using libm_alias_double.
1085         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
1086         <libm-alias-double.h>.
1087         (ceil): Define using libm_alias_double.
1088         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
1089         <libm-alias-double.h>.
1090         (floor): Define using libm_alias_double.
1091         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
1092         <libm-alias-double.h>.
1093         (fma): Define using libm_alias_double.
1094         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
1095         <libm-alias-double.h>.
1096         (lrint): Define using libm_alias_double.
1097         (llrint): Likewise.
1098         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
1099         <libm-alias-double.h>.
1100         (nearbyint): Define using libm_alias_double.
1101         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
1102         <libm-alias-double.h>.
1103         (rint): Define using libm_alias_double.
1104         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
1105         <libm-alias-double.h>.
1106         (trunc): Define using libm_alias_double.
1107         * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
1108         <libm-alias-double.h>.
1109         (copysign): Define using libm_alias_double.
1110         * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
1111         <libm-alias-double.h>.
1112         (fabs): Define using libm_alias_double.
1113         * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
1114         <libm-alias-double.h>.
1115         (lrint): Define using libm_alias_double.
1116         (llrint): Likewise.
1117         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
1118         <libm-alias-double.h>.
1119         (nearbyint): Define using libm_alias_double.
1120         * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
1121         <libm-alias-double.h>.
1122         (rint): Define using libm_alias_double.
1124         [BZ #22229]
1125         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
1126         <math_ldbl_opt.h>.
1127         (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
1129         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
1130         SPARC --disable-multi-arch glibc variants.
1132         * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
1133         <libm-alias-float.h>.
1134         (exp2f): Define using libm_alias_float, or libm_alias_float_other
1135         if [SHARED].
1136         * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
1137         <libm-alias-float.h>.
1138         (exp2f): Define using libm_alias_float, or libm_alias_float_other
1139         if [SHARED].
1140         * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
1141         <libm-alias-float.h>.
1142         (exp2f): Define using libm_alias_float, or libm_alias_float_other
1143         if [SHARED].
1144         * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
1145         <libm-alias-float.h>.
1146         (exp2f): Define using libm_alias_float, or libm_alias_float_other
1147         if [SHARED].
1148         * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
1149         <libm-alias-float.h>.
1150         (exp2f): Define using libm_alias_float, or libm_alias_float_other
1151         if [SHARED].
1152         * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
1153         <libm-alias-float.h>.
1154         (ceilf): Define using libm_alias_float.
1155         * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
1156         <libm-alias-float.h>.
1157         (floorf): Define using libm_alias_float.
1158         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
1159         <libm-alias-float.h>.
1160         (fmaf): Define using libm_alias_float.
1161         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
1162         <libm-alias-float.h>.
1163         (nearbyintf): Define using libm_alias_float.
1164         * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
1165         <libm-alias-float.h>.
1166         (rintf): Define using libm_alias_float.
1167         * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
1168         <libm-alias-float.h>.
1169         (truncf): Define using libm_alias_float.
1170         * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
1171         (copysignf): Define using libm_alias_float.
1172         * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
1173         (cosf): Define using libm_alias_float.
1174         * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
1175         (fabsf): Define using libm_alias_float.
1176         * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
1177         (fmaxf): Define using libm_alias_float.
1178         * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
1179         (fminf): Define using libm_alias_float.
1180         * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
1181         (llrintf): Define using libm_alias_float.
1182         [!__ILP32__] (lrintf): Likewise.
1183         * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
1184         (sincosf): Define using libm_alias_float.
1185         * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
1186         (sinf): Define using libm_alias_float.
1187         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
1188         (lrintf): Define using libm_alias_float.
1190         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
1191         <libm-alias-double.h>.
1192         (atan): Define using libm_alias_double.
1193         * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
1194         <libm-alias-double.h>.
1195         (ceil): Define using libm_alias_double.
1196         * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
1197         <libm-alias-double.h>.
1198         (floor): Define using libm_alias_double.
1199         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
1200         <libm-alias-double.h>.
1201         (fma): Define using libm_alias_double.
1202         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
1203         <libm-alias-double.h>.
1204         (nearbyint): Define using libm_alias_double.
1205         * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
1206         <libm-alias-double.h>.
1207         (rint): Define using libm_alias_double.
1208         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
1209         <libm-alias-double.h>.
1210         (sin): Define using libm_alias_double.
1211         (cos): Likewise.
1212         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
1213         <libm-alias-double.h>.
1214         (tan): Define using libm_alias_double.
1215         * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
1216         <libm-alias-double.h>.
1217         (trunc): Define using libm_alias_double.
1218         * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
1219         (copysign): Define using libm_alias_double.
1220         * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
1221         (fabs): Define using libm_alias_double.
1222         * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
1223         (fmax): Define using libm_alias_double.
1224         * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
1225         (fmin): Define using libm_alias_double.
1226         * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
1227         (llrint): Define using libm_alias_double.
1228         [!__ILP32__] (lrint): Likewise.
1229         * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
1230         (lrint): Define using libm_alias_double.
1232 2017-11-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1234         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
1235         (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
1236         objects.
1237         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
1238         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
1239         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
1240         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
1241         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
1242         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1244         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
1245         (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
1246         objects.
1247         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
1248         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
1249         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
1250         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
1251         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
1252         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1254         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
1255         (libm-sysdep_routines): Add s_nearbyint-generic and
1256         s_nearbyintf-generic objects.
1257         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
1258         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
1259         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
1260         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
1261         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
1262         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
1264         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
1265         Add s_finitef-generic and s_finite-generic objects.
1266         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
1267         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
1268         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
1269         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
1270         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
1271         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
1273         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
1274         Add s_isinff-generic and s_isinf-generic objects.
1275         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
1276         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
1277         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
1278         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
1279         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
1280         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1282         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
1283         Add s_isnanf-generic and s_isnan-generic objects.
1284         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
1285         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
1286         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
1287         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
1288         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
1289         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1291         * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
1292         macro.
1293         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
1294         rule.
1295         (sysdep_routines): Use sysdep_calls as base.
1296         (libm-sysdep_routines): Add generic rule for symbols shared with
1297         libc.  Add s_signbit-generic and s_signbitf-generic objects.
1298         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
1299         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
1300         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
1301         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
1302         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
1303         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1305 2017-11-29  Joseph Myers  <joseph@codesourcery.com>
1307         * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
1308         * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
1309         * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
1310         * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
1311         * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
1312         * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
1313         * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
1314         * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
1315         * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
1316         * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
1317         * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
1318         * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
1319         * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
1320         libm_alias_float_r.
1321         * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
1322         * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
1323         (logf): Likewise.
1324         * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
1325         * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
1326         * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
1327         * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
1328         * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
1329         * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
1330         * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
1331         * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
1332         * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
1333         * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
1334         libm_alias_float.
1335         * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
1336         (cosf): Likewise.
1337         * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
1338         * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
1339         * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
1340         * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
1341         * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
1342         * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
1343         * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
1344         * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
1345         * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
1346         * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
1347         * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
1348         * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
1349         * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
1350         * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
1351         * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
1352         * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
1353         * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
1354         * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
1355         * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
1356         libm_alias_float.
1357         * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
1358         * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
1359         * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
1360         * sysdeps/ia64/fpu/w_lgammaf_main.c
1361         [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
1362         * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
1364 2017-11-28  Mike FABIAN  <mfabian@redhat.com>, Alexandre Oliva <aoliva@redhat.com>
1366         [BZ #17750]
1367         * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
1368         * localedata/fr_CA.UTF-8.in: New file with test data for backward
1369         accents sorting.
1370         * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
1371         sorting.
1372         * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
1373         * localedata/locales/de_DE (LC_COLLATE): Likewise.
1374         * localedata/locales/hu_HU (LC_COLLATE): Likewise.
1375         * localedata/locales/lb_LU (LC_COLLATE): Likewise.
1376         * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
1377         * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
1378         * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
1379         instead of “ifdef DIACRIT_BACKWARD”.
1381 2017-11-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1383         * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
1384         * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
1385         * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
1386         * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
1387         * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
1388         * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
1389         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
1390         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
1391         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
1392         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
1393         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
1394         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
1395         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
1396         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
1397         * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
1398         (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
1399         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
1400         (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
1401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1402         ($(have-as-vis3) == yes): Remove conditional.
1403         * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
1404         Likewise.
1405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
1406         file.
1407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
1408         file.
1409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
1410         file.
1411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
1412         file.
1413         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
1414         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
1415         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
1416         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
1417         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
1418         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
1419         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
1420         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
1422 2017-11-29  Joseph Myers  <joseph@codesourcery.com>
1424         * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
1425         * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
1426         * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
1427         * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
1428         * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
1429         * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
1430         * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
1431         * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
1432         * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
1433         * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
1434         * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
1435         * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
1436         * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
1437         libm_alias_double_r.
1438         * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
1439         (log): Likewise.
1440         * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
1441         * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
1442         * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
1443         * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
1444         * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
1445         * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
1446         * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
1447         * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
1448         * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
1449         * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
1450         * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
1451         libm_alias_double.
1452         * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
1453         (cos): Likewise.
1454         * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
1455         * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
1456         * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
1457         * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
1458         * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
1459         * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
1460         * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
1461         * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
1462         * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
1463         * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
1464         * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
1465         * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
1466         * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
1467         * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
1468         * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
1469         * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
1470         * sysdeps/ia64/fpu/s_round.S (round): Likewise.
1471         * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
1472         libm_alias_double.
1473         * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
1474         * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
1475         * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
1476         * sysdeps/ia64/fpu/w_lgamma_main.c
1477         [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
1478         * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
1480 2017-11-28  John David Anglin  <danglin@gcc.gnu.org>
1482         * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED.  Load
1483         address of $global$ into %dp register earlier.  Use pc-relative
1484         instruction sequence for PIC case.
1486 2017-11-28  Joseph Myers  <joseph@codesourcery.com>
1488         * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
1489         (asinhf): Define using libm_alias_float.
1490         * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
1491         (atanf): Define using libm_alias_float.
1492         * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
1493         (cbrtf): Define using libm_alias_float.
1494         * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
1495         (ceilf): Define using libm_alias_float.
1496         * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
1497         (copysignf): Define using libm_alias_float.
1498         * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
1499         (expm1f): Define using libm_alias_float.
1500         * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
1501         (fabsf): Define using libm_alias_float.
1502         * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
1503         (floorf): Define using libm_alias_float.
1504         * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
1505         (fmaxf): Define using libm_alias_float.
1506         * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
1507         (fminf): Define using libm_alias_float.
1508         * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
1509         (frexpf): Define using libm_alias_float.
1510         * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
1511         (llrintf): Define using libm_alias_float.
1512         * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
1513         (logbf): Define using libm_alias_float.
1514         * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
1515         (lrintf): Define using libm_alias_float.
1516         * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
1517         (nearbyintf): Define using libm_alias_float.
1518         * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
1519         (remquof): Define using libm_alias_float.
1520         * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
1521         (rintf): Define using libm_alias_float.
1522         * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
1523         (truncf): Define using libm_alias_float.
1524         * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
1525         <libm-alias-float.h>.
1526         (exp2f): Define using libm_alias_float, or libm_alias_float_other
1527         if [SHARED].
1528         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
1529         <libm-alias-float.h>.
1530         (expf): Define using libm_alias_float, or libm_alias_float_other
1531         if [SHARED].
1532         * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
1533         <libm-alias-float.h>.
1534         (log2f): Define using libm_alias_float, or libm_alias_float_other
1535         if [SHARED].
1536         * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
1537         <libm-alias-float.h>.
1538         (logf): Define using libm_alias_float, or libm_alias_float_other
1539         if [SHARED].
1540         * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
1541         <libm-alias-float.h>.
1542         (powf): Define using libm_alias_float, or libm_alias_float_other
1543         if [SHARED].
1544         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
1545         <libm-alias-float.h>.
1546         (cosf): Define using libm_alias_float.
1547         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
1548         <libm-alias-float.h>.
1549         (sincosf): Define using libm_alias_float.
1550         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
1551         <libm-alias-float.h>.
1552         (sinf): Define using libm_alias_float.
1553         * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
1554         (fmaxf): Define using libm_alias_float.
1555         * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
1556         (fminf): Define using libm_alias_float.
1557         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
1558         <libm-alias-float.h>.
1559         (fmaf): Define using libm_alias_float.
1561         * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
1562         (asinh): Define using libm_alias_double.
1563         * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
1564         (atan): Define using libm_alias_double.
1565         * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
1566         (cbrt): Define using libm_alias_double.
1567         * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
1568         (ceil): Define using libm_alias_double.
1569         * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
1570         (copysign): Define using libm_alias_double.
1571         * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
1572         (expm1): Define using libm_alias_double.
1573         * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
1574         (fabs): Define using libm_alias_double.
1575         * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
1576         (fdim): Define using libm_alias_double.
1577         * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
1578         (floor): Define using libm_alias_double.
1579         * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
1580         (fmax): Define using libm_alias_double.
1581         * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
1582         (fmin): Define using libm_alias_double.
1583         * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
1584         (frexp): Define using libm_alias_double.
1585         * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
1586         (llrint): Define using libm_alias_double.
1587         * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
1588         (logb): Define using libm_alias_double.
1589         * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
1590         (lrint): Define using libm_alias_double.
1591         * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
1592         (nearbyint): Define using libm_alias_double.
1593         * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
1594         (remquo): Define using libm_alias_double.
1595         * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
1596         (rint): Define using libm_alias_double.
1597         * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
1598         (trunc): Define using libm_alias_double.
1599         * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
1600         (fmax): Define using libm_alias_double.
1601         * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
1602         (fmin): Define using libm_alias_double.
1603         * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
1604         (fma): Define using libm_alias_double.
1606 2017-11-28  H.J. Lu  <hongjiu.lu@intel.com>
1608         [BZ #22370]
1609         * elf/dl-hwcaps.c (ROUND): Removed.
1610         (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
1611         and ELF_NOTE_NEXT_OFFSET.
1612         * elf/dl-load.c (ROUND): Removed.
1613         (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
1614         * elf/readelflib.c (ROUND): Removed.
1615         (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
1616         * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
1617         [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
1618         [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
1620 2017-11-28  Joseph Myers  <joseph@codesourcery.com>
1622         * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
1623         [!__fmaf] (fmaf): Define using libm_alias_float.
1625         * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
1626         [!__fma] (fma): Define using libm_alias_double.
1627         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
1629 2017-11-28  Mike FABIAN  <mfabian@redhat.com>
1631         [BZ #22336]
1632         * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
1633         and implement the collation rules for cs from CLDR on top of that.
1634         * Makefile: Add cs_CZ.UTF-8 to test-input.
1635         * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
1637 2017-11-28  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1639         * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
1641 2017-11-28  Victor Rodriguez  <victor.rodriguez.bahena@intel.com>
1642             Icarus Sparry  <icarus.w.sparry@intel.com>
1644         * benchtests/Makefile:Add BENCHSET to allow subsets of
1645         benchmarks to be run.
1646         * benchtests/README: Add documentation for: Running subsets of
1647         benchmarks.
1649 2017-11-28  Victor Rodriguez  <victor.rodriguez.bahena@intel.com>
1651         * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
1652         range of tests names.
1654         * benchtests/scripts/benchout.schema.json: Add throughput as accepted
1655         result from property and remove "max", min" and "mean" from
1656         required properties based on benchtests/bench-skeleton.c.
1658 2017-11-28  Florian Weimer  <fweimer@redhat.com>
1660         [BZ #20826]
1661         Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
1662         due to Internet requirement.
1663         * posix/Makefile (tests): Remove tst-getaddrinfo4,
1664         tst-getaddrinfo5.
1665         (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
1667 2017-11-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1669         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
1670         [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
1671         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
1672         (sysdep_routines): Add memset-ultra1.
1673         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
1674         file.
1675         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
1676         * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
1677         * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
1678         * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
1679         * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
1680         * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
1681         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
1682         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1684         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
1685         file.
1686         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
1687         * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
1688         * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
1689         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
1690         * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
1691         * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
1692         * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
1693         macro.
1694         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
1695         [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
1696         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
1697         (sysdep_routines): Add memcpy-ultra1.
1698         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
1699         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
1701 2017-11-28  Joseph Myers  <joseph@codesourcery.com>
1703         * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
1704         (cfloat_versions): Take function argument without trailing 'f'.
1705         Call libm_alias_float_other.
1706         * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
1707         * sysdeps/alpha/fpu/cargf.c: Likewise.
1708         * sysdeps/alpha/fpu/cimagf.c: Likewise.
1709         * sysdeps/alpha/fpu/conjf.c: Likewise.
1710         * sysdeps/alpha/fpu/crealf.c: Likewise.
1711         * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
1712         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
1713         * sysdeps/alpha/fpu/s_casinf.c: Likewise.
1714         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
1715         * sysdeps/alpha/fpu/s_catanf.c: Likewise.
1716         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
1717         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
1718         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
1719         * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
1720         * sysdeps/alpha/fpu/s_clogf.c: Likewise.
1721         * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
1722         * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
1723         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
1724         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
1725         * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
1726         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
1727         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
1728         * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
1729         (clog10f): Use libm_alias_float_other.
1730         * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
1731         (ceilf): Define using libm_alias_float.
1732         * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
1733         (copysignf): Define using libm_alias_float.
1734         * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
1735         (fabsf): Define using libm_alias_float.
1736         * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
1737         (floorf): Define using libm_alias_float.
1738         * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
1739         (fmaxf): Define using libm_alias_float.
1740         * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
1741         (fminf): Define using libm_alias_float.
1742         * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
1743         (lrintf): Define using libm_alias_float.
1744         (llrintf): Likewise.
1745         * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
1746         (lroundf): Define using libm_alias_float.
1747         (llroundf): Likewise.
1748         * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
1749         (rintf): Define using libm_alias_float.
1750         * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
1751         (truncf): Define using libm_alias_float.
1753         * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
1754         (ceilf): Define using libm_alias_float.
1755         * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
1756         (floorf): Define using libm_alias_float.
1757         * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
1758         (fmaf): Define using libm_alias_float.
1759         * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
1760         (fmaxf): Define using libm_alias_float.
1761         * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
1762         (fminf): Define using libm_alias_float.
1763         * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
1764         (llrintf): Define using libm_alias_float.
1765         * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
1766         (llroundf): Define using libm_alias_float.
1767         * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
1768         (lrintf): Define using libm_alias_float.
1769         * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
1770         (lroundf): Define using libm_alias_float.
1771         * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
1772         <libm-alias-float.h>.
1773         (nearbyintf): Define using libm_alias_float.
1774         * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
1775         (rintf): Define using libm_alias_float.
1776         * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
1777         (roundf): Define using libm_alias_float.
1778         * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
1779         (truncf): Define using libm_alias_float.
1781         * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
1782         (ceil): Define using libm_alias_double.
1783         * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
1784         (copysign): Define using libm_alias_double.
1785         * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
1786         (fabs): Define using libm_alias_double.
1787         * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
1788         (floor): Define using libm_alias_double.
1789         * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
1790         (fmax): Define using libm_alias_double.
1791         * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
1792         (fmin): Define using libm_alias_double.
1793         * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
1794         (lrint): Define using libm_alias_double.
1795         (llrint): Likewise.
1796         * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
1797         (lround): Define using libm_alias_double.
1798         (llround): Likewise.
1799         * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
1800         (rint): Define using libm_alias_double.
1801         * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
1802         (trunc): Define using libm_alias_double.
1804         * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
1805         (libm_alias_double_r): Add semicolon after weak_alias call.
1807 2017-11-27  Joseph Myers  <joseph@codesourcery.com>
1809         * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
1810         (ceil): Define using libm_alias_double.
1811         * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
1812         (floor): Define using libm_alias_double.
1813         * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
1814         (fma): Define using libm_alias_double.
1815         * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
1816         (fmax): Define using libm_alias_double.
1817         * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
1818         (fmin): Define using libm_alias_double.
1819         * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
1820         (llrint): Define using libm_alias_double.
1821         * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
1822         (llround): Define using libm_alias_double.
1823         * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
1824         (lrint): Define using libm_alias_double.
1825         * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
1826         (lround): Define using libm_alias_double.
1827         * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
1828         (nearbyint): Define using libm_alias_double.
1829         * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
1830         (rint): Define using libm_alias_double.
1831         * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
1832         (round): Define using libm_alias_double.
1833         * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
1834         (trunc): Define using libm_alias_double.
1836 2017-11-27  Florian Weimer  <fweimer@redhat.com>
1838         * sysdeps/unix/sysv/linux/mlock2.c: New file.
1839         * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
1840         * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
1841         (tests): Add tst-mlock2.
1842         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
1843         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
1844         [__LINUX_KERNEL_VERSION >= 4.4]: Define.
1845         * sysdeps/unix/sysv/linux/libc**.abilist: Update.
1846         * manual/memory.texi (Page Lock Functions): Move @end deftypefun
1847         for mlock.  Document mlock2.
1849 2017-11-27  Joseph Myers  <joseph@codesourcery.com>
1851         * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
1852         * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
1853         Likewise.
1854         * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
1855         Likewise.
1856         * sysdeps/x86/Makeconfig: New file.
1857         * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
1858         (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
1859         * bits/floatn.h (__HAVE_FLOAT64X): New macro.
1860         (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
1861         * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
1862         (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
1863         * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
1864         Likewise.
1865         (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
1866         * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
1867         (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
1868         * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
1869         (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
1870         * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
1871         (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
1872         * manual/math.texi (Mathematics): Document support for _Float64x.
1873         * math/Versions (GLIBC_2.27): Add _Float64x functions.
1874         * stdlib/Versions (GLIBC_2.27): Likewise.
1875         * wcsmbs/Versions (GLIBC_2.27): Likewise.
1876         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
1877         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1878         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1879         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1880         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1881         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1882         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1883         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1884         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1885         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1886         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1888         Likewise.
1889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1890         Likewise.
1891         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1892         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1893         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1894         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1895         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1896         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1897         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1898         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1899         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1900         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1901         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1902         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1903         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1904         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1906 2017-11-27  Andreas Schwab  <schwab@suse.de>
1908         * elf/Makefile (dl-routines): Add dl-sort-maps.
1909         * elf/dl-sort-maps.c: New file.
1910         * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
1911         (_dl_sort_maps): Declare.
1912         * elf/dl-fini.c (_dl_sort_fini): Remove.
1913         (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
1914         * elf/dl-close.c (_dl_close_worker): Likewise.
1915         * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
1916         open-coding it.
1917         * elf/dl-open.c (dl_open_worker): Likewise.
1919 2017-11-24  Joseph Myers  <joseph@codesourcery.com>
1921         * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
1922         using libm_alias_float128.
1923         * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
1924         Likewise.
1925         * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
1926         Likewise.
1927         * sysdeps/ieee754/float128/s_setpayloadsigf128.c
1928         (setpayloadsigf128): Likewise.
1929         * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
1930         Likewise.
1931         * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
1932         Likewise.
1934         * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
1935         suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
1936         -mfloat128 to CFLAGS.
1937         ($(foreach
1938         suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
1939         Likewise.
1940         (CFLAGS-libm-test-support-float64x.c): New variable.
1941         ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
1942         $(f128-loader-link) to gnulib-tests.
1944         * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
1945         (libm_alias_float128_other_r): If
1946         [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
1947         alias.
1948         (libm_alias_float128_r): Add semicolon after weak_alias call.
1949         * sysdeps/generic/libm-alias-ldouble.h
1950         (libm_alias_ldouble_other_r_f128): New macro.
1951         (libm_alias_ldouble_other_r_f64x): Likewise.
1952         (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
1953         and libm_alias_ldouble_other_r_f64x.
1954         (libm_alias_ldouble_r): Add semicolon after weak_alias call.
1955         * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
1956         (libm_alias_ldouble_other_r_f128): New macro.
1957         (libm_alias_ldouble_other_r_f64x): Likewise.
1958         (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
1959         and libm_alias_ldouble_other_r_f64x.
1961         * stdlib/strfroml.c: Always include <stdlib.h>.
1962         [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
1963         undefine as macro and define as weak alias.
1964         * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
1965         [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
1966         <stdlib.h>.
1967         [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
1968         Define and later undefine as macro and define as weak alias.
1970         * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
1971         Define and later undefine as macro.  Define as weak alias if
1972         [!USE_WIDE_CHAR].
1973         [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
1974         undefine as macro.  Define as weak alias if [USE_WIDE_CHAR].
1975         * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
1976         [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
1977         Define and later undefine as macro.  Define as weak alias if
1978         [!USE_WIDE_CHAR].
1979         [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
1980         Define and later undefine as macro.  Define as weak alias if
1981         [USE_WIDE_CHAR].
1982         * sysdeps/ieee754/float128/strtof128_l.c
1983         [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
1984         Define and later undefine as macro.  Define as weak alias if
1985         [!USE_WIDE_CHAR].
1986         [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
1987         Define and later undefine as macro.  Define as weak alias if
1988         [USE_WIDE_CHAR].
1989         * sysdeps/ieee754/ldbl-128/strtold_l.c
1990         [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
1991         undefine as macro.  Define as weak alias if [!USE_WIDE_CHAR].
1992         [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
1993         undefine as macro.  Define as weak alias if [USE_WIDE_CHAR].
1994         * sysdeps/ieee754/ldbl-64-128/strtold_l.c
1995         [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
1996         undefine as macro.  Define as weak alias if [!USE_WIDE_CHAR].
1997         [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
1998         undefine as macro.  Define as weak alias if [USE_WIDE_CHAR].
1999         * sysdeps/ieee754/ldbl-96/strtold_l.c
2000         [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
2001         undefine as macro.  Define as weak alias if [!USE_WIDE_CHAR].
2002         [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
2003         undefine as macro.  Define as weak alias if [USE_WIDE_CHAR].
2005         * math/test-float64x.h: New file.
2006         * math/Makefile (type-float64x-yes): New variable.
2007         (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
2009         * sysdeps/generic/math_private.h (min_of_type_f): Make into a
2010         function-like macro.
2011         (min_of_type_): Likewise.
2012         (min_of_type_l): Likewise.
2013         (min_of_type_f128): Likewise.
2014         (min_of_type): Pass () as last argument of __MATH_TG.
2016         * stdlib/tst-strtod-round-skeleton.c
2017         (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
2018         headers.
2020         * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
2021         for combinations of long double with _Float64 and _Float64x.
2023         * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
2024         (__DECL_SIMD_cosf32): Likewise.
2025         (__DECL_SIMD_cosf64): Likewise.
2026         (__DECL_SIMD_cosf32x): Likewise.
2027         (__DECL_SIMD_cosf64x): Likewise.
2028         (__DECL_SIMD_cosf128x): Likewise.
2029         (__DECL_SIMD_sinf16): Likewise.
2030         (__DECL_SIMD_sinf32): Likewise.
2031         (__DECL_SIMD_sinf64): Likewise.
2032         (__DECL_SIMD_sinf32x): Likewise.
2033         (__DECL_SIMD_sinf64x): Likewise.
2034         (__DECL_SIMD_sinf128x): Likewise.
2035         (__DECL_SIMD_sincosf16): Likewise.
2036         (__DECL_SIMD_sincosf32): Likewise.
2037         (__DECL_SIMD_sincosf64): Likewise.
2038         (__DECL_SIMD_sincosf32x): Likewise.
2039         (__DECL_SIMD_sincosf64x): Likewise.
2040         (__DECL_SIMD_sincosf128x): Likewise.
2041         (__DECL_SIMD_logf16): Likewise.
2042         (__DECL_SIMD_logf32): Likewise.
2043         (__DECL_SIMD_logf64): Likewise.
2044         (__DECL_SIMD_logf32x): Likewise.
2045         (__DECL_SIMD_logf64x): Likewise.
2046         (__DECL_SIMD_logf128x): Likewise.
2047         (__DECL_SIMD_expf16): Likewise.
2048         (__DECL_SIMD_expf32): Likewise.
2049         (__DECL_SIMD_expf64): Likewise.
2050         (__DECL_SIMD_expf32x): Likewise.
2051         (__DECL_SIMD_expf64x): Likewise.
2052         (__DECL_SIMD_expf128x): Likewise.
2053         (__DECL_SIMD_powf16): Likewise.
2054         (__DECL_SIMD_powf32): Likewise.
2055         (__DECL_SIMD_powf64): Likewise.
2056         (__DECL_SIMD_powf32x): Likewise.
2057         (__DECL_SIMD_powf64x): Likewise.
2058         (__DECL_SIMD_powf128x): Likewise.
2060         * stdlib/Versions (libc): Move entries for wcstof128 and
2061         wcstof128_l to ....
2062         * wcsmbs/Versions (libc): ... here.
2063         Include <float128-abi.h>.
2065 2017-11-24  Florian Weimer  <fweimer@redhat.com>
2067         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2068         bits/mman-shared.h.
2069         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
2070         <bits/mman-shared.h>.
2071         (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
2072         to ...
2073         * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
2074         Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
2075         * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
2076         <bits/mman-shared.h>.
2078 2017-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2080         [BZ #22457]
2081         * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
2082         posix_memalign/free.
2083         * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
2085 2017-11-22  Mike FABIAN  <mfabian@redhat.com>
2087         [BZ #22469]
2088         * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
2089         and implement the collation rules for pl from CLDR on top of that.
2090         * Makefile: Add pl_PL.UTF-8 to test-input and to the list
2091         of locales to be built for testing.
2092         * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
2094 2017-11-23  Joseph Myers  <joseph@codesourcery.com>
2096         * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
2097         * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
2098         libm_alias_ldouble_other.
2099         * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
2100         * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
2101         * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
2102         * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
2103         * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
2104         * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
2105         * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
2106         * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
2107         * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
2108         libm_alias_ldouble_r.
2109         * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
2110         libm_alias_ldouble_other.
2111         * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
2112         (log10l): Likewise.
2113         * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
2114         * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
2115         * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
2116         * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
2117         * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
2118         * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
2119         * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
2120         (atan2l): Likewise.
2121         * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
2122         * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
2123         * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
2124         libm_alias_ldouble.
2125         * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
2126         (cosl): Likewise.
2127         * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
2128         * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
2129         * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
2130         (expl): Likewise.
2131         * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
2132         * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
2133         * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
2134         * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
2135         * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
2136         * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
2137         * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
2138         * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
2139         * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
2140         * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
2141         * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
2142         libm_alias_ldouble.
2143         * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
2144         libm_alias_ldouble_other.
2145         * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
2146         * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
2147         * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
2148         libm_alias_ldouble.
2149         * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
2150         libm_alias_ldouble_other.
2151         * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
2152         * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
2153         * sysdeps/ia64/fpu/w_lgammal_main.c
2154         [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
2155         * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
2157 2017-11-23  Florian Weimer  <fweimer@redhat.com>
2159         * malloc/malloc.c (tcache_thread_shutdown): Rename from
2160         tcache_thread_freeres.  Define for USE_TCACHE and !USE_TCACHE
2161         alike.  Remove freeres marker.
2162         * malloc/arena.c (arena_thread_freeres): Call
2163         tcache_thread_shutdown.
2165 2017-11-23  Florian Weimer  <fweimer@redhat.com>
2167         [BZ #22459]
2168         Export nscd hash function as __nss_hash.
2169         * include/nss.h (__nss_hash): Declare.
2170         * nis/nis_hash.c (__nis_hash): Call __nss_hash.  Turn into compat
2171         symbol.
2172         * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
2173         * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
2174         of __nscd_hash.
2175         * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
2176         * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
2177         * nss/Makefiles (routines): Add nss_hash.
2178         * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
2179         * nss/nss_hash.c: Rename from nis/nis_hash.c.
2180         (__nss_hash): Rename from __nis_hash.  Define hidden alias.
2181         * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
2183 2017-11-23  Florian Weimer  <fweimer@redhat.com>
2185         [BZ #22478]
2186         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
2187         Return error code, not -1.
2188         * signal/tst-sigwait-eintr.c: New file.
2189         * signal/Makefile (tests): Add tst-sigwait-eintr.
2191 2017-11-23  Florian Weimer  <fweimer@redhat.com>
2193         Linux: Add memfd_create system call wrapper
2194         * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
2195         tst-memfd_create.
2196         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
2197         (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
2198         [__USE_GNU] (memfd_create): Declare.
2199         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
2200         * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
2201         * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
2202         * sysdeps/unix/sysv/linux/**.abilist: Update.
2203         * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
2205 2017-11-22  Joseph Myers  <joseph@codesourcery.com>
2207         * localedata/gen-locale.sh: Fix typo in variable name.
2209         * resolv/res_debug.c (p_secstodate): Condition definition on
2210         [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)].  Define
2211         directly as __p_secstodate, and as a compat symbol.  Do not use
2212         libresolv_hidden_def.
2213         * resolv/resolv.h (p_secstodate): Remove macro and function
2214         declaration.
2215         * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
2216         using p_secstodate.
2217         * include/resolv.h (__p_secstodate): Do not use
2218         libresolv_hidden_proto.
2219         * resolv/Makefile (tests): Move tst-p_secstodate to ....
2220         (tests-internal): ... here.
2221         * resolv/tst-p_secstodate.c: Include <shlib-compat.h>.  Condition
2222         all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
2223         and declare and use __p_secstodate and use compat_symbol_reference
2224         in that case.
2225         [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
2226         implementation returning 77.
2228         [BZ #22463]
2229         * resolv/res_debug.c: Include <libc-diag.h>.
2230         (p_secstodate): Assert time_t at least as wide as u_long.  On
2231         overflow, use integer seconds since the epoch as output, or use
2232         "<overflow>" as output and set errno to EOVERFLOW if integer
2233         seconds since the epoch would be 14 or more characters.
2234         (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
2235         for sprintf call.
2236         * resolv/tst-p_secstodate.c: New file.
2237         * resolv/Makefile (tests): Add tst-p_secstodate.
2238         ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
2240         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
2241         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2242         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
2244 2017-11-22  Paul Eggert  <eggert@cs.ucla.edu>
2246         * posix/regcomp.c (init_word_char): Add comments.
2248 2017-11-22  Joseph Myers  <joseph@codesourcery.com>
2250         [BZ #22447]
2251         * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
2252         strlen to compute length of ut_user and set trailing NUL byte of
2253         result explicitly.
2255 2017-11-21  Mike FABIAN  <mfabian@redhat.com>
2257         [BZ #15537]
2258         * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
2259         using “copy "iso14651_t1"” and then implementing the
2260         collation rules for lv from CLDR on top of that.
2261         * Makefile: Add lv_LV.UTF-8 to test-input and to the list
2262         of locales to be built for testing.
2263         * lv_LV.UTF-8.in: New file with test data to test the Latvian
2264         sorting.
2266 2017-11-21  Joseph Myers  <joseph@codesourcery.com>
2268         * sysdeps/unix/sysv/linux/hppa/bits/mman.h
2269         [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
2270         [__USE_MISC] (MADV_VPS_PURGE): Likewise.
2271         [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
2272         [__USE_MISC] (MADV_HWPOISON): New macro.
2273         [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
2275 2017-11-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2277         * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
2278         -Wmissing-braces on GCC 4.9.
2280 2017-11-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
2282         * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
2283         * sysdeps/s390/s390-32/start.S (_start): Likewise
2284         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
2285         (thread_start): Likewise.
2286         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
2287         (thread_start): Likewise.
2288         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
2289         (__makecontext_ret): Likewise.
2290         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
2291         (__makecontext_ret): Likewise.
2293 2017-11-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
2295         * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
2296         __wcschrnul): Remove attribute_hidden.
2298 2017-11-20  Paul Eggert  <eggert@cs.ucla.edu>
2300         regex: don't assume uint64_t or uint32_t
2301         This avoids -Werror=overflow errors for 32-bit systems in
2302         the 64-bit case.  Problem reported by Joseph Myers in:
2303         https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
2304         Also, when this code is used in Gnulib it ports to platforms
2305         that lack uint64_t and uint32_t.  The C standard doesn't guarantee
2306         them, and on some 32-bit compilers there is no uint64_t.
2307         Problem reported by Gianluigi Tiesi in:
2308         http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
2309         * posix/regcomp.c (init_word_char): Don't assume that the types
2310         uint64_t and uint32_t exist.  Adapted from Gnulib patch
2311         2012-05-27T06:40:00!eggert@cs.ucla.edu.  See:
2312         https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
2314 2017-11-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2316         * sysdeps/aarch64/memset-reg.h: New file.
2317         * sysdeps/aarch64/memset.S: Use it.
2318         (__memset): Rename to MEMSET macro.
2319         [ZVA_MACRO]: Use zva_macro.
2320         * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2321         Add memset_generic and memset_falkor.
2322         * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2323         (__libc_ifunc_impl_list): Add memset ifuncs.
2324         * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
2325         local variable zva_size.
2326         * sysdeps/aarch64/multiarch/memset.c: New file.
2327         * sysdeps/aarch64/multiarch/memset_generic.S: New file.
2328         * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
2329         * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
2330         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
2331         (DCZID_DZP_MASK): New macro.
2332         (DCZID_BS_MASK): Likewise.
2333         (init_cpu_features): Read and set zva_size.
2334         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
2335         (struct cpu_features): New member zva_size.
2337         * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
2338         * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
2339         * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
2341         * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
2342         backwards.  Fix timing computation.
2343         * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
2344         * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
2345         on memset by N at a time.  Fix timing computation.
2347 2017-11-20  Florian Weimer  <fweimer@redhat.com>
2349         * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
2350         MADV_HUGEPAGE, MADV_NOHUGEPAGE.
2352 2017-11-19  Florian Weimer  <fweimer@redhat.com>
2354         manual: Document mprotect
2355         * manual/memory.texi (Memory Protection): New section.
2356         * manual/llio.texi (Memory-mapped I/O): Remove duplicate
2357         documentation of PROT_* flags and reference the Memory Protection
2358         section instead.
2360 2017-11-19  Florian Weimer  <fweimer@redhat.com>
2362         * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
2363         pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
2364         (Scatter-Gather): ... to here.  Remove misleading comment.
2366 2017-11-18  Christian Brauner <christian.brauner@ubuntu.com>
2368         * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
2369         style.
2371         * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
2372         when /proc/<pid>/setgroups does not exist.
2374 2017-11-18  Florian Weimer  <fweimer@redhat.com>
2376         * sysdeps/unix/sysv/linux/tst-ttyname.c
2377         (become_root_in_mount_ns): Remove.
2378         (do_in_chroot_1): Call support_enter_mount_namespace.
2379         (do_in_chroot_2): Likewise.
2380         (do_test): Call support_become_root early.
2382 2017-11-18  Florian Weimer  <fweimer@redhat.com>
2384         * support/namespace.h (support_enter_mount_namespace): Declare.
2385         * support/support_enter_mount_namespace.c: New file.
2386         * support/Makefile (libsupport-routines): Add
2387         support_enter_mount_namespace.
2389 2017-11-18  Florian Weimer  <fweimer@redhat.com>
2391         * support/temp_file.c (support_create_temp_directory): Use
2392         test_dir and do not rely on the presence of the XXXXXX suffix.
2393         * support/temp_file.h (support_create_temp_directory): Update
2394         comment.
2395         * support/tst-xreadlink.c (do_test): Adjust.
2396         * support/support_chroot.c (support_chroot_create): Likewise.
2398 2017-11-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2400         * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
2401         macro.
2402         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
2403         htm-no-suspend.
2405 2017-11-17  Joseph Myers  <joseph@codesourcery.com>
2407         * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
2408         [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
2409         * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
2410         (ceill): Define using libm_alias_ldouble.
2411         * sysdeps/x86_64/fpu/s_copysignl.S: Include
2412         <libm-alias-ldouble.h>.
2413         (copysignl): Define using libm_alias_ldouble.
2414         * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
2415         (fabsl): Define using libm_alias_ldouble.
2416         * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
2417         (floorl): Define using libm_alias_ldouble.
2418         * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
2419         (fmaxl): Define using libm_alias_ldouble.
2420         * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
2421         (fminl): Define using libm_alias_ldouble.
2422         * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
2423         (llrintl): Define using libm_alias_ldouble.
2424         (lrintl): Likewise.
2425         * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
2426         <libm-alias-ldouble.h>.
2427         (nearbyintl): Define using libm_alias_ldouble.
2428         * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
2429         (truncl): Define using libm_alias_ldouble.
2430         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
2431         <libm-alias-ldouble.h>.
2432         (lrintl): Define using libm_alias_ldouble.
2434         * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
2435         [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
2436         * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
2437         (asinhl): Define using libm_alias_ldouble.
2438         * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
2439         (atanl): Define using libm_alias_ldouble.
2440         * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
2441         (cbrtl): Define using libm_alias_ldouble.
2442         * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
2443         (ceill): Define using libm_alias_ldouble.
2444         * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
2445         (copysignl): Define using libm_alias_ldouble.
2446         * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
2447         (fabsl): Define using libm_alias_ldouble.
2448         * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
2449         (floorl): Define using libm_alias_ldouble.
2450         * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
2451         (fmaxl): Define using libm_alias_ldouble.
2452         * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
2453         (fminl): Define using libm_alias_ldouble.
2454         * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
2455         (frexpl): Define using libm_alias_ldouble.
2456         * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
2457         (llrintl): Define using libm_alias_ldouble.
2458         * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
2459         (logbl): Define using libm_alias_ldouble.
2460         * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
2461         (lrintl): Define using libm_alias_ldouble.
2462         * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
2463         (nearbyintl): Define using libm_alias_ldouble.
2464         * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
2465         (nextafterl): Define using libm_alias_ldouble.
2466         * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
2467         (remquol): Define using libm_alias_ldouble.
2468         * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
2469         (rintl): Define using libm_alias_ldouble.
2470         * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
2471         (truncl): Define using libm_alias_ldouble.
2472         * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
2473         (fmaxl): Define using libm_alias_ldouble.
2474         * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
2475         (fminl): Define using libm_alias_ldouble.
2477         * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
2478         to C syntax instead of availability and properties of types.
2479         * bits/floatn.h [!__ASSEMBLER]: Likewise.
2480         * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
2481         * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
2482         * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
2483         * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
2484         * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
2486 2017-11-17  Florian Weimer  <fweimer@redhat.com>
2488         support_become_root: Enable file creation in namespaces.
2489         * support/support_become_root.c (setup_mapping): New function.
2490         (support_become_root): Call it.
2492 2017-11-17  Joseph Myers  <joseph@codesourcery.com>
2494         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
2495         macro.
2497 2017-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2499         * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
2500         CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
2502 2017-11-16  Joseph Myers  <joseph@codesourcery.com>
2504         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
2506         * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2507         version to 4.14.
2509 2017-11-16  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2511         * INSTALL: Fix botched up regeneration.
2513         * NEWS: Update sourceare link to https.
2514         * configure.ac: Likewise.
2515         * crypt/md5test-giant.c: Likewise.
2516         * dlfcn/bug-atexit1.c: Likewise.
2517         * dlfcn/bug-atexit2.c: Likewise.
2518         * localedata/README: Likewise.
2519         * malloc/tst-mallocfork.c: Likewise.
2520         * manual/install.texi: Likewise.
2521         * nptl/tst-pthread-getattr.c: Likewise.
2522         * stdio-common/tst-fgets.c: Likewise.
2523         * stdio-common/tst-fwrite.c: Likewise.
2524         * sunrpc/Makefile: Likewise.
2525         * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
2526         * wcsmbs/tst-mbrtowc2.c: Likewise.
2527         * configure: Regenerate.
2528         * INSTALL: Regenerate.
2530 2017-11-15  Martin Sebor  <msebor@redhat.com>
2532         * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
2533         * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
2534         * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
2536 2017-11-15  Luke Shumaker  <lukeshu@parabola.nu>
2538         [BZ #22145]
2539         * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
2540         * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
2542         [BZ #22145]
2543         * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
2544         Defer is_pty check until end of the function.
2545         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
2547         [BZ #22145]
2548         * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
2549         * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
2550         (ttyname): Likewise.
2551         * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
2552         (__ttyname_r): Likewise.
2554         * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
2555         int to bool.
2557         * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
2559         * manual/terminal.texi (Is It a Terminal):
2560         Mention ENODEV for ttyname and ttyname_r.
2562 2017-11-15  Joseph Myers  <joseph@codesourcery.com>
2564         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
2565         constant and macro.
2567         * sysdeps/unix/sysv/linux/bits/mman-linux.h
2568         [__USE_MISC] (MADV_WIPEONFORK): New macro.
2569         [__USE_MISC] (MADV_KEEPONFORK): Likewise.
2570         * sysdeps/unix/sysv/linux/hppa/bits/mman.h
2571         [__USE_MISC] (MADV_WIPEONFORK): Likewise.
2572         [__USE_MISC] (MADV_KEEPONFORK): Likewise.
2574 2017-11-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2576         * signal/sigrelse.c (sigrelse): Optimize implementation.
2578         * sysdeps/posix/sigpause.c (do_sigpause): Remove.
2579         (__sigpause): Rely on __sigsuspend to implement single thread
2580         optimization.  Add LIBC_CANCEL_HANDLED for cancellation marking.
2582 2017-11-15  Joseph Myers  <joseph@codesourcery.com>
2584         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2585         kernel version to 4.14.
2587 2017-11-15  Steve Ellcey  <sellcey@cavium.com>
2589         [BZ #22442]
2590         * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
2591         Check if ifname is too long.
2593 2017-11-15  Luke Shumaker  <lukeshu@parabola.nu>
2595         * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
2597 2017-11-15  Mike FABIAN  <mfabian@redhat.com>
2599         * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
2600         was accidentally lost.
2602 2017-11-15  Mike FABIAN  <mfabian@redhat.com>
2604         * localedata/locales/az_IR: Add standard copyright header.
2606 2017-11-15  Florian Weimer  <fweimer@redhat.com>
2608         [BZ #22439]
2609         * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
2610         not just the top one.  Output a new "subheaps" statistic.
2612 2017-11-15  Florian Weimer  <fweimer@redhat.com>
2614         [BZ #22408]
2615         * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
2616         under the per-arena lock.
2617         * malloc/Makefile (tests): Add tst-malloc_info.
2618         (tst-malloc_info): Link with libpthread.
2619         * malloc/tst-malloc_info.c: New file.
2621 2017-11-15  Joseph Myers  <joseph@codesourcery.com>
2623         [BZ #21660]
2624         * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
2625         [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
2626         [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
2627         [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
2628         [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
2629         [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
2630         [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
2631         [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
2632         [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
2633         [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
2634         [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
2635         [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
2636         [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
2637         [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
2638         [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
2639         [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
2640         (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
2641         (__floating_type): Likewise.
2642         (__real_integer_type): Likewise.
2643         (__complex_integer_type): Likewise.
2644         (__expr_is_real): Likewise.
2645         (__tgmath_real_type_sub): Likewise.
2646         (__tgmath_real_type): Likewise.
2647         (__tgmath_complex_type_sub): Likewise.
2648         (__tgmath_complex_type): Likewise.
2649         (__TGMATH_F128): Likewise.
2650         (__TGMATH_CF128): Likewise.
2651         [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
2652         new macros.
2653         [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
2654         [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
2655         Likewise.
2656         [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
2657         Likewise.
2658         [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
2659         [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
2660         [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
2661         [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
2662         Likewise.
2663         [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
2664         [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
2665         Likewise.
2666         [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
2667         [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
2668         [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
2669         Likewise.
2670         [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
2671         (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
2672         (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
2673         (cimag): Likewise.
2674         (creal): Likewise.
2676 2017-11-14  Joseph Myers  <joseph@codesourcery.com>
2678         * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
2679         for stpncpy calls for GCC 8.
2680         (test_strncat): Disable -Wstringop-truncation warning for strncat
2681         calls for GCC 8.  Disable -Wstringop-overflow= warning for one
2682         strncat call for GCC 7.
2683         (test_strncpy): Disable -Wstringop-truncation warning for strncpy
2684         calls for GCC 8.
2685         (test_memcmp): Use memcpy instead of strncpy for calls not copying
2686         trailing NUL.
2688         * string/bug-strncat1.c: Include <libc-diag.h>.
2689         (main): Disable -Wstringop-truncation for strncat call for GCC 8.
2691 2017-11-13  Claude Paroz <claude@2xlibre.net>
2693         [BZ #22387]
2694         * localedata/locales/aa_DJ: Improved readibility by replacing
2695         <Uxxxx> sequences in the ASCII printable range by their ASCII
2696         character equivalents.
2697         * localedata/locales/aa_ER: Likewise.
2698         * localedata/locales/aa_ER@saaho: Likewise.
2699         * localedata/locales/aa_ET: Likewise.
2700         * localedata/locales/af_ZA: Likewise.
2701         * localedata/locales/agr_PE: Likewise.
2702         * localedata/locales/ak_GH: Likewise.
2703         * localedata/locales/am_ET: Likewise.
2704         * localedata/locales/anp_IN: Likewise.
2705         * localedata/locales/ar_AE: Likewise.
2706         * localedata/locales/ar_BH: Likewise.
2707         * localedata/locales/ar_DZ: Likewise.
2708         * localedata/locales/ar_EG: Likewise.
2709         * localedata/locales/ar_IN: Likewise.
2710         * localedata/locales/ar_IQ: Likewise.
2711         * localedata/locales/ar_JO: Likewise.
2712         * localedata/locales/ar_KW: Likewise.
2713         * localedata/locales/ar_LB: Likewise.
2714         * localedata/locales/ar_LY: Likewise.
2715         * localedata/locales/ar_MA: Likewise.
2716         * localedata/locales/ar_OM: Likewise.
2717         * localedata/locales/ar_QA: Likewise.
2718         * localedata/locales/ar_SA: Likewise.
2719         * localedata/locales/ar_SD: Likewise.
2720         * localedata/locales/ar_SS: Likewise.
2721         * localedata/locales/ar_SY: Likewise.
2722         * localedata/locales/ar_TN: Likewise.
2723         * localedata/locales/ar_YE: Likewise.
2724         * localedata/locales/as_IN: Likewise.
2725         * localedata/locales/ast_ES: Likewise.
2726         * localedata/locales/ayc_PE: Likewise.
2727         * localedata/locales/az_AZ: Likewise.
2728         * localedata/locales/az_IR: Likewise.
2729         * localedata/locales/be_BY: Likewise.
2730         * localedata/locales/be_BY@latin: Likewise.
2731         * localedata/locales/bem_ZM: Likewise.
2732         * localedata/locales/ber_DZ: Likewise.
2733         * localedata/locales/ber_MA: Likewise.
2734         * localedata/locales/bg_BG: Likewise.
2735         * localedata/locales/bhb_IN: Likewise.
2736         * localedata/locales/bho_IN: Likewise.
2737         * localedata/locales/bi_VU: Likewise.
2738         * localedata/locales/bn_BD: Likewise.
2739         * localedata/locales/bn_IN: Likewise.
2740         * localedata/locales/bo_CN: Likewise.
2741         * localedata/locales/bo_IN: Likewise.
2742         * localedata/locales/br_FR: Likewise.
2743         * localedata/locales/brx_IN: Likewise.
2744         * localedata/locales/bs_BA: Likewise.
2745         * localedata/locales/byn_ER: Likewise.
2746         * localedata/locales/ca_AD: Likewise.
2747         * localedata/locales/ca_ES: Likewise.
2748         * localedata/locales/ca_FR: Likewise.
2749         * localedata/locales/ca_IT: Likewise.
2750         * localedata/locales/ce_RU: Likewise.
2751         * localedata/locales/chr_US: Likewise.
2752         * localedata/locales/cmn_TW: Likewise.
2753         * localedata/locales/crh_UA: Likewise.
2754         * localedata/locales/cs_CZ: Likewise.
2755         * localedata/locales/csb_PL: Likewise.
2756         * localedata/locales/cv_RU: Likewise.
2757         * localedata/locales/cy_GB: Likewise.
2758         * localedata/locales/da_DK: Likewise.
2759         * localedata/locales/de_AT: Likewise.
2760         * localedata/locales/de_BE: Likewise.
2761         * localedata/locales/de_CH: Likewise.
2762         * localedata/locales/de_DE: Likewise.
2763         * localedata/locales/de_IT: Likewise.
2764         * localedata/locales/de_LI: Likewise.
2765         * localedata/locales/de_LU: Likewise.
2766         * localedata/locales/doi_IN: Likewise.
2767         * localedata/locales/dv_MV: Likewise.
2768         * localedata/locales/dz_BT: Likewise.
2769         * localedata/locales/el_CY: Likewise.
2770         * localedata/locales/el_GR: Likewise.
2771         * localedata/locales/en_AG: Likewise.
2772         * localedata/locales/en_AU: Likewise.
2773         * localedata/locales/en_BW: Likewise.
2774         * localedata/locales/en_CA: Likewise.
2775         * localedata/locales/en_DK: Likewise.
2776         * localedata/locales/en_GB: Likewise.
2777         * localedata/locales/en_HK: Likewise.
2778         * localedata/locales/en_IE: Likewise.
2779         * localedata/locales/en_IL: Likewise.
2780         * localedata/locales/en_IN: Likewise.
2781         * localedata/locales/en_NG: Likewise.
2782         * localedata/locales/en_NZ: Likewise.
2783         * localedata/locales/en_PH: Likewise.
2784         * localedata/locales/en_SG: Likewise.
2785         * localedata/locales/en_US: Likewise.
2786         * localedata/locales/en_ZA: Likewise.
2787         * localedata/locales/en_ZM: Likewise.
2788         * localedata/locales/en_ZW: Likewise.
2789         * localedata/locales/eo: Likewise.
2790         * localedata/locales/es_AR: Likewise.
2791         * localedata/locales/es_BO: Likewise.
2792         * localedata/locales/es_CL: Likewise.
2793         * localedata/locales/es_CO: Likewise.
2794         * localedata/locales/es_CR: Likewise.
2795         * localedata/locales/es_CU: Likewise.
2796         * localedata/locales/es_DO: Likewise.
2797         * localedata/locales/es_EC: Likewise.
2798         * localedata/locales/es_ES: Likewise.
2799         * localedata/locales/es_GT: Likewise.
2800         * localedata/locales/es_HN: Likewise.
2801         * localedata/locales/es_MX: Likewise.
2802         * localedata/locales/es_NI: Likewise.
2803         * localedata/locales/es_PA: Likewise.
2804         * localedata/locales/es_PE: Likewise.
2805         * localedata/locales/es_PR: Likewise.
2806         * localedata/locales/es_PY: Likewise.
2807         * localedata/locales/es_SV: Likewise.
2808         * localedata/locales/es_US: Likewise.
2809         * localedata/locales/es_UY: Likewise.
2810         * localedata/locales/es_VE: Likewise.
2811         * localedata/locales/et_EE: Likewise.
2812         * localedata/locales/eu_ES: Likewise.
2813         * localedata/locales/eu_ES@euro: Likewise.
2814         * localedata/locales/fa_IR: Likewise.
2815         * localedata/locales/ff_SN: Likewise.
2816         * localedata/locales/fi_FI: Likewise.
2817         * localedata/locales/fil_PH: Likewise.
2818         * localedata/locales/fo_FO: Likewise.
2819         * localedata/locales/fr_BE: Likewise.
2820         * localedata/locales/fr_CA: Likewise.
2821         * localedata/locales/fr_CH: Likewise.
2822         * localedata/locales/fr_FR: Likewise.
2823         * localedata/locales/fr_LU: Likewise.
2824         * localedata/locales/fur_IT: Likewise.
2825         * localedata/locales/fy_DE: Likewise.
2826         * localedata/locales/fy_NL: Likewise.
2827         * localedata/locales/ga_IE: Likewise.
2828         * localedata/locales/gd_GB: Likewise.
2829         * localedata/locales/gez_ER: Likewise.
2830         * localedata/locales/gez_ET: Likewise.
2831         * localedata/locales/gl_ES: Likewise.
2832         * localedata/locales/gu_IN: Likewise.
2833         * localedata/locales/gv_GB: Likewise.
2834         * localedata/locales/ha_NG: Likewise.
2835         * localedata/locales/hak_TW: Likewise.
2836         * localedata/locales/he_IL: Likewise.
2837         * localedata/locales/hi_IN: Likewise.
2838         * localedata/locales/hif_FJ: Likewise.
2839         * localedata/locales/hne_IN: Likewise.
2840         * localedata/locales/hr_HR: Likewise.
2841         * localedata/locales/hsb_DE: Likewise.
2842         * localedata/locales/ht_HT: Likewise.
2843         * localedata/locales/hu_HU: Likewise.
2844         * localedata/locales/hy_AM: Likewise.
2845         * localedata/locales/i18n: Likewise.
2846         * localedata/locales/ia_FR: Likewise.
2847         * localedata/locales/id_ID: Likewise.
2848         * localedata/locales/ig_NG: Likewise.
2849         * localedata/locales/ik_CA: Likewise.
2850         * localedata/locales/is_IS: Likewise.
2851         * localedata/locales/it_CH: Likewise.
2852         * localedata/locales/it_IT: Likewise.
2853         * localedata/locales/iu_CA: Likewise.
2854         * localedata/locales/ja_JP: Likewise.
2855         * localedata/locales/ka_GE: Likewise.
2856         * localedata/locales/kk_KZ: Likewise.
2857         * localedata/locales/kl_GL: Likewise.
2858         * localedata/locales/kn_IN: Likewise.
2859         * localedata/locales/ko_KR: Likewise.
2860         * localedata/locales/kok_IN: Likewise.
2861         * localedata/locales/ks_IN: Likewise.
2862         * localedata/locales/ks_IN@devanagari: Likewise.
2863         * localedata/locales/ku_TR: Likewise.
2864         * localedata/locales/kw_GB: Likewise.
2865         * localedata/locales/ky_KG: Likewise.
2866         * localedata/locales/lb_LU: Likewise.
2867         * localedata/locales/lg_UG: Likewise.
2868         * localedata/locales/li_BE: Likewise.
2869         * localedata/locales/li_NL: Likewise.
2870         * localedata/locales/lij_IT: Likewise.
2871         * localedata/locales/ln_CD: Likewise.
2872         * localedata/locales/lo_LA: Likewise.
2873         * localedata/locales/lt_LT: Likewise.
2874         * localedata/locales/lv_LV: Likewise.
2875         * localedata/locales/lzh_TW: Likewise.
2876         * localedata/locales/mag_IN: Likewise.
2877         * localedata/locales/mai_IN: Likewise.
2878         * localedata/locales/mg_MG: Likewise.
2879         * localedata/locales/mhr_RU: Likewise.
2880         * localedata/locales/mi_NZ: Likewise.
2881         * localedata/locales/mk_MK: Likewise.
2882         * localedata/locales/ml_IN: Likewise.
2883         * localedata/locales/mn_MN: Likewise.
2884         * localedata/locales/mni_IN: Likewise.
2885         * localedata/locales/mr_IN: Likewise.
2886         * localedata/locales/ms_MY: Likewise.
2887         * localedata/locales/mt_MT: Likewise.
2888         * localedata/locales/my_MM: Likewise.
2889         * localedata/locales/nan_TW: Likewise.
2890         * localedata/locales/nan_TW@latin: Likewise.
2891         * localedata/locales/nb_NO: Likewise.
2892         * localedata/locales/nds_DE: Likewise.
2893         * localedata/locales/nds_NL: Likewise.
2894         * localedata/locales/ne_NP: Likewise.
2895         * localedata/locales/nhn_MX: Likewise.
2896         * localedata/locales/niu_NU: Likewise.
2897         * localedata/locales/niu_NZ: Likewise.
2898         * localedata/locales/nl_AW: Likewise.
2899         * localedata/locales/nl_BE: Likewise.
2900         * localedata/locales/nl_NL: Likewise.
2901         * localedata/locales/nn_NO: Likewise.
2902         * localedata/locales/nr_ZA: Likewise.
2903         * localedata/locales/nso_ZA: Likewise.
2904         * localedata/locales/oc_FR: Likewise.
2905         * localedata/locales/om_ET: Likewise.
2906         * localedata/locales/om_KE: Likewise.
2907         * localedata/locales/or_IN: Likewise.
2908         * localedata/locales/os_RU: Likewise.
2909         * localedata/locales/pa_IN: Likewise.
2910         * localedata/locales/pa_PK: Likewise.
2911         * localedata/locales/pap_AW: Likewise.
2912         * localedata/locales/pap_CW: Likewise.
2913         * localedata/locales/pl_PL: Likewise.
2914         * localedata/locales/ps_AF: Likewise.
2915         * localedata/locales/pt_BR: Likewise.
2916         * localedata/locales/pt_PT: Likewise.
2917         * localedata/locales/quz_PE: Likewise.
2918         * localedata/locales/raj_IN: Likewise.
2919         * localedata/locales/ro_RO: Likewise.
2920         * localedata/locales/ru_RU: Likewise.
2921         * localedata/locales/ru_UA: Likewise.
2922         * localedata/locales/rw_RW: Likewise.
2923         * localedata/locales/sa_IN: Likewise.
2924         * localedata/locales/sat_IN: Likewise.
2925         * localedata/locales/sc_IT: Likewise.
2926         * localedata/locales/sd_IN: Likewise.
2927         * localedata/locales/sd_IN@devanagari: Likewise.
2928         * localedata/locales/se_NO: Likewise.
2929         * localedata/locales/sgs_LT: Likewise.
2930         * localedata/locales/shs_CA: Likewise.
2931         * localedata/locales/si_LK: Likewise.
2932         * localedata/locales/sid_ET: Likewise.
2933         * localedata/locales/sk_SK: Likewise.
2934         * localedata/locales/sl_SI: Likewise.
2935         * localedata/locales/sm_WS: Likewise.
2936         * localedata/locales/so_DJ: Likewise.
2937         * localedata/locales/so_ET: Likewise.
2938         * localedata/locales/so_KE: Likewise.
2939         * localedata/locales/so_SO: Likewise.
2940         * localedata/locales/sq_AL: Likewise.
2941         * localedata/locales/sq_MK: Likewise.
2942         * localedata/locales/sr_ME: Likewise.
2943         * localedata/locales/sr_RS: Likewise.
2944         * localedata/locales/sr_RS@latin: Likewise.
2945         * localedata/locales/ss_ZA: Likewise.
2946         * localedata/locales/st_ZA: Likewise.
2947         * localedata/locales/sv_FI: Likewise.
2948         * localedata/locales/sv_SE: Likewise.
2949         * localedata/locales/sw_KE: Likewise.
2950         * localedata/locales/sw_TZ: Likewise.
2951         * localedata/locales/szl_PL: Likewise.
2952         * localedata/locales/ta_IN: Likewise.
2953         * localedata/locales/ta_LK: Likewise.
2954         * localedata/locales/tcy_IN: Likewise.
2955         * localedata/locales/te_IN: Likewise.
2956         * localedata/locales/tg_TJ: Likewise.
2957         * localedata/locales/th_TH: Likewise.
2958         * localedata/locales/the_NP: Likewise.
2959         * localedata/locales/ti_ER: Likewise.
2960         * localedata/locales/ti_ET: Likewise.
2961         * localedata/locales/tig_ER: Likewise.
2962         * localedata/locales/tk_TM: Likewise.
2963         * localedata/locales/tl_PH: Likewise.
2964         * localedata/locales/tn_ZA: Likewise.
2965         * localedata/locales/to_TO: Likewise.
2966         * localedata/locales/tpi_PG: Likewise.
2967         * localedata/locales/tr_CY: Likewise.
2968         * localedata/locales/tr_TR: Likewise.
2969         * localedata/locales/ts_ZA: Likewise.
2970         * localedata/locales/tt_RU: Likewise.
2971         * localedata/locales/tt_RU@iqtelif: Likewise.
2972         * localedata/locales/ug_CN: Likewise.
2973         * localedata/locales/uk_UA: Likewise.
2974         * localedata/locales/unm_US: Likewise.
2975         * localedata/locales/ur_IN: Likewise.
2976         * localedata/locales/ur_PK: Likewise.
2977         * localedata/locales/uz_UZ: Likewise.
2978         * localedata/locales/uz_UZ@cyrillic: Likewise.
2979         * localedata/locales/ve_ZA: Likewise.
2980         * localedata/locales/vi_VN: Likewise.
2981         * localedata/locales/wa_BE: Likewise.
2982         * localedata/locales/wae_CH: Likewise.
2983         * localedata/locales/wal_ET: Likewise.
2984         * localedata/locales/wo_SN: Likewise.
2985         * localedata/locales/xh_ZA: Likewise.
2986         * localedata/locales/yi_US: Likewise.
2987         * localedata/locales/yo_NG: Likewise.
2988         * localedata/locales/yue_HK: Likewise.
2989         * localedata/locales/yuw_PG: Likewise.
2990         * localedata/locales/zh_CN: Likewise.
2991         * localedata/locales/zh_HK: Likewise.
2992         * localedata/locales/zh_SG: Likewise.
2993         * localedata/locales/zh_TW: Likewise.
2994         * localedata/locales/zu_ZA: Likewise.
2996 2017-11-13  Florian Weimer  <fweimer@redhat.com>
2998         * support/next_to_fault.h, support/next_to_fault.c: New files.
2999         * support/Makefile (libsupport-routines): Add next_to_fault.
3000         * resolv/tst-inet_pton.c (struct next_to_fault)
3001         (next_to_fault_allocate, next_to_fault_free): Remove.
3002         (run_one_test): Switch to <support/next_to_fault.h> interfaces.
3004 2017-11-13  H.J. Lu  <hongjiu.lu@intel.com>
3006         * elf/dl-support.c: Include <dl-procruntime.c>.
3007         * include/link.h: Include <link_map.h>.
3008         * sysdeps/generic/dl-procruntime.c: New file.
3009         * sysdeps/generic/link_map.h: Likewise.
3010         * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
3011         the writable ld.so namespace.
3013 2017-11-12  Paul Eggert  <eggert@cs.ucla.edu>
3015         timezone: pacify GCC -Wstringop-truncation
3016         Problem reported by Martin Sebor in:
3017         https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
3018         * timezone/zic.c (writezone): Use memcpy, not strncpy.
3020 2017-11-12  Florian Weimer  <fweimer@redhat.com>
3022         * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
3023         tst-xreadlink.
3024         (tests): Add tst-xreadlink.
3025         * support/support.h (xstrndup): Declare.
3026         * support/xunistd.h (xunlink, xreadlink): Declare.
3027         * support/temp_file.h (support_create_temp_directory): Declare.
3028         * support/temp_file.c (support_create_temp_directory): New function.
3029         * support/support_chroot.c (support_chroot_create): Use it.
3030         * support/xreadlink.c: New file.
3031         * support/xstrndup.c: Likewise.
3032         * support/xunlink.c: Likewise.
3033         * support/tst-xreadlink.c: Likewise.
3035 2017-11-11  John David Anglin  <danglin@gcc.gnu.org>
3037         * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
3039 2017-11-11  Florian Weimer  <fweimer@redhat.com>
3041         [BZ #22409]
3042         [BZ #22412]
3043         * resolv/res_comp.c (printable_string, binary_hnok)
3044         (binary_leading_dash): New functions.
3045         (res_hnok): Reimplement using these functions and ns_name_pton.
3046         (res_ownok): Likewise.
3047         (res_mailok): Reimplement using printable_string, ns_name_pton and
3048         binary_hnok.
3049         (res_dnok): Reimplement using printable_string and ns_name_pton.
3050         * resolv/tst-res_hnok.c (tests): Add additional tests.
3051         (LETTERDIGITS, PRINTABLE): Define.
3052         (do_test): Adjust one_char results.
3054 2017-11-11  Florian Weimer  <fweimer@redhat.com>
3056         [BZ #22413]
3057         * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
3058         * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
3060 2017-11-11  Florian Weimer  <fweimer@redhat.com>
3062         * resolv/tst-ns_name_pton.c: New file.
3063         * resolv/Makefile (tests): Add tst-ns_name_pton.
3064         (tst-ns_name_pton): Link against libresolv.
3066 2017-11-11  Florian Weimer  <fweimer@redhat.com>
3068         * resolv/tst-res_hnok.c: New file.
3069         * resolv/Makefile (tests): Add tst-res_hnok.
3070         (tst-res_hnok): Link against libresolv.
3072 2017-11-11  Florian Weimer  <fweimer@redhat.com>
3074         * resolv/tst-resolv-network.c: Use test framework instead explicit
3075         main function.
3077 2017-11-09  H.J. Lu  <hongjiu.lu@intel.com>
3079         * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
3080         <jmp_buf-macros.h>.
3081         [!_ISOMAC] (STR_HELPER): New.
3082         [!_ISOMAC] (STR): Likewise.
3083         [!_ISOMAC] (TEST_SIZE): Likewise.
3084         [!_ISOMAC] (TEST_ALIGN): Likewise.
3085         [!_ISOMAC] (TEST_OFFSET): Likewise.
3086         [!_ISOMAC] Add _Static_assert to check sizes, alignments and
3087         field offsets of jmp_buf as well as sigjmp_buf.
3088         * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
3089         * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
3090         * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
3091         * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
3092         * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
3093         * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
3094         * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
3095         * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
3096         * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
3097         * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
3098         Likewise.
3099         * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
3100         Likewise.
3101         * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
3102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
3103         Likewise.
3104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
3105         Likewise.
3106         * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
3107         * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
3108         * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
3109         * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
3110         * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
3111         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
3112         Likewise.
3113         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
3114         Likewise.
3115         * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
3116         * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
3117         * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
3119 2017-11-07  Joseph Myers  <joseph@codesourcery.com>
3121         * include/float.h
3122         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3123         && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
3124         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3125         && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
3126         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3127         && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
3128         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3129         && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
3130         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3131         && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
3132         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3133         && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
3134         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3135         && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
3136         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3137         && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
3138         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3139         && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
3140         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3141         && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
3142         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3143         && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
3144         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3145         && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
3146         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3147         && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
3148         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3149         && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
3150         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3151         && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
3152         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3153         && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
3154         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3155         && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
3156         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3157         && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
3158         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3159         && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
3160         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3161         && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
3162         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3163         && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
3164         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3165         && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
3166         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3167         && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
3168         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3169         && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
3170         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3171         && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
3172         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3173         && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
3174         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3175         && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
3176         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3177         && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
3178         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3179         && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
3180         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3181         && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
3182         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3183         && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
3184         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3185         && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
3186         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3187         && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
3188         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3189         && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
3190         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3191         && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
3192         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3193         && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
3194         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3195         && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
3196         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3197         && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
3198         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3199         && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
3200         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3201         && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
3202         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3203         && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
3204         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3205         && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
3206         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3207         && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
3208         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
3209         && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
3211         * stdlib/tst-strtod.h (F16): New macro.
3212         (F32): Likewise.
3213         (F64): Likewise.
3214         (F32X): Likewise.
3215         (F64X): Likewise.
3216         (F128X): Likewise.
3217         (IF_FLOAT16): Likewise.
3218         (IF_FLOAT32): Likewise.
3219         (IF_FLOAT64): Likewise.
3220         (IF_FLOAT32X): Likewise.
3221         (IF_FLOAT64X): Likewise.
3222         (IF_FLOAT128X): Likewise.
3223         (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
3224         _Float32, _Float64, _Float32x, _Float64x and _Float128x.
3225         (STRTOD_TEST_FOREACH): Likewise.
3226         * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
3227         (CHOOSE_f64): Likewise.
3228         (CHOOSE_f32x): Likewise.
3229         (CHOOSE_f64x): Likewise.
3231 2017-11-07  Andreas Schwab  <schwab@suse.de>
3233         * nptl/Makefile (tests-internal): Remove tst-typesizes.
3235 2017-11-07  Mike FABIAN  <mfabian@redhat.com>
3237         [BZ #22403]
3238         * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
3239         to be escaped.
3240         * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
3241         to be escaped.
3243 2017-11-07  Claude Paroz <claude@2xlibre.net>
3245         [BZ #22403]
3246         * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
3247         to be escaped.
3248         * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
3249         to be escaped.
3250         * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
3251         to be escaped.
3253 2017-11-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3255         [BZ #22298]
3256         * nptl/allocatestack.c (allocate_stack): Check if
3257         __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
3258         __PTHREAD_MUTEX_HAVE_PREV is defined.
3259         * nptl/descr.h (pthread): Likewise.
3260         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3261         Likewise.
3262         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
3263         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3264         * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
3265         * sysdeps/nptl/bits/thread-shared-types.h
3266         (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
3267         defines.
3268         (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
3269         of __WORDSIZE for internal layout.
3270         (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
3271         of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
3272         instead of __WORDSIZE whether to use an union for __spins and __list
3273         fields.
3274         (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
3275         case.
3276         * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
3277         (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
3278         defines.
3279         * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
3280         (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
3281         Likewise.
3282         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
3283         (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
3284         Likewise.
3285         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
3286         (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
3287         Likewise.
3288         * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
3289         (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
3290         Likewise.
3291         * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
3292         (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
3293         Likewise.
3294         * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
3295         (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
3296         Likewise.
3297         * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
3298         (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
3299         Likewise.
3300         * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
3301         (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
3302         Likewise.
3303         * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
3304         (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
3305         Likewise.
3306         * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
3307         (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
3308         Likewise.
3309         * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
3310         (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
3311         Likewise.
3312         * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
3313         (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
3314         Likewise.
3315         * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
3316         (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
3317         Likewise.
3318         * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
3319         (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
3320         Likewise.
3322         * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
3323         New macros.
3324         * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
3325         checks for expected input type size.
3326         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
3327         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
3328         Likewise.
3329         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
3330         * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
3331         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
3332         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
3333         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
3334         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
3335         * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
3336         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
3337         superflous runtime assert check.
3338         * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
3339         Likewise.
3340         * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
3341         Likewise.
3342         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
3343         Likewise.
3344         * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
3345         Likewise.
3346         * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
3347         Likewise.
3348         * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
3349         Likewise.
3350         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
3351         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
3352         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
3353         Likewise.
3354         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
3355         Likewise.
3356         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
3357         Likewise.
3358         * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
3359         Likewise.
3360         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
3361         Likewise.
3362         * nptl/pthread_attr_setinheritsched.c
3363         (__pthread_attr_setinheritsched): Likewise.
3364         * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
3365         Likewise.
3366         * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
3367         Likewise.
3368         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
3369         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
3370         __old_pthread_attr_setstack): Likewise.
3371         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
3372         Likewise.
3373         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
3374         Likewise.
3375         * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
3376         Likewise.
3377         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
3378         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
3379         Likewise.
3380         * nptl/tst-typesizes.c: Remove file.
3382         * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
3383         ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
3384         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
3385         checks for internal pthread_mutex_t offsets.
3386         * sysdeps/aarch64/nptl/pthread-offsets.h
3387         (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
3388         __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
3389         __PTHREAD_MUTEX_LIST_OFFSET): New macro.
3390         * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
3391         * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
3392         * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
3393         * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
3394         * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
3395         * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
3396         * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
3397         * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
3398         * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
3399         * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
3400         * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
3401         * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
3402         * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
3403         * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
3404         * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
3406 2017-11-07  Florian Weimer  <fweimer@redhat.com>
3408         * bits/mman-linux.h: Move ...
3409         * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here.  Update
3410         comment.
3411         * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
3412         outdated comment.
3414 2017-11-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3416         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
3417         Redefine STRNLEN as __strnlen_power8.
3419 2017-11-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3421         * signal/sighold.c (sighold): Optimize implementation.
3423         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
3424         __NR_rt_sigqueueinfo.
3426         * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
3427         __sigtimedwait.
3428         * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
3429         assume __NR_rt_sigtimedwait.
3430         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
3431         and add LIBC_CANCEL_HANDLED for cancellation marking.
3432         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3434         * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
3435         (sysdeps_routines): Add memchr_noneon.
3436         * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
3437         * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
3438         * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
3439         * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
3440         * sysdeps/arm/armv7/multiarch/memchr.c: New file.
3441         * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
3442         * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
3444         * sysdeps/arm/arm-ifunc.h: New file.
3445         * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
3446         * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
3447         * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
3448         * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
3449         * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
3450         (__memcpy_neon): Avoid create hidden alias.
3451         * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
3452         (__memcpy_vfp): Likewise.
3453         * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
3454         (sysdep_routines): Add memcpy_arm.
3455         * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
3457 2017-11-06  H.J. Lu  <hongjiu.lu@intel.com>
3459         [BZ #22362]
3460         * Makerules (make-link-multidir): New.
3461         * config.make.in (multidir): New.
3462         * configure.ac (libc_cv_multidir): New.  AC_SUBST.
3463         * configure: Regenerated.
3464         * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
3465         [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
3466         [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
3467         New target.
3469 2017-11-06  Joseph Myers  <joseph@codesourcery.com>
3471         [BZ #22402]
3472         * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
3473         [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
3475 2017-11-04  Mike FABIAN  <mfabian@redhat.com>
3477         * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
3478         to be escaped.
3480 2017-11-04  Florian Weimer  <fweimer@redhat.com>
3482         * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
3484 2017-11-03  Joseph Myers  <joseph@codesourcery.com>
3486         * math/math.h [__HAVE_DISTINCT_FLOAT16
3487         || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
3488         || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
3489         || __HAVE_DISTINCT_FLOAT128X]: Use #error.
3490         [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
3491         [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
3492         && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
3493         [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
3494         (__MATH_TG_F32): New macro.
3495         [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
3496         (__MATH_TG_F64X): Likewise.
3497         [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
3498         (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
3500 2017-11-03  Dmitry V. Levin  <ldv@altlinux.org>
3502         * po/de.po: Update translations.
3503         * po/ru.po: Likewise.
3505 2017-11-03  Florian Weimer  <fweimer@redhat.com>
3507         * manual/filesys.texi (Hard Links): Document linkat.
3509 2017-11-03  Joseph Myers  <joseph@codesourcery.com>
3511         * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
3512         || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
3513         || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
3514         || __HAVE_DISTINCT_FLOAT128X]: Use #error.
3515         [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
3516         && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
3517         && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
3518         the same as _Float128.
3519         [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
3520         && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
3521         && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
3523         * stdlib/stdlib.h
3524         [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
3525         Declare.
3526         [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
3527         Likewise.
3528         [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
3529         Likewise.
3530         [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3531         (strtof32x): Likewise.
3532         [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3533         (strtof64x): Likewise.
3534         [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3535         (strtof128x): Likewise.
3536         [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3537         (strfromf16): Likewise.
3538         [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3539         (strfromf32): Likewise.
3540         [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3541         (strfromf64): Likewise.
3542         [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3543         (strfromf32x): Likewise.
3544         [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3545         (strfromf64x): Likewise.
3546         [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3547         (strfromf128x): Likewise.
3548         [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
3549         [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
3550         [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
3551         [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
3552         [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
3553         [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
3555 2017-11-03  Richard Henderson  <rth@twiddle.net>
3557         * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
3559 2017-11-03  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3561         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
3563 2017-11-03  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3565         * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
3566         DT_TLSDESC_GOT initialization.
3567         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
3568         (_dl_tlsdesc_resolve_hold): Likewise.
3569         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
3570         (_dl_tlsdesc_resolve_hold): Likewise.
3571         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
3572         (_dl_tlsdesc_resolve_hold_fixup): Likewise.
3574 2017-11-03  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3576         * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
3578 2017-11-03  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3580         [BZ #18572]
3581         * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
3582         non-lazily for R_ARM_TLS_DESC.
3584 2017-11-03  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3586         [BZ #17078]
3587         * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
3588         R_ARM_TLS_DESC case.
3589         (elf_machine_lazy_rel): Remove the prelink check.
3591 2017-11-03  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3593         * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
3594         DT_TLSDESC_GOT initialization.
3595         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
3596         (_dl_tlsdesc_resolve_rela): Likewise.
3597         (_dl_tlsdesc_resolve_hold): Likewise.
3598         (_dl_tlsdesc_undefweak): Remove ldar.
3599         (_dl_tlsdesc_dynamic): Likewise.
3600         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
3601         (_dl_tlsdesc_resolve_rela): Likewise.
3602         (_dl_tlsdesc_resolve_hold): Likewise.
3603         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
3604         (_dl_tlsdesc_resolve_hold_fixup): Likewise.
3605         (_dl_tlsdesc_resolve_rela): Likewise.
3606         (_dl_tlsdesc_resolve_hold): Likewise.
3608 2017-11-03  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3610         * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
3611         binding and initialization non-lazily for R_AARCH64_TLSDESC.
3613 2017-11-03  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3615         * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
3616         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3618 2017-11-02  Joseph Myers  <joseph@codesourcery.com>
3620         * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
3621         Declare.
3622         [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
3623         [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
3624         [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
3625         [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
3626         [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
3627         [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
3628         [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
3629         [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
3630         [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
3631         [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
3632         [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
3634 2017-11-02  Mike FABIAN  <mfabian@redhat.com>
3636         [BZ #22382]
3637         * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
3638         * localedata/locales/tpi_PG: Add standard header.
3640 2017-11-02  Florian Weimer  <fweimer@redhat.com>
3642         test-errno-linux: quotactl can fail with EPERM in containers.
3643         * sysdeps/unix/sysv/linux/test-errno-linux.c
3644         (LIST, LIST_FORWARD): New macros.
3645         (check_error_in_list): New function.
3646         (test_wrp_rv): Accept list of permitted error codes.
3647         (test_wrp_rv2): Remove.
3648         (test_wrp): Call test_wrp_rv with list of error codes.
3649         (test_wrp2): Accept list of error codes.
3650         (do_test): Adjust.  Allow EPERM for quotactl.
3652 2017-11-02  Florian Weimer  <fweimer@redhat.com>
3654         * stdio-common/bug16.c (do_test): Use array_length.
3655         * stdio-common/errlist.c (_sys_nerr): Likewise.
3656         * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
3657         * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
3658         * stdio-common/psiginfo.c (psiginfo): Use array_length.
3659         * stdio-common/test-vfprintf.c (nlocs): Remove definition.
3660         (do_test): Use array_length.
3661         * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
3662         * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
3663         * stdio-common/tst-printf-round.c (do_test): Likewise.
3664         * stdio-common/tst-swprintf.c (nbuf): Remove definition.
3665         (CHECK): Use array_length.
3666         * stdio-common/tstdiomisc.c (t3, F): Likewise.
3667         * stdio-common/tstscanf.c (main): Likewise.
3668         * stdio-common/vfprintf.c (process_string_arg): Likewise.
3670 2017-11-02  Florian Weimer  <fweimer@redhat.com>
3672         Add array_length and array_end macros.
3673         * include/array_length.h: New file.
3675 2017-11-02  Florian Weimer  <fweimer@redhat.com>
3677         [BZ #22332]
3678         * posix/tst-glob-tilde.c (do_noescape): New variable.
3679         (one_test): Process it.
3680         (do_test): Set do_noescape.  Add unescaping test case.
3682 2017-11-01  Joseph Myers  <joseph@codesourcery.com>
3684         * math/complex.h
3685         [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
3686         && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
3687         with appropriate macros defined and undefined.
3688         [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
3689         && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
3690         [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
3691         && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
3692         [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
3693         && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
3694         [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
3695         && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
3696         [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
3697         && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
3699         * math/complex.h
3700         [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
3701         && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
3702         that for long double.  Do not condition define and undefine of
3703         _Mdouble_complex_ on [__CFLOAT128].
3705 2017-11-01  H.J. Lu  <hongjiu.lu@intel.com>
3707         * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
3708         of <sysdeps/generic/sysdep.h>.
3709         (ALIGNARG): Removed.
3710         (ASM_SIZE_DIRECTIVE): Likewise.
3711         (ENTRY): Likewise.
3712         (END): Likewise.
3713         (ENTRY_CHK): Likewise.
3714         (END_CHK): Likewise.
3715         (syscall_error): Likewise.
3716         (mcount): Likewise.
3717         (PSEUDO_END): Likewise.
3718         (L): Likewise.
3719         (atom_text_section): Likewise.
3720         * sysdeps/x86/sysdep.h: New file.
3721         * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
3722         of <sysdeps/generic/sysdep.h>.
3723         (ALIGNARG): Removed.
3724         (ASM_SIZE_DIRECTIVE): Likewise.
3725         (ENTRY): Likewise.
3726         (END): Likewise.
3727         (ENTRY_CHK): Likewise.
3728         (END_CHK): Likewise.
3729         (syscall_error): Likewise.
3730         (mcount): Likewise.
3731         (PSEUDO_END): Likewise.
3732         (L): Likewise.
3733         (atom_text_section): Likewise.
3735 2017-10-31  Rafal Luzynski  <digitalfreak@lingonborough.com>
3737         * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
3738         category of LC_CTYPE set to "i18n:2012".
3739         * localedata/locales/i18n_ctype: Regenerate.
3741 2017-10-31  Yury Norov  <ynorov@caviumnetworks.com>
3743         * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
3744         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
3745         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3746         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3748         * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
3749         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
3750         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
3751         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
3753 2017-10-31  Joseph Myers  <joseph@codesourcery.com>
3755         * math/complex.h
3756         [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
3757         New macro.
3758         [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
3759         Likewise.
3760         [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
3761         Likewise.
3762         [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3763         (CMPLXF32X): Likewise.
3764         [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3765         (CMPLXF64X): Likewise.
3766         [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3767         (CMPLXF128X): Likewise.
3769         * math/math.h
3770         [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
3771         (__MATH_EVAL_FMT2): Define to add 0.0f.
3773 2017-10-31  Alan Modra  <amodra@gmail.com>
3775         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
3776         include sysdep.h.
3777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
3778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
3779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
3780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
3781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
3782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
3783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
3784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
3785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
3786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
3787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
3788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
3789         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
3790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
3791         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
3792         * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
3793         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
3794         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
3795         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
3796         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
3797         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
3798         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
3799         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
3800         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
3801         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3802         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
3803         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
3804         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
3805         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
3806         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
3807         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
3808         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
3809         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
3810         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
3811         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
3812         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
3813         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
3814         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
3815         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
3816         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
3817         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
3818         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
3819         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
3820         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
3821         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
3822         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
3823         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
3824         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
3825         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
3826         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3827         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
3828         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
3829         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
3830         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
3831         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3832         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
3833         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
3834         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
3835         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
3836         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
3837         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3838         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
3839         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
3840         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
3841         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
3842         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
3843         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
3844         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
3845         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
3847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
3848         include sysdep.h and math_ldbl_opt.h.
3850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
3851         include sysdep.h and math_ldbl_opt.h.  Include shlib-compat.h.
3852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
3853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
3854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
3855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
3856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
3857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
3858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
3859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
3860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
3861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
3862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
3863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
3864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
3865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
3866         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
3867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
3868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
3869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
3870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
3871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
3872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
3873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
3874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
3875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
3877 2017-10-31  Alan Modra  <amodra@gmail.com>
3879         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
3880         string/strncase_l.c, not string/strncase.c.
3881         (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
3882         (libc_hidden_def): Redefine.
3884 2017-10-31  Alan Modra  <amodra@gmail.com>
3886         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
3887         (__STRCMP, STRCMP, __strcasecmp_l): Define.
3888         (__strcasecmp): Don't define.
3890 2017-10-31  Alan Modra  <amodra@gmail.com>
3892         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
3893         IS_IN (libc).
3894         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
3895         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
3896         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
3898 2017-10-31  Alan Modra  <amodra@gmail.com>
3900         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
3901         USE_AS_STPNCPY.
3903 2017-10-31  Alan Modra  <amodra@gmail.com>
3905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
3906         Redefine only when SHARED.
3908 2017-10-30  Joseph Myers  <joseph@codesourcery.com>
3910         * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
3911         Include <bits/math-finite.h> with appropriate macros defined and
3912         undefined.
3913         [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
3914         [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
3915         [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
3916         [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
3917         [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
3919         * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
3920         [!_Mlong_double_] (_Mlong_double_): Likewise.
3921         [!_Mfloat16_] (_Mfloat16_): Likewise.
3922         [!_Mfloat32_] (_Mfloat32_): Likewise.
3923         [!_Mfloat64_] (_Mfloat64_): Likewise.
3924         [!_Mfloat128_] (_Mfloat128_): Likewise.
3925         [!_Mfloat32x_] (_Mfloat32x_): Likewise.
3926         [!_Mfloat64x_] (_Mfloat64x_): Likewise.
3927         [!_Mfloat128x_] (_Mfloat128x_): Likewise.
3928         (_Mdouble_): Define without indirection through those macros.
3929         * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
3930         [!_Mfloat128_] (_Mfloat128_): Likewise.
3931         [_Mlong_double_] (_Mlong_double_): Likewise.
3932         (_Mdouble_): Define without indirection through those macros.
3933         * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
3934         not add -D_Mlong_double_=double.
3935         * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
3936         * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
3938 2017-10-30  H.J. Lu  <hongjiu.lu@intel.com>
3940         * sysdeps/x86/libc-start.c: Add /* !SHARED */.
3942 2017-10-30  H.J. Lu  <hongjiu.lu@intel.com>
3944         * sysdeps/x86/libc-start.c: Reformat.
3946 2017-10-30  H.J. Lu  <hongjiu.lu@intel.com>
3948         [BZ #22353]
3949         * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
3950         (1): Renamed to ...
3951         (L(Src0)): This.
3952         (L(Src1)): New.
3953         (L(Src2)): Likewise.
3954         (L(1)): Renamed to ...
3955         (L(Src3)): This.
3957 2017-10-30  Joseph Myers  <joseph@codesourcery.com>
3959         * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
3960         [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
3961         [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
3962         [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
3963         [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
3964         [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
3965         [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
3966         [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
3967         [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
3968         [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
3969         [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
3970         [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
3971         [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
3972         [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
3973         [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
3974         [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
3975         [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
3976         [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
3977         [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
3978         [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
3979         [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
3980         [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
3981         [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
3982         [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
3983         [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
3984         [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
3985         [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
3986         [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
3987         [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
3988         [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
3989         [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
3990         [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
3991         [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
3992         [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
3993         [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
3994         [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
3995         [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
3996         [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
3997         [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
3998         [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
3999         [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
4000         [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
4001         [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
4002         [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
4003         [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
4004         [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
4005         [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
4006         [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
4007         [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
4008         [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
4009         [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
4010         [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
4011         [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
4012         [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
4013         [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
4014         [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
4015         [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
4016         [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
4017         [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
4018         [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
4019         [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
4020         [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
4021         [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
4022         [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
4023         [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
4024         [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
4026 2017-10-30  Florian Weimer  <fweimer@redhat.com>
4028         * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
4029         always defined.
4030         * io/tst-mkdirat.c (do_test): Likewise.
4031         * io/tst-mkfifoat.c (do_test): Likewise.
4032         * io/tst-mknodat.c (do_test): Likewise.
4033         * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
4034         * locale/programs/locale.c (select_dirs): Likewise.
4035         * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
4036         * posix/bug-glob2.c (my_readdir): Likewise.
4037         * posix/tst-dir.c (main): Likewise.
4038         * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
4039         * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
4041 2017-10-30  Florian Weimer  <fweimer@redhat.com>
4043         * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
4044         just __USE_GNU.
4046 2017-10-30  Florian Weimer  <fweimer@redhat.com>
4048         * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
4049         Convert to support/test-driver.c.
4050         (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
4051         New macro parameters.
4052         (PRINTF): Remove macro.  Use test_verbose conditionals instead.
4053         * posix/tst-gnuglob.c: New file.
4054         * posix/tst-gnuglob64.c: Likewise.
4055         * posix/Makefile (tests): Add tst-gnuglob64.
4057 2017-10-30  Michal Ostrowski <ostrowski.michal@gmail.com>
4059         [BZ #19485]
4060         * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
4061         and use a better translation for March in “mon”.
4062         * localedata/locales/csb_PL: Use more ASCII to improve the
4063         readability of the source.
4065 2017-10-30  Mike FABIAN  <mfabian@redhat.com>
4067         [BZ #13953]
4068         * localedata/locales/km_KH: Use ASCII as much
4069         as possible for better readability of the source and
4070         remove useless comments.
4071         * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
4072         was commented out and apparently wrong anyway because it was
4073         using Lao characters. If Buddhist era should be used
4074         for km_KH, a native speaker should write the correct formaat
4075         for Khmer.
4076         * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
4077         (According to CLDR, the first weekday for Cambodia is Sunday).
4078         * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
4079         (These were using Lao characters which must be wrong. If we get
4080         the correct data from a native speaker, we could add it back, until
4081         then it is better not to have name_mr and name_mrs at all than
4082         having it wrong).
4084 2017-10-27  Rafal Luzynski  <digitalfreak@lingonborough.com>
4086         * locale/loadlocale.c: Correct size of
4087         _nl_value_type_LC_<category> arrays.
4089 2017-10-27  Joseph Myers  <joseph@codesourcery.com>
4091         * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
4092         Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
4093         with appropriate macros defined and undefined.
4094         [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
4095         [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
4096         [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
4097         [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
4098         [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
4100 2017-10-27  H.J. Lu  <hongjiu.lu@intel.com>
4102         * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
4103         "-O2 -march=i586".
4105 2017-10-27  Mike FABIAN  <mfabian@redhat.com>
4107         * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
4108         with lowercase letters to make it agree with CLDR.
4110 2017-10-27  Mike FABIAN  <mfabian@redhat.com>
4112         [BZ #15260]
4113         * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
4114         first letters of yesstr and nostr in yesexpr and noexpr,
4115         not for the full words.
4116         * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
4117         * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
4118         * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
4119         * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
4120         * localedata/locales/km_KH (LC_MESSAGES): Match also for the
4121         first letters of yesstr and nostr in yesexpr and noexpr,
4122         until now only English was matched in yesexpr and noexpr.
4123         * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
4124         instead of “copy "en_US"”. CLDR has yesstr and nostr data for
4125         fil but not for tl. As tl and fil are very similar, using fil
4126         is probably better than using English.
4128 2017-10-27  Thierry Vignaud <thierry.vignaud@gmail.com>
4130         [BZ #21706]
4131         * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
4132         in yesstr and nostr.
4134 2017-10-26  Joseph Myers  <joseph@codesourcery.com>
4136         * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
4137         (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
4138         [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
4139         Likewise.
4140         [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
4141         Likewise.
4142         [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
4143         Likewise.
4144         [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
4145         Likewise.
4146         [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4147         (SNANF128X): Likewise.
4149         * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
4150         (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
4151         [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4152         (HUGE_VAL_F32): Likewise.
4153         [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4154         (HUGE_VAL_F64): Likewise.
4155         [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4156         (HUGE_VAL_F32X): Likewise.
4157         [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4158         (HUGE_VAL_F64X): Likewise.
4159         [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4160         (HUGE_VAL_F128X): Likewise.
4162 2017-10-26  Thierry Vignaud <thierry.vignaud@gmail.com>
4164         * localedata/locales/br_FR (LC_IDENTIFICATON): Add
4165         Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
4166         for the br_FR locale.
4168 2017-10-26  Thierry Vignaud <thierry.vignaud@gmail.com>
4170         [BZ #21706]
4171         * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
4173 2017-10-25  Carlos O'Donell  <carlos@redhat.com>
4175         * locale/programs/record-status.h: Define globals, and function
4176         prototypes. Move function bodies...
4177         * locale/programs/record-status.c: ... to here. New file.
4178         * iconv/Makefile (iconv_prog-modules): Add record-status.
4179         * locale/Makefile (lib-modules): Likewise.
4180         * iconv/iconv_prog.c: Remove verbose.
4181         * iconv/iconv_prog.h: Include record-status.h (defines verbose).
4182         * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
4183         record a warning about ASCII compatibility.
4184         * locale/programs/ld-monetary.c (monetary_finish): If
4185         warn_int_curr_symbol is true then record a warning about the symbol
4186         not being in our ISO 4217 list.
4187         * locale/programs/locale.c: Include record-status.h. Remove verbose.
4188         * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
4189         verbose, recorded_warning_count, recorded_error_count, and be_quiet.
4190         (OPT_NO_WARN): Define.
4191         (OPT_WARN): Define.
4192         (options): Add entry for --no-warnings, and --warnings.
4193         (set_warnings): New function to enable/disable warnings.
4194         (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
4195         * locale/programs/localedef.h: Remove warn_int_curr_symbol.
4196         * localedata/gen-locale.sh: Default flags to `--quiet -c'.
4197         Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
4198         Pass flags to generate_locale.
4199         (generate_locale): Accept new flag argument and pass it to localedef
4200         invocation.
4201         * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
4202         --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
4204         * localedata/Makefile (test-input-data): Use full file name.
4205         * localedata/da_DK.in: Rename to...
4206         * localedata/da_DK.ISO-8859-1.in: ...this.
4207         * localedata/de_DE.in: Rename to...
4208         * localedata/de_DE.ISO-8859-1.in: ...this.
4209         * localedata/en_US.in: Rename to...
4210         * localedata/en_US.ISO-8859-1.in: ...this.
4211         * localedata/fr_FR.in: Rename to...
4212         * localedata/fr_FR.UTF-8.in: ... this.
4213         * localedata/hr_HR.in: Rename to...
4214         * localedata/hr_HR.ISO-8859-2.in: ...this.
4215         * localedata/hu_HU.in: Rename to...
4216         * localedata/hu_HU.UTF-8.in: ...this.
4217         * localedata/si_LK.in: Rename to...
4218         * localedata/si_LK.UTF-8.in: ...this.
4219         * localedata/sv_SE.in: Rename to...
4220         * localedata/sv_SE.ISO-8859-1.in: ...this.
4221         * localedata/tr_TR.in: Rename to...
4222         * localedata/tr_TR.UTF-8.in: ...this.
4223         * localedata/uk_UA.in: Rename to...
4224         * localedata/uk_UA.UTF-8.in: ...this.
4225         * localedata/sort-test.sh: Test file is locale name with the
4226         suffix.
4228         * localedata/unicode-gen/Makefile (check_i18n): Rename to
4229         check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
4230         file.
4231         * localedata/locales/i18n_ctype: Regenerate.
4232         * localedata/locales/tr_TR: Likewise.
4233         * localedata/locales/translit_circle: Likewise.
4234         * localedata/locales/translit_cjk_compat: Likewise.
4235         * localedata/locales/translit_combining: Likewise.
4236         * localedata/locales/translit_compat: Likewise.
4237         * localedata/locales/translit_font: Likewise.
4238         * localedata/locales/translit_fraction: Likewise.
4240 2017-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4242         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
4243         lxvd2x/stxvd2x with lvx/stvx.
4244         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
4246 2017-10-25  H.J. Lu  <hongjiu.lu@intel.com>
4248         * include/alloc_buffer.h: Replace "if if " with "if " in
4249         comments.
4250         * sysdeps/mips/memcpy.S: Likkewise.
4251         * sysdeps/mips/memset.S: Likewise.
4252         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
4253         Likewise.
4254         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
4255         Likewise.
4256         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
4257         Likewise.
4259 2017-10-25  Mike FABIAN  <mfabian@redhat.com>
4261         [BZ #15261]
4262         * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
4263         yesexpr and noexpr.
4264         * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
4265         * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
4266         * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
4267         * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
4268         * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
4269         * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
4270         * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
4272 2017-10-25  Mike FABIAN  <mfabian@redhat.com>
4274         * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
4275         * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
4276         * localedata/locales/el_GR (LC_MESSAGES): Likewise.
4277         * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
4278         * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
4279         * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
4280         * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
4281         * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
4282         * localedata/locales/os_RU (LC_MESSAGES): Likewise.
4283         * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
4284         * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
4285         * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
4287 2017-10-25  Mike FABIAN  <mfabian@redhat.com>
4289         * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
4290         as possible for better readability of the source.
4291         * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
4292         * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
4293         * localedata/locales/am_ET (LC_MESSAGES): Likewise.
4294         * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
4295         * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
4296         * localedata/locales/as_IN (LC_MESSAGES): Likewise.
4297         * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
4298         * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
4299         * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
4300         * localedata/locales/az_IR (LC_MESSAGES): Likewise.
4301         * localedata/locales/be_BY (LC_MESSAGES): Likewise.
4302         * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
4303         * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
4304         * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
4305         * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
4306         * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
4307         * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
4308         * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
4309         * localedata/locales/br_FR (LC_MESSAGES): Likewise.
4310         * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
4311         * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
4312         * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
4313         * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
4314         * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
4315         * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
4316         * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
4317         * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
4318         * localedata/locales/da_DK (LC_MESSAGES): Likewise.
4319         * localedata/locales/de_DE (LC_MESSAGES): Likewise.
4320         * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
4321         * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
4322         * localedata/locales/el_GR (LC_MESSAGES): Likewise.
4323         * localedata/locales/en_CA (LC_MESSAGES): Likewise.
4324         * localedata/locales/en_US (LC_MESSAGES): Likewise.
4325         * localedata/locales/es_ES (LC_MESSAGES): Likewise.
4326         * localedata/locales/et_EE (LC_MESSAGES): Likewise.
4327         * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
4328         * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
4329         * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
4330         * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
4331         * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
4332         * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
4333         * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
4334         * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
4335         * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
4336         * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
4337         * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
4338         * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
4339         * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
4340         * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
4341         * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
4342         * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
4343         * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
4344         * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
4345         * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
4346         * localedata/locales/he_IL (LC_MESSAGES): Likewise.
4347         * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
4348         * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
4349         * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
4350         * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
4351         * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
4352         * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
4353         * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
4354         * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
4355         * localedata/locales/id_ID (LC_MESSAGES): Likewise.
4356         * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
4357         * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
4358         * localedata/locales/is_IS (LC_MESSAGES): Likewise.
4359         * localedata/locales/it_CH (LC_MESSAGES): Likewise.
4360         * localedata/locales/it_IT (LC_MESSAGES): Likewise.
4361         * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
4362         * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
4363         * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
4364         * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
4365         * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
4366         * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
4367         * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
4368         * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
4369         * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
4370         * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
4371         * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
4372         * localedata/locales/li_NL (LC_MESSAGES): Likewise.
4373         * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
4374         * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
4375         * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
4376         * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
4377         * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
4378         * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
4379         * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
4380         * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
4381         * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
4382         * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
4383         * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
4384         * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
4385         * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
4386         * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
4387         * localedata/locales/my_MM (LC_MESSAGES): Likewise.
4388         * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
4389         * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
4390         * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
4391         * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
4392         * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
4393         * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
4394         * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
4395         * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
4396         * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
4397         * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
4398         * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
4399         * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
4400         * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
4401         * localedata/locales/om_ET (LC_MESSAGES): Likewise.
4402         * localedata/locales/or_IN (LC_MESSAGES): Likewise.
4403         * localedata/locales/os_RU (LC_MESSAGES): Likewise.
4404         * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
4405         * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
4406         * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
4407         * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
4408         * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
4409         * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
4410         * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
4411         * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
4412         * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
4413         * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
4414         * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
4415         * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
4416         * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
4417         * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
4418         * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
4419         * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
4420         * localedata/locales/se_NO (LC_MESSAGES): Likewise.
4421         * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
4422         * localedata/locales/si_LK (LC_MESSAGES): Likewise.
4423         * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
4424         * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
4425         * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
4426         * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
4427         * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
4428         * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
4429         * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
4430         * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
4431         * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
4432         * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
4433         * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
4434         * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
4435         * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
4436         * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
4437         * localedata/locales/th_TH (LC_MESSAGES): Likewise.
4438         * localedata/locales/the_NP (LC_MESSAGES): Likewise.
4439         * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
4440         * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
4441         * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
4442         * localedata/locales/to_TO (LC_MESSAGES): Likewise.
4443         * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
4444         * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
4445         * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
4446         * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
4447         * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
4448         * localedata/locales/unm_US (LC_MESSAGES): Likewise.
4449         * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
4450         * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
4451         * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
4452         * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
4453         * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
4454         * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
4455         * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
4456         * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
4457         * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
4458         * localedata/locales/yi_US (LC_MESSAGES): Likewise.
4459         * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
4460         * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
4461         * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
4462         * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
4463         * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
4464         * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
4466 2017-10-25  Mike FABIAN  <mfabian@redhat.com>
4468         * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
4469         (Use first letters of yesstr and nostr correctly instead of using
4470         full words).
4472 2017-10-25  Mike FABIAN  <mfabian@redhat.com>
4474         * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
4475         (Use first letters of yesstr and nostr correctly).
4477 2017-10-25  Mike FABIAN  <mfabian@redhat.com>
4479         * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
4480         also check for the first characters of yesstr and nostr.
4481         * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
4482         * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
4484 2017-10-25  Mike FABIAN  <mfabian@redhat.com>
4486         * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
4487         also check for Chinese characters.
4489 2017-10-25  Mike FABIAN  <mfabian@redhat.com>
4491         * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
4492         match also for the contents of yesstr and nostr. As the first letter
4493         of yesstr and nostr is equal, checking only for the first letter
4494         is not enough.
4496 2017-10-25  Mike FABIAN  <mfabian@redhat.com>
4498         * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
4499         it is the same according to  Belkacem Mohammed <belkacem77@gmail.com>.
4501 2017-10-25  Mike FABIAN  <mfabian@redhat.com>
4503         * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
4504         of main contributor.
4506 2017-10-25  Mike FABIAN  <mfabian@redhat.com>
4508         * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
4509         instead of using English.
4511 2017-10-25  Mike FABIAN  <mfabian@redhat.com>
4513         * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
4514         by including the first letters of nostr and yesexpr in the regexp.
4515         Also make it more readable by using ASCII where possible.
4517 2017-10-25  Mike FABIAN  <mfabian@redhat.com>
4519         * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
4520         the first letter of nostr in the regexp. It agrees with CLDR now.
4521         Also make it more readable by using ASCII where possible.
4523 2017-10-24  Mike FABIAN  <mfabian@redhat.com>
4525         * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
4526         The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
4527         these strings contain a U+17D6 (which somewhat looks like a colon)
4528         instead of a real colon to separate the full words for “yes”
4529         and “no” from the single letter responses.
4531 2017-10-24  Mike FABIAN  <mfabian@redhat.com>
4533         * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
4534         it agree with CLDR (include the first letter of yesstr).
4535         Also make it more readable by using ASCII where possible.
4537 2017-10-24  Mike FABIAN  <mfabian@redhat.com>
4539         * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
4540         and improve yesexpr and noexpr. The yesstr and nostr apparently
4541         came from CLDR. And CLDR has a bug there: these strings contain
4542         a U+0903 (which looks like a colon) instead of a real colon
4543         to separate the full words for “yes” and “no” from the single
4544         letter responses.
4546 2017-10-24  Mike FABIAN  <mfabian@redhat.com>
4548         * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
4549         letters of the full yesstr and nostr in yesexpr and noexpr.
4551 2017-10-24  Mike FABIAN  <mfabian@redhat.com>
4553         * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
4554         * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
4555         * localedata/locales/an_ES: Make source more readable by using ASCII
4556         where possible.
4558 2017-10-24  Mike FABIAN  <mfabian@redhat.com>
4560         [BZ #20952]
4561         * localedata/locales/yuw_PG: New file.
4562         * localedata/SUPPORTED: Add yuw_PG/UTF-8.
4563         * locale/iso-639.def: Add Yau (Uruwa).
4565 2017-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
4567         * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
4569 2017-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
4571         * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
4572         (__libc_realloc): Likewise.
4573         (_mid_memalign): Likewise.
4574         (__libc_calloc): Likewise.
4576 2017-10-23  Mike FABIAN  <mfabian@redhat.com>
4578         * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
4579         by adding the generic +1 and -0 as in all other locales.
4580         * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
4581         day names and make it more readable by using ASCII where possible.
4583 2017-10-24  Joseph Myers  <joseph@codesourcery.com>
4585         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
4586         (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
4588 2017-10-23  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4590         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
4591         WNOHANG in waitpid call.
4593 2017-10-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4595         * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
4596         _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
4598         * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
4599         _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
4600         _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
4601         _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
4602         _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
4603         _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
4604         _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
4605         _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
4606         variables.
4608 2017-10-23  Michael Collison  <michael.collison@arm.com>
4610         * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
4611         with __builtin_sqrt.
4612         * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
4613         with __builtin_sqrtf.
4614         * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
4615         with __builtin_ceil.
4616         * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
4617         with __builtin_ceilf.
4618         * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
4619         with __builtin_floor.
4620         * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
4621         with __builtin_floorf.
4622         * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
4623         with __builtin_fma.
4624         * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
4625         with __builtin_fmaf.
4626         * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
4627         with __builtin_fmax.
4628         * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
4629         with __builtin_fmaxf.
4630         * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
4631         with __builtin_fmin.
4632         * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
4633         with __builtin_fminf.
4634         * sysdeps/aarch64/fpu/s_frint.c: Delete file.
4635         * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
4636         * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
4637         with builtin_rint and conversion to int.
4638         * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
4639         * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
4640         with builtin_llround.
4641         * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
4642         * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
4643         with builtin_rint and conversion to long int.
4644         * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
4645         * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
4646         with builtin_lround.
4647         * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
4648         with builtin_lroundf.
4649         * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
4650         statements with __builtin_nearbyint.
4651         * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
4652         statements with __builtin_nearbyintf.
4653         * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
4654         with __builtin_rint.
4655         * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
4656         with __builtin_rintf.
4657         * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
4658         with __builtin_round.
4659         * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
4660         with __builtin_roundf.
4661         * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
4662         with __builtin_trunc.
4663         * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
4664         with __builtin_truncf.
4665         * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
4666         and s_l[l]round[f].c too.
4668 2017-10-23  Alan Modra  <amodra@gmail.com>
4670         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
4671         Adjust stack after restoring regs.  Add missing LR cfi_restore.
4673 2017-10-23  Alan Modra  <amodra@gmail.com>
4675         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
4676         Move LR save and frame setup/teardown and LR restore to
4677         immediately around memset call.  Provide cfi.
4679 2017-10-22  H.J. Lu  <hongjiu.lu@intel.com>
4681         * sysdeps/i386/fpu/e_powf.S: Removed.
4682         * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
4683         * sysdeps/i386/fpu/w_powf.c: Likewise.
4684         * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
4685         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4686         * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
4687         Add e_powf-sse2.
4688         (CFLAGS-e_powf-sse2.c): New.
4689         * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
4690         * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
4692 2017-10-22  H.J. Lu  <hongjiu.lu@intel.com>
4694         * sysdeps/i386/fpu/e_log2f.S: Removed.
4695         * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
4696         * sysdeps/i386/fpu/w_log2f.c: Likewise.
4697         * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
4698         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4699         * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
4700         Add e_log2f-sse2.
4701         (CFLAGS-e_log2f-sse2.c): New.
4702         * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
4703         * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
4705 2017-10-22  H.J. Lu  <hongjiu.lu@intel.com>
4707         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4708         Add e_powf-fma.
4709         (CFLAGS-e_powf-fma.c): New.
4710         * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
4711         * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
4713 2017-10-22  H.J. Lu  <hongjiu.lu@intel.com>
4715         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4716         Add e_log2f-fma.
4717         (CFLAGS-e_log2f-fma.c): New.
4718         * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
4719         * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
4721 2017-10-22  H.J. Lu  <hongjiu.lu@intel.com>
4723         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4724         Add e_logf-fma.
4725         (CFLAGS-e_logf-fma.c): New.
4726         * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
4727         * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
4729 2017-10-22  H.J. Lu  <hongjiu.lu@intel.com>
4731         * sysdeps/i386/fpu/e_logf.S: Removed.
4732         * sysdeps/i386/fpu/e_logf_data.c: Likewise.
4733         * sysdeps/i386/fpu/w_logf.c: Likewise.
4734         * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
4735         * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
4736         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4737         * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
4738         Add e_logf-sse2.
4739         (CFLAGS-e_logf-sse2.c): New.
4740         * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
4741         * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
4743 2017-10-22  H.J. Lu  <hongjiu.lu@intel.com>
4745         * sysdeps/i386/fpu/e_exp2f.S: Removed.
4746         * sysdeps/i386/fpu/w_exp2f.c: Likewise.
4747         * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
4748         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4749         * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
4750         Add e_exp2f-sse2.
4751         (CFLAGS-e_exp2f-sse2.c): New.
4752         * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
4753         * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
4755 2017-10-22  H.J. Lu  <hongjiu.lu@intel.com>
4757         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4758         Add e_exp2f-fma.
4759         (CFLAGS-e_exp2f-fma.c): New.
4760         * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
4761         * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
4763 2017-10-22  H.J. Lu  <hongjiu.lu@intel.com>
4765         * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
4766         * sysdeps/i386/fpu/e_expf.S: Likewise.
4767         * sysdeps/i386/fpu/math_errf.c: Likewise.
4768         * sysdeps/i386/fpu/w_expf.c: Likewise.
4769         * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
4770         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
4771         * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
4772         * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
4773         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4774         * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
4775         Remove e_expf-ia32.
4776         (CFLAGS-e_expf-sse2.c): New.
4777         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
4778         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
4780 2017-10-22  H.J. Lu  <hongjiu.lu@intel.com>
4782         * sysdeps/x86_64/fpu/e_expf.S: Removed.
4783         * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
4784         * sysdeps/x86_64/fpu/w_expf.c: Likewise.
4785         * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
4786         e_expf.c.
4787         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
4788         New.
4789         * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
4790         * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
4791         Renamed to ...
4792         (__redirect_expf): This.
4793         (SYMBOL_NAME): Changed to expf.
4794         (__ieee754_expf): Renamed to ...
4795         (__expf): This.
4796         (__GI___expf): This.
4797         (__ieee754_expf): Add strong_alias.
4798         (__expf_finite): Likewise.
4799         (__expf): New.
4800         Include <sysdeps/ieee754/flt-32/e_expf.c>.
4802 2017-10-22  Paul Eggert <eggert@cs.ucla.edu>
4804         [BZ #22332]
4805         * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
4806         unescaping.
4808 2017-10-21  Florian Weimer  <fweimer@redhat.com>
4810         * posix/Makefile (tests): Add tst-glob-tilde.
4811         (tests-special): Add tst-glob-tilde-mem.out
4812         (tst-glob-tilde-ENV): Set MALLOC_TRACE.
4813         (tst-glob-tilde-mem.out): Add mtrace check.
4814         * posix/tst-glob-tilde.c: New file.
4816 2017-10-20  Joseph Myers  <joseph@codesourcery.com>
4818         * bits/floatn-common.h: New file.
4819         * math/Makefile (headers): Add bits/floatn-common.h.
4820         * bits/floatn.h: Include <bits/floatn-common.h>.
4821         * sysdeps/ia64/bits/floatn.h: Likewise.
4822         * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
4823         * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
4824         * sysdeps/powerpc/bits/floatn.h: Likewise.
4825         * sysdeps/x86/bits/floatn.h: Likewise.
4827 2017-10-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4829         * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
4830         indicates whether compiler emits an warning for alias for
4831         functions with incompatible types.
4833         [BZ #22273]
4834         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
4835         the auxiliary process is terminated by a signal before calling _exit
4836         or execve.
4838 2017-10-20  H.J. Lu  <hongjiu.lu@intel.com>
4840         [BZ #21265]
4841         * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
4842         New.
4843         * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
4844         (get_common_indeces): Set xsave_state_size, xsave_state_full_size
4845         and bit_arch_XSAVEC_Usable if needed.
4846         (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
4847         and bit_arch_Use_dl_runtime_resolve_opt.
4848         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
4849         Removed.
4850         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
4851         (bit_arch_Prefer_No_AVX512): Updated.
4852         (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
4853         (bit_arch_XSAVEC_Usable): New.
4854         (STATE_SAVE_OFFSET): Likewise.
4855         (STATE_SAVE_MASK): Likewise.
4856         [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
4857         (cpu_features): Add xsave_state_size and xsave_state_full_size.
4858         (index_arch_Use_dl_runtime_resolve_opt): Removed.
4859         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
4860         (index_arch_XSAVEC_Usable): New.
4861         * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
4862         Support XSAVEC_Usable.  Remove Use_dl_runtime_resolve_slow.
4863         * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
4864         is enabled.
4865         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
4866         Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
4867         _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
4868         _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
4869         with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
4870         _dl_runtime_resolve_xsavec.
4871         * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
4872         Removed.
4873         (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
4874         instead of VEC_SIZE.
4875         (REGISTER_SAVE_BND0): Removed.
4876         (REGISTER_SAVE_BND1): Likewise.
4877         (REGISTER_SAVE_BND3): Likewise.
4878         (REGISTER_SAVE_RAX): Always defined to 0.
4879         (VMOV): Removed.
4880         (_dl_runtime_resolve_avx): Likewise.
4881         (_dl_runtime_resolve_avx_slow): Likewise.
4882         (_dl_runtime_resolve_avx_opt): Likewise.
4883         (_dl_runtime_resolve_avx512): Likewise.
4884         (_dl_runtime_resolve_avx512_opt): Likewise.
4885         (_dl_runtime_resolve_sse): Likewise.
4886         (_dl_runtime_resolve_sse_vex): Likewise.
4887         (USE_FXSAVE): New.
4888         (_dl_runtime_resolve_fxsave): Likewise.
4889         (USE_XSAVE): Likewise.
4890         (_dl_runtime_resolve_xsave): Likewise.
4891         (USE_XSAVEC): Likewise.
4892         (_dl_runtime_resolve_xsavec): Likewise.
4893         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
4894         Removed.
4895         (_dl_runtime_resolve_avx512_opt): Likewise.
4896         (_dl_runtime_resolve_avx): Likewise.
4897         (_dl_runtime_resolve_avx_opt): Likewise.
4898         (_dl_runtime_resolve_sse): Likewise.
4899         (_dl_runtime_resolve_sse_vex): Likewise.
4900         (_dl_runtime_resolve_fxsave): New.
4901         (_dl_runtime_resolve_xsave): Likewise.
4902         (_dl_runtime_resolve_xsavec): Likewise.
4904 2017-10-20  Paul Eggert <eggert@cs.ucla.edu>
4906         [BZ #22320]
4907         CVE-2017-15670
4908         * posix/glob.c (__glob): Fix one-byte overflow.
4910 2017-10-20  Wilco Dijkstra  <wdijkstr@arm.com>
4912         * malloc/malloc.c (sysdep-cancel.h): Add include.
4914 2017-10-20  Wilco Dijkstra  <wdijkstr@arm.com>
4916         * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
4918 2017-10-20  Will Hawkins  <hawkinsw@borlaugic.com>
4920         * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
4921         (tests): Remove $(objpfx)ga_test depdendency.
4922         * resolv/ga_test.c: Remove file.
4924 2017-10-20  Mike FABIAN  <mfabian@redhat.com>
4926         [BZ #18812]
4927         * localedata/SUPPORTED: Add kab_DZ/UTF-8.
4928         * localedata/locales/kab_DZ: New file.
4930 2017-10-20  H.J. Lu  <hongjiu.lu@intel.com>
4932         * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
4933         _dl_relocate_static_pie instead of _dl_start to compute load
4934         address in static PIE.
4936 2017-10-20  H.J. Lu  <hongjiu.lu@intel.com>
4938         * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
4940 2017-10-20  Mike FABIAN  <mfabian@redhat.com>
4942         [BZ #13605]
4943         * localedata/SUPPORTED: Add shn_MM/UTF-8.
4944         * localedata/locales/shn_MM: New file.
4946 2017-10-20  Florian Weimer  <fweimer@redhat.com>
4948         [BZ #22321]
4949         sysconf: Fix missing definition of UIO_MAXIOV on Linux.
4950         * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
4951         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
4952         (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
4953         * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
4954         * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
4956 2017-10-19  H.J. Lu  <hongjiu.lu@intel.com>
4958         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4960 2017-10-19  Joseph Myers  <joseph@codesourcery.com>
4962         * sysdeps/mips/ieee754/bits/floatn.h: New file.
4964         [BZ #22322]
4965         * sysdeps/mips/bits/long-double.h: Move to ....
4966         * sysdeps/mips/ieee754/bits/long-double.h: ... here.
4968 2017-10-19  Wilco Dijkstra  <wdijkstr@arm.com>
4970         * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
4972 2017-10-19  Valery Reznic <valery_reznic@yahoo.com>
4973             H.J. Lu  <hongjiu.lu@intel.com>
4975         [BZ #22299]
4976         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
4977         GLRO(dl_platform) to NULL.
4978         * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
4979         (modules-names): Add tst-platformmod-1 and
4980         x86_64/tst-platformmod-2.
4981         (CFLAGS-tst-platform-1.c): New.
4982         (CFLAGS-tst-platformmod-1.c): Likewise.
4983         (CFLAGS-tst-platformmod-2.c): Likewise.
4984         (LDFLAGS-tst-platformmod-2.so): Likewise.
4985         ($(objpfx)tst-platform-1): Likewise.
4986         ($(objpfx)tst-platform-1.out): Likewise.
4987         (tst-platform-1-ENV): Likewise.
4988         ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
4989         * sysdeps/x86_64/tst-platform-1.c: New file.
4990         * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
4991         * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
4993 2017-10-19  Mike FABIAN  <mfabian@redhat.com>
4995         [BZ #13994]
4996         * locale/iso-639.def: Add Karbi.
4997         * localedata/SUPPORTED: Add mjw_IN/UTF-8.
4998         * localedata/locales/mjw_IN: New file.
5000 2017-10-18  Joseph Myers  <joseph@codesourcery.com>
5002         * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
5003         * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
5004         * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
5005         * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
5006         [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
5007         (libm_alias_ldouble_other_r): Also create _Float128 alias.
5008         * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
5009         <bits/floatn.h>.
5010         [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
5011         (libm_alias_ldouble_other_r): Also create _Float128 alias.
5012         * manual/math.texi (Mathematics): Document additional architecture
5013         support for _Float128.
5014         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
5015         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5016         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5017         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5018         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5019         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5020         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5021         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5022         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5023         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5024         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5025         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5026         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5027         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5028         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5030 2017-10-18  Renlin Li  <renlin.li@arm.com>
5032         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
5033         _DYNAMIC symbol to calculate load address.
5035 2017-10-18  Paul A. Clarke  <pc@us.ibm.com>
5037         * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
5038         (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
5039         summary bits.
5040         (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
5041         (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
5043 2017-10-18  Mike FABIAN  <mfabian@redhat.com>
5045         [BZ #16777]
5046         * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
5047         and improve readability by using more ASCII.
5048         * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
5049         and improve readability by using more ASCII.
5051 2017-10-18  Wilco Dijkstra  <wdijkstr@arm.com>
5053         * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
5054         not all targets support atomics on bool.
5056 2017-10-17  Joseph Myers  <joseph@codesourcery.com>
5058         * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
5059         __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
5060         __f128.
5061         [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
5062         (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
5063         [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
5064         (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
5065         [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
5066         (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
5068 2017-10-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5070         * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
5071         defines.
5073 2017-10-17  Wilco Dijkstra  <wdijkstr@arm.com>
5075         [BZ #22159]
5076         * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
5077         * malloc/malloc.c (do_check_free_chunk): Fix build bug.
5078         (do_check_remalloced_chunk): Fix build bug.
5079         (do_check_malloc_state): Add assert that checks arena->top.
5080         (malloc_consolidate): Remove initialization.
5081         (int_mallinfo): Remove call to malloc_consolidate.
5082          (__libc_mallopt): Clarify why malloc_consolidate is needed.
5084 2017-10-17  Wilco Dijkstra  <wdijkstr@arm.com>
5086         * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
5087         (have_fastchunks): Remove.
5088         (clear_fastchunks): Remove.
5089         (set_fastchunks): Remove.
5090         (malloc_state): Add have_fastchunks.
5091         (malloc_init_state): Use have_fastchunks.
5092         (do_check_malloc_state): Remove incorrect invariant checks.
5093         (_int_malloc): Use have_fastchunks.
5094         (_int_free): Likewise.
5095         (malloc_consolidate): Likewise.
5097 2017-10-17  Wilco Dijkstra  <wdijkstr@arm.com>
5099         * malloc/malloc.c (tcache_put): Inline.
5100         (tcache_get): Inline.
5102 2017-10-17  Jordi Mallach  <jordi@gnu.org>
5104         Aurelien Jarno  <aurelien@aurel32.net>
5105         [BZ #2522]
5106         * localedata/locales/ca_ES@valencia: New file.
5107         * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
5109 2017-10-17  Romain Naour  <romain.naour@gmail.com>  (tiny change)
5111         [BZ #22296]
5112         * math/math.h: Let signbit use the builtin in C++ mode with gcc
5113         < 6.x
5115 2017-10-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5117         * scripts/build-many-glibcs.py (Context.add_all_configs):
5118         Add arm-linux-gnueabihf multiarch extra_glibcs.
5120         * sysdeps/generic/ifunc-init.h: New file.
5121         * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
5123 2017-10-17  Mike FABIAN  <mfabian@redhat.com>
5125         [BZ #22019]
5126         * localedata/locales/el_GR: Set n_cs_precedes to 0.
5127         * localedata/locales/el_CY: copy "el_GR" because it is identical.
5128         * stdlib/tst-strfmon_l.c: adapt test case.
5130 2017-10-16  Joseph Myers  <joseph@codesourcery.com>
5132         * sysdeps/generic/float128-abi.h: New file.
5133         * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
5134         non-__prefixed symbols to ....
5135         * math/Versions: ... here.  Include <float128-abi.h>.
5136         * stdlib/Versions ... and here.  Include <float128-abi.h>
5138 2017-10-16  Florian Weimer  <fweimer@redhat.com>
5140         * version.h (VERSION): Switch to ".9000" as the development
5141         version suffix.
5143 2017-10-16  Florian Weimer  <fweimer@redhat.com>
5145         [BZ #22050]
5146         * malloc/mcheck-init.c (__malloc_initialize_hook): Use
5147         compat_symbol_reference to access non-default version.
5149 2017-10-16  Florian Weimer  <fweimer@redhat.com>
5151         * malloc/Makefile (others-extras): Set to mcheck-init.o.
5153 2017-10-16  Carlos O'Donell  <carlos@redhat.com>
5155         * include/shlib-compat.h (compat_symbol_reference): Update
5156         comment.
5158 2017-10-16  Joseph Myers  <joseph@codesourcery.com>
5160         * math/Makefile (test-types): Add
5161         $(type-float128-$(float128-alias-fcts)).
5162         * math/test-float128.h (TYPE_STR): Define conditional on
5163         [FLT128_MANT_DIG == LDBL_MANT_DIG].
5164         (ULP_IDX): Likewise.
5165         (ULP_I_IDX): Likewise.
5167         * stdlib/strtold.c: Include <bits/floatn.h>
5168         [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
5169         and later undefine as macro.  Define as weak alias if
5170         [!USE_WIDE_CHAR].
5171         [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
5172         and later undefine as macro.  Define as weak alias if
5173         [USE_WIDE_CHAR].
5174         * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
5175         !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
5176         undefine as macro.  Define as weak alias if [!USE_WIDE_CHAR].
5177         [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
5178         Define and later undefine as macro.  Define as weak alias if
5179         [USE_WIDE_CHAR].
5180         * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
5181         <bits/floatn.h>.
5182         [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
5183         Define and later undefine as macro.  Define as weak alias if
5184         [!USE_WIDE_CHAR].
5185         [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
5186         Define and later undefine as macro.  Define as weak alias if
5187         [USE_WIDE_CHAR].
5189 2017-10-15  Carlos O'Donell  <carlos@redhat.com>
5191         * localedata/collate-test.c (allocate_arrays): Don't use \n in
5192         record_verbose messages.
5194 2017-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5196         [BZ #22052]
5197         * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
5198         to silence -O3 -Wall warning with GCC 7.
5200 2017-10-14  H.J. Lu  <hongjiu.lu@intel.com>
5202         * Makeconfig (+link-static-before-libc): Use the first of
5203         $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
5204         * gmon/Makefile (tests): Add tst-gmon-static.
5205         (tests-static): Likewise.
5206         (CFLAGS-tst-gmon-static.c): New.
5207         (CRT-tst-gmon-static): Likewise.
5208         (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
5209         (tst-gmon-static-ENV): Likewise.
5210         (tests-special): Likewise.
5211         ($(objpfx)tst-gmon-static.out): Likewise.
5212         (clean-tst-gmon-static-data): Likewise.
5213         ($(objpfx)tst-gmon-static-gprof.out): Likewise.
5214         * gmon/tst-gmon-static-gprof.sh: New file.
5215         * gmon/tst-gmon-static.c: Likewise.
5217 2017-10-13  Carlos O'Donell  <carlos@redhat.com>
5219         [BZ #22295]
5220         * locale/programs/linereader.c (get_string): Don't warn on
5221         non-symbolic character.
5223         [BZ #22294]
5224         * locale/programs/ld-monetary.c (monetary_finish): Allow ""
5225         int_curr_symbol.
5227         [BZ #22292]
5228         * locale/programs/record-status.h: New file
5229         * locale/programs/locale.c: Add comment.
5230         * locale/programs/charmap-dir.c: Don't include error.h.
5231         (charmap_opendir): Use record_error.
5232         * locale/programs/charmap.c: Don't include error.h.
5233         (charmap_read): Use record_error, and record_warning.
5234         (parse_charmap): Likewise.
5235         * locale/programs/ld-address.c: Don't include error.h.
5236         (address_finish): Use record_error, and record_warning.
5237         * locale/programs/ld-collate.c: Don't include error.h.
5238         (collate_finish): Use record_error, and record_error_at_line.
5239         * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
5240         (ctype_class_new): Likewise.
5241         (ctype_map_new): Likewise.
5242         (set_one_default): Likewise.
5243         (set_class_defaults): Likewise.
5244         (translit_flatten): Likewise.
5245         (allocate_arrays): Use record_error, and record_verbose.
5246         * locale/programs/ld-identification.c: Don't include error.h.
5247         (indentation_finish): Use record_error and record_warning.
5248         * locale/programs/ld-measurement.c: Don't include error.h.
5249         (measurement_finish): Use record_error.
5250         * locale/programs/ld-messages.c
5251         (message_finish): Likewise.
5252         * locale/programs/ld-monetary.c
5253         (monetary_finish): Likewise.
5254         * locale/programs/ld-name.c (name_finish): Use record_error
5255         and record_warning.
5256         * locale/programs/ld-numeric.c
5257         (numeric_finish): Use record_error.
5258         * locale/programs/ld-paper.c: Don't include error.h.
5259         (paper_finish): Use record_error.
5260         * locale/programs/ld-telephone.c: Don't include error.h.
5261         (telephone_finish): Use record_error.
5262         * locale/programs/ld-time.c (time_finish): Likewise.
5263         * locale/programs/linereader.h (lr_error): Make inline func.
5264         * locale/programs/localedef.c: Define recorded_warning_count,
5265         and recorded_error_count.
5266         (main): Use record_error. Use recorded_error_count and
5267         recorded_warning_count to issue correct error returns.
5268         (add_to_readlist): Use record_error.
5269         (find_locale): Likewise.
5270         (load_locale): Likewise.
5271         * locale/programs/localedef.h: Remove be_quiet
5272         and WITH_CUR_LOCALE.
5273         * locale/programs/locarchive.c (compare_from_file): Use
5274         record_error.
5275         * locale/programs/locfile.c (write_locale_data): Use
5276         record_error.
5277         * locale/programs/repertoire.c: Dont include error.h.
5278         (repertoire_complain): Use record_error.
5279         * localedata/tst-fmon.sh: Expect failures from localedef.
5280         * localedata/tst-locale.sh: Likewise.
5281         * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
5283         * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
5284         (REPORTS): Likewise.
5285         (check): Likewise.
5286         (i18n): Rename to...
5287         (i18n_ctype): ...this.
5288         (i18n-report): Rename to...
5289         (i18n_ctype-report): ...this.
5290         * localedata/locales/i18n_ctype: Regenerate.
5291         * localedata/locales/i18n: copy i18n_ctype.
5293 2017-10-13  Joseph Myers  <joseph@codesourcery.com>
5295         * stdlib/strfroml.c: Include <bits/floatn.h>.
5296         [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
5297         Define before include of <stdlib.h> and undefine afterwards, then
5298         define as weak alias.
5300         * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
5301         Undefine and restore default definition.  Use
5302         libm_alias_ldouble_other.
5304 2017-10-13  Peter Zelezny  <peter.zelezny@dektech.com.au>
5306         [BZ #22153]
5307         * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
5308         in coredumps.
5310 2017-10-13  James Clarke  <jrtc27@jrtc27.com>
5312         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
5313         Assign sym_map to be map for local symbols, as TLS relocations
5314         use sym_map to determine whether the symbol is defined and to
5315         extract the TLS information.
5316         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5317         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5319 2017-10-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5321         [BZ #22189]
5322         * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
5323         (math_force_eval): Add powerpc version.
5325         [BZ #22142]
5326         * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
5327         -DBL_MAX.
5328         (do_test): Likewise.
5329         * stdio-common/tst-printf.sh: Likewise.
5330         * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
5331         ifdef clause in order to set the carry bit right.  Replace r0 by
5332         0 without changing the behavior.
5334 2017-10-13  Joseph Myers  <joseph@codesourcery.com>
5336         * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
5337         <libm-alias-ldouble.h>.
5338         (fabsl): Define using libm_alias_ldouble.
5339         * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
5340         <libm-alias-ldouble.h>.
5341         (fabsl): Define using libm_alias_ldouble.
5343         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
5344         Remove conditional code.
5346         * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
5347         Rename to __clog10_internal_l.
5348         (__clog10_internal_l): Define aliases using
5349         libm_alias_ldouble_other instead of using libm_alias_ldouble_other
5350         with __clog10.
5352 2017-10-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5354         * benchtests/Makefile (bench-math):  Add sinf, cosf and sincosf.
5355         * benchtests/sincosf-inputs: New file.
5356         * benchtests/cosf-inputs: New file.
5357         * benchtests/sinf-inputs: New file.
5359 2017-10-12  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5361         * posix/tst-spawn.c (do_test): Wait for both children.
5363 2017-10-12  H.J. Lu  <hongjiu.lu@intel.com>
5365         [BZ #22284]
5366         * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
5367         tests-pie): Add tst-gmon-pie.
5368         (CFLAGS-tst-gmon-pie.c): New.
5369         (CRT-tst-gmon-pie): Likewise.
5370         (tst-gmon-pie-ENV): Likewise.
5371         [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
5372         ($(objpfx)tst-gmon-pie.out): Likewise.
5373         (clean-tst-gmon-pie-data): Likewise.
5374         ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
5375         * gmon/gmon.c [PIC]: Include <link.h>.
5376         [PIC] (callback): New function.
5377         (write_hist): Add an argument for load address.  Subtract load
5378         address from PCs.
5379         (write_call_graph): Likewise.
5380         (write_gmon): Call __dl_iterate_phdr to get load address, pass
5381         it to write_hist and write_call_graph.
5382         * gmon/tst-gmon-pie.c: New file.
5384 2017-10-11  Joseph Myers  <joseph@codesourcery.com>
5386         * math/Makefile (test-types-basic): New variable.
5387         (test-types): Likewise.
5388         (libm-test-support): Use $(test-types) instead of $(types).
5389         (libm-tests-base-normal): Likewise.
5390         (libm-tests-base-finite): Likewise.
5391         (libm-tests-base-inline): Likewise.
5392         (generated): Likewise.
5393         ($(objpfx)libm-test-support-$(t).c): Likewise.
5394         (libm-tests-for-type iterator): Likewise.
5395         (libm-test-support iterator): Likewise.
5396         * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
5397         (ulp_idx): Use ULP_IDX.
5398         * math/test-ldouble.h: Include <float.h>.
5399         (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
5400         (ULP_IDX): New macro.
5401         (ULP_I_IDX): Likewise.
5402         * math/test-double.h (ULP_IDX): Likewise.
5403         (ULP_I_IDX): Likewise.
5404         * math/test-float.h (ULP_IDX): Likewise.
5405         (ULP_I_IDX): Likewise.
5406         * math/test-float128.h (ULP_IDX): Likewise.
5407         (ULP_I_IDX): Likewise.
5409 2017-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5411         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
5412         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5413         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5414         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
5415         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5416         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
5417         * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
5418         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5419         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5420         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5421         * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
5422         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5423         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5424         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5425         (SINGLE_THREAD_BY_GLOBAL): Define.
5426         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
5427         Likewise.
5428         * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
5429         Likewise.
5430         * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
5431         Likewise.
5432         * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
5433         Likewise.
5434         * sysdeps/unix/sysv/linux/microblaze/sysdep.h
5435         (SINGLE_THREAD_BY_GLOBAL): Likewise.
5436         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
5437         Likewise.
5439 2017-10-11  Andreas Schwab  <schwab@suse.de>
5441         * nis/Makefile (aux): Remove.
5442         * nscd/Makefile (aux): Add nscd_hash.
5443         (nscd-modules): Likewise.
5444         ($(objpfx)nscd): Don't depend on libnsl.
5445         * nscd/nscd_hash.c: New file.
5446         * nscd/nscd_hash.h: Likewise.
5447         * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
5448         (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
5449         * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
5450         instead of <nis/rpcsvc/nis.h>.
5451         (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
5453 2017-10-11  Florian Weimer  <fweimer@redhat.com>
5455         [BZ #22078]
5456         Avoid large NSS buffers with many addresses, aliases.
5457         * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
5458         using dynarrays and struct alloc_buffer.
5459         * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
5460         (tst-nss-files-hosts-multi): Link with -ldl.
5461         * nss/tst-nss-files-hosts-multi.c: New file.
5463 2017-10-11  Florian Weimer  <fweimer@redhat.com>
5465         [BZ #18023]
5466         * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
5467         scratch_buffer.  Eliminate gotos.
5469 2017-10-11  Joseph Myers  <joseph@codesourcery.com>
5471         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
5472         libm_alias_ldouble_other.
5473         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
5474         undefine and redefine.
5475         [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
5476         (exp10l): Do not define here.
5477         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
5478         (weak_alias): Undefine and redefine.
5479         [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
5480         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
5481         [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
5482         [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
5484         * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
5485         [!__fma] (fma): Define using libm_alias_double.
5486         * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
5487         [!__fmaf] (fmaf): Define using libm_alias_float.
5488         * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
5489         (fmal): Define using libm_alias_ldouble.
5491 2017-10-10  Joseph Myers  <joseph@codesourcery.com>
5493         * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
5494         New macro.
5495         (libm_alias_double_other): Likewise.
5496         (libm_alias_double_r): Use libm_alias_double_other_r.
5497         * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
5498         New macro.
5499         (libm_alias_float_other): Likewise.
5500         (libm_alias_float_r): Use libm_alias_float_other_r.
5501         * sysdeps/generic/libm-alias-float128.h
5502         (libm_alias_float128_other_r): New macro.
5503         (libm_alias_float128_other): Likewise.
5504         (libm_alias_float128_r): Use libm_alias_float128_other_r.
5505         * sysdeps/generic/libm-alias-ldouble.h
5506         (libm_alias_ldouble_other_r): New macro.
5507         (libm_alias_ldouble_other): Likewise.
5508         (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
5509         * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
5510         (libm_alias_double_other_r): New macro.
5511         (libm_alias_double_other): Likewise.
5512         (libm_alias_double_r): Use libm_alias_double_other_r.
5513         * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
5514         (libm_alias_ldouble_other_r): New macro.
5515         (libm_alias_ldouble_other): Likewise.
5516         (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
5517         * math/w_lgamma_main.c: Include <libm-alias-double.h>.
5518         [!USE_AS_COMPAT]: Use libm_alias_double_other.
5519         * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
5520         [!USE_AS_COMPAT]: Use libm_alias_float_other.
5521         * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
5522         [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
5523         * math/w_exp2f.c: Use libm_alias_float_other.
5524         * math/w_expf.c: Likewise.
5525         * math/w_log2f.c: Likewise.
5526         * math/w_logf.c: Likewise.
5527         * math/w_powf.c: Likewise.
5528         * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
5529         [!__exp2f]: Use libm_alias_float_other.
5530         * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
5531         [!__expf]: Use libm_alias_float_other.
5532         * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
5533         [!__log2f]: Use libm_alias_float_other.
5534         * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
5535         [!__logf]: Use libm_alias_float_other.
5536         * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
5537         [!__powf]: Use libm_alias_float_other.
5539 2017-10-10  Florian Weimer  <fweimer@redhat.com>
5541         * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
5542         function.
5543         (_nss_files_gethostbyname3_r): Call it.
5545 2017-10-09  Joseph Myers  <joseph@codesourcery.com>
5547         * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
5548         error.  Remove default definition of declare_mgen_alias.
5549         [!declare_mgen_alias_r]: Likewise.
5550         * sysdeps/generic/math-type-macros-double.h
5551         [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
5552         * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
5553         (declare_mgen_alias_r): Likewise.
5554         * sysdeps/generic/math-type-macros-float128.h
5555         [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
5556         * sysdeps/generic/math-type-macros-ldouble.h
5557         [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
5558         * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
5559         macro.
5560         (declare_mgen_alias_r_s): Likewise.
5561         (declare_mgen_alias_r): Likewise.
5562         * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
5563         (lgamma_r): Define using libm_alias_double_r.
5564         * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
5565         (lgammaf_r): Define using libm_alias_float_r.
5566         * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
5567         (lgammal_r): Define using libm_alias_ldouble_r.
5568         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
5569         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
5571 2017-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5573         * lib/glob.c (__glob_pattern_type): Remove now-spurious
5574         extern declaration.
5576 2017-10-09  Joseph Myers  <joseph@codesourcery.com>
5578         * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
5580 2017-10-09  Jonathan Wakely  <jwakely@redhat.com>
5582         [BZ #21326]
5583         * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
5584         [__cplusplus >= 201103] (__USE_ISOC99): Define.
5585         * math/Makefile (test-math-cxx11): New test.
5586         * math/test-math-cxx11.cc: New file.
5588 2017-10-08  Christian Brauner  <christian.brauner@ubuntu.com>
5590         * login/openpty.c (openpty): Close slave pty file descriptor on error.
5592         * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
5593         call to allocate the slave pty file descriptor.
5595 2017-10-06  Joseph Myers  <joseph@codesourcery.com>
5597         * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
5598         [!__fma] (fma): Define using libm_alias_double.
5599         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
5600         [!__fma] (fma): Define using libm_alias_double.
5602         * sysdeps/ieee754/float128/float128_private.h: Include
5603         <libm-alias-ldouble.h> and <libm-alias-float128.h>.
5604         (libm_alias_ldouble_r): Undefine and redefine.
5605         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
5606         <libm-alias-ldouble.h>.
5607         (asinhl): Define using libm_alias_ldouble.
5608         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
5609         <libm-alias-ldouble.h>.
5610         (atanl): Define using libm_alias_ldouble.
5611         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
5612         <libm-alias-ldouble.h>.
5613         (cbrtl): Define using libm_alias_ldouble.
5614         * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
5615         <libm-alias-ldouble.h>.
5616         (ceill): Define using libm_alias_ldouble.
5617         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
5618         <libm-alias-ldouble.h>.
5619         (copysignl): Define using libm_alias_ldouble.
5620         * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
5621         <libm-alias-ldouble.h>.
5622         (cosl): Define using libm_alias_ldouble.
5623         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
5624         <libm-alias-ldouble.h>.
5625         (erfl): Define using libm_alias_ldouble.
5626         (erfcl): Likewise.
5627         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
5628         <libm-alias-ldouble.h>.
5629         (expm1l): Define using libm_alias_ldouble.
5630         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
5631         <libm-alias-ldouble.h>.
5632         (fabsl): Define using libm_alias_ldouble.
5633         * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
5634         <libm-alias-ldouble.h>.
5635         (floorl): Define using libm_alias_ldouble.
5636         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
5637         <libm-alias-ldouble.h>.
5638         (fmal): Define using libm_alias_ldouble.
5639         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
5640         <libm-alias-ldouble.h>.
5641         (frexpl): Define using libm_alias_ldouble.
5642         * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
5643         libm_alias_ldouble.
5644         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
5645         <libm-alias-ldouble.h>.
5646         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
5647         libm_alias_ldouble.
5648         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
5649         <libm-alias-ldouble.h>.
5650         (getpayloadl): Define using libm_alias_ldouble.
5651         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
5652         <libm-alias-ldouble.h>.
5653         (llrintl): Define using libm_alias_ldouble.
5654         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
5655         <libm-alias-ldouble.h>.
5656         (llroundl): Define using libm_alias_ldouble.
5657         * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
5658         <libm-alias-ldouble.h>.
5659         (logbl): Define using libm_alias_ldouble.
5660         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
5661         <libm-alias-ldouble.h>.
5662         (lrintl): Define using libm_alias_ldouble.
5663         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
5664         <libm-alias-ldouble.h>.
5665         (lroundl): Define using libm_alias_ldouble.
5666         * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
5667         <libm-alias-ldouble.h>.
5668         (modfl): Define using libm_alias_ldouble.
5669         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
5670         <libm-alias-ldouble.h>.
5671         (nearbyintl): Define using libm_alias_ldouble.
5672         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
5673         <libm-alias-ldouble.h>.
5674         (nextafterl): Define using libm_alias_ldouble.
5675         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
5676         <libm-alias-ldouble.h>.
5677         (nextupl): Define using libm_alias_ldouble.
5678         * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
5679         <libm-alias-ldouble.h>.
5680         (remquol): Define using libm_alias_ldouble.
5681         * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
5682         <libm-alias-ldouble.h>.
5683         (rintl): Define using libm_alias_ldouble.
5684         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
5685         <libm-alias-ldouble.h>.
5686         (roundevenl): Define using libm_alias_ldouble.
5687         * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
5688         <libm-alias-ldouble.h>.
5689         (roundl): Define using libm_alias_ldouble.
5690         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
5691         using libm_alias_ldouble.
5692         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
5693         <libm-alias-ldouble.h>.
5694         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
5695         Define using libm_alias_ldouble.
5696         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
5697         <libm-alias-ldouble.h>.
5698         (sincosl): Define using libm_alias_ldouble.
5699         * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
5700         <libm-alias-ldouble.h>.
5701         (sinl): Define using libm_alias_ldouble.
5702         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
5703         <libm-alias-ldouble.h>.
5704         (tanhl): Define using libm_alias_ldouble.
5705         * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
5706         <libm-alias-ldouble.h>.
5707         (tanl): Define using libm_alias_ldouble.
5708         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
5709         <libm-alias-ldouble.h>.
5710         (totalorderl): Define using libm_alias_ldouble.
5711         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
5712         <libm-alias-ldouble.h>.
5713         (totalordermagl): Define using libm_alias_ldouble.
5714         * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
5715         <libm-alias-ldouble.h>.
5716         (truncl): Define using libm_alias_ldouble.
5717         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
5718         libm_alias_ldouble.
5719         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
5720         libm_alias_ldouble.
5721         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
5722         <libm-alias-ldouble.h>.
5723         (weak_alias): Do not undefine and redefine.
5724         [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
5725         (copysignl): Define with long_double_symbol only if [IS_IN
5726         (libc)].
5727         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
5728         <libm-alias-ldouble.h>.
5729         (weak_alias): Do not undefine and redefine.
5730         [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
5731         (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
5732         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
5733         <libm-alias-ldouble.h>.
5734         (weak_alias): Do not undefine and redefine.
5735         [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
5736         (modfl): Define with long_double_symbol only if [IS_IN (libc)].
5737         * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
5738         * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
5739         * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
5740         * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
5741         * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
5742         * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
5743         * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
5744         * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
5745         * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
5746         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
5747         * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
5748         * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
5749         * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
5750         * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
5751         * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
5752         * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
5753         * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
5754         * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
5755         * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
5756         * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
5757         * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
5758         * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
5759         * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
5760         * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
5762 2017-10-06  Carlos O'Donell  <carlos@redhat.com>
5764         [BZ #22111]
5765         * malloc/malloc.c (tcache_shutting_down): Use bool type.
5766         (tcache_thread_freeres): Set tcache_shutting_down before
5767         freeing the tcache.
5768         * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
5769         * malloc/tst-malloc-tcache-leak.c: New file.
5771 2017-10-06  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5773         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
5774         back to powerpc32 file.
5775         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
5776         (memrchr): Add __memrchr_power8 to ifunc list.
5777         * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
5778         extra bytes for unaligned inputs.
5780 2017-10-06  Joseph Myers  <joseph@codesourcery.com>
5782         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
5783         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
5784         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
5785         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
5786         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
5788 2017-10-05  Joseph Myers  <joseph@codesourcery.com>
5790         * sysdeps/arm/libm-test-ulps: Update.
5792         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
5793         <libm-alias-ldouble.h>.
5794         (asinhl): Define using libm_alias_ldouble.
5795         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
5796         <libm-alias-ldouble.h>.
5797         (cbrtl): Define using libm_alias_ldouble.
5798         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
5799         <libm-alias-ldouble.h>.
5800         (copysignl): Define using libm_alias_ldouble.
5801         * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
5802         <libm-alias-ldouble.h>.
5803         (cosl): Define using libm_alias_ldouble.
5804         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
5805         <libm-alias-ldouble.h>.
5806         (erfl): Define using libm_alias_ldouble.
5807         (erfcl): Likewise.
5808         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
5809         <libm-alias-ldouble.h>.
5810         (fmal): Define using libm_alias_ldouble.
5811         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
5812         <libm-alias-ldouble.h>.
5813         (frexpl): Define using libm_alias_ldouble.
5814         * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
5815         libm_alias_ldouble.
5816         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
5817         <libm-alias-ldouble.h>.
5818         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
5819         libm_alias_ldouble.
5820         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
5821         <libm-alias-ldouble.h>.
5822         (getpayloadl): Define using libm_alias_ldouble.
5823         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
5824         <libm-alias-ldouble.h>.
5825         (llrintl): Define using libm_alias_ldouble.
5826         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
5827         <libm-alias-ldouble.h>.
5828         (llroundl): Define using libm_alias_ldouble.
5829         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
5830         <libm-alias-ldouble.h>.
5831         (lrintl): Define using libm_alias_ldouble.
5832         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
5833         <libm-alias-ldouble.h>.
5834         (lroundl): Define using libm_alias_ldouble.
5835         * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
5836         <libm-alias-ldouble.h>.
5837         (modfl): Define using libm_alias_ldouble.
5838         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
5839         <libm-alias-ldouble.h>.
5840         (nextupl): Define using libm_alias_ldouble.
5841         * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
5842         <libm-alias-ldouble.h>.
5843         (remquol): Define using libm_alias_ldouble.
5844         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
5845         <libm-alias-ldouble.h>.
5846         (roundevenl): Define using libm_alias_ldouble.
5847         * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
5848         <libm-alias-ldouble.h>.
5849         (roundl): Define using libm_alias_ldouble.
5850         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
5851         using libm_alias_ldouble.
5852         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
5853         <libm-alias-ldouble.h>.
5854         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
5855         <libm-alias-ldouble.h>.
5856         (setpayloadsigl): Define using libm_alias_ldouble.
5857         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
5858         <libm-alias-ldouble.h>.
5859         (sincosl): Define using libm_alias_ldouble.
5860         * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
5861         <libm-alias-ldouble.h>.
5862         (sinl): Define using libm_alias_ldouble.
5863         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
5864         <libm-alias-ldouble.h>.
5865         (tanhl): Define using libm_alias_ldouble.
5866         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
5867         <libm-alias-ldouble.h>.
5868         (tanl): Define using libm_alias_ldouble.
5869         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
5870         <libm-alias-ldouble.h>.
5871         (totalorderl): Define using libm_alias_ldouble.
5872         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
5873         <libm-alias-ldouble.h>.
5874         (totalordermagl): Define using libm_alias_ldouble.
5875         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
5876         libm_alias_ldouble.
5877         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
5878         libm_alias_ldouble.
5880 2017-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5882         * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
5883         memmove_falkor.
5884         * sysdeps/aarch64/multiarch/ifunc-impl-list.c
5885         (__libc_ifunc_impl_list): Likewise.
5886         * sysdeps/aarch64/multiarch/memmove.c: Likewise.
5887         * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
5889         * benchtests/bench-memmove-walk.c: New file.
5890         * benchtests/Makefile (string-benchset): Add it.
5892         * benchtests/bench-memset-walk.c: New file.
5893         * benchtests/Makefile (string-benchset): Add it.
5895         * benchtests/bench-memcpy-walk.c: New file.
5896         * benchtests/Makefile (string-benchset): Add it.
5898 2017-10-05  Florian Weimer  <fweimer@redhat.com>
5900         nscd: Eliminate compilation time dependency in the build output.
5901         * nscd/nscd_stat.c (STATDATA_VERSION)
5902         (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
5903         (STATDATA_VERSION_FULL): New macro definitions.
5904         (compilation): Remove.
5905         (struct statdata): Adjust version member.
5906         (send_stats): Set version from STATDATA_VERSION_FULL.
5907         (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
5909 2017-10-05  Joseph Myers  <joseph@codesourcery.com>
5911         * configure.ac (--enable-add-ons): Remove option.
5912         (machine): Do not mention add-ons in comment.
5913         (LIBC_PRECONFIGURE): Likewise.
5914         (add_ons): Remove variable and sanity checks and logic to locate
5915         add-ons.
5916         (add_ons_automatic): Remove variable.
5917         (configured_add_ons): Likewise.
5918         (add_ons_sfx): Likewise.
5919         (add_ons_pfx): Likewise.
5920         (add_on_subdirs): Likewise.
5921         (sysnames_add_ons): Likewise.  Remove loop over add-ons and
5922         consideration of add-ons in Implies handling.
5923         (sysdeps_add_ons): Likewise.
5924         * configure: Regenerated.
5925         * libidn/configure.ac: Remove.
5926         * libidn/configure: Likewise.
5927         * sysdeps/unix/inet/configure.ac: New file.
5928         * sysdeps/unix/inet/configure: New generated file.
5929         * sysdeps/unix/inet/Subdirs: Add libidn.
5930         * Makeconfig (sysdeps-srcdirs): Remove variable.
5931         (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
5932         ($(common-objpfx)config.status): Do not depend on add-on files.
5933         ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
5934         comment.
5935         (all-subdirs): Do not include $(add-on-subdirs).
5936         * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
5937         * config.make.in (add-ons): Remove variable.
5938         (add-on-subdirs): Likewise.
5939         (sysdeps-add-ons): Likewise.
5940         * manual/Makefile (add-chapters): Remove.
5941         ($(objpfx)texis): Do not depend on $(add-chapters).
5942         (nonexamples): Do not handle $(add-chapters).
5943         (examples): Do not handle $(add-ons).
5944         (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
5945         libc-texinfo.sh.
5946         * manual/install.texi (Installation): Do not mention add-ons.
5947         (--enable-add-ons): Do not document configure option.
5948         * INSTALL: Regenerated.
5949         * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
5950         * manual/maint.texi (Hierarchy Conventions): Do not mention
5951         add-ons.
5952         * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
5953         --enable-add-ons.
5954         * scripts/gen-sorted.awk: Do not handle Subdirs files from
5955         add-ons.
5956         * scripts/test-installation.pl: Do not handle glibc-compat add-on.
5957         * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
5959 2017-10-05  Andreas Schwab  <schwab@suse.de>
5961         [BZ #15142]
5962         * libio/genops.c (_IO_list_all_stamp): Delete.  All uses removed.
5963         (_IO_flush_all_lockp): Always lock list_all_lock.
5964         (_IO_flush_all_linebuffered): Likewise.
5965         (_IO_unbuffer_all): Likewise.
5967 2017-10-05  Florian Weimer  <fweimer@redhat.com>
5969         [BZ #15436]
5970         Do not flush stdio streams on abort.
5971         * stdlib/abort.c (fflush): Remove macro definition.
5972         (abort): Remove stages related to stdio flushing.
5974 2017-10-05  Florian Weimer  <fweimer@redhat.com>
5976         * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
5978 2017-10-05  Stefan Liebler  <stli@linux.vnet.ibm.com>
5980         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5982 2017-10-05  Florian Weimer  <fweimer@redhat.com>
5984         * support/support_format_hostent.c (support_format_hostent): Add
5985         more error information for NETDB_INTERNAL.
5987 2017-10-04  H.J. Lu  <hongjiu.lu@intel.com>
5989         * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
5990         * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
5991         for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
5992         * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
5993         AC_DEFINE if multi-arch is enabled.
5994         * sysdeps/i386/configure: Regenerated.
5996 2017-10-04  H.J. Lu  <hongjiu.lu@intel.com>
5998         * Makeconfig (+link-static-before-libc): Use
5999         $(DEFAULT-LDFLAGS-$(@F)).
6000         * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
6001         (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
6002         (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
6004 2017-10-04  H.J. Lu  <hongjiu.lu@intel.com>
6006         * elf/Makefile (tests): Add tst-main1.
6007         (modules-names): Add tst-main1mod.
6008         ($(objpfx)tst-main1): New.
6009         (CRT-tst-main1): Likewise.
6010         (LDFLAGS-tst-main1): Likewise.
6011         (LDLIBS-tst-main1): Likewise.
6012         (tst-main1mod.so-no-z-defs): Likewise.
6013         * elf/tst-main1.c: New file.
6014         * elf/tst-main1mod.c: Likewise.
6016 2017-10-04  H.J. Lu  <hongjiu.lu@intel.com>
6018         * math/test-math-iscanonical.cc (do_test): Return errors != 0.
6020 2017-10-04  Joseph Myers  <joseph@codesourcery.com>
6022         * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
6023         (fma): Define using libm_alias_double.
6024         * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
6025         * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
6026         <math_ldbl_opt.h>.
6027         (fmal): Do not define as compat symbol here.
6028         * sysdeps/alpha/fpu/s_fma.c: New file.
6030 2017-10-04  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6032         * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
6034 2017-10-04  Joseph Myers  <joseph@codesourcery.com>
6036         [BZ #22229]
6037         * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
6038         <math_ldbl_opt.h>
6039         (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
6040         and libc.
6041         * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
6042         (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
6043         * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
6044         (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
6045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6046         Include <math_ldbl_opt.h>
6047         (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
6048         and libc.
6049         (compat_symbol): Undefine and redefine.
6050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
6051         <math_ldbl_opt.h>
6052         (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
6053         (compat_symbol): Undefine and redefine.
6054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
6055         [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
6056         [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
6057         GLIBC_2_1 for libm.
6058         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
6059         GLIBC_2.0 copysignl symbol.
6060         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
6061         GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
6063         * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
6065 2017-10-04  Florian Weimer  <fweimer@redhat.com>
6067         * scripts/check-local-headers.sh: Ignore nspr4 header file
6068         directory in addition to nspr.
6070 2017-10-04  Guido Trentalancia  <guido@trentalancia.net>
6072         [BZ #17956]
6073         * configure.ac (--enable-nss-crypt): Use NSPR include directory.
6074         * configure: Regenerate.
6075         * crypt/Makefile (nss-cpp-flags): New variable.
6076         (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
6077         (CPPFLAGS-md5-crypt.c): Use it.
6078         * scripts/check-local-headers.sh: Ignore nspr header file
6079         directory.
6081 2017-10-04  Andreas Schwab  <schwab@suse.de>
6083         * nis/Makefile (services): Remove compat.
6084         (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
6085         ($(objpfx)libnss_compat.so): Remove rule.
6086         * nis/Versions (libnss_compat): Remove.
6087         * nss/Makefile (services): Add compat.
6088         (libnss_compat-routines, libnss_compat-inhibit-o): Define.
6089         * nss/Versions (libnss_compat): Define.
6090         * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
6091         Don't include <rpc/types.h>.  Replace bool_t by bool.
6092         * nss/nss_compat/compat-initgroups.c: Likewise.
6093         * nss/nss_compat/compat-pwd.c: Likewise.  Include "nisdomain.h"
6094         instead of <rpcsrv/ypclnt.h>.
6095         (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
6096         yp_get_default_domain.
6097         * nss/nss_compat/compat-pwd.c: Likewise.
6098         (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
6099         yp_get_default_domain.
6100         * nss/nss_compat/nisdomain.c: New file.
6101         * nss/nss_compat/nisdomain.h: Likewise.
6103 2017-10-04  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6105         [BZ #22244]
6106         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
6107         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6109 2017-10-04  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6111         [BZ #22243]
6112         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
6113         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
6115 2017-10-03  H.J. Lu  <hongjiu.lu@intel.com>
6117         * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
6118         "movl main@GOTOFF(%ebx), %eax".
6120 2017-10-03  H.J. Lu  <hongjiu.lu@intel.com>
6122         * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
6123         allow undefined _DYNAMIC in PIE libc.a.
6124         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
6125         Likewse.
6127 2017-10-03  H.J. Lu  <hongjiu.lu@intel.com>
6129         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
6130         check _DYNAMIC.
6132 2017-10-03  H.J. Lu  <hongjiu.lu@intel.com>
6134         * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
6135         check _DYNAMIC.
6137 2017-10-03  H.J. Lu  <hongjiu.lu@intel.com>
6139         * math/test-math-iscanonical.cc (error): Replace bool with int.
6141 2017-10-03  Joseph Myers  <joseph@codesourcery.com>
6143         * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
6144         (modf): Define using libm_alias_double, only if [!__modf].
6145         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
6146         <libm-alias-double.h>.
6147         (modf): Define using libm_alias_double, only if [!__modf].
6148         * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
6149         compat symbol here.
6150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
6151         (weak_alias): Do not undefine and redefine.
6152         (strong_alias): Likewise.
6153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
6154         (weak_alias): Likewise.
6155         (strong_alias): Likewise.
6157         * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
6158         (logb): Define using libm_alias_double, only if [!__logb].
6159         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
6160         <libm-alias-double.h>.
6161         (logb): Define using libm_alias_double, only if [!__logb].
6162         * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
6163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
6164         (weak_alias): Do not undefine and redefine.
6165         (strong_alias): Likewise.
6166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
6167         (weak_alias): Likewise.
6168         (strong_alias): Likewise.
6170 2017-10-03  H.J. Lu  <hongjiu.lu@intel.com>
6172         * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
6173         Check SHARED instead PIC.
6175 2017-10-03  Joseph Myers  <joseph@codesourcery.com>
6177         * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
6178         [!__fmaf] (fmaf): Define using libm_alias_float.
6180         * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
6181         (frexp): Define using libm_alias_double.
6182         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
6183         <libm-alias-double.h>.
6184         (frexp): Define using libm_alias_double.
6185         * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
6186         compat symbol here.
6188 2017-10-03  Gabriel F. T. Gomes  <gabriel@inconstante.eti.br>
6190         [BZ #22235]
6191         * math/math.h: Trivial fix for unbalanced parentheses in comment.
6192         * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
6193         (CFLAGS-test-math-iscanonical.cc): New variable.
6194         * math/test-math-iscanonical.cc: New file.
6195         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
6196         Provide a C++ implementation based on function overloading,
6197         rather than using __MATH_TG, which uses C-only builtins.
6198         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
6199         Likewise.
6200         * sysdeps/powerpc/powerpc64le/Makefile
6201         (CFLAGS-test-math-iscanonical.cc): New variable.
6203 2017-10-03  Joseph Myers  <joseph@codesourcery.com>
6205         * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
6206         (ceil): Define using libm_alias_double.
6207         * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
6208         (floor): Define using libm_alias_double.
6209         * sysdeps/ieee754/dbl-64/s_llround.c: Include
6210         <libm-alias-double.h>.
6211         (llround): Define using libm_alias_double.
6212         * sysdeps/ieee754/dbl-64/s_lround.c: Include
6213         <libm-alias-double.h>.
6214         (lround): Define using libm_alias_double.
6215         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
6216         <libm-alias-double.h>.
6217         (nearbyint): Define using libm_alias_double.
6218         * sysdeps/ieee754/dbl-64/s_remquo.c: Include
6219         <libm-alias-double.h>.
6220         (remquo): Define using libm_alias_double.
6221         * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
6222         (rint): Define using libm_alias_double.
6223         * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
6224         (round): Define using libm_alias_double.
6225         * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
6226         (trunc): Define using libm_alias_double.
6227         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
6228         <libm-alias-double.h>.
6229         (ceil): Define using libm_alias_double.
6230         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
6231         <libm-alias-double.h>.
6232         (floor): Define using libm_alias_double.
6233         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
6234         <libm-alias-double.h>.
6235         (llround): Define using libm_alias_double.
6236         [_LP64] (lround): Likewise.
6237         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
6238         <libm-alias-double.h>.
6239         [!_LP64] (lround): Define using libm_alias_double.
6240         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
6241         <libm-alias-double.h>.
6242         (nearbyint): Define using libm_alias_double.
6243         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
6244         <libm-alias-double.h>.
6245         (remquo): Define using libm_alias_double.
6246         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
6247         <libm-alias-double.h>.
6248         (rint): Define using libm_alias_double.
6249         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
6250         <libm-alias-double.h>.
6251         (round): Define using libm_alias_double.
6252         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
6253         <libm-alias-double.h>.
6254         (trunc): Define using libm_alias_double.
6255         * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
6256         * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
6257         * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
6258         * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
6259         * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
6260         * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
6261         * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
6262         * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
6263         * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
6265 2017-10-03  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6267         * math/w_remainder.c: New file.
6268         * math/w_remainderf.c: New file.
6269         * math/w_remainderl.c: New file.
6271 2017-10-03  H.J. Lu  <hongjiu.lu@intel.com>
6273         * elf/rtld.c (BOOTSTRAP_MAP): New.
6274         (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
6275         * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
6276         Likewise.
6277         * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
6278         Likewise.
6279         * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
6280         Likewise.
6282 2017-10-03  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6284         * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
6285         rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
6286         rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
6287         rtld_hidden_data_ver): Define to empty.
6288         * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
6289         __assert_perror_fail): Likewise.
6290         * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
6291         (__rewinddir): Likewise.
6292         * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
6293         (__profile_frequency): Likewise.
6294         * include/setjmp.h (__sigsetjmp): Likewise.
6295         * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
6296         __libc_sigaction): Likewise.
6297         * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
6298         not set hidden attribute.
6299         * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
6300         __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
6301         rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
6302         * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
6303         __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
6304         __fxstatat64): Likewise.
6305         * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
6306         (__uname): Likewise.
6307         * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
6308         (_itoa_upper_digits, _itoa_lower_digits): Likewise.
6309         * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
6310         (NO_RTLD_HIDDEN): Set.
6311         * sysdeps/mach/hurd/configure: Refresh.
6312         * config.h.in: Refresh.
6314 2017-10-02  Joseph Myers  <joseph@codesourcery.com>
6316         * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
6317         (atan): Define using libm_alias_double.
6318         * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
6319         (tan): Define using libm_alias_double.
6320         * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
6321         * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
6323         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
6324         define as weak alias of __atan.  Do not define any aliases if
6325         [__atan].
6326         [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
6327         [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
6328         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
6329         as weak alias of __tan.  Do not define any aliases if [__tan].
6330         [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
6331         [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
6332         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
6333         __atan.
6334         * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
6335         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
6336         * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
6337         and define as weak alias of __atan.
6338         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
6339         __atan.
6340         * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
6341         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
6342         * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
6343         define as weak alias of __tan.
6345 2017-10-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6347         * math/w_lgamma.c: New file.
6348         * math/w_lgammaf.c: New file.
6349         * math/w_lgammal.c: New file.
6351 2017-10-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6353         * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
6354         * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
6355         * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
6356         * sysdeps/ieee754/flt-32/w_log2f.c: New file.
6357         * sysdeps/ieee754/flt-32/w_logf.c: New file.
6358         * sysdeps/ieee754/flt-32/w_powf.c: New file.
6359         * sysdeps/i386/fpu/w_log2f.c: New file.
6360         * sysdeps/i386/fpu/w_logf.c: New file.
6361         * sysdeps/i386/fpu/w_powf.c: New file.
6362         * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
6363         * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
6364         * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
6366 2017-10-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6367             H.J. Lu  <hongjiu.lu@intel.com>
6369         * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
6370         * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
6371         * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
6372         * sysdeps/ieee754/flt-32/w_expf.c: New file.
6373         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
6374         the new expf code.
6375         * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
6376         * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
6377         * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
6378         * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
6379         * sysdeps/i386/fpu/w_exp2f.c: New file.
6380         * sysdeps/i386/fpu/w_expf.c: New file.
6381         * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
6382         * sysdeps/x86_64/fpu/w_expf.c: New file.
6384 2017-10-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6386         * math/Versions (logf): New libm symbol at GLIBC_2.27.
6387         (log2f): Likewise.
6388         (powf): Likewise.
6389         * math/w_log2f.c: New file.
6390         * math/w_logf.c: New file.
6391         * math/w_powf.c: New file.
6392         * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
6393         * math/w_logf_compat.c (__logf_compat): Likewise.
6394         * math/w_powf_compat.c (__powf_compat): Likewise.
6395         * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
6396         * sysdeps/ia64/fpu/e_logf.S: Likewise.
6397         * sysdeps/ia64/fpu/e_powf.S: Likewise.
6398         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6399         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6400         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6401         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6402         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6403         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6404         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6405         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6406         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6407         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6408         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6409         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6411         Likewise.
6412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6413         Likewise.
6414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6415         Likewise.
6416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6417         Likewise.
6418         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6419         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6420         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6421         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6422         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6424         Likewise.
6425         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6426         Likewise.
6427         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6428         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6429         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6431 2017-10-02  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6433         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6434         (sysdep_routines): Add memrchr_power8.
6435         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6436         (memrchr): Add __memrchr_power8 to list of memrchr functions.
6437         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
6438         New file.
6439         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
6440         (memrchr): Add __memrchr_power8 to ifunc list.
6441         * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
6443 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6445         [BZ #18822]
6446         * sysdeps/unix/sysv/linux/posix_fadvise64.c
6447         (__posix_fadvise64_l64): Add Add libc_hidden_proto and
6448         libc_hidden_def.
6449         * sysdeps/unix/sysv/linux/posix_fallocate64.c
6450         (__posix_fallocate64_l64): Likewise.
6452 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6454         [BZ #18822]
6455         * sysdeps/unix/sysv/linux/sched_setaffinity.c
6456         (__sched_setaffinity_new): Add libc_hidden_proto and
6457         libc_hidden_def.
6459 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6461         [BZ #18822]
6462         * include/glob.h (__glob64): Add libc_hidden_proto.
6463         * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
6464         libc_hidden_def.
6466 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6468         [BZ #18822]
6469         * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
6470         attribute_hidden.
6472 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6474         [BZ #18822]
6475         * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
6477 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6479         [BZ #18822]
6480         * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
6481         libc_hidden_def.
6483 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6485         [BZ #18822]
6486         * csu/version.c (__libc_print_version): Add attribute_hidden.
6488 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6490         [BZ #18822]
6491         * include/libc-internal.h (__init_misc): Add attribute_hidden.
6493 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6495         [BZ #18822]
6496         * include/fpu_control.h (__setfpucw): Add attribute_hidden.
6498 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6500         [BZ #18822]
6501         * nscd/nscd_helper.c (__nis_hash): New prototype.
6503 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6505         [BZ #18822]
6506         * include/termios.h (__tcgetattr): Add libc_hidden_proto.
6507         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
6508         libc_hidden_def.
6509         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6510         * termios/tcgetattr.c (__tcgetattr): Likewise.
6512 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6514         [BZ #18822]
6515         * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
6516         * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
6517         * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
6518         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
6519         * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
6521 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6523         [BZ #18822]
6524         * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
6526 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6528         [BZ #18822]
6529         * include/sched.h (__sched_setparam): Add libc_hidden_proto.
6530         * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
6532 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6534         [BZ #18822]
6535         * intl/hash-string.h (__hash_string): Add attribute_hidden.
6537 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6539         [BZ #18822]
6540         * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
6541         * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
6543 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6545         [BZ #18822]
6546         * include/ifreq.h: New file.
6547         * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
6548         (__ifreq): Likewise.
6549         * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
6550         (__ifreq): Likewise.
6552 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6554         [BZ #18822]
6555         * include/idna.h: New file.
6556         * inet/getnameinfo.c: Include <idna.h> instead of
6557         <libidn/idna.h>.
6558         (__idna_to_unicode_lzlz): Removed.
6559         * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
6560         <libidn/idna.h>.
6561         (__idna_to_ascii_lz): Removed.
6562         (__idna_to_unicode_lzlz): Likewise.
6564 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6566         [BZ #18822]
6567         * include/plural-exp.h: New file.
6568         * intl/plural-exp.c: Include <plural-exp.h> instead of
6569         "plural-exp.h".
6571 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6573         [BZ #18822]
6574         * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
6575         "getsourcefilter.h".
6576         * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
6577         * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
6578         "getsourcefilter.h".
6579         (__get_sol): Removed.
6581 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6583         [BZ #18822]
6584         * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
6585         to ...
6586         * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
6588 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6590         [BZ #18822]
6591         * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
6592         attribute_hidden.
6594 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6596         [BZ #18822]
6597         * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
6599 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6601         [BZ #18822]
6602         * include/search.h (__tdestroy): Add libc_hidden_proto.
6603         * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
6605 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6607         [BZ #18822]
6608         * include/assert.h (__assert_fail_base): Add attribute_hidden.
6610 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6612         [BZ #18822]
6613         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
6614         attribute_hidden.
6616 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6618         [BZ #18822]
6619         * include/signal.h (__kill): Add libc_hidden_proto.
6620         (__sigblock): Likewise.
6621         (__sigprocmask): Likewise.
6622         (__sigaltstack): Likewise.
6623         * signal/kill.c (__kill): Add libc_hidden_def.
6624         * signal/sigblock.c (__sigblock): Likewise.
6625         * signal/sigprocmask.c (__sigprocmask): Likewise.
6626         * sysdeps/mach/hurd/kill.c (__kill): Likewise.
6627         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
6628         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
6629         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
6630         * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
6631         Likewise.
6632         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
6633         Likewise.
6634         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
6635         (__sigprocmask): Likewise.
6636         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
6637         Likewise.
6638         * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
6639         (__sigprocmask): Likewise.
6640         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
6641         Likewise.
6643 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6645         [BZ #18822]
6646         * include/string.h (__strsep): Add libc_hidden_proto.
6647         * string/strsep.c (__strsep): Add libc_hidden_def.
6649 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6651         [BZ #18822]
6652         * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
6653         attribute_hidden.
6654         (__spawni): Likewise.
6656 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6658         [BZ #18822]
6659         * include/sys/mman.h (__mremap): Add libc_hidden_proto.
6660         * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
6661         libc_hidden_def.
6663 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6665         [BZ #18822]
6666         * include/malloc.h (__malloc_check_init): Add attribute_hidden.
6668 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6670         [BZ #18822]
6671         * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
6672         * misc/ioctl.c (__ioctl): Add libc_hidden_def.
6673         * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6674         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
6675         * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
6676         Likewise.
6677         * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
6678         * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
6680 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6682         [BZ #18822]
6683         * intl/gettextP.h (__dcngettext): Add attribute_hidden.
6684         (__dcigettext): Likewise.
6686 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6688         [BZ #18822]
6689         * include/sys/sysinfo.h (__get_nprocs_conf): Add
6690         libc_hidden_proto.
6691         (__get_nprocs): Likewise.
6692         (__get_phys_pages): Likewise.
6693         (__get_avphys_pages): Likewise.
6694         (__get_child_max): Add attribute_hidden.
6695         * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
6696         (__get_nprocs): Likewise.
6697         (__get_phys_pages): Likewise.
6698         (__get_avphys_pages): Likewise.
6699         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
6700         libc_hidden_def.
6701         (__get_nprocs): Likewise.
6702         (__get_phys_pages): Likewise.
6703         (__get_avphys_pages): Likewise.
6704         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
6705         libc_hidden_def.
6706         (__get_nprocs_conf): Likewise.
6707         (__get_phys_pages): Likewise.
6708         (__get_avphys_pages): Likewise.
6710 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6712         [BZ #18822]
6713         * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
6714         attribute_hidden.
6715         (__netlink_close): Likewise.
6716         (__netlink_free_handle): Likewise.
6717         (__netlink_request): Likewise.
6719 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6721         [BZ #18822]
6722         * include/rpc/rpc.h (__rpc_thread_variables): Add
6723         attribute_hidden.
6724         (__rpc_thread_svc_cleanup): Likewise.
6725         (__rpc_thread_clnt_cleanup): Likewise.
6726         (__rpc_thread_key_cleanup): Likewise.
6728 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6730         [BZ #18822]
6731         * include/sys/uio.h (__readv): Add libc_hidden_proto.
6732         (__writev): Likewise.
6733         * misc/readv.c (__readv): Add libc_hidden_def.
6734         * misc/writev.c (__writev): Likewise.
6735         * sysdeps/posix/readv.c (__readv): Likewise.
6736         * sysdeps/posix/writev.c (__writev): Likewise.
6737         * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
6738         (__readv): Likewise.
6739         * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
6740         (__writev): Likewise.
6742 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6744         [BZ #18822]
6745         * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
6746         (__regcomp): Add libc_hidden_proto.
6747         (__regexec): Likewise.
6748         (__regfree): Likewise.
6749         * posix/regcomp.c (__regcomp): Add libc_hidden_def.
6750         (__regfree): Likewise.
6751         * posix/regexec.c (__regexec): Likewise.
6753 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6755         [BZ #18822]
6756         * include/utmp.h (__updwtmp): Add libc_hidden_proto.
6757         (__getutent): Likewise.
6758         (__getutid): Likewise.
6759         (__getutline): Likewise.
6760         (__pututline): Likewise.
6761         (__getutent_r): Likewise.
6762         (__getutid_r): Likewise.
6763         (__getutline_r): Likewise.
6764         (__utmpname): Add attribute_hidden.
6765         (__setutent): Likewise.
6766         (__endutent): Likewise.
6767         * login/getutent.c (__getutent): Add libc_hidden_def.
6768         * login/getutent_r.c (__getutent_r): Likewise.
6769         (__pututline): Likewise.
6770         * login/getutid.c (__getutid): Likewise.
6771         * login/getutid_r.c (__getutid_r): Likewise.
6772         * login/getutline.c (__getutline): Likewise.
6773         * login/getutline_r.c (__getutline_r): Likewise.
6774         * login/updwtmp.c (__updwtmp): Likewise.
6776 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6778         [BZ #18822]
6779         * include/dirent.h (__opendir): Always add attribute_hidden.
6780         (__fdopendir): Likewise.
6781         (__closedir): Likewise.
6782         (__readdir): Likewise.
6783         (__readdir64): Add libc_hidden_proto.
6784         * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
6785         * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
6786         * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
6787         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
6788         New alias.
6790 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6792         [BZ #18822]
6793         * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
6794         * include/netdb.h (__gethostbyaddr_r): Likewise.
6795         (__gethostbyname_r): Likewise.
6796         (__gethostbyname2_r): Likewise.
6797         (__getnetbyaddr_r): Likewise.
6798         (__getnetbyname_r): Likewise.
6799         (__getservbyname_r): Likewise.
6800         (__getservbyport_r): Likewise.
6801         (__getprotobyname_r): Likewise.
6802         (__getprotobynumber_r): Likewise.
6803         (__getnetgrent_r): Likewise.
6804         * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
6805         (__getrpcbynumber_r): Likewise.
6806         * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
6808 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6810         [BZ #18822]
6811         * include/stdio.h (__fcloseall): Add attribute_hidden.
6812         (__getline): Likewise.
6813         (__path_search): Likewise.
6814         (__gen_tempname): Likewise.
6815         (__libc_message): Likewise.
6816         (__flockfile): Likewise.
6817         (__funlockfile): Likewise.
6818         (__fxprintf): Likewise.
6819         (__fxprintf_nocancel): Likewise.
6821 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6823         [BZ #18822]
6824         * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
6825         (__sgetsgent_r): Likewise.
6827 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6829         [BZ #18822]
6830         * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
6831         (__statfs64): Likewise.
6832         (__fstatfs64): Likewise.
6833         * include/sys/statvfs.h (__statvfs64): Likewise.
6834         (__fstatvfs64): Likewise.
6835         * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
6836         (__statfs_filesize_max): Likewise.
6837         (__statfs_symlinks): Likewise.
6838         (__statfs_chown_restricted): Likewise.
6840 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6842         [BZ #18822]
6843         * include/time.h (__tzstring): Add attribute_hidden.
6844         (__tzfile_read): Likewise.
6845         (__tzfile_compute): Likewise.
6846         (__tzfile_default): Likewise.
6847         (__tzset_parse_tz): Likewise.
6848         (__offtime): Likewise.
6849         (__asctime_r): Likewise.
6850         (__tzset): Likewise.
6851         (__tz_convert): Likewise.
6852         (__getdate_r): Likewise.
6853         (__getclktck): Likewise.
6855 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6857         [BZ #18822]
6858         * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
6859         (__nscd_unmap): Likewise.
6860         (__nscd_cache_search): Likewise.
6861         (__nscd_get_nl_timestamp): Likewise.
6862         (__nscd_getpwnam_r): Likewise.
6863         (__nscd_getpwuid_r): Likewise.
6864         (__nscd_getgrnam_r): Likewise.
6865         (__nscd_getgrgid_r): Likewise.
6866         (__nscd_gethostbyname_r): Likewise.
6867         (__nscd_gethostbyname2_r): Likewise.
6868         (__nscd_gethostbyaddr_r): Likewise.
6869         (__nscd_getai): Likewise.
6870         (__nscd_getgrouplist): Likewise.
6871         (__nscd_getservbyname_r): Likewise.
6872         (__nscd_getservbyport_r): Likewise.
6873         (__nscd_innetgr): Likewise.
6874         (__nscd_setnetgrent): Likewise.
6876 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6878         [BZ #18822]
6879         * include/gmp.h: Declare internal functions only if _ISOMAC is
6880         undefined.
6881         (__mpn_extract_double): Add attribute_hidden.
6882         (__mpn_extract_long_double): Likewise.
6883         (__mpn_extract_float128): Likewise.
6884         (__mpn_construct_float): Likewise.
6885         (__mpn_construct_double): Likewise.
6886         (__mpn_construct_long_double): Likewise.
6887         (__mpn_construct_float128): Likewise.
6888         (mpn_add_1): Likewise.
6889         (mpn_addmul_1): Likewise.
6890         (mpn_add_n): Likewise.
6891         (mpn_cmp): Likewise.
6892         (mpn_divrem): Likewise.
6893         (mpn_lshift): Likewise.
6894         (mpn_mul): Likewise.
6895         (mpn_mul_1): Likewise.
6896         (mpn_rshift): Likewise.
6897         (mpn_sub_1): Likewise.
6898         (mpn_submul_1): Likewise.
6899         (mpn_sub_n): Likewise.
6901 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6903         [BZ #18822]
6904         * include/wchar.h (__wcsnlen): Add attribute_hidden.
6905         (__wcscat): Likewise.
6906         (__btowc): Likewise.
6907         (__wcrtomb): Likewise.
6908         (__mbsrtowcs): Likewise.
6909         (__wcsrtombs): Likewise.
6910         (__mbsnrtowcs): Likewise.
6911         (__wcsnrtombs): Likewise.
6912         (__wcsncpy): Likewise.
6913         (__wcpncpy): Likewise.
6914         (__wmemcpy): Likewise.
6915         (__wmempcpy): Likewise.
6916         (__wmemmove): Likewise.
6917         (__wcschrnul): Likewise.
6918         (__vfwscanf): Likewise.
6919         (__vswprintf): Likewise.
6920         (__fwprintf): Likewise.
6921         (__vfwprintf): Likewise.
6923 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6925         [BZ #18822]
6926         * include/grp.h (__fgetgrent_r): Add attribute_hidden.
6927         (__getgrgid_r): Likewise.
6928         (__getgrnam_r): Likewise.
6929         * include/pwd.h (__getpwuid_r): Likewise.
6930         (__getpwnam_r): Likewise.
6931         (__fgetpwent_r): Likewise.
6932         * include/shadow.h (__getspnam_r): Likewise.
6933         (__sgetspent_r): Likewise.
6934         (__fgetspent_r): Likewise.
6936 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6938         [BZ #18822]
6939         * include/unistd.h (__access): Add attribute_hidden.
6940         (__lseek64): Likewise.
6941         (__libc_pread64): Likewise.
6942         (__pipe2): Likewise.
6943         (__sleep): Likewise.
6944         (__chdir): Likewise.
6945         (__fchdir): Likewise.
6946         (__getcwd): Likewise.
6947         (__rmdir): Likewise.
6948         (__execvpe): Likewise.
6949         (__execve): Likewise.
6950         (__setsid): Likewise.
6951         (__getuid): Likewise.
6952         (__geteuid): Likewise.
6953         (__getgid): Likewise.
6954         (__getegid): Likewise.
6955         (__getgroups): Likewise.
6956         (__group_member): Likewise.
6957         (__ttyname_r): Likewise.
6958         (__isatty): Likewise.
6959         (__readlink): Likewise.
6960         (__unlink): Likewise.
6961         (__gethostname): Likewise.
6962         (__profil): Likewise.
6963         (__getdtablesize): Likewise.
6964         (__brk): Likewise.
6965         (__ftruncate): Likewise.
6966         (__ftruncate64): Likewise.
6968 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6970         [BZ #18822]
6971         * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
6972         * argp/argp-fs-xinl.c: Likewise.
6973         * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
6974         * argp/argp-parse.c: Include <argp.h>.
6975         * argp/argp-xinl.c: Likewise.
6976         * include/argp-fmtstream.h: New file.
6977         * include/argp.h (__argp_error): Add attribute_hidden.
6978         (__argp_failure): Likewise.
6979         (__argp_input): Likewise.
6980         (__argp_state_help): Likewise.
6982 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6984         [BZ #18822]
6985         * include/wchar.h (____wcstof_l_internal): New prototype.
6986         (____wcstod_l_internal): Likewise.
6987         (____wcstold_l_internal): Likewise.
6988         (____wcstol_l_internal): Likewise.
6989         (____wcstoul_l_internal): Likewise.
6990         (____wcstoll_l_internal): Likewise.
6991         (____wcstoull_l_internal): Likewise.
6992         (____wcstof128_l_internal): Likewise.
6993         * sysdeps/ieee754/float128/wcstof128.c
6994         (____wcstof128_l_internal): Removed.
6995         * sysdeps/ieee754/float128/wcstof128_l.c
6996         (____wcstof128_l_internal): Likewise.
6997         * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
6998         * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
6999         * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
7000         * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
7001         * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
7002         * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
7003         * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
7004         * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
7005         * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
7006         * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
7008 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
7010         [BZ #18822]
7011         * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
7012         instead of <sys/statvfs.h>.
7013         (__internal_statvfs): Removed.
7014         * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
7015         instead of <sys/statvfs.h>.
7016         (__internal_statvfs64): Removed.
7017         * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
7018         "internal_statvfs.h" instead of <sys/statvfs.h>.
7019         * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
7020         * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
7021         instead of <sys/statvfs.h>.
7022         (__internal_statvfs): Removed.
7023         * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
7024         instead of <sys/statvfs.h>.
7025         (__internal_statvfs64): Removed.
7027 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
7029         [BZ #18822]
7030         * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
7031         (__gconv_close): Likewise.
7032         (__gconv): Likewise.
7033         (__gconv_find_transform): Likewise.
7034         (__gconv_lookup_cache): Likewise.
7035         (__gconv_compare_alias_cache): Likewise.
7036         (__gconv_load_cache): Likewise.
7037         (__gconv_get_path): Likewise.
7038         (__gconv_close_transform): Likewise.
7039         (__gconv_release_cache): Likewise.
7040         (__gconv_find_shlib): Likewise.
7041         (__gconv_release_shlib): Likewise.
7042         (__gconv_get_builtin_trans): Likewise.
7043         (__gconv_compare_alias): Likewise.
7044         * include/dlfcn.h (_dlerror_run): Likewise.
7045         * include/stdio.h (__fortify_fail_abort): Likewise.
7046         * include/time.h (__tz_compute): Likewise.
7047         (__strptime_internal): Likewise.
7048         * intl/gettextP.h (_nl_find_domain): Likewise.
7049         (_nl_load_domain): Likewise.
7050         (_nl_find_msg): Likewise.
7051         * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
7052         (EXTRACT_PLURAL_EXPRESSION): Likewise.
7053         * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
7054         * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
7055         (__gai_find_request): Likewise.
7056         (__gai_remove_request): Likewise.
7057         (__gai_notify): Likewise.
7058         (__gai_notify_only): Likewise.
7059         * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
7060         * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
7061         (_dl_non_dynamic_init): Likewise.
7062         (_dl_aux_init): Likewise.
7063         * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
7064         * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
7065         Likewise.
7066         * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
7067         (__wcsmbs_clone_conv): Likewise.
7068         (__wcsmbs_named_conv): Likewise.
7070 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
7072         [BZ #18822]
7073         * include/stdlib.h (__random): Add attribute_hidden.
7074         (__random_r): Likewise.
7075         (__srandom_r): Likewise.
7076         (__initstate_r): Likewise.
7077         (__setstate_r): Likewise.
7078         (__erand48_r): Likewise.
7079         (__nrand48_r): Likewise.
7080         (__jrand48_r): Likewise.
7081         (__srand48_r): Likewise.
7082         (__seed48_r): Likewise.
7083         (__lcong48_r): Likewise.
7084         (__drand48_iterate): Likewise.
7085         (__setenv): Likewise.
7086         (__unsetenv): Likewise.
7087         (__clearenv): Likewise.
7088         (__ptsname_r): Likewise.
7089         (__posix_openpt): Likewise.
7090         (__add_to_environ): Likewise.
7091         (__realpath): Add libc_hidden_proto.
7092         (__ecvt_r): Likewise.
7093         (__fcvt_r): Likewise.
7094         (__qecvt_r): Likewise.
7095         (__qfcvt_r): Likewise.
7096         * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
7097         * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
7099 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
7101         [BZ #18822]
7102         * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
7103         * include/time.h (__mktime_internal): Likewise.
7104         * libio/iolibio.h (__fopen_internal): Likewise.
7106 2017-10-01  John David Anglin  <danglin@gcc.gnu.org>
7108         * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
7109         pointer in frame.
7110         * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
7111         Correct offset used to restore PIC register.
7113 2017-09-30  John David Anglin  <danglin@gcc.gnu.org>
7115         [BZ libc/22165]
7116         * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
7117         code to load address of __getcontext_ret when generating PIC code.
7119 2017-09-30  H.J. Lu  <hongjiu.lu@intel.com>
7121         * elf/Makefile (tests-static-internal): Add
7122         tst-tls1-static-non-pie.
7123         (LDFLAGS-tst-tls1-static-non-pie): New.
7124         * elf/tst-tls1-static-non-pie.c: New file.
7126 2017-09-29  Joseph Myers  <joseph@codesourcery.com>
7128         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
7129         (asinh): Define using libm_alias_double.
7130         * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
7131         (cbrt): Define using libm_alias_double.
7132         * sysdeps/ieee754/dbl-64/s_copysign.c: Include
7133         <libm-alias-double.h>.
7134         (copysign): Define using libm_alias_double.
7135         * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
7136         (erf): Define using libm_alias_double.
7137         (erfc): Likewise.
7138         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
7139         (expm1): Define using libm_alias_double.
7140         * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
7141         (fabs): Define using libm_alias_double.
7142         * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
7143         libm_alias_double.
7144         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
7145         <libm-alias-double.h>.
7146         * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
7147         libm_alias_double.
7148         * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
7149         <libm-alias-double.h>.
7150         (getpayload): Define using libm_alias_double.
7151         * sysdeps/ieee754/dbl-64/s_llrint.c: Include
7152         <libm-alias-double.h>.
7153         (llrint): Define using libm_alias_double.
7154         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
7155         (lrint): Define using libm_alias_double.
7156         * sysdeps/ieee754/dbl-64/s_nextup.c: Include
7157         <libm-alias-double.h>.
7158         (nextup): Define using libm_alias_double.
7159         * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
7160         <libm-alias-double.h>.
7161         (roundeven): Define using libm_alias_double.
7162         * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
7163         libm_alias_double.
7164         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
7165         <libm-alias-double.h>.
7166         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
7167         using libm_alias_double.
7168         * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
7169         (cos): Define using libm_alias_double.
7170         (sin): Likewise.
7171         * sysdeps/ieee754/dbl-64/s_sincos.c: Include
7172         <libm-alias-double.h>.
7173         (sincos): Define using libm_alias_double.
7174         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
7175         (tanh): Define using libm_alias_double.
7176         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
7177         <libm-alias-double.h>.
7178         (totalorder): Define using libm_alias_double.
7179         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
7180         <libm-alias-double.h>.
7181         (totalordermag): Define using libm_alias_double.
7182         * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
7183         libm_alias_double.
7184         * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
7185         libm_alias_double.
7186         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
7187         <libm-alias-double.h>.
7188         (getpayload): Define using libm_alias_double.
7189         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
7190         <libm-alias-double.h>.
7191         (roundeven): Define using libm_alias_double.
7192         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
7193         <libm-alias-double.h>.
7194         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
7195         <libm-alias-double.h>.
7196         (totalorder): Define using libm_alias_double.
7197         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
7198         <libm-alias-double.h>.
7199         (totalordermag): Define using libm_alias_double.
7200         * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
7201         libc compat symbol here.
7202         * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
7203         * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
7204         * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
7205         * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
7206         * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
7207         * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
7208         * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
7209         * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
7210         * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
7211         * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
7213 2017-09-29  H.J. Lu  <hongjiu.lu@intel.com>
7215         * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
7216         _dl_relocate_static_pie instead of _dl_start to compute load
7217         address in static PIE.  Return 0 if _DYNAMIC is undefined for
7218         static executable.
7220 2017-09-29  H.J. Lu  <hongjiu.lu@intel.com>
7222         * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
7223         _DYNAMIC is undefined for static executable.
7225 2017-09-29  H.J. Lu  <hongjiu.lu@intel.com>
7227         * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
7229 2017-09-29  Joseph Myers  <joseph@codesourcery.com>
7231         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7233 2017-09-29  Wilco Dijkstra  <wdijkstr@arm.com>
7235         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
7236         (__ieee754_lgamma_r): Use fabs rather than __fabs.
7237         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7238         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7239         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
7240         (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
7241         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
7242         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
7243         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
7244         (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
7245         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
7246         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
7247         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
7248         (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
7249         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
7250         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
7251         * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
7253 2017-09-29  Wilco Dijkstra  <wdijkstr@arm.com>
7255         * math/bits/cmathcalls.h (cimag): Remove inline.
7256         (creal): Remove inline.
7257         (conj): Remove inline.
7259 2017-09-29  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7261         * math/Makefile (type-float-routines): Add e_powf_log2_data.
7262         * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
7263         * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
7264         * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
7265         (issignalingf_inline): Likewise.
7266         (POWF_LOG2_TABLE_BITS): Likewise.
7267         (POWF_LOG2_POLY_ORDER): Likewise.
7268         (POWF_SCALE_BITS): Likewise.
7269         (POWF_SCALE): Likewise.
7270         * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
7271         * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
7272         * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
7274 2017-09-29  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7276         * math/Makefile (type-float-routines): Add e_log2f_data.
7277         * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
7278         * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
7279         * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
7280         (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
7281         * sysdeps/i386/fpu/e_log2f_data.c: New file.
7282         * sysdeps/ia64/fpu/e_log2f_data.c: New file.
7283         * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
7285 2017-09-29  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7287         * math/Makefile (type-float-routines): Add e_logf_data.
7288         * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
7289         * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
7290         * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
7291         (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
7292         * sysdeps/i386/fpu/e_logf_data.c: New file.
7293         * sysdeps/ia64/fpu/e_logf_data.c: New file.
7294         * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
7296 2017-09-28  H.J. Lu  <hongjiu.lu@intel.com>
7298         * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
7299         undefined _DYNAMIC in PIE libc.a.
7300         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
7301         Likewse.
7303 2017-09-28  Wilco Dijkstra  <wdijkstr@arm.com>
7305         * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
7306         * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
7307         * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
7308         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
7309         (__signbit): Remove.
7310         (__signbitl): Remove.
7311         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
7312         (__signbit): Remove.
7313         (__signbitl): Remove.
7314         * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
7315         (__signbit): Remove.
7316         (__signbitl): Remove.
7317         * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
7318         (__signbit): Remove.
7319         (__signbitl): Remove.
7320         * sysdeps/tile/bits/mathinline.h: Delete file.
7321         * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
7322         (__signbit): Remove.
7323         (__signbitl): Remove.
7325 2017-09-28  Wilco Dijkstra  <wdijkstr@arm.com>
7327         * math/math.h: Improve handling of C99 isgreater macros.
7328         * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
7329         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
7330         * sysdeps/powerpc/bits/mathinline.h: Likewise.
7331         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7332         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
7334 2017-09-28  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7336         * sysdeps/aarch64/libm-test-ulps: Update.
7338 2017-09-28  Joseph Myers  <joseph@codesourcery.com>
7340         [BZ #22225]
7341         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7342         math_opt_barrier on argument when doing arithmetic on it.
7343         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7344         Likewise.  Use math_force_eval not math_opt_barrier after
7345         arithmetic.
7346         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
7347         math_opt_barrier on argument when doing arithmetic on it.
7348         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
7349         Likewise.
7351 2017-09-27  H.J. Lu  <hongjiu.lu@intel.com>
7353         * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
7354         libc_hidden_def.
7355         (__freeifaddrs): Likewise.
7357 2017-09-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7359         * include/dirent.h (__dirfd): New declaration.
7360         * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
7361         alias.
7362         * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
7363         * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
7364         * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
7365         * include/unistd.h (__revoke): New declaration.
7366         * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
7367         alias.
7368         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
7369         * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
7370         revoke.
7371         * include/dirent.h (__seekdir): New declaration.
7372         * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
7373         redefine as weak alias.
7374         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
7375         of seekdir.
7376         * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
7377         and use libc_hidden_def on them.
7378         * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
7379         them.
7380         * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
7381         * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
7382         instead of getifaddrs and freeifaddrs.
7384 2017-09-26  H.J. Lu  <hongjiu.lu@intel.com>
7386         [BZ #18822]
7387         * dlfcn/modatexit.c (foo): Remove __dso_handle check.
7388         * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
7389         (__dso_handle): Remove declaration.
7390         * dlfcn/tstatexit.c (__dso_handle): Removed.
7391         (main): Don't check __dso_handle.
7392         * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
7393         (main): Don't check __dso_handle.
7394         * include/dso_handle.h: New file.
7395         * malloc/mtrace.c: Include <dso_handle.h>.
7396         (mtrace): Pass __dso_handle directly.
7397         * nptl/pthread_atfork.c: Include <dso_handle.h>.
7398         (__dso_handle): Remove declaration.
7399         (__pthread_atfork): Pass __dso_handle directly.
7400         * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
7401         (__dso_handle): Removed.
7402         * posix/wordexp-test.c: Include <dso_handle.h>.
7403         (__dso_handle): Remove declaration.
7404         (__app_register_atfork): Pass __dso_handle directly.
7405         * stdlib/at_quick_exit.c: Include <dso_handle.h>.
7406         (__dso_handle): Remove declaration.
7407         (at_quick_exit): Pass __dso_handle directly.
7408         * stdlib/atexit.c: Include <dso_handle.h>.
7409         (__dso_handle): Remove declaration.
7410         (atexit): Pass __dso_handle directly.
7411         * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
7412         (__dso_handle): Removed.
7414 2017-09-26  Joseph Myers  <joseph@codesourcery.com>
7416         * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
7417         using VDSO.
7419 2017-09-26  Alexey Makhalov  <amakhalov@vmware.com>
7421         * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
7422         * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
7423         values to correct default value for given type.
7425 2017-09-26  H.J. Lu  <hongjiu.lu@intel.com>
7427         [BZ #22101]
7428         * elf/Makefile (tests): Add tst-debug1.
7429         ($(objpfx)tst-debug1): New.
7430         ($(objpfx)tst-debug1.out): Likewise.
7431         ($(objpfx)tst-debug1mod1.so): Likewise.
7432         * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
7433         with p_filesz == 0.
7434         * elf/tst-debug1.c: New file.
7436 2017-09-26  Joseph Myers  <joseph@codesourcery.com>
7438         * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
7439         Define using __ifunc.
7441 2017-09-26  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7443         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
7444         exp2f() values.
7446 2017-09-26  Joseph Myers  <joseph@codesourcery.com>
7448         [BZ #22156]
7449         * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
7451 2017-09-26  Florian Weimer  <fweimer@redhat.com>
7453         * resolv/Makefile (tests-internal): Fix typo in comment.
7455 2017-09-26  Florian Weimer  <fweimer@redhat.com>
7457         * resolv/nss_dns/dns-host.c: Fix typo in comment.
7459 2017-09-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7461         * lib/malloc/scratch_buffer.h (struct scratch_buffer):
7462         Use an union instead of a max_align_t array for __space,
7463         so that __space is the same size on all platforms.
7464         * malloc/scratch_buffer_grow_preserve.c
7465         (__libc_scratch_buffer_grow_preserve): Likewise.
7467         [BZ #22183]
7468         * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
7469         version to 2.
7470         * posix/Makefile (routines): Add glob-lstat-compat and
7471         glob64-lstat-compat.
7472         * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
7473         * posix/glob-lstat-compat.c: New file.
7474         * posix/glob64-lstat-compat.c: Likewise.
7475         * posix/tst-glob_lstat_compat.c: Likewise.
7476         * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
7477         * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
7478         * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
7479         * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
7480         Likewise.
7481         * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
7482         * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
7483         * posix/glob.c (glob_lstat): New function.
7484         (glob): Rename to __glob and add versioned symbol to 2.27.
7485         (glob_in_dir): Use glob_lstat.
7486         * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
7487         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7488         * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
7489         2.27.
7490         * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
7491         * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
7492         * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
7493         gl_lstat on glob call.
7494         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
7495         and glob64 symbols.
7496         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7497         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7498         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7499         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7500         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7501         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7502         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7503         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7504         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7505         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7506         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7507         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7509         Likewise.
7510         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
7511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7512         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7513         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7514         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7515         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7516         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7519         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7520         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7521         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7523 2017-09-25  H.J. Lu  <hongjiu.lu@intel.com>
7525         * configure.ac (AS): Require binutils 2.25 or later.
7526         * configure: Regenerated.
7528 2017-09-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
7530         [BZ #22207]
7531         * stdlib/test-atexit-race-common.c (do_test): Minimize required
7532         VM size.
7534 2017-09-25  DJ Delorie  <dj@redhat.com>
7536         [BZ #22161]
7537         * nscd/netgroupcache.c (addinnetgrX): Release read lock after
7538         resetting timeout.
7540 2017-09-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7542         * sysdeps/ieee754/dbl-64/sincos32.h
7543         [SINCCOS32_H]: Remove define.
7544         [SINCOS32_H]: Define.
7546 2017-09-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7548         * math/Versions (expf): New libm symbol at GLIBC_2.27.
7549         (exp2f): Likewise.
7550         * math/w_exp2f.c: New file.
7551         * math/w_expf.c: New file.
7552         * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
7553         * math/w_expf_compat.c (__expf_compat): Likewise.
7554         * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
7555         * sysdeps/ia64/fpu/e_expf.S: Likewise.
7556         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7557         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7558         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7559         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7560         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7561         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7562         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7563         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7564         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7565         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7566         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7567         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7569         Likewise.
7570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7571         Likewise.
7572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7573         Likewise.
7574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7575         Likewise.
7576         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7577         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7578         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7579         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7580         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7581         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7582         Likewise.
7583         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7584         Likewise.
7585         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7586         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7587         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7589 2017-09-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7591         * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
7592         * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
7593         (roundtoint, converttoint): Likewise.
7594         * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
7595         * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
7596         * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
7597         * sysdeps/ieee754/flt-32/math_config.h: New file.
7598         * sysdeps/ieee754/flt-32/math_errf.c: New file.
7599         * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
7600         * sysdeps/i386/fpu/e_exp2f_data.c: New file.
7601         * sysdeps/i386/fpu/math_errf.c: New file.
7602         * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
7603         * sysdeps/ia64/fpu/math_errf.c: New file.
7604         * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
7605         * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
7607 2017-09-24  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7609         * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
7610         (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
7611         __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
7612         __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
7613         to make sure that these symbols are defined.
7614         * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
7615         of <limits.h>
7616         (__need_NULL): Do not define.
7617         (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
7618         alignment.
7619         [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
7620         CMGROUP_MAX, cmsgcred): Do not define.
7621         (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
7622         NULL.
7623         * bits/socket.h: Likewise.
7624         * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
7625         __gettimeofday instead of gettimeofday.
7626         * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
7627         instead of settimeofday.
7629 2017-09-22  Joseph Myers  <joseph@codesourcery.com>
7631         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
7632         (asinhf): Define using libm_alias_float.
7633         * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
7634         (atanf): Define using libm_alias_float.
7635         * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
7636         (cbrtf): Define using libm_alias_float.
7637         * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
7638         (ceilf): Define using libm_alias_float.
7639         * sysdeps/ieee754/flt-32/s_copysignf.c: Include
7640         <libm-alias-float.h>.
7641         (copysignf): Define using libm_alias_float.
7642         * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
7643         (cosf): Define using libm_alias_float.
7644         * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
7645         (erff): Define using libm_alias_float.
7646         (erfcf): Likewise.
7647         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
7648         (expm1f): Define using libm_alias_float.
7649         * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
7650         (fabsf): Define using libm_alias_float.
7651         * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
7652         (floorf): Define using libm_alias_float.
7653         * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
7654         (frexpf): Define using libm_alias_float.
7655         * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
7656         libm_alias_float.
7657         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
7658         <libm-alias-float.h>.
7659         * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
7660         libm_alias_float.
7661         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
7662         <libm-alias-float.h>.
7663         (getpayloadf): Define using libm_alias_float.
7664         * sysdeps/ieee754/flt-32/s_llrintf.c: Include
7665         <libm-alias-float.h>.
7666         (llrintf): Define using libm_alias_float.
7667         * sysdeps/ieee754/flt-32/s_llroundf.c: Include
7668         <libm-alias-float.h>.
7669         (llroundf): Define using libm_alias_float.
7670         * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
7671         (logbf): Define using libm_alias_float.
7672         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
7673         (lrintf): Define using libm_alias_float.
7674         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
7675         (lroundf): Define using libm_alias_float.
7676         * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
7677         (modff): Define using libm_alias_float.
7678         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
7679         <libm-alias-float.h>.
7680         (nearbyintf): Define using libm_alias_float.
7681         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
7682         <libm-alias-float.h>.
7683         (nextafterf): Define using libm_alias_float.
7684         * sysdeps/ieee754/flt-32/s_nextupf.c: Include
7685         <libm-alias-float.h>.
7686         (nextupf): Define using libm_alias_float.
7687         * sysdeps/ieee754/flt-32/s_remquof.c: Include
7688         <libm-alias-float.h>.
7689         (remquof): Define using libm_alias_float.
7690         * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
7691         (rintf): Define using libm_alias_float.
7692         * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
7693         <libm-alias-float.h>.
7694         (roundevenf): Define using libm_alias_float.
7695         * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
7696         (roundf): Define using libm_alias_float.
7697         * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
7698         using libm_alias_float.
7699         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
7700         <libm-alias-float.h>.
7701         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
7702         Define using libm_alias_float.
7703         * sysdeps/ieee754/flt-32/s_sincosf.c: Include
7704         <libm-alias-float.h>.
7705         (sincosf): Define using libm_alias_float.
7706         * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
7707         (sinf): Define using libm_alias_float.
7708         * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
7709         (tanf): Define using libm_alias_float.
7710         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
7711         (tanhf): Define using libm_alias_float.
7712         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
7713         <libm-alias-float.h>.
7714         (totalorderf): Define using libm_alias_float.
7715         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
7716         <libm-alias-float.h>.
7717         (totalordermagf): Define using libm_alias_float.
7718         * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
7719         (truncf): Define using libm_alias_float.
7720         * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
7721         libm_alias_float.
7722         * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
7723         libm_alias_float.
7725 2017-09-22  Gabriel F. T. Gomes  <gabriel@inconstante.eti.br>
7727         [BZ #22146]
7728         math/math.h: Let fpclassify use the builtin in C++ mode, even
7729         when optimazing for size.
7731 2017-09-22  Joseph Myers  <joseph@codesourcery.com>
7733         * csu/Makefile (generated): Do not add version-info.h.
7734         (before-compile): Likewise.
7735         (all-Banner-files): Remove variable.
7736         ($(objpfx)version-info.h): Remove rule.
7737         * csu/version.c (banner): Do not include "version-info.h".
7738         * libidn/Banner: Remove.
7739         * manual/contrib.texi (Simon Josefsson): New entry.
7741 2017-09-21  Gabriel F. T. Gomes  <gabriel@inconstante.eti.br>
7743         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7744         Remove conditionals on LDBL_MANT_DIG.
7745         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
7746         (__ieee754_lgammal_r): Likewise.
7748 2017-09-21  Gabriel F. T. Gomes  <gabriel@inconstante.eti.br>
7750         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
7751         _Float128 and L().
7752         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
7753         _Float128 and L(). Replace _Float128 with long double and L(x)
7754         with xL, throughout the file.
7755         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
7756         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
7757         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
7758         * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
7760 2017-09-21  Gabriel F. T. Gomes  <gabriel@inconstante.eti.br>
7762         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
7763         sysdeps/ieee754/ldbl-128ibm.
7764         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
7765         equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
7766         of including it.  Keep _Float128 and L() intact.  These will be
7767         reviewed by a separate patch.
7768         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
7769         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
7770         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
7771         * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
7773 2017-09-21  Gabriel F. T. Gomes  <gabriel@inconstante.eti.br>
7775         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
7776         (__finitef128): Define to __redirect___finitef128.
7777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
7778         (__isinff128): Define to __redirect___isinff128.
7779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
7780         (__isnanf128): Define to __redirect___isnanf128.
7782 2017-09-21  Gabriel F. T. Gomes  <gabriel@inconstante.eti.br>
7784         * sysdeps/powerpc/powerpc64le/Makefile
7785         (CFLAGS-tst-strtod-nan-locale.c): New variable.
7786         (CFLAGS-tst-wcstod-nan-locale.c): New variable.
7788 2017-09-21  Paul Pluzhnikov  <ppluzhnikov@google.com>
7789             Carlos O'Donell  <carlos@redhat.com>
7791         [BZ #22180]
7792         * stdlib/Makefile (tests): Add test-dlclose-exit-race.
7793         * stdlib/test-dlclose-exit-race.c: New file.
7794         * stdlib/test-dlclose-exit-race-helper.c: New file.
7795         * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
7797 2017-09-21  Joseph Myers  <joseph@codesourcery.com>
7799         * crypt/Banner: Remove file.
7800         * nptl/Banner: Likewise.
7801         * resolv/Banner: Likewise.
7802         * soft-fp/Banner: Likewise.
7803         * nptl/Makefile ($(objpfx)banner.h): Remove rule.
7804         ($(objpfx)version.d): Remove dependency on banner.h.
7805         ($(objpfx)version.os): Likewise.
7806         * nptl/version.c (banner): Do not include banner.h.
7807         * manual/contrib.texi: Update entries for Richard Henderson, Jakub
7808         Jelinek and BIND code.
7810 2017-09-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
7811             Carlos O'Donell  <carlos@redhat.com>
7813         * support/xdlfcn.h: New file.
7814         * support/xdlfcn.c: New file.
7815         * support/Makefile (libsupport-routines): Add xdlfcn.
7816         * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
7818 2017-09-20  Joseph Myers  <joseph@codesourcery.com>
7820         [BZ #20142]
7821         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7822         Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
7823         * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
7824         * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
7825         * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
7826         * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
7827         * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
7828         * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
7830 2017-09-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
7831             Ricky Zhou  <rickyz@google.com>
7832             Anoop V Chakkalakkal  <anoop.vijayan@in.ibm.com>
7834         [BZ #14333]
7835         * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
7836         Remove atomics.
7837         (__new_exitfn): Fail registration when we finished at_exit processing.
7838         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
7839         * stdlib/on_exit.c (__on_exit): Likewise.
7840         * stdlib/exit.c (__exit_funcs_done): New variable.
7841         (__run_exit_handlers): Use __exit_funcs_lock.
7842         * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
7843         declarations.
7844         * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
7845         (test-cxa_atexit-race, test-on_exit-race): New tests.
7846         * stdlib/test-atexit-race-common.c: New file.
7847         * stdlib/test-atexit-race.c: New file.
7848         * stdlib/test-at_quick_exit-race.c: New file.
7849         * stdlib/test-cxa_atexit-race.c: New file.
7850         * stdlib/test-on_exit-race.c: New file.
7852 2017-09-20  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7854         * benchtests/Makefile: Add exp2f and log2f benchmarks.
7855         * benchtests/exp2f-inputs: Copy of expf-inputs.
7856         * benchtests/log2f-inputs: Copy of logf-inputs.
7858 2017-09-19  Joseph Myers  <joseph@codesourcery.com>
7860         * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
7861         Explicitly take address of first element of array arguments in
7862         call to INLINE_SYSCALL.
7864 2017-09-19  Andreas Schwab  <schwab@suse.de>
7866         [BZ #22134]
7867         * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
7868         execveat first.
7869         [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
7870         unimplemented.
7871         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
7872         [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
7873         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7874         (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
7875         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7876         (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
7877         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7878         (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
7879         * posix/Makefile (tests): Add tst-fexecve.
7880         * posix/tst-fexecve.c: New file.
7882 2017-09-19  Wilco Dijkstra  <wdijkstr@arm.com>
7884         * benchtests/Makefile: Add logf benchmark.
7885         * benchtests/logf-inputs: Add reduced trace from wrf_r.
7887 2017-09-19  Wilco Dijkstra  <wdijkstr@arm.com>
7889         * benchtests/Makefile: Add expf benchmark.
7890         * benchtests/expf-inputs: Add reduced trace from wrf_r.
7892 2017-09-19  Wilco Dijkstra  <wdijkstr@arm.com>
7894         * csu/Makefile: Add -funwind-tables to libc-start.c.
7895         * debug/Makefile: Add -funwind-tables to backtrace.c.
7896         * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
7897         * sysdeps/arm/Makefile: Likewise.
7898         * sysdeps/i386/Makefile: Likewise.
7899         * sysdeps/m68k/Makefile: Likewise.
7900         * sysdeps/mips/Makefile: Likewise.
7901         * sysdeps/nios2/Makefile: Likewise.
7902         * sysdeps/sh/Makefile: Likewise.
7903         * sysdeps/sparc/Makefile: Likewise.
7905 2017-09-19  Joseph Myers  <joseph@codesourcery.com>
7907         * benchtests/Makefile (bench-math): Add trunc and truncf.
7908         (CFLAGS-bench-trunc.c): New variable.
7909         (CFLAGS-bench-truncf.c): Likewise.
7910         * benchtests/trunc-inputs: New file.
7911         * benchtests/truncf-inputs: Likewise.
7913 2017-09-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7915         * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
7917 2017-09-18  Joseph Myers  <joseph@codesourcery.com>
7919         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
7920         !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
7921         redefine.
7922         [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
7923         (exp10l): Define as weak alias.
7924         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
7925         && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
7926         and redefine.
7927         [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
7928         (remainderl): Define as weak alias.
7930         * math/s_fmal.c: Include <libm-alias-ldouble.h>.
7931         (fmal): Define using libm_alias_ldouble.
7932         * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
7933         (acoshl): Define using libm_alias_ldouble.
7934         * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
7935         (acosl): Define using libm_alias_ldouble.
7936         * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
7937         (asinl): Define using libm_alias_ldouble.
7938         * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
7939         (atan2l): Define using libm_alias_ldouble.
7940         * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
7941         (atanhl): Define using libm_alias_ldouble.
7942         * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
7943         (coshl): Define using libm_alias_ldouble.
7944         * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
7945         (exp10l): Define using libm_alias_ldouble.
7946         * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
7947         (exp2l): Define using libm_alias_ldouble.
7948         * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
7949         (expl): Define using libm_alias_ldouble.
7950         * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
7951         (fmodl): Define using libm_alias_ldouble.
7952         * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
7953         (hypotl): Define using libm_alias_ldouble.
7954         * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
7955         (j0l): Define using libm_alias_ldouble.
7956         (y0l): Likewise.
7957         * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
7958         (j1l): Define using libm_alias_ldouble.
7959         (y1l): Likewise.
7960         * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
7961         (jnl): Define using libm_alias_ldouble.
7962         (ynl): Likewise.
7963         * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
7964         (log10l): Define using libm_alias_ldouble.
7965         * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
7966         (log2l): Define using libm_alias_ldouble.
7967         * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
7968         (logl): Define using libm_alias_ldouble.
7969         * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
7970         (powl): Define using libm_alias_ldouble.
7971         * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
7972         (remainderl): Define using libm_alias_ldouble.
7973         * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
7974         (sinhl): Define using libm_alias_ldouble.
7975         * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
7976         (sqrtl): Define using libm_alias_ldouble.
7977         * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
7978         (tgammal): Define using libm_alias_ldouble.
7979         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
7980         (exp10l): Do not use long_double_symbol here.
7981         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
7982         [LIBM_SVID_COMPAT] (remainderl): Likewise.
7983         * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
7984         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
7985         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
7986         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
7987         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
7988         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
7989         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
7990         * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
7991         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
7992         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
7993         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
7994         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
7995         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
7996         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
7997         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
7998         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
7999         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
8000         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
8001         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
8002         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
8004 2017-09-18  Wang Boshi  <wangboshi@huawei.com>  (tiny change)
8006         * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
8007         * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
8009 2017-09-17  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8011         * io/read.c (read): Add libc_hidden_weak.
8012         * sysdeps/mach/hurd/read.c (read): Likewise.
8013         * io/write.c (write): Likewise.
8014         * sysdeps/mach/hurd/write.c (write): Likewise.
8015         * io/pread64.c (__pread64): Likewise.
8016         * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
8017         * posix/pread64.c (__pread64): Add libc_hidden_def.
8019 2017-09-16  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8021         * benchtests/scripts/compare_strings.py: New option -g.
8022         (draw_graph): Print a message that a graph is being generated.
8023         (process_results): Generate graph only if -g is passed.
8024         (main): Process option -g.
8026         * benchtests/scripts/compare_strings.py (process_results):
8027         Better spacing for output.
8029         * benchtests/scripts/compare_strings.py: Use argparse.
8030         * benchtests/README: Document existence of compare_strings.py.
8032 2017-09-15  Joseph Myers  <joseph@codesourcery.com>
8034         * math/s_fma.c: Include <libm-alias-double.h>.
8035         (fma): Define using libm_alias_double.
8036         * math/s_nextafter.c: Include <libm-alias-double.h>.
8037         (nextafter): Define using libm_alias_double.
8038         * math/w_acos_compat.c: Include <libm-alias-double.h>.
8039         (acos): Define using libm_alias_double.
8040         * math/w_acosh_compat.c: Include <libm-alias-double.h>.
8041         (aocsh): Define using libm_alias_double.
8042         * math/w_asin_compat.c: Include <libm-alias-double.h>.
8043         (asin): Define using libm_alias_double.
8044         * math/w_atan2_compat.c: Include <libm-alias-double.h>.
8045         (atan2): Define using libm_alias_double.
8046         * math/w_atanh_compat.c: Include <libm-alias-double.h>.
8047         (atanh): Define using libm_alias_double.
8048         * math/w_cosh_compat.c: Include <libm-alias-double.h>.
8049         (cosh): Define using libm_alias_double.
8050         * math/w_exp10_compat.c: Include <libm-alias-double.h>.
8051         (exp10): Define using libm_alias_double.
8052         * math/w_exp2_compat.c: Include <libm-alias-double.h>.
8053         (exp2): Define using libm_alias_double.
8054         * math/w_exp_compat.c: Include <libm-alias-double.h>.
8055         (exp): Define using libm_alias_double.
8056         * math/w_fmod_compat.c: Include <libm-alias-double.h>.
8057         (fmod): Define using libm_alias_double.
8058         * math/w_hypot_compat.c: Include <libm-alias-double.h>.
8059         (hypot): Define using libm_alias_double.
8060         * math/w_j0_compat.c: Include <libm-alias-double.h>.
8061         (j0): Define using libm_alias_double.
8062         (y0): Likewise.
8063         * math/w_j1_compat.c: Include <libm-alias-double.h>.
8064         (j1): Define using libm_alias_double.
8065         (y1): Likewise.
8066         * math/w_jn_compat.c: Include <libm-alias-double.h>.
8067         (jn): Define using libm_alias_double.
8068         (yn): Likewise.
8069         * math/w_log10_compat.c: Include <libm-alias-double.h>.
8070         (log10): Define using libm_alias_double.
8071         * math/w_log2_compat.c: Include <libm-alias-double.h>.
8072         (log2): Define using libm_alias_double.
8073         * math/w_log_compat.c: Include <libm-alias-double.h>.
8074         (log): Define using libm_alias_double.
8075         * math/w_pow_compat.c: Include <libm-alias-double.h>.
8076         (pow): Define using libm_alias_double.
8077         * math/w_remainder_compat.c: Include <libm-alias-double.h>.
8078         (remainder): Define using libm_alias_double.
8079         * math/w_sinh_compat.c: Include <libm-alias-double.h>.
8080         (sinh): Define using libm_alias_double.
8081         * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
8082         (sqrt): Define using libm_alias_double.
8083         * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
8084         (tgamma): Define using libm_alias_double.
8085         * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
8086         GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
8087         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
8088         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
8089         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
8090         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
8091         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
8092         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
8093         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
8094         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
8095         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
8096         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
8097         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
8098         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
8099         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
8100         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
8101         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
8102         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
8103         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
8104         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
8105         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
8106         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
8107         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
8108         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
8109         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
8111         * math/e_acoshl.c: Remove.
8112         * math/e_acosl.c: Likewise.
8113         * math/e_asinl.c: Likewise.
8114         * math/e_atan2l.c: Likewise.
8115         * math/e_atanhl.c: Likewise.
8116         * math/e_coshl.c: Likewise.
8117         * math/e_expl.c: Likewise.
8118         * math/e_fmodl.c: Likewise.
8119         * math/e_gammal_r.c: Likewise.
8120         * math/e_hypotl.c: Likewise.
8121         * math/e_j0l.c: Likewise.
8122         * math/e_j1l.c: Likewise.
8123         * math/e_jnl.c: Likewise.
8124         * math/e_lgammal_r.c: Likewise.
8125         * math/e_log10l.c: Likewise.
8126         * math/e_log2l.c: Likewise.
8127         * math/e_logl.c: Likewise.
8128         * math/e_powl.c: Likewise.
8129         * math/e_rem_pio2l.c: Likewise.
8130         * math/e_sinhl.c: Likewise.
8131         * math/e_sqrtf128.c: Likewise.
8132         * math/e_sqrtl.c: Likewise.
8133         * math/k_cosl.c: Likewise.
8134         * math/k_sinl.c: Likewise.
8135         * math/k_tanl.c: Likewise.
8136         * math/s_asinhl.c: Likewise.
8137         * math/s_atanl.c: Likewise.
8138         * math/s_cbrtl.c: Likewise.
8139         * math/s_erfl.c: Likewise.
8140         * math/s_expm1l.c: Likewise.
8141         * math/s_log1pl.c: Likewise.
8142         * math/s_tanhl.c: Likewise.
8144 2017-09-15  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8146         [BZ #21745]
8147         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
8148         [$(subdir) = math] (sysdep_calls): New variable.  Has the
8149         previous contents of sysdep_routines, but re-sorted..
8150         [$(subdir) = math] (sysdep_routines): Re-use the contents from
8151         sysdep_calls.
8152         [$(subdir) = math] (libm-sysdep_routines): Remove the functions
8153         defined in sysdep_calls and replace by the respective m_* names.
8154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
8155         (compat_symbol): Undefine to avoid duplicated compat symbols in
8156         libc.
8158 2017-09-15  Joseph Myers  <joseph@codesourcery.com>
8160         * math/s_fmaf.c: Include <libm-alias-float.h>.
8161         (fmaf): Define using libm_alias_float.
8162         * math/w_acosf_compat.c: Include <libm-alias-float.h>.
8163         (acosf): Define using libm_alias_float.
8164         * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
8165         (acoshf): Define using libm_alias_float.
8166         * math/w_asinf_compat.c: Include <libm-alias-float.h>.
8167         (asinf): Define using libm_alias_float.
8168         * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
8169         (atan2f): Define using libm_alias_float.
8170         * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
8171         (atanhf): Define using libm_alias_float.
8172         * math/w_coshf_compat.c: Include <libm-alias-float.h>.
8173         (coshf): Define using libm_alias_float.
8174         * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
8175         (exp10f): Define using libm_alias_float.
8176         * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
8177         (fmodf): Define using libm_alias_float.
8178         * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
8179         (hypotf): Define using libm_alias_float.
8180         * math/w_j0f_compat.c: Include <libm-alias-float.h>.
8181         (j0f): Define using libm_alias_float.
8182         (y0f): Likewise.
8183         * math/w_j1f_compat.c: Include <libm-alias-float.h>.
8184         (j1f): Define using libm_alias_float.
8185         (y1f): Likewise.
8186         * math/w_jnf_compat.c: Include <libm-alias-float.h>.
8187         (jnf): Define using libm_alias_float.
8188         (ynf): Likewise.
8189         * math/w_log10f_compat.c: Include <libm-alias-float.h>.
8190         (log10f): Define using libm_alias_float.
8191         * math/w_log2f_compat.c: Include <libm-alias-float.h>.
8192         (log2f): Define using libm_alias_float.
8193         * math/w_logf_compat.c: Include <libm-alias-float.h>.
8194         (logf): Define using libm_alias_float.
8195         * math/w_powf_compat.c: Include <libm-alias-float.h>.
8196         (powf): Define using libm_alias_float.
8197         * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
8198         (remainderf): Define using libm_alias_float.
8199         * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
8200         (sinhf): Define using libm_alias_float.
8201         * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
8202         (sqrtf): Define using libm_alias_float.
8203         * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
8204         (tgammaf): Define using libm_alias_float.
8206 2017-09-14  Joseph Myers  <joseph@codesourcery.com>
8208         * include/math.h (roundeven): Change hidden_proto call to
8209         __roundeven.
8210         * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
8211         alias.
8212         [NO_LONG_DOUBLE] (__j0l): New strong alias.
8213         (y0): Rename to __y0 and define as weak alias.
8214         [NO_LONG_DOUBLE] (__y0l): New strong alias.
8215         * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
8216         alias.
8217         (y0f): Rename to __y0f and define as weak alias.
8218         * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
8219         alias.
8220         [NO_LONG_DOUBLE] (__j1l): New strong alias.
8221         (y1): Rename to __y1 and define as weak alias.
8222         [NO_LONG_DOUBLE] (__y1l): New strong alias.
8223         * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
8224         alias.
8225         (y1f): Rename to __y1f and define as weak alias.
8226         * math/w_jn_compat.c (jn): Rename to __jn and define as weak
8227         alias.
8228         [NO_LONG_DOUBLE] (__jnl): New strong alias.
8229         (yn): Rename to __yn and define as weak alias.
8230         [NO_LONG_DOUBLE] (__ynl): New strong alias.
8231         * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
8232         alias.
8233         (ynf): Rename to __ynf and define as weak alias.
8234         * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
8235         (fromfp): Define as weak alias.
8236         [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
8237         * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
8238         (fromfpx): Define as weak alias.
8239         [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
8240         * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
8241         __getpayload and define as weak alias.
8242         [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
8243         * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
8244         __roundeven and define as weak alias.
8245         [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
8246         * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
8247         __setpayload.
8248         (setpayload): Define as weak alias.
8249         [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
8250         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
8251         __setpayloadsig.
8252         (setpayloadsig): Define as weak alias.
8253         [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
8254         * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
8255         __totalorder and define as weak alias.
8256         [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
8257         * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
8258         to __totalordermag and define as weak alias.
8259         [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
8260         * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
8261         (ufromfp): Define as weak alias.
8262         [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
8263         * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
8264         __ufromfpx.
8265         (ufromfpx): Define as weak alias.
8266         [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
8267         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
8268         Rename to __getpayload and define as weak alias.
8269         [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
8270         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
8271         Rename to __roundeven and define as weak alias.
8272         [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
8273         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
8274         Rename to __totalorder and define as weak alias.
8275         [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
8276         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
8277         (totalordermag): Rename to __totalordermag and define as weak
8278         alias.
8279         [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
8280         * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
8281         macro.
8282         (__roundevenl): Likewise.
8283         (__totalorderl): Likewise.
8284         (__totalordermagl): Likewise
8285         * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
8286         __fromfpf128.
8287         (fromfpf128): Define as weak alias.
8288         * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
8289         __fromfpxf128.
8290         (fromfpxf128): Define as weak alias.
8291         * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
8292         __setpayloadf128.
8293         (setpayloadf128): Define as weak alias.
8294         * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
8295         __setpayloadsigf128.
8296         (setpayloadsigf128): Define as weak alias.
8297         * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
8298         __ufromfpf128.
8299         (ufromfpf128): Define as weak alias.
8300         * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
8301         __ufromfpxf128.
8302         (ufromfpxf128): Define as weak alias.
8303         * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
8304         (fromfpf): Define as weak alias.
8305         * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
8306         __fromfpxf.
8307         (fromfpxf): Define as weak alias.
8308         * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
8309         __getpayloadf and define as weak alias.
8310         * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
8311         __roundevenf and define as weak alias.
8312         * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
8313         __setpayloadf.
8314         (setpayloadf): Define as weak alias.
8315         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
8316         __setpayloadsigf.
8317         (setpayloadsigf): Define as weak alias.
8318         * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
8319         __totalorderf and define as weak alias.
8320         * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
8321         Rename to __totalordermagf and define as weak alias.
8322         * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
8323         __ufromfpf.
8324         (ufromfpf): Define as weak alias.
8325         * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
8326         __ufromfpxf.
8327         (ufromfpxf): Define as weak alias.
8328         * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
8329         __fromfpl.
8330         (fromfpl): Define as weak alias.
8331         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
8332         __fromfpxl.
8333         (fromfpxl): Define as weak alias.
8334         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
8335         to __getpayloadl and define as weak alias.
8336         * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
8337         __roundevenl and define as weak alias.
8338         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
8339         __setpayloadl.
8340         (setpayloadl): Define as weak alias.
8341         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
8342         __setpayloadsigl.
8343         (setpayloadsigl): Define as weak alias.
8344         * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
8345         to __totalorderl and define as weak alias.
8346         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
8347         Rename to __totalordermagl and define as weak alias.
8348         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
8349         __ufromfpl.
8350         (ufromfpl): Define as weak alias.
8351         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
8352         __ufromfpxl.
8353         (ufromfpxl): Define as weak alias.
8354         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
8355         __fromfpl.
8356         (fromfpl): Define as weak alias.
8357         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
8358         __fromfpxl.
8359         (fromfpxl): Define as weak alias.
8360         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
8361         Rename to __getpayloadl and define as weak alias.
8362         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
8363         to __roundevenl and define as weak alias.  Call __roundeven
8364         instead of roundeven.
8365         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
8366         __setpayloadl.
8367         (setpayloadl): Define as weak alias.
8368         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
8369         __setpayloadsigl.
8370         (setpayloadsigl): Define as weak alias.
8371         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
8372         Rename to __totalorderl and define as weak alias.
8373         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
8374         Rename to __totalordermagl and define as weak alias.
8375         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
8376         __ufromfpl.
8377         (ufromfpl): Define as weak alias.
8378         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
8379         __ufromfpxl.
8380         (ufromfpxl): Define as weak alias.
8381         * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
8382         __fromfpl.
8383         (fromfpl): Define as weak alias.
8384         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
8385         __fromfpxl.
8386         (fromfpxl): Define as weak alias.
8387         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
8388         __getpayloadl and define as weak alias.
8389         * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
8390         __roundevenl and define as weak alias.
8391         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
8392         __setpayloadl.
8393         (setpayloadl): Define as weak alias.
8394         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
8395         __setpayloadsigl.
8396         (setpayloadsigl): Define as weak alias.
8397         * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
8398         __totalorderl and define as weak alias.
8399         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
8400         Rename to __totalordermagl and define as weak alias.
8401         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
8402         __ufromfpl.
8403         (ufromfpl): Define as weak alias.
8404         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
8405         __ufromfpxl.
8406         (ufromfpxl): Define as weak alias.
8408 2017-09-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8410         * benchtests/bench-string.h (realloc_bufs): New function.
8411         (test_init): Call it.
8412         * benchtests/bench-memset-large.c (do_test): Likewise.
8413         * benchtests/bench-memset.c (do_test): Likewise.
8415         * benchtests/bench-memset-large.c: Print output in JSON
8416         format.
8417         * benchtests/bench-memset.c: Likewise.
8419 2017-09-14  Mike FABIAN  <mfabian@redhat.com>
8421         [BZ #21084]
8422         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
8423         * iconvdata/Makefile: Add IBM858.
8424         * iconvdata/gconv-modules: Likewise.
8425         * iconvdata/tst-tables.sh: Likewise.
8426         * iconvdata/ibm858.c: New file.
8427         * localedata/charmaps/IBM858: Likewise.
8429 2017-09-14  Akhilesh Kumar  <akhilesh.k@samsung.com>
8431         [BZ #22023]
8432         * locales/niu_NZ (LC_TIME): copy "niu_NU".
8433         * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
8435 2017-09-14  Mike FABIAN  <mfabian@redhat.com>
8437         [BZ #22112]
8438         * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
8439         and add tel_int_fmt.
8441 2017-09-14  Joseph Myers  <joseph@codesourcery.com>
8443         * sysdeps/generic/libm-alias-float128.h: New file.
8444         * sysdeps/generic/math-type-macros-float128.h: Include
8445         <libm-alias-float128.h>.
8446         [!declare_mgen_alias] (declare_mgen_alias): Define macro.
8448 2017-09-13  Joseph Myers  <joseph@codesourcery.com>
8450         * sysdeps/generic/libm-alias-ldouble.h: New file.
8451         * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
8452         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
8453         * sysdeps/generic/math-type-macros-ldouble.h: Include
8454         <libm-alias-ldouble.h>.
8455         [!declare_mgen_alias] (declare_mgen_alias): Define to use
8456         libm_alias_ldouble.
8458 2017-09-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8460         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
8461         * math/w_exp_compat.c: ... here.
8462         * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
8463         * math/w_expf_compat.c: ... here.
8464         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
8465         * math/w_expl_compat.c: ... here.
8466         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
8467         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
8468         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
8469         * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
8471 2017-09-13  Joseph Myers  <joseph@codesourcery.com>
8473         * math/w_scalbln_template.c (strong_alias): Do not undefine and
8474         redefine.
8475         * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
8476         macro.
8477         (ldexpl): Only define as compat symbol for libc, not libm.
8478         (scalbnl): Define as compat symbol for libc here.
8479         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
8480         define for [IS_IN (libc)].
8481         (__ldexpl_2): Remove alias.
8482         (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
8483         (scalbnl): Likewise.  Use __wrap_scalbnl not __ldexpl_2 as base
8484         name in long_double_symbol call.
8485         * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
8486         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
8487         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
8488         * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
8489         * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
8490         Remove macro.
8491         [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
8492         Define as compat symbol.
8494 2017-09-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8496         * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
8497         * sysdeps/unix/sysv/linux/alpha/Makefile
8498         [$(subdir) = csu] (sysdep_routines): Remove rule.
8500 2017-09-13  Joseph Myers  <joseph@codesourcery.com>
8502         * sysdeps/generic/libm-alias-double.h: New file.
8503         * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
8504         * sysdeps/generic/math-type-macros-double.h: Include
8505         <libm-alias-double.h>.
8506         [declare_mgen_alias] (declare_mgen_alias): Define to use
8507         libm_alias_double.
8508         * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
8509         (M_LIBM_NEED_COMPAT): Remove macro.
8510         [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
8511         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
8512         * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
8513         code.
8514         * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8515         * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8516         * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8517         * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8518         * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8519         * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8520         * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8521         * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8522         * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8523         * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8524         * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8525         * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8526         * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8527         * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8528         * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8529         * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8530         * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8531         * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8532         * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8533         * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8534         * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8535         * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8536         * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8537         * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8538         * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8539         * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8540         * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
8541         * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
8542         * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
8543         macro.
8544         (declare_mgen_alias): New macro.
8545         * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
8546         * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
8547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
8548         (M_LIBM_NEED_COMPAT): Remove macro.
8549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
8550         [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
8551         <first-versions.h>.
8552         [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
8553         FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
8555 2017-09-12  Joseph Myers  <joseph@codesourcery.com>
8557         * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
8558         (declare_mgen_alias_2): Remove.
8559         * sysdeps/generic/math-type-macros-double.h
8560         [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
8561         Likewise.
8562         * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
8563         alias.
8564         (ldexp): Define with declare_mgen_alias.
8565         (scalbn): Likewise.
8567 2017-09-12  Steve Ellcey  <sellcey@cavium.com>
8569         * grp/initgroups.c: Include config.h.
8570         (DEFAULT_CONFIG): New macro.
8571         (internal_getgrouplist): Use DEFAULT_CONFIG.
8572         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8573         * nss/nsswitch.c (__nss_disable_nscd): Likewise.
8574         (DEFAULT_DEFCONFIG): New macro.
8575         (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
8576         * nss/grp-lookup.c: Include config.h
8577         (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
8578         * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
8579         * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
8580         * manual/nss.texi: Update default values section.
8582 2017-09-12  H.J. Lu  <hongjiu.lu@intel.com>
8584         [BZ #21967]
8585         * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
8586         New.
8587         (index_arch_MathVec_Prefer_No_AVX512): Likewise.
8588         * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
8589         Handle MathVec_Prefer_No_AVX512.
8590         * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
8591         (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
8592         is set.
8594 2017-09-12  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8596         * posix/sched_primax.c (__sched_get_priority_max): Add
8597         libc_hidden_def.
8598         * posix/sched_primin.c (__sched_get_priority_min): Likewise.
8599         * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
8600         * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
8601         * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
8602         * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
8603         * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
8604         __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
8605         __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
8606         Add aliases.
8608 2017-09-11  Joseph Myers  <joseph@codesourcery.com>
8610         * sysdeps/generic/libm-alias-float.h: New file.
8611         * sysdeps/generic/math-type-macros-float.h: Include
8612         <libm-alias-float.h>.
8613         [!declare_mgen_alias] (declare_mgen_alias): Define macro.
8615 2017-09-11  H.J. Lu  <hongjiu.lu@intel.com>
8617         [BZ #22093]
8618         * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
8619         GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
8620         * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
8621         (HWCAP_IMPORTANT): Likewise.
8622         (HWCAP_X86_64): New enum.
8623         (HWCAP_X86_AVX512_1): Updated.
8624         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
8625         * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
8626         (modules-names): Add x86_64/tst-x86_64mod-1.
8627         (LDFLAGS-tst-x86_64mod-1.so): New.
8628         ($(objpfx)tst-x86_64-1): Likewise.
8629         ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
8630         (tst-x86_64-1-clean): Likewise.
8631         * sysdeps/x86_64/tst-x86_64-1.c: New file.
8632         * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
8634 2017-09-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8636         * po/sv.po: Update translations.
8637         * po/fr.po: Likewise.
8639 2017-09-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8641         * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
8642         seconds.
8643         * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
8644         seconds.
8645         * elf/rtld-Rules: Fix $(error) use.
8647 2017-09-09  Mike FABIAN  <mfabian@redhat.com>
8649         [BZ #14925]
8650         * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
8651         * locale/iso-639.def: Change “Bengali” to “Bangla”.
8652         * localedata/locales/bn_BD: “Bengali” was still used in some
8653         comments. Change it to “Bangla”.
8655 2017-09-08  Markus Trippelsdorf  <markus@trippelsdorf.de>
8657         * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
8659 2017-09-08  Steve Ellcey  <sellcey@cavium.com>
8661         * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
8662         thunderx2t99p1 to list of cpu names.
8663         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
8664         Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
8666 2017-09-08  Steve Ellcey  <sellcey@cavium.com>
8668         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
8669         Use strcmp instead of tunable_is_name.
8671 2017-09-08  Joseph Myers  <joseph@codesourcery.com>
8673         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
8674         (F_GET_RW_HINT): New macro.
8675         [__USE_GNU] (F_SET_RW_HINT): Likewise.
8676         [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
8677         [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
8678         [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
8679         [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
8680         [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
8681         [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
8682         [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
8683         [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
8685         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
8686         (F_ADD_SEALS): New macro.
8687         [__USE_GNU] (F_GET_SEALS): Likewise.
8688         [__USE_GNU] (F_SEAL_SEAL): Likewise.
8689         [__USE_GNU] (F_SEAL_SHRINK): Likewise.
8690         [__USE_GNU] (F_SEAL_GROW): Likewise.
8691         [__USE_GNU] (F_SEAL_WRITE): Likewise.
8693 2017-09-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8695         * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
8696         (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
8697         * posix/glob_internal.h (__glob_pattern_type):
8698         * posix/glob.c (glob):
8699         * posix/glob_pattern_p.c (__glob_pattern_p):
8700         Use them.
8702         * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
8703         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
8704         * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
8705         * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
8706         * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
8707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
8708         * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
8709         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
8710         * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
8711         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8712         * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
8713         * sysdeps/wordsize-64/glob.c: Likewise.
8714         * sysdeps/wordsize-64/glob64.c: Likewise.
8715         * sysdeps/wordsize-64/globfree.c: Likewise.
8716         * sysdeps/wordsize-64/globfree64.c: Likewise.
8717         * sysdeps/unix/sysv/linux/glob.c: New file.
8718         * sysdeps/unix/sysv/linux/glob64.c: Likewise.
8719         * sysdeps/unix/sysv/linux/globfree.c: Likewise.
8720         * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
8721         * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
8722         * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
8723         adds !GLOB_NO_OLD_VERSION as an extra condition.
8724         * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
8725         using relative path instead of absolute one.
8726         * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
8727         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8728         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8729         * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
8730         * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
8731         * sysdeps/unix/sysv/linux//olddirent.h: ... here.
8733         [BZ #1062]
8734         * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
8735         (glob): Use the same scratch buffer for both getlogin_r and
8736         getpwnam_r.  Don’t require preallocation of the login name.  This
8737         simplifies storage allocation, and corrects the handling of
8738         long login names.
8740         [BZ #1062]
8741         * posix/glob.c (glob): Port recent patches to platforms
8742         lacking getpwnam_r.
8743         (glob): Fix longstanding misuse of errno after getpwnam_r, which
8744         returns an error number rather than setting errno.
8746         * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
8747         instead of GCC extension.
8748         * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
8749         * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
8750         * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
8752         [BZ #866]
8753         [BZ #1062]
8754         * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
8755         * posix/bug-glob1.c: Remove file.
8756         * posix/tst-glob_symlinks.c: New file.
8757         * posix/glob.c (__lstat64): New macro.
8758         (is_dir): New function.
8759         (glob, glob_in_dir): Match symlinks even if they are dangling.
8760         (link_stat, link_exists_p): Remove.  All uses removed.
8762         [BZ #1062]
8763         [BZ #19971]
8764         * posix/glob.c (struct readdir_result): Remove skip_entry member.
8765         (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
8766         All uses removed.
8768         [BZ #1062]
8769         CVE-2017-15671
8770         * posix/Makefile (routines): Add globfree, globfree64, and
8771         glob_pattern_p.
8772         * posix/flexmember.h: New file.
8773         * posix/glob_internal.h: Likewise.
8774         * posix/glob_pattern_p.c: Likewise.
8775         * posix/globfree.c: Likewise.
8776         * posix/globfree64.c: Likewise.
8777         * sysdeps/gnu/globfree64.c: Likewise.
8778         * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
8779         * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
8780         * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
8781         * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
8782         * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
8783         * sysdeps/wordsize-64/globfree.c: Likewise.
8784         * sysdeps/wordsize-64/globfree64.c: Likewise.
8785         * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
8786         [NDEBUG): Remove comments.
8787         (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
8788         (dirent_type): New type.  Use uint_fast8_t not
8789         uint8_t, as C99 does not require uint8_t.
8790         (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
8791         (struct readdir_result): Use dirent_type.  Do not define skip_entry
8792         unless it is needed; this saves a byte on platforms lacking d_ino.
8793         (readdir_result_type, readdir_result_skip_entry):
8794         New functions, replacing ...
8795         (readdir_result_might_be_symlink, readdir_result_might_be_dir):
8796          these functions, which were removed.  This makes the callers
8797         easier to read.  All callers changed.
8798         (D_INO_TO_RESULT): Now empty if there is no d_ino.
8799         (size_add_wrapv, glob_use_alloca): New static functions.
8800         (glob, glob_in_dir): Check for size_t overflow in several places,
8801         and fix some size_t checks that were not quite right.
8802         Remove old code using SHELL since Bash no longer
8803         uses this.
8804         (glob, prefix_array): Separate MS code better.
8805         (glob_in_dir): Remove old Amiga and VMS code.
8806         (globfree, __glob_pattern_type, __glob_pattern_p): Move to
8807         separate files.
8808         (glob_in_dir): Do not rely on undefined behavior in accessing
8809         struct members beyond their bounds.  Use a flexible array member
8810         instead
8811         (link_stat): Rename from link_exists2_p and return -1/0 instead of
8812         0/1.  Caller changed.
8813         (glob): Fix memory leaks.
8814         * posix/glob64 (globfree64): Move to separate file.
8815         * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
8816         (globfree64): Remove hidden alias.
8817         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
8818         oldglob.
8819         * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
8820         separate file.
8821         * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
8822         define.
8823         Move compat code to separate file.
8824         * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
8825         separate file.
8827 2017-09-07  H.J. Lu  <hongjiu.lu@intel.com>
8829         * resolv/tst-resolv-qtypes.c (domain): Changed to
8830         "const char domain[] =".
8832 2017-09-07  Joseph Myers  <joseph@codesourcery.com>
8834         * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
8835         version to 3.1.6.
8837         * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
8838         (TCP_MD5SIG_EXT): Likewise.
8839         (TCP_MD5SIG_FLAG_PREFIX): Likewise.
8840         (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
8841         tcpm_prefixlen.  Rename __tcpm_pad2 to __tcpm_pad.
8843         * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
8845 2017-09-07  Mike FABIAN  <mfabian@redhat.com>
8847         * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
8849 2017-09-07  Akhilesh Kumar  <akhilesh.k@samsung.com>
8851         [BZ #22100]
8852         * localedata/locales/om_KE (LC_TIME): copy "om_ET".
8854 2017-09-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8856         * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
8857         before assuming that the file is empty.  Avoid testing buffer content
8858         when nread == 0.
8860 2017-09-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8862         [BZ #18858]
8863         * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
8864         Remove define.
8865         * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
8866         Likewise.
8867         * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
8868         Likewise.
8869         * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
8870         Likewise.
8871         * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
8872         Likewise.
8873         * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
8874         Likewise.
8875         * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
8876         Likewise.
8878 2017-09-06  Florian Weimer  <fweimer@redhat.com>
8880         * malloc/dynarray_emplace_enlarge.c
8881         (__libc_dynarray_emplace_enlarge): Add missing else.
8883 2017-09-06  Florian Weimer  <fweimer@redhat.com>
8885         [BZ #22096]
8886         * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
8887         case of failure to obtain the global conf object.
8889 2017-09-06  Florian Weimer  <fweimer@redhat.com>
8891         [BZ #22095]
8892         * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
8893         dynarray allocation failure.
8895 2017-09-06  Florian Weimer  <fweimer@redhat.com>
8897         Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
8898         * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
8899         * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
8900         New functions.
8901         (response): Call them.  Add 'p', '6' flag processing.
8902         (test_reverse): New function.
8903         (test_get2_any): Call it.
8904         (test_no_inet6): Add 'p' test.
8905         (test_inet6): Likewise.
8907 2017-09-06  Florian Weimer  <fweimer@redhat.com>
8909         Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
8910         * resolv/tst-res_use_inet6.c (response): Process flags embedded in
8911         the QNAME.
8912         (test_gai): Adjust query names.  Add additional tests.
8913         (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
8914         test_get2.  Adjust query names.  Add additional tests.
8915         (test_no_inet6): New function, extracted from threadfunc.
8916         (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
8917         Add additional tests.
8919 2017-09-06  Mike FABIAN  <mfabian@redhat.com>
8921         [BZ #22070]
8922         * localedata/unicode-gen/utf8_gen.py: Set the width for
8923         characters with Prepended_Concatenation_Mark property to 1
8924         * localedata/charmaps/UTF-8: Updated using the improved script.
8926 2017-09-06  Mike FABIAN  <mfabian@redhat.com>
8928         [BZ #21750]
8929         * localedata/unicode-gen/utf8_gen.py: Improve the script to
8930         use the range notation for all ranges of neighbouring characters
8931         with the same width.
8933 2017-09-05  Joseph Myers  <joseph@codesourcery.com>
8935         * sysdeps/generic/math-type-macros-double.h: Include
8936         <math-svid-compat.h>.
8937         (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
8938         * sysdeps/generic/math-type-macros-float.h: Include
8939         <math-svid-compat.h>.
8940         (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
8941         * sysdeps/generic/math-type-macros-ldouble.h: Include
8942         <math-svid-compat.h>.
8943         (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
8944         * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
8945         condition.
8946         * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
8947         * math/w_acosf_compat.c: Likewise.
8948         * math/w_acosh_compat.c: Likewise.
8949         * math/w_acoshf_compat.c: Likewise.
8950         * math/w_acoshl_compat.c: Likewise.
8951         * math/w_acosl_compat.c: Likewise.
8952         * math/w_asin_compat.c: Likewise.
8953         * math/w_asinf_compat.c: Likewise.
8954         * math/w_asinl_compat.c: Likewise.
8955         * math/w_atan2_compat.c: Likewise.
8956         * math/w_atan2f_compat.c: Likewise.
8957         * math/w_atan2l_compat.c: Likewise.
8958         * math/w_atanh_compat.c: Likewise.
8959         * math/w_atanhf_compat.c: Likewise.
8960         * math/w_atanhl_compat.c: Likewise.
8961         * math/w_cosh_compat.c: Likewise.
8962         * math/w_coshf_compat.c: Likewise.
8963         * math/w_coshl_compat.c: Likewise.
8964         * math/w_exp10_compat.c: Likewise.
8965         * math/w_exp10f_compat.c: Likewise.
8966         * math/w_exp10l_compat.c: Likewise.
8967         * math/w_exp2_compat.c: Likewise.
8968         * math/w_exp2f_compat.c: Likewise.
8969         * math/w_exp2l_compat.c: Likewise.
8970         * math/w_fmod_compat.c: Likewise.
8971         * math/w_fmodf_compat.c: Likewise.
8972         * math/w_fmodl_compat.c: Likewise.
8973         * math/w_hypot_compat.c: Likewise.
8974         * math/w_hypotf_compat.c: Likewise.
8975         * math/w_hypotl_compat.c: Likewise.
8976         * math/w_j0_compat.c: Likewise.
8977         * math/w_j0f_compat.c: Likewise.
8978         * math/w_j0l_compat.c: Likewise.
8979         * math/w_j1_compat.c: Likewise.
8980         * math/w_j1f_compat.c: Likewise.
8981         * math/w_j1l_compat.c: Likewise.
8982         * math/w_jn_compat.c: Likewise.
8983         * math/w_jnf_compat.c: Likewise.
8984         * math/w_jnl_compat.c: Likewise.
8985         * math/w_lgamma_r_compat.c: Likewise.
8986         * math/w_lgammaf_r_compat.c: Likewise.
8987         * math/w_lgammal_r_compat.c: Likewise.
8988         * math/w_log10_compat.c: Likewise.
8989         * math/w_log10f_compat.c: Likewise.
8990         * math/w_log10l_compat.c: Likewise.
8991         * math/w_log2_compat.c: Likewise.
8992         * math/w_log2f_compat.c: Likewise.
8993         * math/w_log2l_compat.c: Likewise.
8994         * math/w_log_compat.c: Likewise.
8995         * math/w_logf_compat.c: Likewise.
8996         * math/w_logl_compat.c: Likewise.
8997         * math/w_pow_compat.c: Likewise.
8998         * math/w_powf_compat.c: Likewise.
8999         * math/w_powl_compat.c: Likewise.
9000         * math/w_remainder_compat.c: Likewise.
9001         * math/w_remainderf_compat.c: Likewise.
9002         * math/w_remainderl_compat.c: Likewise.
9003         * math/w_sinh_compat.c: Likewise.
9004         * math/w_sinhf_compat.c: Likewise.
9005         * math/w_sinhl_compat.c: Likewise.
9006         * math/w_sqrt_compat.c: Likewise.
9007         * math/w_sqrtf_compat.c: Likewise.
9008         * math/w_sqrtl_compat.c: Likewise.
9009         * math/w_tgamma_compat.c: Likewise.
9010         * math/w_tgammaf_compat.c: Likewise.
9011         * math/w_tgammal_compat.c: Likewise.
9012         * math/w_scalb_compat.c (sysv_scalb): Condition definition on
9013         [LIBM_SVID_COMPAT].
9014         (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
9015         * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
9016         [LIBM_SVID_COMPAT].
9017         (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
9018         * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
9019         [LIBM_SVID_COMPAT].
9020         (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
9021         * sysdeps/i386/fpu/w_sqrt.c: New file.
9022         * sysdeps/ia64/fpu/w_acos.c: Likewise.
9023         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
9024         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
9025         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
9026         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
9027         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
9028         * sysdeps/ia64/fpu/w_asin.c: Likewise.
9029         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
9030         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
9031         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
9032         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
9033         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
9034         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
9035         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
9036         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
9037         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
9038         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
9039         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
9040         * sysdeps/ia64/fpu/w_exp.c: Likewise.
9041         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
9042         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
9043         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
9044         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
9045         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
9046         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
9047         * sysdeps/ia64/fpu/w_expf.c: Likewise.
9048         * sysdeps/ia64/fpu/w_expl.c: Likewise.
9049         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
9050         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
9051         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
9052         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
9053         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
9054         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
9055         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
9056         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
9057         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
9058         * sysdeps/ia64/fpu/w_log.c: Likewise.
9059         * sysdeps/ia64/fpu/w_log10.c: Likewise.
9060         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
9061         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
9062         * sysdeps/ia64/fpu/w_log2.c: Likewise.
9063         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
9064         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
9065         * sysdeps/ia64/fpu/w_logf.c: Likewise.
9066         * sysdeps/ia64/fpu/w_logl.c: Likewise.
9067         * sysdeps/ia64/fpu/w_pow.c: Likewise.
9068         * sysdeps/ia64/fpu/w_powf.c: Likewise.
9069         * sysdeps/ia64/fpu/w_powl.c: Likewise.
9070         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
9071         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
9072         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
9073         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
9074         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
9075         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
9076         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
9077         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
9078         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
9079         * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
9080         * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
9081         * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
9082         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
9083         [LIBM_SVID_COMPAT].
9084         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
9085         * sysdeps/ieee754/k_standard.c: Likewise.
9086         * sysdeps/ieee754/k_standardf.c: Likewise.
9087         * sysdeps/ieee754/k_standardl.c: Likewise.
9088         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
9089         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
9090         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
9091         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
9092         long_double_symbol call on [LIBM_SVID_COMPAT].
9093         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
9094         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
9095         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
9096         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
9097         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
9098         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
9099         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
9100         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
9101         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
9102         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
9103         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
9104         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
9105         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
9106         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
9107         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
9108         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
9109         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
9110         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
9111         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
9112         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
9113         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
9114         long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
9116 2017-09-05  Steve Ellcey  <sellcey@cavium.com>
9118         * include/shlib-compat.h (TEST_COMPAT): New Macro.
9119         * malloc/tst-mallocstate.c: Convert from test-skeleton
9120         to test-driver.  Ifdef code using TEST_COMPAT macro.
9121         * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
9122         * math/test-matherr.c: Likewise.
9124 2017-09-05  Joseph Myers  <joseph@codesourcery.com>
9126         [BZ #22086]
9127         * debug/pcprofiledump.c (main): Use byte-swapped mask when
9128         comparing word with byte-swapped constant.
9130 2017-09-05  Chris Leonard  <cjlhomeaddress@gmail.com>
9132         [BZ #20498]
9133         * locale/iso-639.def: add Miskito.
9134         * localedata/SUPPORTED: Add miq_NI/UTF-8.
9135         * localedata/locales/miq_NI: New file.
9137 2017-09-04  H.J. Lu  <hongjiu.lu@intel.com>
9139         [BZ #18822]
9140         * include/sys/stat.h (__chmod): Add libc_hidden_proto.
9141         (__mkdir): Likewise.
9142         * io/chmod.c (__chmod): Add libc_hidden_def.
9143         * io/mkdir.c (__mkdir): Likewise.
9144         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
9145         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
9146         * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
9147         * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
9149 2017-09-04  Joseph Myers  <joseph@codesourcery.com>
9151         * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9152         version to 4.13.
9154         [BZ #22082]
9155         * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
9156         (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
9158 2017-09-04  Florian Weimer  <fweimer@redhat.com>
9160         * math/math.h: Issue warning if log is defined.
9162 2017-09-04  Joseph Myers  <joseph@codesourcery.com>
9164         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9165         kernel version to 4.13.
9167 2017-09-03  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9169         * sysdeps/generic/sigsetops.h: Remove spurious #endif.
9170         (__sigismember, __sigaddset, __sigdelset): Fix referencing set
9171         parameter.
9172         * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
9173         just <bits/types.h>.
9174         * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
9175         * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
9176         * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
9177         * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
9178         * misc/preadv2.c: Include <errno.h>.
9179         * misc/preadv64v2.c: Include <errno.h>.
9180         * misc/pwritev2.c: Include <errno.h>.
9181         * misc/pwritev64v2.c: Include <errno.h>.
9182         * sysdeps/posix/preadv2.c: Include <errno.h>.
9183         * sysdeps/posix/preadv64v2.c: Include <errno.h>.
9184         Fix <unistd.h> inclusion.
9185         * sysdeps/posix/pwritev2.c: Include <errno.h>.
9186         * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
9187         * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
9188         __strtoul_internal): New functions.
9189         * sysdeps/posix/pause.c: Include <sigsetops.h>.
9190         * sysdeps/posix/system.c: Include <sigsetops.h>.
9191         * sysdeps/mach/hurd/i386/Makefile
9192         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
9193         [$(subdir) = csu] (sysdep-only-routines): Likewise.
9194         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
9195         * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
9196         __feraiseexcept_renamed to feraiseexcept instead of
9197         __GI_feraiseexcept.
9198         * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
9199         * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
9200         * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
9201         RWF_NOWAIT): Define to 0 if undefined already.
9202         (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
9203         boils down to 0.
9204         * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
9205         [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
9207 2017-09-01  Joseph Myers  <joseph@codesourcery.com>
9209         * manual/math.texi (pow10): Do not document.
9210         (pow10f): Likewise.
9211         (pow10l): Likewise.
9212         * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
9213         * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
9214         * math/libm-test-exp10.inc (pow10_test): Remove.
9215         (do_test): Do not call pow10.
9216         * math/w_exp10_compat.c (pow10): Make into compat symbol.
9217         [NO_LONG_DOUBLE] (pow10l): Likewise.
9218         * math/w_exp10f_compat.c (pow10f): Likewise.
9219         * math/w_exp10l_compat.c (pow10l): Likewise.
9220         * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
9221         (pow10): Make into compat symbol.
9222         * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
9223         (pow10f): Make into compat symbol.
9224         * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
9225         (pow10l): Make into compat symbol.
9226         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
9227         pow10.
9228         (CFLAGS-nldbl-pow10.c): Remove variable..
9229         * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
9230         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
9231         [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
9232         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
9233         Undefine and redefine.
9234         (pow10l): Make into compat symbol.
9235         * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
9236         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9237         * sysdeps/arm/libm-test-ulps: Likewise.
9238         * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
9239         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9240         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
9241         * sysdeps/microblaze/libm-test-ulps: Likewise.
9242         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9243         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9244         * sysdeps/nios2/libm-test-ulps: Likewise.
9245         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9246         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9247         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9248         * sysdeps/sh/libm-test-ulps: Likewise.
9249         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9250         * sysdeps/tile/libm-test-ulps: Likewise.
9251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9253 2017-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
9255         * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
9257 2017-09-01  H.J. Lu  <hongjiu.lu@intel.com>
9259         * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
9260         "../ChangeLog.old/ChangeLog.8".
9261         * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
9262         "../ChangeLog.old/ChangeLog.14".
9264 2017-09-01  H.J. Lu  <hongjiu.lu@intel.com>
9266         * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
9267         Threads Library.
9269 2017-09-01  Joseph Myers  <joseph@codesourcery.com>
9271         * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
9273 2017-09-01  H.J. Lu  <hongjiu.lu@intel.com>
9275         * csu/version.c (banner): Remove "by Roland McGrath et al.".
9276         * nptl/Banner: Remove "by Ulrich Drepper et al.".
9278 2017-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
9280         * stdlib/tst-atexit-common.c (do_test): Test support for at least
9281         32 atexit handlers.
9283 2017-09-01  Zack Weinberg  <zackw@panix.com>
9285         * math/math.h (HUGE_VAL): Improve commentary.
9287 2017-09-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9288             Andreas Schwab  <schwab@suse.de>
9290         [BZ #21530]
9291         * include/stdio.h (__gen_tempfd): New function.
9292         * stdio-common/Makefile (routines): Add gentempfd.
9293         * stdio-common/gentempfd.c: New file.
9294         * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
9295         * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
9296         unnamed file first.
9298 2017-09-01  Florian Weimer  <fweimer@redhat.com>
9300         [BZ #21915]
9301         [BZ #21922]
9302         * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
9303         result to determine success or failure, not the errno value.
9304         * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
9305         (tst-nss-files-hosts-erange): Link with -ldl.
9306         * nss/tst-nss-files-hosts-erange.c: New file.
9307         * nss/tst-resolv-basic.c (response): Handle nodata.example.
9308         (do_test): Add NO_DATA tests.
9309         * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
9310         (do_test): Call it.
9312 2017-09-01  Florian Weimer  <fweimer@redhat.com>
9314         [BZ #21922]
9315         * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
9316         coming from gethostbyname2_r.
9318 2017-09-01  Florian Weimer  <fweimer@redhat.com>
9320         * support/namespace.h (struct support_chroot_configuration): Add
9321         hosts, host_conf.
9322         (struct support_chroot): Add path_hosts, path_host_conf.
9323         * support/support_chroot.c (write_file): New function.
9324         (support_chroot_create): Call it to process /etc/resolv.conf,
9325         /etc/hosts, /etc/host.conf.
9326         (support_chroot_free): Update.
9328 2017-09-01  Florian Weimer  <fweimer@redhat.com>
9330         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
9331         status indicates it is set.
9333 2017-09-01  Florian Weimer  <fweimer@redhat.com>
9335         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
9336         function lookup failures more reliable.
9338 2017-09-01  Florian Weimer  <fweimer@redhat.com>
9340         * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
9341         (getcanonname): Likewise.
9342         (gaih_inet): Likewise.
9344 2017-09-01  Florian Weimer  <fweimer@redhat.com>
9346         * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
9347         (getcanonname): Likewise.
9348         (gaih_inet): Likewise.
9350 2017-08-31  Steve Ellcey  <sellcey@cavium.com>
9351             Richard Henderson <rth@twiddle.net>
9353         * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
9354         * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
9355         * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
9356         (IREG_SIZE, OREG_SIZE): New macros.
9357         * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
9358         (IREG_SIZE, OREG_SIZE): New macros.
9359         * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
9360         (IREG_SIZE): New macro.
9361         * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
9362         (IREG_SIZE): New macro.
9363         * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
9364         New includes.
9365         (IREG_SIZE, OREG_SIZE): Initialize if not already set.
9366         (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
9367         (__CONCATX): Handle exceptions correctly on large values that may
9368         set FE_INVALID.
9369         * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
9370         Initialize if not already set.
9371         (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
9373 2017-08-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9375         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
9376         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
9377         Likewise.
9378         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
9379         Likewise.
9380         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
9381         Likewise.
9382         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
9383         Likewise.
9384         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
9385         Likewise.
9386         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
9387         Likewise.
9388         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
9389         Likewise.
9390         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
9391         (NO_CANCELLATION): Likewise.
9392         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
9393         Likewise.
9394         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
9395         Likewise.
9396         * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
9397         Likewise.
9398         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
9399         (NO_CANCELLATION): Likewise.
9400         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
9401         (NO_CANCELLATION): Likewise.
9402         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
9403         Likewise
9404         * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
9405         Likewise.
9406         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
9407         Likewise.
9408         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
9409         Likewise.
9410         * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
9411         hidden prototype.
9412         * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
9413         for !IS_IN (rtld) and remove NO_CANCELLATION usage.
9415 2017-08-31  Steve Ellcey  <sellcey@cavium.com>
9417         * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
9418         in resolver call.
9420 2017-08-31  Florian Weimer  <fweimer@redhat.com>
9422         * include/libc-symbols.h (internal_function): Remove.
9424 2017-08-31  Florian Weimer  <fweimer@redhat.com>
9426         * stdlib/fmtmsg.c (internal_addseverity): Remove
9427         internal_function.
9429 2017-08-31  Florian Weimer  <fweimer@redhat.com>
9431         * stdio-common/printf_fp.c (group_number): Remove
9432         internal_function.
9433         * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
9435 2017-08-31  Florian Weimer  <fweimer@redhat.com>
9437         * posix/fnmatch.c (internal_function): Remove definition.
9438         * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
9439         * posix/regcomp.c (peek_token, init_word_char)
9440         (duplicate_node_closure, fetch_token, peek_token)
9441         (peek_token_bracket, build_range_exp, build_collating_symbol):
9442         Likewise.
9443         * posix/regex_internal.c (re_string_construct_common)
9444         (create_ci_newstate, create_cd_newstate, re_string_allocate)
9445         (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
9446         (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
9447         (re_string_translate_buffer, re_string_reconstruct)
9448         (re_string_peek_byte_case, re_string_fetch_byte_case)
9449         (re_string_destruct, re_string_context_at, re_node_set_alloc)
9450         (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
9451         (re_node_set_add_intersect, re_node_set_init_union)
9452         (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
9453         (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
9454         (re_dfa_add_node, calc_state_hash, re_acquire_state)
9455         (re_acquire_state_context): Likewise.
9456         * posix/regex_internal.h (internal_function): Remove definition.
9457         (re_string_realloc_buffers, build_wcs_buffer)
9458         (build_wcs_upper_buffer, build_upper_buffer)
9459         (re_string_translate_buffer, re_string_context_at)
9460         (re_string_char_size_at, re_string_wchar_at)
9461         (re_string_elem_size_at): Likewise.
9462         * posix/regexec.c (match_ctx_init, match_ctx_clean)
9463         (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
9464         (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
9465         (re_search_internal, re_search_2_stub, re_search_stub)
9466         (re_copy_regs, prune_impossible_nodes, check_matching)
9467         (check_halt_state_context, update_regs, push_fail_stack, set_regs)
9468         (free_fail_stack_return, sift_states_iter_mb)
9469         (sift_states_backward, build_sifted_states)
9470         (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
9471         (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
9472         (check_subexp_limits, sift_states_bkref, merge_state_array)
9473         (find_recover_state, transit_state, merge_state_with_log)
9474         (check_subexp_matching_top, transit_state_sb, transit_state_sb)
9475         (transit_state_mb, transit_state_bkref, get_subexp)
9476         (get_subexp_sub, find_subexp_node, check_arrival)
9477         (check_arrival_add_next_nodes, check_arrival_expand_ecl)
9478         (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
9479         (check_node_accept_bytes, find_collation_sequence_value)
9480         (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
9481         (acquire_init_state_context, check_halt_node_context)
9482         (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
9483         (sub_epsilon_src_nodes): Likewise.
9484         * posix/spawn_int.h (__spawn_valid_fd): Likewise.
9485         * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
9486         * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
9487         (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
9488         (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
9489         (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
9490         (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
9491         * sysdeps/posix/ttyname.c (getttyname): Likewise.
9492         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
9493         * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
9494         (PREADV): Likewise.
9495         * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
9496         (PREADV): Likewise.
9497         * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
9498         (PWRITEV): Likewise.
9499         * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
9500         (PWRITEV): Likewise.
9501         * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
9502         * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
9504 2017-08-31  Florian Weimer  <fweimer@redhat.com>
9506         * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
9507         (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
9508         Remove internal_function.
9509         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
9510         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
9511         * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
9512         (__deallocate_stack, __libc_pthread_init)
9513         (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
9514         (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
9515         (__libc_disable_asynccancel, __librt_disable_asynccancel):
9516         Likewise.
9517         * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
9518         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
9519         * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
9520         Likewise.
9521         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
9522         (__pthread_mutex_unlock_usercnt): Likewise.
9524 2017-08-31  Florian Weimer  <fweimer@redhat.com>
9526         * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
9527         (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
9528         (fts_safe_changedir): Remove internal_function.
9529         * io/ftw.c (internal_function): Remove definition.
9530         (ftw_dir, process_entry, ftw_startup): Remove internal_function.
9532 2017-08-31  Florian Weimer  <fweimer@redhat.com>
9534         * inet/deadline.c (__deadline_current_time)
9535         (__deadline_from_timeval, __deadline_to_ms): Remove
9536         internal_function.
9537         * inet/getnameinfo.c (nrl_domainname): Likewise.
9538         * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
9539         * inet/inet6_option.c (add_pad): Likewise.
9540         * inet/net-internal.h (__deadline_current_time)
9541         (__deadline_from_timeval, __deadline_to_ms): Likewise.
9542         * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
9543         * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
9544         * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
9546 2017-08-31  Joseph Myers  <joseph@codesourcery.com>
9548         *  math/math.h [__USE_ISOC99] (NAN): Define directly here.  Do not
9549         include <bits/nan.h>.
9550         * math/Makefile (headers): Remove bits/nan.h.
9551         * bits/nan.h: Remove.
9552         * sysdeps/ieee754/bits/nan.h: Likewise.
9553         * sysdeps/mips/bits/nan.h: Likewise.
9555         * math/math.h [__USE_ISOC99] (INFINITY): Define directly here.  Do
9556         not include <bits/inf.h>.
9557         * math/Makefile (headers): Remove bits/inf.h.
9558         * bits/inf.h: Remove.
9559         * sysdeps/ieee754/bits/inf.h: Likewise.
9561         * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
9562         bits/huge_vall.h or bits/huge_val_flt128.h.
9563         (HUGE_VAL): Define directly here.
9564         [__USE_ISOC99] (HUGE_VALF): Likewise.
9565         [__USE_ISOC99] (HUGE_VALL): Likewise.
9566         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9567         (HUGE_VAL_F128): Likewise.
9568         * math/Makefile (headers): Remove bits/huge_val.h,
9569         bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
9570         * bits/huge_val.h: Remove.
9571         * bits/huge_val_flt128.h: Likewise.
9572         * bits/huge_valf.h: Likewise.
9573         * bits/huge_vall.h: Likewise.
9574         * sysdeps/ia64/bits/huge_vall.h: Likewise.
9575         * sysdeps/ieee754/bits/huge_val.h: Likewise.
9576         * sysdeps/ieee754/bits/huge_valf.h: Likewise.
9577         * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
9578         * sysdeps/sh/bits/huge_val.h: Likewise.
9579         * sysdeps/sparc/bits/huge_vall.h: Likewise.
9580         * sysdeps/x86/bits/huge_vall.h: Likewise.
9582 2017-08-31  Florian Weimer  <fweimer@redhat.com>
9584         * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
9585         internal_function.
9586         * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
9587         Likewise.
9588         * elf/dl-debug.c (_dl_debug_initialize): Likewise.
9589         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9590         * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
9591         * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
9592         * elf/dl-fini.c (_dl_sort_fini): Likewise.
9593         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9594         * elf/dl-libc.c (dlerror_run): Likewise.
9595         * elf/dl-load.c (add_name_to_object, decompose_rpath)
9596         (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
9597         * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
9598         (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
9599         Likewise.
9600         * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
9601         (_dl_higher_prime_number, _dl_strtoul): Likewise.
9602         * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
9603         * elf/dl-profile.c (_dl_start_profile): Likewise.
9604         * elf/dl-reloc.c (_dl_try_allocate_static_tls)
9605         (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
9606         Likewise.
9607         * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
9608         * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
9609         * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
9610         * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
9611         (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
9612         (_dl_allocate_tls_storage): Likewise.
9613         * elf/dl-version.c (match_symbol, _dl_check_map_versions)
9614         (_dl_check_all_versions): Likewise.
9615         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
9616         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
9617         * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
9618         * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
9619         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
9620         * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
9621         * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
9622         internal_function from __dl_start.
9623         * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
9624         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
9625         * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
9626         (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
9627         (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
9628         (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
9629         (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
9630         (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
9631         (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
9632         (_dl_next_ld_env_entry, _dl_important_hwcaps)
9633         (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
9634         (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
9635         (_dl_determine_tlsoffset, _dl_get_tls_static_info)
9636         (_dl_allocate_static_tls, _dl_allocate_tls_storage)
9637         (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
9638         Likewise.
9639         (struct rtld_global_ro): Remove internal_function from the
9640         _dl_lookup_symbol_x member.
9641         (_dl_symbol_value): Remove.  No longer defined anywhere.
9642         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
9643         internal_function.
9644         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
9645         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
9646         * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
9647         * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
9648         * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
9649         * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
9650         * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
9651         * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
9652         * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
9653         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
9654         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
9655         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
9657 2017-08-31  Florian Weimer  <fweimer@redhat.com>
9659         * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
9660         Remove internal_function.
9661         * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
9662         Likewise.
9663         * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
9664         Likewise.
9666 2017-08-31  Florian Weimer  <fweimer@redhat.com>
9668         * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
9669         * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
9670         * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
9672 2017-08-31  Florian Weimer  <fweimer@redhat.com>
9674         * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
9675         (__gai_enqueue_request): Remove internal_function.
9676         * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
9677         (__gai_remove_request, __gai_notify, __gai_notify_only)
9678         (__gai_sigqueue): Likewise.
9679         * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
9680         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
9681         * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
9682         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9683         Likewise.
9685 2017-08-31  Florian Weimer  <fweimer@redhat.com>
9687         * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
9688         * include/dirent.h (__opendirat, __getdents, __getdents64)
9689         (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
9690         * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
9691         * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
9692         * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
9693         Likewise.
9694         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
9696 2017-08-31  Florian Weimer  <fweimer@redhat.com>
9698         * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
9699         internal_function.
9700         (GETCWD_RETURN_TYPE): Likewise.
9702 2017-08-31  Florian Weimer  <fweimer@redhat.com>
9704         * include/time.h (__tz_compute, __strptime_internal): Remove
9705         internal_function.
9706         * time/strptime_l.c (__strptime_internal): Likewise.
9707         * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
9709 2017-08-31  Florian Weimer  <fweimer@redhat.com>
9711         * iconv/gconv.c (__gconv): Remove internal_function.
9712         * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
9713         * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
9714         (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
9715         (__gconv_release_cache): Likewise.
9716         * iconv/gconv_close.c (__gconv_close): Likewise.
9717         * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
9718         (read_conf_file, __gconv_get_path): Likewise.
9719         * iconv/gconv_db.c (derivation_lookup, add_derivation)
9720         (__gconv_release_step, gen_steps, increment_counter)
9721         (find_derivation, __gconv_compare_alias, __gconv_find_transform)
9722         (__gconv_close_transform, free_modules_db): Likewise.
9723         * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
9724         Likewise.
9725         * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
9726         (__gconv_find_transform, __gconv_lookup_cache)
9727         (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
9728         (__gconv_close_transform, __gconv_release_cache)
9729         (__gconv_loaded_object, __gconv_release_shlib)
9730         (__gconv_compare_alias): Likewise.
9731         * iconv/gconv_open.c (__gconv_open): Likewise.
9732         * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
9733         * iconv/iconvconfig.c (add_module): Likewise.
9734         * intl/dcigettext.c (plural_lookup, guess_category_value)
9735         (category_to_name, get_output_charset, _nl_find_msg): Likewise.
9736         * intl/eval-plural.h (plural_eval): Likewise.
9737         * intl/finddomain.c (_nl_find_domain): Likewise.
9738         * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
9739         (_nl_load_domain, _nl_find_msg): Likewise.
9740         (internal_function): Remove definition.
9741         * intl/loadinfo.h (internal_function): Likewise.
9742         * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
9743         internal_function.
9744         * intl/localealias.c (internal_function): Remove definition.
9745         (read_alias_file): Remove internal_function.
9746         * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
9747         * intl/plural-exp.h (internal_function): Remove definition.
9748         (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
9749         internal_function.
9750         * intl/plural.c: Regenerate.
9751         * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
9752         * locale/coll-lookup.c (__collidx_table_lookup)
9753         (__collseq_table_lookup): Likewise.
9754         * locale/coll-lookup.h (__collidx_table_lookup)
9755         (__collseq_table_lookup): Likewise.
9756         * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
9757         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9758         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
9759         (_nl_unload_locale): Likewise.
9760         * locale/localeinfo.h (struct __locale_data): Remove
9761         internal_function from cleanup member.
9762         (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
9763         (_nl_remove_locale, _nl_load_locale_from_archive)
9764         (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
9765         (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
9766         (_nl_cleanup_time): Remove internal_function.
9767         * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
9768         (_nl_parse_alt_digit): Likewise.
9769         * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
9770         (_nl_select_era_entry): Likewise.
9771         * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
9772         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
9773         (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
9774         * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
9775         (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
9777 2017-08-31  Florian Weimer  <fweimer@redhat.com>
9779         * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
9780         * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
9781         * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
9782         (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
9783         Likewise.
9784         * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
9785         (__aio_find_req, __aio_find_req_fd, __aio_free_request)
9786         (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
9787         * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
9788         Likewise.
9789         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
9791 2017-08-31  Florian Weimer  <fweimer@redhat.com>
9793         * misc/getttyent.c (skip, value): Remove internal_function.
9794         * misc/syslog.c (openlog_internal): Likewise.
9795         * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
9797 2017-08-31  Florian Weimer  <fweimer@redhat.com>
9799         * include/nss.h (__nss_valid_field, __nss_valid_list_field)
9800         (__nss_rewrite_field): Remove internal_function.
9801         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9802         * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
9803         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9804         * nss/nsswitch.c (nss_parse_file, nss_getline)
9805         (nss_parse_service_list, nss_new_service): Likewise.
9806         * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
9807         * nss/valid_field.c (__nss_valid_field): Likewise.
9808         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
9810 2017-08-31  Florian Weimer  <fweimer@redhat.com>
9812         * malloc/arena.c (__malloc_fork_lock_parent)
9813         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
9814         (next_env_entry, new_heap, heap_trim, arena_get2): Remove
9815         internal_function from defintions.
9816         * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
9817         * malloc/malloc-internal.h (__malloc_fork_lock_parent)
9818         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
9819         internal_function from declarations.
9820         * malloc/malloc.c (internal_function): Do not define.
9821         (mem2mem_check): Remove internal_function from declaration.
9822         (munmap_chunk, mremap_chunk): Remove internal_function.
9823         * malloc/mtrace.c (tr_where): Likewise.
9825 2017-08-31  Florian Weimer  <fweimer@redhat.com>
9827         * include/rpc/pmap_clnt.h (__get_socket): Remove
9828         internal_function.
9829         * sunrpc/auth_des.c (synchronize): Likewise.
9830         * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
9831         * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
9832         * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
9833         * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
9834         (key_call): Likewise.
9835         * sunrpc/pm_getport.c (__get_socket): Likewise.
9836         * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
9837         * sunrpc/svc_unix.c (makefd_xprt): Likewise.
9838         * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
9839         * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
9840         (invalidate): Likewise.
9841         * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
9842         * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
9843         (set_input_fragment, get_input_bytes): Likewise.
9845 2017-08-31  Florian Weimer  <fweimer@redhat.com>
9847         * malloc/malloc.c (_int_free): Remove locked variable and related
9848         asserts.
9850 2017-08-31  H.J. Lu  <hongjiu.lu@intel.com>
9852         [BZ #22051]
9853         * Makerules (build-module-helper-objlist): Filter out
9854         $(elf-objpfx)sofini.os.
9855         (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
9856         needed.
9858 2017-08-31  Florian Weimer  <fweimer@redhat.com>
9860         * libio/fcloseall.c: Assume weak_alias is defined.
9861         * libio/feof.c: Likewise.
9862         * libio/fileno.c: Likewise.
9863         * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
9864         (_POSIX_SOURCE, open, lseek, read, write): Remove macro
9865         definitions.
9866         (_IO_file_open): Call __open directly.
9867         (_IO_new_file_sync): Assume ESPIPE is defined.
9868         (_IO_file_seekoff_maybe_mmap): Call __read directly.
9869         (_IO_new_file_write): Call __write directly.
9870         * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
9871         * libio/ftello64.c (__ftello64): Assume EIO is defined.
9872         * libio/genops.c: Assume _LIBC is defined.
9873         (save_for_backup): Remove internal_function.
9874         * libio/getc.c: Assume weak_alias is defined.
9875         * libio/getwc.c: Likewise.
9876         * libio/iofclose.c: Assume _LIBC is defined.
9877         * libio/iofdopen.c: Likewise.
9878         (_IO_fcntl): Remove macro definition.
9879         (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
9880         Call __fcntl directly.
9881         * libio/iofflush.c: Assume weak_alias is defined.
9882         * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
9883         defined.
9884         * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
9885         * libio/iofgets.c: Likewise.
9886         * libio/iofopen.c: Assume _LIBC is defined.
9887         * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
9888         * libio/iofputs.c: Assume weak_alias is defined.
9889         * libio/iofread.c: Likewise.
9890         * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
9891         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
9892         * libio/ioftell.c: Assume weak_alias is defined.
9893         (_IO_ftell): Assume EIO, EOVERFLOW are defined.
9894         * libio/iofwide.c: Assume _LIBC is defined.
9895         (_IO_fwide): Drop SHARED conditional because it is implied by
9896         SHLIB_COMPAT.
9897         * libio/iofwrite.c: Assume weak_alias is defined.
9898         * libio/iogetdelim.c: Likewise.
9899         * libio/iogets.c: Assume _LIBC, weak_alias are defined.
9900         * libio/iogetwline.c (wmemcpy): Remove macro definition.
9901         (_IO_getwline): Call __wmemcpy directly.
9902         * libio/iopopen.c: Assume _LIBC is defined.
9903         (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
9904         (_IO_close): Remove macro definitions.
9905         (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
9906         _exit directly.
9907         (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
9908         directly.
9909         * libio/ioputs.c: Assume weak_alias is defined.
9910         * libio/ioseekoff.c: Assume errno, __set_errno are defined.
9911         * libio/iosetbuffer.c: Assume weak_alias is defined.
9912         * libio/iosetvbuf.c: Likewise.
9913         * libio/ioungetc.c: Likewise.
9914         * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
9915         libc_hidden_def, libc_hidden_weak, NULL are defined.
9916         (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
9917         * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
9918         defined.
9919         (_POSIX_SOURCE, open, lseek, read, write): Remove macro
9920         definitions.
9921         (_IO_old_file_init_internal): Drop SHARED conditional because it
9922         is implied by SHLIB_COMPAT.
9923         (_IO_old_file_fopen): Call __open directly.
9924         (_IO_old_file_sync): Assume ESPIPE is defined.
9925         (_IO_old_file_write): Call __write directly.
9926         * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
9927         (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
9928         Call __fcntl directly.
9929         * libio/oldiofgetpos.c: Assume weak_alias is defined.
9930         (_IO_old_fgetpos): Assume EIO is defined.
9931         * libio/oldiofgetpos64.c: Assume weak_alias is defined.
9932         (_IO_old_fgetpos64): Assume EIO is defined.
9933         * libio/oldiofsetpos.c: Assume weak_alias is defined.
9934         (_IO_old_fsetpos): Assume EIO is defined.
9935         * libio/oldiofsetpos64.c: Assume weak_alias is defined.
9936         (_IO_old_fsetpos64): Assume EIO is defined.
9937         * libio/oldiopopen.c:  Assume _LIBC is defined.
9938         (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
9939         (_IO_close): Remove macro definitions.
9940         (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
9941         directly.
9942         (_IO_old_proc_close): Call __close, __waitpid directly.
9943         * libio/put.c: Assume weak_alias is defined.
9944         * libio/stdfiles.c: Assume _LIBC is defined.
9945         * libio/stdio.c: Likewise.
9946         * libio/wfileops.c: Likewise.
9947         (_IO_wfile_sync): Assume ESPIPE is defined.
9948         * libio/wgenops.c: Assume _LIBC is defined.
9949         (save_for_wbackup): Remove internal_function.
9951 2017-08-31  Florian Weimer  <fweimer@redhat.com>
9953         * malloc/malloc.c (top_check): Change return type to void.  Remove
9954         internal_function.
9955         * malloc/hooks.c (top_check): Likewise.
9956         (malloc_check, realloc_check, memalign_check): Adjust.
9958 2017-08-30  Joseph Myers  <joseph@codesourcery.com>
9960         [BZ #21457]
9961         * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
9962         * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
9963         sigcontext and namespace requirements.
9964         * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
9965         * sysdeps/m68k/sys/ucontext.h: Likewise.
9966         * sysdeps/mips/sys/ucontext.h: Likewise.  Include <bits/types.h>.
9967         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
9968         <bits/sigcontext.h>.
9969         (__ctx): Define earlier.
9970         (mcontext_t): Define structure contents rather than using struct
9971         sigcontext.
9972         * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
9973         __glibc_reserved1 instead of __reserved.
9974         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
9975         <bits/sigcontext.h>.
9976         (__ctx): Define earlier.
9977         (mcontext_t): Define structure contents rather than using struct
9978         sigcontext.
9979         * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
9980         mcontext_t instead of struct sigcontext.
9981         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
9982         <bits/sigcontext.h>.
9983         (__ctx): Define earlier.
9984         (mcontext_t): Define structure contents rather than using struct
9985         sigcontext.
9986         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
9987         <bits/sigcontext.h>.
9988         (__ctx): Define earlier.
9989         (mcontext_t): Define structure contents rather than using struct
9990         sigcontext.
9991         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
9992         mcontext_t instead of struct sigcontext.
9993         * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
9994         mcontext_t instead of struct sigcontext.
9995         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
9996         <bits/sigcontext.h>.
9997         (__ctx): New macro.
9998         (struct __ia64_fpreg_mcontext): New type.
9999         (mcontext_t): Define structure contents rather than using struct
10000         sigcontext.
10001         (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
10002         (uc_sigmask): Define using __ctx.
10003         (uc_stack): Likewise.
10004         * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
10005         <bits/sigcontext.h>.
10006         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10007         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
10008         <bits/sigcontext.h>.
10009         * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
10010         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
10011         <bits/sigcontext.h>.
10012         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
10013         <bits/sigcontext.h>.
10014         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
10015         <bits/sigcontext.h>.
10016         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
10017         <bits/sigcontext.h>.
10018         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
10019         <bits/sigcontext.h>.
10020         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
10021         <bits/sigcontext.h>.
10022         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
10023         <bits/sigcontext.h>.
10024         (__ctx): Define earlier.
10025         (mcontext_t): Define structure contents rather than using struct
10026         sigcontext.
10027         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
10028         <bits/sigcontext.h>.  Include <bits/types.h>.
10029         * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
10030         (test-xfail-XPG42/sys/wait.h/conform): Likewise.
10031         (test-xfail-XPG42/ucontext.h/conform): Likewise.
10032         (test-xfail-UNIX98/signal.h/conform): Likewise.
10033         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
10034         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
10035         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
10036         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
10037         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
10038         (test-xfail-POSIX2008/signal.h/conform): Likewise.
10039         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
10040         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
10041         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
10043 2017-08-30  Florian Weimer  <fweimer@redhat.com>
10045         * malloc/dynarray_emplace_enlarge.c
10046         (__libc_dynarray_emplace_enlarge): Set errno on overflow.
10047         * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
10048         * malloc/tst-dynarray.c (test_long_overflow): New function.
10049         (do_test): Call it.
10051 2017-08-30  Florian Weimer  <fweimer@redhat.com>
10053         * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
10054         (set_arena_corrupt): Remove definitions.
10055         (mtrim): Do not check for corrupt arena.
10056         * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
10057         Likewise.
10059 2017-08-30  Florian Weimer  <fweimer@redhat.com>
10061         [BZ #21754]
10062         * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
10063         check_action.
10064         (ptmalloc_init): Do not set or use check_action.
10065         * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
10066         call to malloc_printerr.  Remove return statement.
10067         (free_check): Likewise.  Remove arena unlock.
10068         (top_check): Update comment.  Adjust call to malloc_printerr.
10069         Remove heap repair code.
10070         * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
10071         (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
10072         (sysmalloc): Adjust call to malloc_printerr.
10073         (munmap_chunk, __libc_realloc): Likewise.  Remove return
10074         statement.
10075         (_int_malloc, int_realloc): Likewise.  Remove errstr variable.
10076         Remove errout label and corresponding gotos.
10077         (_int_free): Likewise.  Remove arena unlock.
10078         (do_set_mallopt_check): Do not set check_action.
10079         (malloc_printerr): Adjust parameter list.  Do not mark arena as
10080         corrupt.
10081         * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
10082         comment.
10083         * manual/probes.texi (Memory Allocation Probes): Remove
10084         memory_mallopt_check_action.
10086 2017-08-30  Steve Ellcey  <sellcey@cavium.com>
10088         * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
10089         Use pointer to uint64_t instead of long int for sp.
10091 2017-08-30  Florian Weimer  <fweimer@redhat.com>
10093         [BZ #21754]
10094         * malloc/malloc.c (malloc_printerr): Always terminate the process,
10095         without printing a backtrace.  Do not leak any information in the
10096         error message.
10097         * manual/memory.texi (Heap Consistency Checking): Update.
10098         * manual/tunables.texi (Memory Allocation Tunables): Likewise.
10100 2017-08-30  Florian Weimer  <fweimer@redhat.com>
10102         Do not scale NPTL tests with available number of CPUs.
10103         * nptl/tst-cond16.c (count): Set to constant value of 8.
10104         * nptl/tst-cond18.c (count): Likewise.
10106 2017-08-29  Joseph Myers  <joseph@codesourcery.com>
10108         [BZ #22035]
10109         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
10110         Define to take a second argument that is a macro that
10111         concatentates a suffix, not the suffix itself.
10112         (__CONCAT_d): New macro.
10113         (__CONCAT_f): Likewise.
10114         (__CONCAT_l): Likewise.
10116 2017-08-29  Paul Pluzhnikov  <ppluzhnikov@google.com>
10118         * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
10119         by child.
10121 2017-08-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10122             Aurelien Jarno  <aurelien@aurel32.net>
10123             Maciej W. Rozycki  <macro@imgtec.com>
10125         [BZ #21956]
10126         * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
10127         [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
10128         `mips16-syscall6' and `mips16-syscall7'.
10129         (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
10130         (CFLAGS-mips16-syscall7.c): Remove.
10131         * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
10132         Remove `__mips16_syscall5', `__mips16_syscall6' and
10133         `__mips16_syscall7'.
10134         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
10135         (__mips16_syscall0): Rename `__mips16_syscall_return' to
10136         `__mips_syscall_return'.
10137         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
10138         (__mips16_syscall1): Likewise.
10139         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
10140         (__mips16_syscall2): Likewise.
10141         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
10142         (__mips16_syscall3): Likewise.
10143         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
10144         (__mips16_syscall4): Likewise.
10145         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
10146         Remove.
10147         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
10148         Remove.
10149         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
10150         Remove.
10151         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
10152         (__mips16_syscall5): Expand to `__mips_syscall5' rather than
10153         `__mips16_syscall5'.  Remove prototype.
10154         (__mips16_syscall6): Expand to `__mips_syscall6' rather than
10155         `__mips16_syscall6'.  Remove prototype.
10156         (__mips16_syscall7): Expand to `__mips_syscall7' rather than
10157         `__mips16_syscall7'.  Remove prototype.
10158         (__nomips16, __mips16_syscall_return): Move to...
10159         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
10160         (__nomips16, __mips_syscall_return): ... here.
10161         [__mips16] (INTERNAL_SYSCALL_NCS): Rename
10162         `__mips16_syscall_return' to `__mips_syscall_return'.
10163         [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
10164         `internal_syscall##nr'.
10165         [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
10166         `internal_syscall##nr'.
10167         (FORCE_FRAME_POINTER): Remove.
10168         (__mips_syscall5): New prototype.
10169         (internal_syscall5): Rewrite to call `__mips_syscall5'.
10170         (__mips_syscall6): New prototype.
10171         (internal_syscall6): Rewrite to call `__mips_syscall6'.
10172         (__mips_syscall7): New prototype.
10173         (internal_syscall7): Rewrite to call `__mips_syscall7'.
10174         * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
10175         * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
10176         * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
10177         * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
10178         (sysdep_routines): Add libc-do-syscall.
10179         * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
10180         `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
10182 2017-08-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10184         [BZ #21672]
10185         * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
10186         Set to use !NEED_SEPARATE_REGISTER_STACK as well.
10187         (advise_stack_range): New function.
10188         * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
10189         stack non required to advise_stack_range at allocatestack.c
10191 2017-08-29  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10193         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
10195 2017-08-29  Florian Weimer  <fweimer@redhat.com>
10197         [BZ #22026]
10198         * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
10199         __end_fct.  Mangle __end_fct after setting it to NULL.
10200         * iconv/Makefile (tests): Add tst-gconv-init-failure.
10201         (modules-names, modules-names-tests): Add
10202         tst-gconv-init-failure-mod.
10203         (gconv-modules): New target.
10204         (tst-gconv-init-failure-mod.so): Link against libsupport.
10205         (tst-gconv-init-failure): Depend on gconv-modules,
10206         tst-gconv-init-failure-mod.so.
10207         * iconv/tst-gconv-init-failure-mod.c: New file.
10208         * iconv/tst-gconv-init-failure.c: Likewise.
10209         * iconv/test-gconv-modules: Likewise.
10211 2017-08-29  Florian Weimer  <fweimer@redhat.com>
10213         [BZ #22025]
10214         * iconv/gconv_db.c (free_derivation): Remove redundant
10215         parentheses.
10216         (gen_steps): Unconditionally mangle __btowc_fct after
10217         initialization.
10218         (increment_counter): Likewise.  Do not call init_fct for internal
10219         modules.
10221 2017-08-29  Joseph Myers  <joseph@codesourcery.com>
10223         [BZ #22028]
10224         * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
10225         (_MSUF_): Remove macro.
10226         [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
10227         Likewise.
10228         [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
10229         (__REDIRFROM_X): New macro.
10230         [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
10231         Likewise.
10232         * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
10233         (__REDIRTO_X): Likewise.
10234         (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
10235         arguments.
10236         (__MATH_REDIRCALL_2): Likewise.
10237         (__MATH_REDIRCALL_INTERNAL): Likewise.
10238         (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
10239         (__REDIRFROM (gamma, , _MSUF_)): Likweise.
10240         (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
10241         (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
10242         * math/test-finite-macros.c: New file.
10243         * math/Makefile (tests): Add test-finite-macros.
10244         (CFLAGS-test-finite-macros.c): New variable.
10246 2017-08-29  Patsy Franklin  <pfrankli@redhat.com>
10247             Jeff Law  <law@redhat.com>
10249         [BZ #22025]
10250         Mangle NULL pointers in iconv/gconv.
10251         * iconv/gconv_cache.c (find_module): Demangle init_fct before
10252         checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
10253         * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
10254         is non-NULL before demangling the end_fct.  Check for NULL
10255         end_fct after demangling.
10256         (__gconv_release_step): Demangle the end_fct before checking
10257         it for NULL.   Remove assert on __shlibc_handle != NULL.
10258         (gen_steps): Don't check btowc_fct for NULL before mangling.
10259         Demangle init_fct before checking for NULL.
10260         (increment_counter): Likewise.
10261         * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
10262         end_fct for NULL before mangling.
10263         * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
10264         for NULL.
10266 2017-08-29  Akhilesh Kumar  <akhilesh.k@samsung.com>
10268         [BZ #21971]
10269         * locale/iso-639.def: add Morisyen.
10271 2017-08-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10273         [BZ #21930]
10274         * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
10275         (iszero): New C++ implementation that does not use
10276         fpclassify/__MATH_TG/__builtin_types_compatible_p, when
10277         signaling nans are enabled, since __builtin_types_compatible_p
10278         is a C-only feature.
10279         * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
10280         defined, include ieee754_float128.h for access to the union and
10281         member ieee854_float128.ieee.
10282         [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
10283         [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
10284         * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
10285         (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
10286         options of test-math-zero on powerpc64le.
10288 2017-08-28  H.J. Lu  <hongjiu.lu@intel.com>
10290         * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
10291         Change double to float.
10293 2017-08-28  Joseph Myers  <joseph@codesourcery.com>
10295         * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
10296         unconditional.
10297         * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
10298         conditional code; define contents only for [LIBM_SVID_COMPAT].
10300 2017-08-28  Florian Weimer  <fweimer@redhat.com>
10302         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
10303         (abi-lp64_be-options): Remove.
10304         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
10305         (abi-hard-options): Likewise.
10306         * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
10307         (abi-o32_hard-options, abi-o32_soft_2008-options)
10308         (abi-o32_hard_2008-options, abi-n32_soft-options)
10309         (abi-n32_hard-options, abi-n32_soft_2008-options)
10310         (abi-n32_hard_2008-options, abi-n64_soft-options)
10311         (abi-n64_hard-options, abi-n64_soft_2008-options)
10312         (abi-n64_hard_2008-options): Likewise.
10313         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
10314         (abi-64-v1-options, abi-64-v2-options): Likewise.
10315         * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
10316         (abi-64-options): Likewise.
10317         * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
10318         (abi-64-options): Likewise.
10319         * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
10320         (abi-64-options): Likewise.
10321         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
10322         (abi-64-options, abi-x32-options): Likewise.
10324 2017-08-28  Florian Weimer  <fweimer@redhat.com>
10326         Store supported list of SYS_* system calls in the source tree.
10327         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10328         (bits/syscall.h): Generate from list file.
10329         [$(subdir) = misc] (before-compile): Add bits/syscall.h.
10330         [$(subdir) = misc] (tests): Add tst-syscall-list.
10331         [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
10332         [$(subdir) = misc] (tst-syscall-list-macros.list)
10333         [$(subdir) = misc] (tst-syscall-list-nr.list)
10334         (tst-syscall-list-sys.list): Helper targets for new
10335         tst-syscall-list test.
10336         [$(subdir) = misc] (tst-syscall-list.out): Run test script
10337         tst-syscall-list.sh.
10338         [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
10339         target. Do not include bits/syscall.d.
10340         [$(subdir) = misc] (generated): Do not update.
10341         * sysdeps/unix/sysv/linux/syscall-names.list: New file.
10342         * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
10343         * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
10344         * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
10346 2017-08-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
10348         * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
10349         (tst-cxa_atexit, tst-on_exit): Likewise.
10350         * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
10351         tst-cxa_atexit, and tst-on_exit.
10352         * stdlib/tst-atexit-common.c: New file.
10353         * stdlib/tst-atexit.c: New file.
10354         * stdlib/tst-at_quick_exit.c: New file.
10355         * stdlib/tst-cxa_atexit.c: New file.
10356         * stdlib/tst-on_exit.c: New file.
10358 2017-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10360         * sysdeps/mach/hurd/bits/sysmacros.h: New file.
10361         * mach/stack_chk_fail_local.c: New file.
10362         * hurd/stack_chk_fail_local.c: New file.
10363         * mach/Machrules ($(interface-library)-routines): Add
10364         stack_chk_fail_local.
10365         * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
10366         CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
10367         CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
10368         CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
10369         * hurd/Makefile (CFLAGS-hurdstartup.o,
10370         CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
10372 2017-08-25  H.J. Lu  <hongjiu.lu@intel.com>
10374         * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
10375         (index_cpu_*, index_arch_*): Removed.
10377 2017-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10379         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
10380         Use uint64_t instead of unsigned long.
10382 2017-08-25  Joseph Myers  <joseph@codesourcery.com>
10384         * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
10385         [__HAVE_DISTINCT_FLOAT128].
10387         * math/math.h (_MSUFTO_): Define and undefine for each inclusion
10388         of <bits/math-finite.h>.
10389         (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
10390         inclusion of <bits/math-finite.h>.
10391         * math/bits/math-finite.h (__REDIRTO_X): Do not define
10392         conditionally on [__MATH_DECLARING_LDOUBLE && defined
10393         __NO_LONG_DOUBLE_MATH].
10394         (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
10395         (__MATH_REDIRCALL_2): Likewise.
10396         (__MATH_REDIRCALL_INTERNAL): Likewise.
10397         (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
10398         (__REDIRFROM (gamma, , _MSUF_)): Likewise.
10399         (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
10401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
10402         Remove file.
10403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
10404         Likewise.
10405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
10406         Likewise.
10407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
10408         Likewise.
10409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
10410         Likewise.
10411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
10412         Likewise.
10413         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
10414         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
10415         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
10416         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
10417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
10418         (libm-sysdep-routines): Remove w_sqrt_compat-power5,
10419         w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
10420         w_sqrtf_compat-ppc32.
10422 2017-08-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10424         * math/math.h [defined __cplusplus] (issignaling): In the long
10425         double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
10426         is not defined.  Call __issignaling, otherwise.
10428 2017-08-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10430         * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
10431         syscall definitions and replace __builtin_expect with __glibc_likely.
10432         * sysdeps/unix/syscall-template.S: Update comment about cancellable
10433         syscall.
10434          (SYSCALL_CANCELLABLE): Removedefinition
10435         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
10436         definition.
10437         (PSEUDO_END): Likewise.
10438         [IS_IN (libpthread)] (CENABLE): Likewise.
10439         [IS_IN (libpthread)] (CDISABLE): Likewise.
10440         [IS_IN (libc)] (CENABLE): Likewise.
10441         [IS_IN (libc)] (CENABLE): Likewise.
10442         [IS_IN (librt)] (CDISABLE): Likewise.
10443         [IS_IN (librt)] (CDISABLE): Likewise.
10444         [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
10445         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
10446         definition.
10447         (PSEUDO_END): Likewise.
10448         [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
10449         [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
10450         [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
10451         [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
10452         [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
10453         [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
10454         (CENABLE): Likewise.
10455         (CDISABLE): Likewise.
10456         [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
10457         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
10458         defintion.
10459         (PSEUDO_END): Likewise.
10460         [IS_IN (libpthread)] (CENABLE): Likewise.
10461         [IS_IN (libpthread)] (CDISABLE): Likewise.
10462         [IS_IN (libc)] (CENABLE): Likewise.
10463         [IS_IN (libc)] (CENABLE): Likewise.
10464         [IS_IN (librt)] (CDISABLE): Likewise.
10465         [IS_IN (librt)] (CDISABLE): Likewise.
10466         [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
10467         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
10468         definition.
10469         (PSEUDO_END): Likewise.
10470         [IS_IN (libpthread)] (CENABLE): Likewise.
10471         [IS_IN (libpthread)] (CDISABLE): Likewise.
10472         [IS_IN (libc)] (CENABLE): Likewise.
10473         [IS_IN (libc)] (CENABLE): Likewise.
10474         [IS_IN (librt)] (CDISABLE): Likewise.
10475         [IS_IN (librt)] (CDISABLE): Likewise.
10476         [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
10477         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
10478         definition.
10479         (PSEUDO_END): Likewise.
10480         [IS_IN (libpthread)] (CENABLE): Likewise.
10481         [IS_IN (libpthread)] (CDISABLE): Likewise.
10482         [IS_IN (libc)] (CENABLE): Likewise.
10483         [IS_IN (libc)] (CENABLE): Likewise.
10484         [IS_IN (librt)] (CDISABLE): Likewise.
10485         [IS_IN (librt)] (CDISABLE): Likewise.
10486         [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
10487         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
10488         definition.
10489         (PSEUDO_END): Likewise.
10490         [IS_IN (libpthread)] (CENABLE): Likewise.
10491         [IS_IN (libpthread)] (CDISABLE): Likewise.
10492         [IS_IN (libc)] (CENABLE): Likewise.
10493         [IS_IN (libc)] (CENABLE): Likewise.
10494         [IS_IN (librt)] (CDISABLE): Likewise.
10495         [IS_IN (librt)] (CDISABLE): Likewise.
10496         [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
10497         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
10498         definition.
10499         (PSEUDO_END): Likewise.
10500         [IS_IN (libpthread)] (CENABLE): Likewise.
10501         [IS_IN (libpthread)] (CDISABLE): Likewise.
10502         [IS_IN (libc)] (CENABLE): Likewise.
10503         [IS_IN (libc)] (CENABLE): Likewise.
10504         [IS_IN (librt)] (CDISABLE): Likewise.
10505         [IS_IN (librt)] (CDISABLE): Likewise.
10506         [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
10507         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
10508         definition.
10509         (PSEUDO_END): Likewise.
10510         [IS_IN (libpthread)] (CENABLE): Likewise.
10511         [IS_IN (libpthread)] (CDISABLE): Likewise.
10512         [IS_IN (libc)] (CENABLE): Likewise.
10513         [IS_IN (libc)] (CENABLE): Likewise.
10514         [IS_IN (librt)] (CDISABLE): Likewise.
10515         [IS_IN (librt)] (CDISABLE): Likewise.
10516         [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
10517         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
10518         Remove definition.
10519         (PSEUDO_END): Likewise.
10520         [IS_IN (libpthread)] (CENABLE): Likewise.
10521         [IS_IN (libpthread)] (CDISABLE): Likewise.
10522         [IS_IN (libc)] (CENABLE): Likewise.
10523         [IS_IN (libc)] (CENABLE): Likewise.
10524         [IS_IN (librt)] (CDISABLE): Likewise.
10525         [IS_IN (librt)] (CDISABLE): Likewise.
10526         (SINGLE_THREAD_P): Likewise.
10527         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
10528         definition.
10529         (PSEUDO_END): Likewise.
10530         [IS_IN (libpthread)] (CENABLE): Likewise.
10531         [IS_IN (libpthread)] (CDISABLE): Likewise.
10532         [IS_IN (libc)] (CENABLE): Likewise.
10533         [IS_IN (libc)] (CENABLE): Likewise.
10534         [IS_IN (librt)] (CDISABLE): Likewise.
10535         [IS_IN (librt)] (CDISABLE): Likewise.
10536         [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
10537         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
10538         definition.
10539         (PSEUDO_END): Likewise.
10540         [IS_IN (libpthread)] (CENABLE): Likewise.
10541         [IS_IN (libpthread)] (CDISABLE): Likewise.
10542         [IS_IN (libc)] (CENABLE): Likewise.
10543         [IS_IN (libc)] (CENABLE): Likewise.
10544         [IS_IN (librt)] (CDISABLE): Likewise.
10545         [IS_IN (librt)] (CDISABLE): Likewise.
10546         [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
10547         * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
10548         * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10549         * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
10550         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
10551         definition.
10552         (PSEUDO_END): Likewise.
10553         [IS_IN (libpthread)] (CENABLE): Likewise.
10554         [IS_IN (libpthread)] (CDISABLE): Likewise.
10555         [IS_IN (libc)] (CENABLE): Likewise.
10556         [IS_IN (libc)] (CENABLE): Likewise.
10557         [IS_IN (librt)] (CDISABLE): Likewise.
10558         [IS_IN (librt)] (CDISABLE): Likewise.
10559         [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
10560         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
10561         definition.
10562         (PSEUDO_END): Likewise.
10563         [IS_IN (libpthread)] (CENABLE): Likewise.
10564         [IS_IN (libpthread)] (CDISABLE): Likewise.
10565         [IS_IN (libc)] (CENABLE): Likewise.
10566         [IS_IN (libc)] (CENABLE): Likewise.
10567         [IS_IN (librt)] (CDISABLE): Likewise.
10568         [IS_IN (librt)] (CDISABLE): Likewise.
10569         [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
10570         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
10571         definition.
10572         (PSEUDO_END): Likewise.
10573         [IS_IN (libpthread)] (CENABLE): Likewise.
10574         [IS_IN (libpthread)] (CDISABLE): Likewise.
10575         [IS_IN (libc)] (CENABLE): Likewise.
10576         [IS_IN (libc)] (CENABLE): Likewise.
10577         [IS_IN (librt)] (CDISABLE): Likewise.
10578         [IS_IN (librt)] (CDISABLE): Likewise.
10579         [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
10580         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
10581         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10582         * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
10583         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
10584         definition.
10585         (PSEUDO_END): Likewise.
10586         [IS_IN (libpthread)] (CENABLE): Likewise.
10587         [IS_IN (libpthread)] (CDISABLE): Likewise.
10588         [IS_IN (libc)] (CENABLE): Likewise.
10589         [IS_IN (libc)] (CENABLE): Likewise.
10590         [IS_IN (librt)] (CDISABLE): Likewise.
10591         [IS_IN (librt)] (CDISABLE): Likewise.
10592         [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
10593         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
10594         definition.
10595         (PSEUDO_END): Likewise.
10596         [IS_IN (libpthread)] (CENABLE): Likewise.
10597         [IS_IN (libpthread)] (CDISABLE): Likewise.
10598         [IS_IN (libc)] (CENABLE): Likewise.
10599         [IS_IN (libc)] (CENABLE): Likewise.
10600         [IS_IN (librt)] (CDISABLE): Likewise.
10601         [IS_IN (librt)] (CDISABLE): Likewise.
10602         [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
10604 2017-08-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10606         * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
10608 2017-08-23  H.J. Lu  <hongjiu.lu@intel.com>
10610         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10612 2017-08-23  H.J. Lu  <hongjiu.lu@intel.com>
10614         [BZ #21982]
10615         * string/stratcliff.c (do_test): Declare size, nchars, inner,
10616         middle and outer with size_t instead of int.  Repleace %d and
10617         %Zd with %zu in printf.  Update "MAX (0, nchars - 128)" and
10618         "MAX (outer, nchars - 64)" to support unsigned outer and
10619         nchars.  Also exit loop when outer == 0.
10621 2017-08-23  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10623         * include/fcntl.h (__fcntl_nocancel): Remove definition.
10624         * include/signal.h (__sigsuspend_nocancel): Likewise.
10625         * include/time.h (__nanosleep_nocancel): Likewise.
10626         * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
10627         * login/utmp_file.c: Include non cancellable syscall header.
10628         * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
10629         prototype.
10631 2017-08-23  H.J. Lu  <hongjiu.lu@intel.com>
10633         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
10634         .byte sequences with AVX512F instructions.
10635         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
10636         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
10637         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
10638         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
10639         Likewise.
10640         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
10641         Likewise.
10643 2017-08-22  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10644             Steve Ellcey  <sellcey@cavium.com>
10646         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
10647         Use PTR_REG macro in cmp instruction.
10649 2017-08-22  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10651         * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
10652         Change the return type of the ifunc resolver to match the return
10653         type of the target function.
10655 2017-08-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10657         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
10658         (preadv64): Likewise.
10659         (pwrite64(: Likewise.
10660         (pwritev64): Likewise.
10662         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10663         (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
10664         (LOAD_ARGS_0): Likewise.
10665         (LOAD_ARGS_1): Likewise.
10666         (LOAD_ARGS_2): Likewise.
10667         (LOAD_ARGS_3): Likewise.
10668         (LOAD_ARGS_4): Likewise.
10669         (LOAD_ARGS_5): Likewise.
10670         (LOAD_ARGS_6): Likewise.
10671         (LOAD_REGS_0): Likewise.
10672         (LOAD_REGS_1): Likewise.
10673         (LOAD_REGS_2): Likewise.
10674         (LOAD_REGS_3): Likewise.
10675         (LOAD_REGS_4): Likewise.
10676         (LOAD_REGS_5): Likewise.
10677         (LOAD_REGS_6): Likewise.
10678         (ASM_ARGS_0): Likewise.
10679         (ASM_ARGS_1): Likewise.
10680         (ASM_ARGS_2): Likewise.
10681         (ASM_ARGS_3): Likewise.
10682         (ASM_ARGS_4): Likewise.
10683         (ASM_ARGS_5): Likewise.
10684         (ASM_ARGS_6): Likewise.
10685         (LOAD_ARGS_TYPES_1): Likewise.
10686         (LOAD_ARGS_TYPES_2): Likewise.
10687         (LOAD_ARGS_TYPES_3): Likewise.
10688         (LOAD_ARGS_TYPES_4): Likewise.
10689         (LOAD_ARGS_TYPES_5): Likewise.
10690         (LOAD_ARGS_TYPES_6): Likewise.
10691         (LOAD_REGS_TYPES_1): Likewise.
10692         (LOAD_REGS_TYPES_2): Likewise.
10693         (LOAD_REGS_TYPES_3): Likewise.
10694         (LOAD_REGS_TYPES_4): Likewise.
10695         (LOAD_REGS_TYPES_5): Likewise.
10696         (LOAD_REGS_TYPES_6): Likewise.
10697         (TYPEFY): New define.
10698         (ARGIFY): Likewise.
10699         (internal_syscall0): Likewise.
10700         (internal_syscall1): Likewise.
10701         (internal_syscall2): Likewise.
10702         (internal_syscall3): Likewise.
10703         (internal_syscall4): Likewise.
10704         (internal_syscall5): Likewise.
10705         (internal_syscall6): Likewise.
10706         * sysdeps/unix/sysv/linux/x86_64/x32/times.c
10707         (INTERNAL_SYSCALL_NCS): Remove define.
10708         (internal_syscall1): Add define.
10710 2017-08-22  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10712         * math/w_remainder_compat.c: Remove duplicate inclusion of
10713         math-svid-compat.h.
10714         * math/w_remainderf_compat.c: Likewise.
10715         * math/w_remainderl_compat.c: Likewise.
10717 2017-08-22  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10719         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10721 2017-08-22  Joseph Myers  <joseph@codesourcery.com>
10723         [BZ #21684]
10724         * math/tgmath.h (__floating_type): Simplify definitions.
10725         (__real_integer_type): New macro.
10726         (__complex_integer_type): Likewise.
10727         (__expr_is_real): Likewise.
10728         (__tgmath_real_type_sub): Update comment to describe handling of
10729         complex types.
10730         (__tgmath_complex_type_sub): New macro.
10731         (__tgmath_complex_type): Likewise.
10732         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10733         (__TGMATH_CF128): Use __expr_is_real.
10734         (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
10735         __expr_is_real.
10736         (__TGMATH_BINARY_REAL_IMAG): Likewise.
10737         (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
10738         * math/gen-tgmath-tests.py (Type.create_type): Create complex
10739         integer types.
10741 2017-08-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10743         * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
10744         macro.
10745         * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
10746         alias.
10747         * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
10748         Likewise.
10750         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
10751         nanosleep_not_cancel with __nanosleep_nocancel.
10752         * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
10753         (__nanosleep_nocancel): New macro.
10754         * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
10755         function.
10756         * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
10757         macro.
10758         (__nanosleep_nocancel): New prototype.
10760         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
10761         pause_not_cancel with __pause_nocancel.
10762         * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
10763         (__pause_nocancel): New macro.
10764         * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
10765         macro.
10766         (__pause_nocancel): New prototype.
10767         * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
10769 2017-08-22  Martin Sebor  <msebor@redhat.com>
10771         * include/libc-symbols.h (__ifunc_resolver): Declare resolver
10772         to return a pointer to the same type as the target function.
10774 2017-08-22  H.J. Lu  <hongjiu.lu@intel.com>
10776         [BZ #18822]
10777         [BZ #21986]
10778         * include/printf.h (__printf_fphex): Add attribute_hidden.
10779         (__guess_grouping): New prototype.
10780         * stdio-common/printf_fp.c (__guess_grouping): Removed.
10781         * stdio-common/reg-printf.c (__register_printf_specifier): Add
10782         libc_hidden_proto and libc_hidden_def.
10783         * stdlib/strfmon_l.c (__guess_grouping): Removed.
10784         (__vstrfmon_l): Remove the third argument passed to
10785         __guess_grouping.
10787 2017-08-22  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10789         * math/math.h [defined __cplusplus] (issignaling): Provide a C++
10790         definition for issignaling that does not rely on __MATH_TG,
10791         since __MATH_TG uses __builtin_types_compatible_p, which is only
10792         available in C mode.
10793         (CFLAGS-test-math-issignaling.cc): New variable.
10794         * math/Makefile [CXX] (tests): Add test-math-issignaling.
10795         * math/test-math-issignaling.cc: New test for C++ implementation
10796         of type-generic issignaling.
10797         * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
10798         (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
10799         options of test-math-issignaling on powerpc64le.
10801 2017-08-22  H.J. Lu  <hongjiu.lu@intel.com>
10803         * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
10804         building libc.a.
10805         (hidden_proto): Likewise.
10806         (hidden_tls_proto): Likewise.
10807         (__hidden_proto): Likewise.
10809 2017-08-22  Florian Weimer  <fweimer@redhat.com>
10811         math: Statically link tests of internal functionality.
10812         * math/Makefile (tests): Remove atest-exp, atest-sincos,
10813         atest-exp2.
10814         (tests-static): Add atest-exp, atest-sincos, atest-exp2.
10815         (gmp-objs): Remove assignment.
10816         (atest-exp, atest-sincos, atest-exp2): Remove targets.
10818 2017-08-22  Joseph Myers  <joseph@codesourcery.com>
10820         [BZ #21987]
10821         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
10822         and copy to ...
10823         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
10824         ... here.
10825         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
10826         ... and here.
10828         * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
10829         variable definitions above inclusion of ../Rules.
10831 2017-08-21  Joseph Myers  <joseph@codesourcery.com>
10833         * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
10834         case calling __builtin_unreachable.
10836 2017-08-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10838         * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
10839         __waitpid_nocancel.
10840         * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
10841         (__waitpid_nocancel): New macro.
10842         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
10843         macro.
10844         (__waitpid_nocancel): Replace macro with a function.
10845         * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
10846         function.
10848         * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
10849         __fcntl_nocancel.
10850         * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
10851         * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
10853         * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
10854         __writev_nocancel_nostatus.
10855         (write_call_graph): Likewise.
10856         (write_bb_counts): Likewise.
10857         * resolv/herror.c (herror): Likewise.
10858         * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
10859         macro.
10860         (__writev_nocancel_nostatus): New macro.
10861         * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
10862         Remove macro.
10863         (__writev_nocancel_nostatus): New function.
10865 2017-08-21  Joseph Myers  <joseph@codesourcery.com>
10867         Revert:
10868         2017-08-21  H.J. Lu  <hongjiu.lu@intel.com>
10870         * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
10871         building libc.a.
10872         (hidden_proto): Likewise.
10873         (hidden_tls_proto): Likewise.
10874         (__hidden_proto): Likewise.
10876         [BZ #21973]
10877         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
10878         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
10879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
10880         Likewise.
10881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
10882         Likewise.
10883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
10884         Likewise.
10885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
10886         Likewise.
10887         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
10888         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
10889         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
10890         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
10891         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
10892         GLIBC_2.0 sqrtl symbol.
10894         * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
10895         [__USE_MISC] (_LIB_VERSION): Likewise.
10896         [__USE_MISC] (struct exception): Likewise.
10897         [__USE_MISC] (matherr): Likewise.
10898         [__USE_MISC] (DOMAIN): Likewise.
10899         [__USE_MISC] (SING): Likewise.
10900         [__USE_MISC] (OVERFLOW): Likewise.
10901         [__USE_MISC] (UNDERFLOW): Likewise.
10902         [__USE_MISC] (TLOSS): Likewise.
10903         [__USE_MISC] (PLOSS): Likewise.
10904         [__USE_MISC] (HUGE): Likewise.
10905         [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
10906         * math/math-svid-compat.h: New file.
10907         * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
10908         and matherrl.
10909         * include/math.h [!_ISOMAC] (__matherr): Remove.
10910         * manual/arith.texi (FP Exceptions): Do not document matherr.
10911         * math/Makefile (tests): Change test-matherr to test-matherr-3.
10912         (tests-internal): New variable.
10913         (install-lib): Do not add libieee.a.
10914         (non-lib.a): Likewise.
10915         (extra-objs): Do not add libieee.a and ieee-math.o.
10916         (CPPFLAGS-s_lib_version.c): Remove variable.
10917         ($(objpfx)libieee.a): Remove rule.
10918         ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
10919         * math/ieee-math.c: Remove.
10920         * math/libm-test-support.c (matherr): Remove.
10921         * math/test-matherr.c: Use <support/test-driver.c>.  Add copyright
10922         and license notices.  Include <math-svid-compat.h> and
10923         <shlib-compat.h>.
10924         (matherr): Undefine as macro.  Use compat_symbol_reference.
10925         (_LIB_VERSION): Likewise.
10926         * math/test-matherr-2.c: New file.
10927         * math/test-matherr-3.c: Likewise.
10928         * sysdeps/generic/math_private.h (__kernel_standard): Remove
10929         declaration.
10930         (__kernel_standard_f): Likewise.
10931         (__kernel_standard_l): Likewise.
10932         * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
10933         <math_private.h>.  Include <math-svid-compat.h>.
10934         (_LIB_VERSION): Undefine as macro.
10935         (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_.  Define
10936         only if [LIBM_SVID_COMPAT || !defined SHARED].  If
10937         [LIBM_SVID_COMPAT], use compat_symbol.
10938         * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
10939         <math_private.h>.  Include <math-svid-compat.h>.
10940         (matherr): Undefine as macro.
10941         (__matherr): Define only if [LIBM_SVID_COMPAT].  Use
10942         compat_symbol.
10943         * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
10944         [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
10945         compat_symbol_reference.
10946         [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
10947         [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
10948         [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
10949         * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
10950         (MATHERR_D): Remove declaration.
10951         [!_LIBC] (_LIB_VERSION_TYPE): Likewise
10952         [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
10953         [LIBM_BUILD] (pmatherrf): Likewise.
10954         [LIBM_BUILD] (pmatherr): Likewise.
10955         [LIBM_BUILD] (pmatherrl): Likewise.
10956         (DOMAIN): Likewise.
10957         (SING): Likewise.
10958         (OVERFLOW): Likewise.
10959         (UNDERFLOW): Likewise.
10960         (TLOSS): Likewise.
10961         (PLOSS): Likewise.
10962         * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
10963         (__matherrf): Define only if [LIBM_SVID_COMPAT].  Use
10964         compat_symbol.
10965         * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
10966         (__matherrl): Define only if [LIBM_SVID_COMPAT].  Use
10967         compat_symbol.
10968         * math/lgamma-compat.h: Include <math-svid-compat.h>.
10969         * math/w_acos_compat.c: Likewise.
10970         * math/w_acosf_compat.c: Likewise.
10971         * math/w_acosh_compat.c: Likewise.
10972         * math/w_acoshf_compat.c: Likewise.
10973         * math/w_acoshl_compat.c: Likewise.
10974         * math/w_acosl_compat.c: Likewise.
10975         * math/w_asin_compat.c: Likewise.
10976         * math/w_asinf_compat.c: Likewise.
10977         * math/w_asinl_compat.c: Likewise.
10978         * math/w_atan2_compat.c: Likewise.
10979         * math/w_atan2f_compat.c: Likewise.
10980         * math/w_atan2l_compat.c: Likewise.
10981         * math/w_atanh_compat.c: Likewise.
10982         * math/w_atanhf_compat.c: Likewise.
10983         * math/w_atanhl_compat.c: Likewise.
10984         * math/w_cosh_compat.c: Likewise.
10985         * math/w_coshf_compat.c: Likewise.
10986         * math/w_coshl_compat.c: Likewise.
10987         * math/w_exp10_compat.c: Likewise.
10988         * math/w_exp10f_compat.c: Likewise.
10989         * math/w_exp10l_compat.c: Likewise.
10990         * math/w_exp2_compat.c: Likewise.
10991         * math/w_exp2f_compat.c: Likewise.
10992         * math/w_exp2l_compat.c: Likewise.
10993         * math/w_fmod_compat.c: Likewise.
10994         * math/w_fmodf_compat.c: Likewise.
10995         * math/w_fmodl_compat.c: Likewise.
10996         * math/w_hypot_compat.c: Likewise.
10997         * math/w_hypotf_compat.c: Likewise.
10998         * math/w_hypotl_compat.c: Likewise.
10999         * math/w_j0_compat.c: Likewise.
11000         * math/w_j0f_compat.c: Likewise.
11001         * math/w_j0l_compat.c: Likewise.
11002         * math/w_j1_compat.c: Likewise.
11003         * math/w_j1f_compat.c: Likewise.
11004         * math/w_j1l_compat.c: Likewise.
11005         * math/w_jn_compat.c: Likewise.
11006         * math/w_jnf_compat.c: Likewise.
11007         * math/w_jnl_compat.c: Likewise.
11008         * math/w_lgamma_main.c: Likewise.
11009         * math/w_lgamma_r_compat.c: Likewise.
11010         * math/w_lgammaf_main.c: Likewise.
11011         * math/w_lgammaf_r_compat.c: Likewise.
11012         * math/w_lgammal_main.c: Likewise.
11013         * math/w_lgammal_r_compat.c: Likewise.
11014         * math/w_log10_compat.c: Likewise.
11015         * math/w_log10f_compat.c: Likewise.
11016         * math/w_log10l_compat.c: Likewise.
11017         * math/w_log2_compat.c: Likewise.
11018         * math/w_log2f_compat.c: Likewise.
11019         * math/w_log2l_compat.c: Likewise.
11020         * math/w_log_compat.c: Likewise.
11021         * math/w_logf_compat.c: Likewise.
11022         * math/w_logl_compat.c: Likewise.
11023         * math/w_pow_compat.c: Likewise.
11024         * math/w_powf_compat.c: Likewise.
11025         * math/w_powl_compat.c: Likewise.
11026         * math/w_remainder_compat.c: Likewise.
11027         * math/w_remainderf_compat.c: Likewise.
11028         * math/w_remainderl_compat.c: Likewise.
11029         * math/w_scalb_compat.c: Likewise.
11030         * math/w_scalbf_compat.c: Likewise.
11031         * math/w_scalbl_compat.c: Likewise.
11032         * math/w_sinh_compat.c: Likewise.
11033         * math/w_sinhf_compat.c: Likewise.
11034         * math/w_sinhl_compat.c: Likewise.
11035         * math/w_sqrt_compat.c: Likewise.
11036         * math/w_sqrtf_compat.c: Likewise.
11037         * math/w_sqrtl_compat.c: Likewise.
11038         * math/w_tgamma_compat.c: Likewise.
11039         * math/w_tgammaf_compat.c: Likewise.
11040         * math/w_tgammal_compat.c: Likewise.
11041         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
11042         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
11043         * sysdeps/ieee754/k_standard.c: Likewise.
11044         * sysdeps/ieee754/k_standardf.c: Likewise.
11045         * sysdeps/ieee754/k_standardl.c: Likewise.
11046         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
11047         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
11048         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
11049         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
11050         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
11051         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
11052         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
11053         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
11054         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
11055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
11056         Likewise.
11057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
11058         Likewise.
11059         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
11060         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
11061         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
11062         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
11064 2017-08-21  Florian Weimer  <fweimer@redhat.com>
11066         [BZ #21864]
11067         Do not compile benchmark helper objects with -DMODULE_NAME=libc.
11068         * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
11069         Move before inclusion of ../Rules.
11071 2017-08-21  Florian Weimer  <fweimer@redhat.com>
11073         [BZ #21972]
11074         * assert/assert.h (assert): Use static_cast (bool) for C++.
11075         Use the ternary operator in the warning branch for GNU C.
11076         * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
11077         (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
11078         (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
11079         (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
11080         * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
11082 2017-08-21  H.J. Lu  <hongjiu.lu@intel.com>
11084         [BZ #18822]
11085         * sysdeps/unix/sysv/linux/x86_64/init-first.c
11086         (__syscall_clock_gettime): Add attribute_hidden.
11087         * sysdeps/unix/sysv/linux/x86_64/makecontext.c
11088         (__start_context): Likewise.
11090 2017-08-21  H.J. Lu  <hongjiu.lu@intel.com>
11092         * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
11093         building libc.a.
11094         (hidden_proto): Likewise.
11095         (hidden_tls_proto): Likewise.
11096         (__hidden_proto): Likewise.
11098 2017-08-21  H.J. Lu  <hongjiu.lu@intel.com>
11100         * include/libc-symbols.h (attribute_hidden): Enable hidden
11101         visibility in libc.a compiled with PIE.
11103 2017-08-21  H.J. Lu  <hongjiu.lu@intel.com>
11105         [BZ #18822]
11106         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
11107         Add attribute_hidden.
11109 2017-08-21  H.J. Lu  <hongjiu.lu@intel.com>
11111         [BZ #21864]
11112         * Makerules (all-nonlib): Add $(others-extras).
11113         * catgets/Makefile (others-extras): New.
11114         * elf/Makefile (others-extras): Likewise.
11115         * nss/Makefile (others-extras): Likewise.
11117 2017-08-21  H.J. Lu  <hongjiu.lu@intel.com>
11119         [BZ #18822]
11120         * csu/libc-start.c (__libc_multiple_libcs): Removed.
11121         * elf/dl-open.c: Include <libc-internal.h>.
11122         (__libc_multiple_libcs): Removed.
11123         * elf/dl-sysdep.c: Include <libc-internal.h> instead of
11124         <hp-timing.h>.
11125         * include/libc-internal.h (__libc_multiple_libcs): New.
11126         * misc/sbrk.c: Include <libc-internal.h>.
11127         (__libc_multiple_libcs): Removed.
11129 2017-08-21  H.J. Lu  <hongjiu.lu@intel.com>
11131         [BZ #18822]
11132         * grp/initgroups.c (__nss_group_database): Removed.
11133         (__nss_initgroups_database): Likewise.
11134         * nscd/gai.c (__nss_hosts_database): Likewise.
11135         * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
11136         * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
11137         * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
11138         * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
11139         * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
11140         * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
11141         attribute_hidden.
11142         * nss/nsswitch.c (__nss_database_custom): Define only if
11143         USE_NSCD is defined.
11144         (__nss_configure_lookup): Use __nss_database_custom only if
11145         USE_NSCD is defined.
11146         * nss/nsswitch.h (__nss_database_custom): Declare only if
11147         USE_NSCD is defined.  Add attribute_hidden.
11148         (__nss_setent): Add attribute_hidden.
11149         (__nss_endent): Likewise.
11150         (__nss_getent_r): Likewise.
11151         (__nss_getent): Likewise.
11152         (DEFINE_DATABASE): Declare __nss_##arg##_database.
11154 2017-08-20  H.J. Lu  <hongjiu.lu@intel.com>
11156         [BZ #18822]
11157         * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
11158         libc_hidden_proto and libc_hidden_def.
11160 2017-08-20  H.J. Lu  <hongjiu.lu@intel.com>
11162         [BZ #18822]
11163         * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
11164         Add libc_hidden_proto.
11165         * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
11166         Add libc_hidden_def.
11168 2017-08-20  H.J. Lu  <hongjiu.lu@intel.com>
11170         [BZ #21974]
11171         * gmon/Makefile (routines): Remove bb_init_func and
11172         bb_exit_func.
11173         (elide-routines.os): Removed.
11174         * gmon/bb_exit_func.c: Likewise.
11175         * gmon/bb_init_func.c: Likewise.
11176         * include/sys/gmon.h (__bb): Likewise.
11177         (__bb_init_func): Likewise.
11178         (__bb_exit_func): Likewise.
11179         * sysdeps/alpha/bb_init_func.S: Likewise.
11181 2017-08-20  H.J. Lu  <hongjiu.lu@intel.com>
11183         * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
11184         * include/setjmp.h (____longjmp_chk): Here.  Add
11185         attribute_hidden.
11187 2017-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11189         [BZ #18822]
11190         * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
11191         attribute_hidden.
11192         (__strspn_sse2): Likewise.
11194 2017-08-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11196         * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
11197         (close_not_cancel_no_status): Likewise.
11198         (__close_nocancel): New macro.
11199         (__close_nocancel_nostatus): Likewise.
11200         * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
11201         macro.
11202         (close_not_cancel): Likewise.
11203         (close_not_cancel_no_status): Likewise.
11204         (__close_nocancel): New prototype.
11205         (__close_nocancel_nostatus): New function.
11206         * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
11207         * catgets/open_catalog.c (__open_catalog): Replace
11208         close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
11209         * gmon/gmon.c (write_gmon): Likewise.
11210         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11211         * intl/loadmsgcat.c (close): Likewise.
11212         * io/ftw.c (open_dir_stream): Likewise.
11213         (ftw_startup): Likewise.
11214         * libio/fileops.c (_IO_file_open): Likewise.
11215         (_IO_file_close_mmap): Likewise.
11216         (_IO_file_close): Likewise.
11217         * libio/iopopen.c (_IO_dup2): Likewise.
11218         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11219         * locale/loadlocale.c (_nl_load_locale): Likewise.
11220         * login/utmp_file.c (pututline_file): Likewise.
11221         (endutent_file): Likewise.
11222         * misc/daemon.c (daemon): Likewise.
11223         * nscd/nscd_getai.c (__nscd_getai): Likewise.
11224         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11225         * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
11226         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11227         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11228         * nscd/nscd_helper.c (open_socket): Likewise.
11229         (__nscd_open_socket): Likewise.
11230         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11231         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
11232         (__nscd_innetgr): Likewise.
11233         * nss/nss_db/db-open.c (internal_setent): Likewise.
11234         * resolv/res-close.c (__res_iclose): Likewise.
11235         * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
11236         * sysdeps/posix/closedir.c (__closedir): Likewise.
11237         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
11238         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
11239         * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
11240         (opendir_tail): Likewise.
11241         * sysdeps/posix/spawni.c (__spawni_child): Likewise.
11242         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
11243         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11244         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
11245         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
11246         (gethostid): Likewise.
11247         * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
11248         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11249         Likewise.
11250         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
11251         * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
11252         * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
11253         * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
11254         Likewise.
11255         * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
11256         * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
11257         * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
11258         Likewise.
11259         * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
11260         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
11261         Likewise.
11262         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
11263         Likewise.
11264         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
11265         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
11266         * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
11267         __close_nocancel.
11269         * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
11270         (openat_not_cancel_3): Likewise.
11271         (openat64_not_cancel_3): Likewise).
11272         (openat_not_cancel_3): Likewise).
11273         * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
11274         macro.
11275         (openat_not_cancel_3): Likewise.
11276         (openat64_not_cancel): Likewise.
11277         (openat64_not_cancel_3): Likewise.
11278         * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
11279         * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
11280         * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
11281         __open{64}_nocancel.
11282         * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
11283         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
11284         * sysdeps/posix/opendir.c (__opendirat): Likewise.
11286 2017-08-18  H.J. Lu  <hongjiu.lu@intel.com>
11288         [BZ #18822]
11289         * include/argz.h (__argz_create_sep): New function prototype.
11290         (__argz_append): Likewise.
11291         (__argz_add): Likewise.
11292         (__argz_add_sep): Likewise.
11293         (__argz_delete): Likewise.
11294         (__argz_insert): Likewise.
11295         (__argz_replace): Likewise.
11296         * string/argz.h (__argz_create_sep): Removed.
11297         (__argz_append): Likewise.
11298         (__argz_add): Likewise.
11299         (__argz_add_sep): Likewise.
11300         (__argz_delete): Likewise.
11301         (__argz_insert): Likewise.
11302         (__argz_replace): Likewise.
11304 2017-08-18  H.J. Lu  <hongjiu.lu@intel.com>
11306         * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
11307         (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
11308         (GNU_PROPERTY_STACK_SIZE): Likewie.
11309         (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
11310         (GNU_PROPERTY_LOPROC): Likewise.
11311         (GNU_PROPERTY_HIPROC): Likewise.
11312         (GNU_PROPERTY_LOUSER): Likewise.
11313         (GNU_PROPERTY_HIUSER): Likewise.
11314         (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
11315         (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
11316         (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
11317         (GNU_PROPERTY_X86_ISA_1_486): Likwise.
11318         (GNU_PROPERTY_X86_ISA_1_586): Likwise.
11319         (GNU_PROPERTY_X86_ISA_1_686): Likwise.
11320         (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
11321         (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
11322         (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
11323         (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
11324         (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
11325         (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
11326         (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
11327         (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
11328         (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
11329         (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
11330         (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
11331         (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
11332         (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
11333         (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
11334         (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
11335         (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
11336         (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
11338 2017-08-18  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11340         * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
11341         in C++ mode.
11343 2017-08-18  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11345         [BZ #21930]
11346         * math/math.h (isinf): Check if in C or C++ mode before using
11347         __builtin_types_compatible_p, since this is a C mode feature.
11349 2017-08-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11351         * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
11352         (__write_nocancel): New macro.
11353         * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
11354         Rewrite as a function prototype.
11355         (write_not_cancel): Remove macro.
11356         * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
11357         * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
11358         (write_gmon): Likewise.
11359         * libio/fileops.c (_IO_new_file_write): Likewise.
11360         * login/utmp_file.c (pututline_file): Likewise.
11361         (updwtmp_file): Likewise.
11362         * stdio-common/psiginfo.c (psiginfo): Likewise.
11363         * sysdeps/posix/spawni.c (__spawni_child): Likewise.
11364         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
11365         * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
11366         Likewise.
11367         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
11368         Likewise.
11370         * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
11371         (__read_nocancel): New macro.
11372         * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
11373         __read_nocancel.
11374         * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
11375         macro.
11376         (__read_nocancel): New prototype.
11377         * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
11378         * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
11379         with __read_nocancel.
11380         * intl/loadmsgcat.c (read): Likewise.
11381         * libio/fileops.c (_IO_file_read): Likewise.
11382         * locale/loadlocale.c (_nl_load_locale): Likewise.
11383         * login/utmp_file.c (getutent_r_file): Likewise.
11384         (internal_getut_r): Likewise.
11385         (getutline_r_file): Likewise.
11386         * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
11387         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
11388         * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
11389         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11390         Likewise.
11391         * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
11392         * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
11393         * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
11394         Likewise.
11395         * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
11396         Likewise.
11397         * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
11398         Likewise.
11399         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
11400         Likewise.
11401         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
11403 2017-08-18  H.J. Lu  <hongjiu.lu@intel.com>
11405         [BZ #21966]
11406         * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
11407         (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
11408         usable.
11410 2017-08-17  DJ Delorie  <dj@redhat.com>
11412         * bug17079.c: Update to new test harness.
11413         * test-digits-dots.c: Likewise.
11414         * test-netdb.c: Likewise.
11415         * tst-field.c: Likewise.
11416         * tst-nss-getpwent.c: Likewise.
11417         * tst-nss-static.c: Likewise.
11418         * tst-nss-test1.c: Likewise.
11419         * tst-nss-test2.c: Likewise.
11420         * tst-nss-test3.c: Likewise.
11421         * tst-nss-test4.c: Likewise.
11422         * tst-nss-test5.c: Likewise.
11424 2017-08-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11426         * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
11427         (open_not_cancel_2): Likewise.
11428         (open_nocancel): New macro.
11429         (open64_nocancel): Likewise.
11430         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
11431         (open_not_cancel_2): Likewise.
11432         (__open_nocancel): New prototype.
11433         (__open64_nocancel): Likewise.
11434         * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
11435         __open_nocancel.
11436         * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
11437         * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
11438         * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
11439         with __open_nocancel.
11440         * csu/check_fds.c (check_one_fd): Likewise.
11441         * gmon/gmon.c (write_gmon): Likewise.
11442         * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
11443         * intl/loadmsgcat.c (open): Likewise.
11444         * libio/fileops.c (_IO_file_open): Likewise.
11445         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11446         * locale/loadlocale.c (_nl_load_locale): Likewise.
11447         * login/utmp_file.c (setutent_file): Likewise.
11448         * misc/daemon.c (daemon): Likewise.
11449         * nss/nss_db/db-open.c (internal_setent): Likewise.
11450         * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
11451         * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
11452         * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
11453         (__opendir): Likewise.
11454         * sysdeps/posix/spawni.c (__spawni_child): Likewise.
11455         * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
11456         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
11457         (gethostid): Likewise.
11458         * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
11459         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11460         Likewise.
11461         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
11462         * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
11463         * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
11464         * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
11465         Likewise.
11466         * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
11467         Likewise.
11468         * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
11469         Likewise.
11470         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
11471         Likewise.
11472         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
11473         Likewise.
11474         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
11475         Likewise.
11476         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
11477         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
11479 2017-08-17  Wilco Dijkstra  <wdijkstr@arm.com>
11481         * benchtests/bench-skeleton.c (main): Add support for
11482         latency benchmarking.
11483         * benchtests/scripts/bench.py: Add support for latency benchmarking.
11485 2017-08-17  H.J. Lu  <hongjiu.lu@intel.com>
11487         * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
11488         the startup object.
11490 2017-08-17  Florian Weimer  <fweimer@redhat.com>
11492         * include/sys/socket.h (__opensock): Remove internal_function.
11493         * socket/opensock.c (__opensock): Likewise.
11494         * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
11496 2017-08-16  Joseph Myers  <joseph@codesourcery.com>
11498         [BZ #21944]
11499         * signal/bits/types/__sigval_t.h: New file.
11500         * signal/Makefile (headers): Add bits/types/__sigval_t.h.
11501         * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
11502         and define sigval_t using __sigval_t.
11503         * include/bits/types/__sigval_t.h: New file.
11504         * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
11505         instead of <bits/types/__sigval_t.h>.
11506         (struct sigevent): Use __sigval_t instead of sigval_t.
11507         * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
11508         instead of <bits/types/__sigval_t.h>.
11509         (siginfo_t): Use __sigval_t instead of sigval_t.
11510         * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
11511         <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
11512         (struct sigevent): Use __sigval_t instead of sigval_t.
11513         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
11514         <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
11515         (siginfo_t): Use __sigval_t instead of sigval_t.
11516         * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
11518 2017-08-16  H.J. Lu  <hongjiu.lu@intel.com>
11520         * NEWS: Remove "[Add new features here]" for 2.27.
11522 2017-08-16  Joseph Myers  <joseph@codesourcery.com>
11524         * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
11525         libc.so.
11527 2017-08-16  H.J. Lu  <hongjiu.lu@intel.com>
11529         * NEWS: Mention x86-64 FMA optimization.
11531 2017-08-16  H.J. Lu  <hongjiu.lu@intel.com>
11533         [BZ #21912]
11534         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
11535         Add e_expf-fma.
11536         * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
11537         * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
11538         * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
11540 2017-08-16  Andreas Schwab  <schwab@suse.de>
11542         [BZ #16750]
11543         CVE-2009-5064
11544         * elf/ldd.bash.in: Never run file directly.
11546 2017-08-15  H.J. Lu  <hongjiu.lu@intel.com>
11548         [BZ #21955]
11549         * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
11550         (L(SP_INF_0)): Likewise.
11552 2017-08-15  Florian Weimer  <fweimer@redhat.com>
11554         * gmon/Makefile (tests-special): Add tst-gmon-prof only if
11555         run-built-tests.
11557 2017-08-15  Florian Weimer  <fweimer@redhat.com>
11559         Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
11560         * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
11561         BROKEN_THREAD_SIGNALS code.
11562         * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
11563         request_list): Remove caller_pid member used for
11564         BROKEN_THREAD_SIGNALS.
11565         [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
11566         * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
11567         Remove BROKEN_THREAD_SIGNALS support.
11568         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
11569         * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
11571 2017-08-15  Florian Weimer  <fweimer@redhat.com>
11573         * gmon/Makefile (tests): Add tst-gmon.
11574         (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
11575         Set.
11576         (tests-special): Add tst-gmon-prof.out.
11577         (tst-gmon.out): Depend on clean-tst-gmon-data.
11578         (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
11579         * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
11580         * Makeconfig (+link-before-libc): Add CRT-* hook to override the
11581         startup object.
11582         * aclocal.m4 (GPROF): Set and substitute.
11583         * config.amke.in (GPROF): Set.
11584         * configure: Regenerate.
11586 2017-08-15  Gustavo Romero  <gromero@linux.vnet.ibm.com>
11588         * elf/elf.h A (NT_PPC_TAR): New macro.
11589         (NT_PPC_PPR): Likewise.
11590         (NT_PPC_DSCR): Likewise.
11591         (NT_PPC_EBB): Likewise.
11592         (NT_PPC_PMU): Likewise.
11593         (NT_PPC_TM_CGPR): Likewise.
11594         (NT_PPC_TM_CFPR): Likewise.
11595         (NT_PPC_TM_CVMX): Likewise.
11596         (NT_PPC_TM_CVSX): Likewise.
11597         (NT_PPC_TM_SPR): Likewise.
11598         (NT_PPC_TM_CTAR): Likewise.
11599         (NT_PPC_TM_CPPR): Likewise.
11600         (NT_PPC_TM_CDSCR): Likewise.
11602 2017-08-15  Florian Weimer  <fweimer@redhat.com>
11604         * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
11605         regparm (2) instead of internal_function.
11606         (_MCOUNT_DECL): Adjust.
11608 2017-08-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
11610         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
11611         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
11613 2017-08-14  Joseph Myers  <joseph@codesourcery.com>
11615         * conform/data/sys/wait.h-data (si_value): Do not expect for
11616         XPG42.
11618 2017-08-14  Florian Weimer  <fweimer@redhat.com>
11620         [BZ #21962]
11621         NSS: Create stubs for accidentally exported lookup functions.
11622         * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
11623         Remove declaration.
11624         * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
11625         (ether_hostton): Call __nss_ethers_lookup2 instead.
11626         * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
11627         (ether_ntohost): Call __nss_ethers_lookup2 instead.
11628         * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
11629         (setup): Call __nss_netgroup_lookup2 instead.
11630         * nss/Makefile (routines): Add compat-lookup.
11631         * nss/Versions (GLIBC_2.27): Add symbol version.
11632         * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration.  Now provided by <nsswitch.h>.
11633         (DB_COMPAT_FCT): Remove.
11634         * nss/compat-lookup.c: New file.
11635         * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
11636         from databases.def.
11637         * nss/service-lookup.c (NO_COMPAT): Remove definition.
11638         * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
11639         (netname2user): Call __nss_publickey_lookup2 instead.
11640         * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
11641         (getpublickey, getsecretkey): Call __nss_publickey_lookup2
11642         instead.
11644 2017-08-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11645             Sergei Trofimovich  <slyfox@inbox.ru>
11647         [BZ #21908]
11648         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
11649         Rename to MMAP2_PAGE_UNIT.
11650         * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
11651         __OFF_T_MATCHES_OFF64_T is not defined.
11652         * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
11653         uint64_t.
11654         (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
11655         (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
11657 2017-08-14  Florian Weimer  <fweimer@redhat.com>
11659         i386: Do not set internal_function.
11660         * config.h.in (USE_REGPARMS, internal_function): Remove.
11661         * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
11662         * sysdeps/i386/configure (USE_REGPARMS): Likewise.
11664 2017-08-14  Florian Weimer  <fweimer@redhat.com>
11666         * elf/dl-init.c (_dl_init): Remove internal_function.
11667         * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
11668         * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
11670 2017-08-14  Florian Weimer  <fweimer@redhat.com>
11672         * elf/rtld.c (_dl_start): Remove internal_function.
11673         * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
11674         _dl_start.
11676 2017-08-14  Florian Weimer  <fweimer@redhat.com>
11678         * elf/dl-fini.c (_dl_fini): Remove internal_function
11679         * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
11681 2017-08-14  H.J. Lu  <hongjiu.lu@intel.com>
11683         * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
11684         (bit_cpu_SHSTK): Likewise.
11685         (index_cpu_IBT): Likewise.
11686         (index_cpu_SHSTK): Likewise.
11687         (reg_IBT): Likewise.
11688         (reg_SHSTK): Likewise.
11689         * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
11690         Handle index_cpu_IBT and index_cpu_SHSTK.
11692 2017-08-14  Mike FABIAN  <mfabian@redhat.com>
11694         [BZ #19982]
11695         * po/fr.po: Fix spelling mistake.
11697 2017-08-13  Florian Weimer  <fweimer@redhat.com>
11699         * elf/dl-addr.c (_dl_addr): Remove internal_function.
11700         * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
11701         (_dl_catch_error, _dl_receive_error): Likewise.
11702         * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
11703         * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
11704         (_dl_deallocate_tls): Likewise.
11705         * include/dlfcn.h (_dl_addr): Likewise.
11706         * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
11707         (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
11708         (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
11709         Likewise.
11711 2017-08-13  Florian Weimer  <fweimer@redhat.com>
11713         * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
11714         (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
11715         internal_function.
11716         * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
11718 2017-08-13  Florian Weimer  <fweimer@redhat.com>
11720         * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
11721         internal_function.
11722         * nptl/allocatestack.c (__make_stacks_executable): Likewise.
11723         * nptl/pthreadP.h (__make_stacks_executable): Likewise.
11724         * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
11725         internal_function from _dl_make_stack_executable_hook member.
11726         (_dl_make_stack_executable): Remove internal_function.
11727         * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
11728         Likewise.
11729         * sysdeps/unix/sysv/linux/dl-execstack.c
11730         (_dl_make_stack_executable): Likewise.
11732 2017-08-13  Florian Weimer  <fweimer@redhat.com>
11734         * sysdeps/unix/sysv/linux/netlinkaccess.h
11735         (__netlink_assert_response): Remove internal_function.
11736         * sysdeps/unix/sysv/linux/netlink_assert_response.c
11737         (__netlink_assert_response): Likewise.
11739 2017-08-13  Florian Weimer  <fweimer@redhat.com>
11741         * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
11742         internal_function.
11743         * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
11745 2017-08-13  Florian Weimer  <fweimer@redhat.com>
11747         * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
11748         internal_function.
11749         * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
11750         * inet/netgroup.h (__internal_setnetgrent)
11751         (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
11752         * inet/getnetgrent_r.c (__internal_setnetgrent)
11753         (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
11754         * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
11755         * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
11756         * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
11757         * nss/nsswitch.h (db_lookup_function): Likewise.
11759 2017-08-13  Florian Weimer  <fweimer@redhat.com>
11761         * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
11762         Remove internal_function.
11763         * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
11764         * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
11765         message argument on the stack.
11766         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
11767         Likeweise.
11769 2017-08-12  Mike FABIAN  <mfabian@redhat.com>
11771         Adapt test case data to the changes in the thousands
11772         separators.
11774         [BZ #20756]
11775         * localedata/tst-langinfo.sh: Adapt test case data.
11776         * stdlib/tst-strfmon_l.c: Likewise.
11777         * stdlib/tst-strtod4.c: Likewise.
11778         * stdlib/tst-strtod5i.c: Likewise.
11780 2017-08-11  Florian Weimer  <fweimer@redhat.com>
11782         [BZ #21242]
11783         * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
11784         Suppress pedantic warning resulting from statement expression.
11785         (__ASSERT_FUNCTION): Add missing __extension__.
11787 2017-08-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11789         * benchtests/bench-memmove-large.c: Print output in JSON
11790         format.
11791         * benchtests/bench-memmove.c: Likewise.
11793         * benchtests/bench-memccpy.c (do_one_test): Remove checks.
11794         * benchtests/bench-memchr.c (do_one_test): Likewise.
11795         * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
11796         * benchtests/bench-memcpy.c (do_one_test): Likewise.
11797         * benchtests/bench-memmove-large.c (do_one_test): Likewise.
11798         * benchtests/bench-memmove.c (do_one_test): Likewise.
11799         * benchtests/bench-memset-large.c (do_one_test): Likewise.
11800         * benchtests/bench-memset.c (do_one_test): Likewise.
11801         * benchtests/bench-string.h (test_init): Remove memsets.
11803 2017-08-10  Rical Jasan  <ricaljasan@pacific.net>
11805         * manual/lang.texi
11806         (Computing the Width of an Integer Data Type): Rename section to
11807         "Width of an Integer Type".  Remove inaccurate statement regarding
11808         lack of C language facilities for determining width of integer
11809         types, and reorder content to improve flow and context of
11810         discussion.
11812 2017-08-10  Rical Jasan  <ricaljasan@pacific.net>
11814         * lang.texi (va_copy): Change standard from ISO to C99.
11815         (__va_copy): Add standard and header annotation.
11816         Update description for clarity of origins and current use.
11818 2017-08-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11820         [BZ #21941]
11821         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
11822         xssqrtqp requires operands to be in Vector Registers
11823         (Altivec/VMX), replace the register constraint 'wq' with 'v'.
11824         * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
11825         (__ieee754_sqrtf128): Likewise.
11827 2017-08-10  Wilco Dijkstra  <wdijkstr@arm.com>
11829         * sysdeps/aarch64/memcmp.S (memcmp):
11830         Rewrite of optimized memcmp.
11832 2017-08-10  Florian Weimer  <fweimer@redhat.com>
11834         Introduce ld.so exceptions.
11835         * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
11836         (_dl_exception_create, _dl_exception_create_format)
11837         (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
11838         (_dl_catch_exception): Declare.
11839         (_dl_catch_error): Update comment.
11840         * elf/dl-error-skeleton.c (struct catch): Replace objname,
11841         errstring, malloced members with exception member.
11842         (_dl_out_of_memory): Remove.
11843         (fatal_error): New function, extracted from _dl_signal_error.
11844         (_dl_signal_exception, _dl_signal_cexception): New functions.
11845         (_dl_signal_error): Call _dl_exception_create to allocate an
11846         exception object.
11847         (_dl_catch_exception): New function, based on _dl_catch_error.
11848         (_dl_catch_error): Implement using _dl_catch_exception.
11849         * elf/dl-exception.c: New file.
11850         * elf/Makefile (dl-routines): Add dl-exception.
11851         (elide-routines.os): Likewise.
11852         * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
11853         _dl_exception_create_format, _dl_exception_free.
11854         * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
11855         _dl_signal_exception.
11856         * elf/dl-lookup.c (make_string): Remove.
11857         (_dl_lookup_symbol_x): Use _dl_exception_create_format,
11858         _dl_signal_cexception, _dl_exception_free.
11859         * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
11860         _dl_signal_exception.
11861         * elf/dl-sym.c (do_sym): Likewise.
11862         * elf/dl-version.c (make_string): Remove.
11863         (match_symbol): Use _dl_exception_create_format,
11864         _dl_signal_cexception, _dl_exception_free.
11865         (_dl_check_map_versions): Likewise.
11866         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
11867         _dl_catch_exception.
11868         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
11869         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
11870         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
11871         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
11872         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
11873         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
11874         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
11875         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
11876         Likewise.
11877         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
11878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
11879         (ld.so): Likewise.
11880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
11881         (ld.so): Likewise.
11882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
11883         Likewise.
11884         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
11885         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
11886         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
11887         Likewise.
11888         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
11889         Likewise.
11890         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
11892 2017-08-10  Florian Weimer  <fweimer@redhat.com>
11894         * inet/net-internal.h (__inet6_scopeid_pton): Remove
11895         attribute_hidden, internal_function.
11896         * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
11897         internal_function.
11899 2017-08-10  Florian Weimer  <fweimer@redhat.com>
11901         * malloc/malloc.c (get_max_fast): Reimplement as an inline
11902         function which calls __builtin_unreachable.
11904 2017-08-10  Mike FABIAN  <mfabian@redhat.com>
11906         * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
11907         Indian monetary formatting
11908         * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
11909         test cases.
11911 2017-08-09  Dmitry V. Levin  <ldv@altlinux.org>
11913         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
11914         Fix typo in comment.
11916         [BZ #21928]
11917         * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
11918         PTRACE_SEIZE_DEVEL): Remove.
11919         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
11920         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
11921         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11922         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11923         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11925 2017-08-09  Joseph Myers  <joseph@codesourcery.com>
11927         * posix/bits/types.h (__qaddr_t): Remove.
11929         [BZ #21457]
11930         * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
11931         (ucontext_t): Use __ctx with uc_flags.  Rename uc_filler to
11932         __glibc_reserved1.
11933         * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
11934         (ucontext_t): Use __ctx with uc_flags.
11935         * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
11936         (__ctxt): Likewise.
11937         (ucontext_t): Use __ctx with uc_flags.  Rename uc_filler to
11938         __glibc_reserved1.
11939         * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
11940         (ucontext_t): Use __ctx with uc_flags.  Rename uc_filler to
11941         __glibc_reserved1.
11942         * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
11943         (ucontext_t): Use __ctx with uc_flags.  Rename uc_filler to
11944         __glibc_reserved1.
11945         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
11946         macro.
11947         (ucontext_t): Use __ctx with uc_flags.
11948         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
11949         (ucontext_t): Use __ctx with uc_flags.
11950         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
11951         (ucontext_t): Use __ctx with uc_flags and uc_regspace.
11952         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
11953         (ucontext_t): Use __ctx with uc_flags.
11954         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
11955         undefine further down.
11956         (ucontext_t): Use __ctx with uc_flags.  Rename uc_filler to
11957         __glibc_reserved1.
11958         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
11959         undefine further down.
11960         (ucontext_t): Use __ctx with uc_flags.
11961         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
11962         undefine further down.
11963         (ucontext_t): Use __ctx with uc_flags.
11964         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
11965         __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
11966         Rename uc_pad to __glibc_reserved1.
11967         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
11968         undefine further down.
11969         (ucontext_t): Use __ctx with uc_flags.
11970         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
11971         further down.
11972         (ucontext_t): Use __ctx with uc_flags.
11973         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
11974         __ctx with uc_flags.
11975         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
11976         (ucontext_t): Use __ctx with uc_flags.
11977         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
11978         __ctx with uc_flags.
11980 2017-08-09  Florian Weimer  <fweimer@redhat.com>
11982         [BZ #21932]
11983         * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
11984         before early return.
11986 2017-08-09  Andreas Schwab  <schwab@suse.de>
11988         [BZ #21041]
11989         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
11990         renamed alias.
11992         [BZ #21041]
11993         * nptl/Makefile (tests) [$(build-shared) = yes]: Add
11994         tst-compat-forwarder.
11995         (modules-names): Add tst-compat-forwarder-mod.
11996         ($(objpfx)tst-compat-forwarder): Depend on
11997         $(objpfx)tst-compat-forwarder-mod.so.
11998         * nptl/tst-compat-forwarder.c: New file.
11999         * nptl/tst-compat-forwarder-mod.c: New file.
12001 2017-08-09  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12003         * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
12004         comments.
12006         * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
12007         * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
12008         memcpy_falkor.
12009         * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
12010         Bump.
12011         (__libc_ifunc_impl_list): Add __memcpy_falkor.
12012         * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
12013         * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
12014         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
12015         Add falkor.
12016         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
12017         New macro.
12019 2017-08-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12021         [BZ #759]
12022         * manual/setjmp.texi (getcontex): Document uc_stack value
12023         compatibility differences.
12025 2017-08-08  Joseph Myers  <joseph@codesourcery.com>
12027         * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
12028         (old_malloc_hook): Likewise.
12029         (old_memalign_hook): Likewise.
12030         (old_realloc_hook): Likewise.
12031         (struct hdr): Likewise.
12032         (flood): Likewise.
12033         (freehook): Likewise.
12034         (mallochook): Likewise.
12035         (memalignhook): Likewise.
12036         (reallochook): Likewise.
12037         (mprobe): Likewise.
12038         * malloc/mtrace.c (mallwatch): Likewise.
12039         (tr_old_free_hook): Likewise.
12040         (tr_old_malloc_hook): Likewise.
12041         (tr_old_realloc_hook): Likewise.
12042         (tr_old_memalign_hook): Likewise.
12043         (tr_where): Likewise.
12044         (lock_and_info): Likewise.
12045         (tr_freehook): Likewise.
12046         (tr_mallochook): Likewise.
12047         (tr_reallochook): Likewise.
12048         (tr_memalignhook): Likewise.
12049         * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
12050         * misc/mmap.c (__mmap): Likewise.
12051         * misc/mmap64.c (__mmap64): Likewise.
12052         * misc/mprotect.c (__mprotect): Likewise.
12053         * misc/msync.c (msync): Likewise.
12054         * misc/munmap.c (__munmap): Likewise.
12055         * posix/posix_madvise.c (posix_madvise): Likewise.
12056         * socket/send.c (__send): Likewise.
12057         * socket/sendto.c (__sendto): Likewise.
12058         * socket/setsockopt.c (__setsockopt): Likewise.
12059         * string/memcmp.c (__ptr_t): Remove macro.
12060         (MEMCMP): Use void * instead of ptr_t.
12061         * string/memrchr.c (__ptr_t): Remove macro.
12062         (__memrchr): Use void * instead of ptr_t.
12063         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
12064         * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
12065         * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
12066         * sysdeps/mach/mprotect.c (__mprotect): Likewise.
12067         * sysdeps/mach/msync.c (msync): Likewise.
12068         * sysdeps/mach/munmap.c (__munmap): Likewise.
12069         * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
12070         Likewise.
12071         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
12072         * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
12073         * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
12074         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
12075         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
12076         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
12077         * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
12078         * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
12079         Likewise.
12080         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
12081         * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
12082         * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
12083         * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
12084         * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
12085         * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
12086         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
12087         * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
12088         * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
12089         Likewise.
12090         * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
12091         * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
12092         * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
12093         (MEMCMP): Use void * instead of ptr_t.
12094         * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
12095         * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
12097 2017-08-08  Florian Weimer  <fweimer@redhat.com>
12099         * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
12100         return statement.
12102 2017-08-08  H.J. Lu  <hongjiu.lu@intel.com>
12104         [BZ #21913]
12105         * csu/libc-tls.c: Include <startup.h> first.
12106         (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
12107         * elf/dl-tunables.c: Include <startup.h> first.
12108         * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
12109         * sysdeps/generic/startup.h: New file.
12110         * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
12111         * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
12112         (I386_USE_SYSENTER): New.  Defined to 0.
12114 2017-08-08  Andreas Schwab  <schwab@suse.de>
12116         [BZ #21041]
12117         * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
12118         * nptl/pt-system.c (system): Likewise.
12120 2017-08-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12122         [BZ #21780]
12123         * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
12124         EOPNOTSUPP.
12125         * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
12126         * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
12127         * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
12128         * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
12129         * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
12130         * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
12131         * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
12133 2017-08-07  Joseph Myers  <joseph@codesourcery.com>
12135         [BZ #21899]
12136         * bits/sigaction.h (struct sigaction): Define sa_handler and
12137         sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
12138         (SA_ONSTACK): Change [__USE_UNIX98] condition to
12139         [__USE_XOPEN_EXTENDED].
12140         (SA_RESTART): Likewise.
12141         (SA_NODEFER): Likewise.
12142         (SA_RESETHAND): Likewise.
12143         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
12144         (struct sigaction): Define sa_handler and sa_sigaction using union
12145         also for [__USE_XOPEN_EXTENDED].
12146         (SA_ONSTACK): Change [__USE_UNIX98] condition to
12147         [__USE_XOPEN_EXTENDED].
12148         (SA_RESTART): Likewise.
12149         (SA_NODEFER): Likewise.
12150         (SA_RESETHAND): Likewise.
12151         * sysdeps/unix/sysv/linux/bits/sigaction.h
12152         (struct sigaction): Define sa_handler and sa_sigaction using union
12153         also for [__USE_XOPEN_EXTENDED].
12154         (SA_ONSTACK): Change [__USE_UNIX98] condition to
12155         [__USE_XOPEN_EXTENDED].
12156         (SA_RESTART): Likewise.
12157         (SA_NODEFER): Likewise.
12158         (SA_RESETHAND): Likewise.
12159         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
12160         (struct sigaction): Define sa_handler and sa_sigaction using union
12161         also for [__USE_XOPEN_EXTENDED].
12162         (SA_ONSTACK): Change [__USE_UNIX98] condition to
12163         [__USE_XOPEN_EXTENDED].
12164         (SA_RESTART): Likewise.
12165         (SA_NODEFER): Likewise.
12166         (SA_RESETHAND): Likewise.
12167         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
12168         (struct sigaction): Define sa_handler and sa_sigaction using union
12169         also for [__USE_XOPEN_EXTENDED].
12170         (SA_ONSTACK): Change [__USE_UNIX98] condition to
12171         [__USE_XOPEN_EXTENDED].
12172         (SA_RESTART): Likewise.
12173         (SA_NODEFER): Likewise.
12174         (SA_RESETHAND): Likewise.
12175         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
12176         (struct sigaction): Define sa_handler and sa_sigaction using union
12177         also for [__USE_XOPEN_EXTENDED].
12178         (SA_ONSTACK): Change [__USE_UNIX98] condition to
12179         [__USE_XOPEN_EXTENDED].
12180         (SA_RESTART): Likewise.
12181         (SA_NODEFER): Likewise.
12182         (SA_RESETHAND): Likewise.
12183         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
12184         (struct sigaction): Define sa_handler and sa_sigaction using union
12185         also for [__USE_XOPEN_EXTENDED].
12186         (SA_ONSTACK): Change [__USE_UNIX98] condition to
12187         [__USE_XOPEN_EXTENDED].
12188         (SA_RESTART): Likewise.
12189         (SA_NODEFER): Likewise.
12190         (SA_RESETHAND): Likewise.
12191         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
12192         (struct sigaction): Define sa_handler and sa_sigaction using union
12193         also for [__USE_XOPEN_EXTENDED].
12194         (SA_ONSTACK): Change [__USE_UNIX98] condition to
12195         [__USE_XOPEN_EXTENDED].
12196         (SA_RESTART): Likewise.
12197         (SA_NODEFER): Likewise.  Define directly rather than as alias.
12198         (SA_RESETHAND): Likewise.
12199         (SA_INTERRUPT): Define only for [__USE_MISC].
12200         (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
12201         (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
12202         [__USE_MISC].
12203         (SA_STACK): Define only for [__USE_MISC].
12204         * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
12205         (struct sigaction): Define sa_handler and sa_sigaction using union
12206         also for [__USE_XOPEN_EXTENDED].
12207         (SA_ONSTACK): Change [__USE_UNIX98] condition to
12208         [__USE_XOPEN_EXTENDED].
12209         (SA_RESTART): Likewise.
12210         (SA_NODEFER): Likewise.
12211         (SA_RESETHAND): Likewise.
12212         (SA_NOPTRACE): Define only for [__USE_MISC].
12214         * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
12215         * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
12216         (struct catalog_info): Likewise.
12217         * inet/htontest.c (lo): Likewise.
12218         (foo): Likewise.
12219         * inet/inet_lnaof.c (inet_lnaof): Likewise.
12220         * inet/inet_net.c (inet_network): Likewise.
12221         * inet/inet_netof.c (inet_netof): Likewise.
12222         * inet/rcmd.c (__ivaliduser): Likewise.
12223         (iruserok): Likewise.
12224         * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
12225         * locale/programs/locale-spec.c (locale_special): Likewise.
12226         * nis/nis_findserv.c (struct findserv_req): Likewise.
12227         (__nis_findfastest_with_timeout): Likewise.
12228         * nss/test-netdb.c (test_network): Likewise.
12229         * resolv/inet_neta.c (inet_neta): Likewise.
12230         * resolv/ns_date.c (ns_datetosecs): Likewise.
12231         (SECS_PER_DAY): Likewise.
12232         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
12233         Likewise.
12234         * resolv/res_comp.c (__putlong): Likewise.
12235         (__putshort): Likewise.
12236         (_getlong): Likewise.
12237         (_getshort): Likewise.
12238         * resolv/res_debug.c (p_time): Likewise.
12239         (precsize_ntoa): Likewise.
12240         (precsize_aton): Likewise.
12241         (latlon2ul): Likewise.
12242         (loc_aton): Likewise.
12243         (loc_ntoa): Likewise.
12244         * resolv/res_hconf.c (struct netaddr): Likewise.
12245         (_res_hconf_reorder_addrs): Likewise.
12246         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
12247         (clnttcp_control): Likewise.
12248         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12249         (clntudp_control): Likewise.
12250         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
12251         (clntunix_control): Likewise.
12252         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
12253         * sunrpc/rpc/auth.h (union des_block): Likewise.
12254         * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
12255         * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
12256         (xdrrec_create): Likewise.
12257         (xdrrec_endofrecord): Likewise.
12258         (flush_out): Likewise.
12259         * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
12260         (xdrstdio_putlong): Likewise.
12261         * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
12262         Likewise.
12264         * misc/sys/cdefs.h (__long_double_t): Remove.
12265         * stdio-common/printf_fp.c (__printf_fp_l): Use long double
12266         instead of __long_double_t,
12267         * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
12269 2017-08-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12271         * benchtests/scripts/compare_strings.py: Avoid display error when
12272         running on a text terminal.
12274         * benchtests/scripts/compare_strings.py (main): Add an
12275         optional -base option.
12276         (process_results): New argument base_func.
12278         * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
12279         hardcoding memcpy.
12280         * benchtests/bench-memcpy-large.c (test_name): Likewise.
12281         * benchtests/bench-memcpy-random.c (test_name): Likewise.
12283 2017-08-07  Andreas Schwab  <schwab@suse.de>
12285         * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
12286         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
12287         * intl/Makefile ($(objpfx)tst-gettext.out)
12288         ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
12289         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
12290         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
12291         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
12292         * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
12293         * posix/Makefile ($(objpfx)globtest.out)
12294         ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
12295         * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
12296         ($(objpfx)tst-printf.out): Likewise.
12297         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
12298         ($(objpfx)tst-setcontext3.out): Likewise.
12300 2017-08-07  H.J. Lu  <hongjiu.lu@intel.com>
12302         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12303         Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
12304         e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
12305         slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
12306         halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
12307         and mptan-fma.
12308         (CFLAGS-doasin-fma.c): New.
12309         (CFLAGS-dosincos-fma.c): Likewise.
12310         (CFLAGS-e_asin-fma.c): Likewise.
12311         (CFLAGS-e_atan2-fma.c): Likewise.
12312         (CFLAGS-e_exp-fma.c): Likewise.
12313         (CFLAGS-e_log-fma.c): Likewise.
12314         (CFLAGS-e_pow-fma.c): Likewise.
12315         (CFLAGS-halfulp-fma.c): Likewise.
12316         (CFLAGS-mpa-fma.c): Likewise.
12317         (CFLAGS-mpatan-fma.c): Likewise.
12318         (CFLAGS-mpatan2-fma.c): Likewise.
12319         (CFLAGS-mpexp-fma.c): Likewise.
12320         (CFLAGS-mplog-fma.c): Likewise.
12321         (CFLAGS-mpsqrt-fma.c): Likewise.
12322         (CFLAGS-mptan-fma.c): Likewise.
12323         (CFLAGS-s_atan-fma.c): Likewise.
12324         (CFLAGS-sincos32-fma.c): Likewise.
12325         (CFLAGS-slowexp-fma.c): Likewise.
12326         (CFLAGS-slowpow-fma.c): Likewise.
12327         (CFLAGS-s_sin-fma.c): Likewise.
12328         (CFLAGS-s_tan-fma.c): Likewise.
12329         * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
12330         * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
12331         * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
12332         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
12333         * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
12334         * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
12335         * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
12336         * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
12337         * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
12338         * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
12339         * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
12340         * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
12341         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
12342         * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
12343         * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
12344         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
12345         * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
12346         * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
12347         * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
12348         * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
12349         * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
12350         * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
12351         * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
12352         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
12353         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12354         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12355         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12356         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
12357         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12358         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12359         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12361 2017-08-04  Joseph Myers  <joseph@codesourcery.com>
12363         * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
12364         (min_of_type_f): New macro.
12365         (min_of_type_): Likewise.
12366         (min_of_type_l): Likewise.
12367         (min_of_type_f128): Likewise.
12368         (min_of_type): Define using __MATH_TG and taking an expression
12369         argument.
12370         (math_check_force_underflow): Pass expression instead of type to
12371         min_of_type.
12372         (math_check_force_underflow_nonneg): Likewise.
12374 2017-08-04  H.J. Lu  <hongjiu.lu@intel.com>
12376         * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
12377         (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
12378         HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
12380 2017-08-04  H.J. Lu  <hongjiu.lu@intel.com>
12382         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12383         bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
12384         memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
12385         memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
12386         strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
12387         strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
12388         memcpy_chk-nonshared, mempcpy_chk-nonshared,
12389         memmove_chk-nonshared and memset_chk-nonshared
12390         * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
12391         * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
12392         * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
12393         * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
12394         * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
12395         * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
12396         * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
12397         * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
12398         * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
12399         * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
12400         * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
12401         * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
12402         * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
12403         * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
12404         * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
12405         * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
12406         * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
12407         * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
12408         * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
12409         * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
12410         * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
12411         * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
12412         * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
12413         * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
12414         * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
12415         * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
12416         * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
12417         * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
12418         * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
12419         * sysdeps/i386/i686/multiarch/memset.c: Likewise.
12420         * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
12421         * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
12422         * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
12423         * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
12424         * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
12425         * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
12426         * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
12427         * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
12428         * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
12429         * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
12430         * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
12431         * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
12432         * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
12433         * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
12434         * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
12435         * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
12436         * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
12437         * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
12438         * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
12439         * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
12440         * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
12441         * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
12442         * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
12443         * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
12444         * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
12445         * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
12446         * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
12447         * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
12448         * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
12449         * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
12450         * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
12451         * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
12452         * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
12453         * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
12454         * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
12455         * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
12456         * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
12457         * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
12458         * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
12459         * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
12460         * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
12461         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12462         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12463         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12464         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12465         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12466         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12467         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12468         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12469         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12470         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12471         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12472         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12473         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12474         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12475         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12476         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12477         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12478         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12479         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12480         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12481         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12482         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12483         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12484         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12485         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12486         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12487         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12488         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12489         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12490         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12491         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12492         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12493         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12494         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12495         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12496         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12497         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12499 2017-08-04  H.J. Lu  <hongjiu.lu@intel.com>
12501         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
12502         Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
12503         svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
12504         svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
12505         svml_d_log2_core-sse2, svml_d_log4_core-sse,
12506         svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
12507         svml_d_pow4_core-sse, svml_d_pow8_core-avx2
12508         svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
12509         svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
12510         svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
12511         svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
12512         svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
12513         svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
12514         svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
12515         svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
12516         svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
12517         svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
12518         svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
12519         svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
12520         * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
12521         * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
12522         * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
12523         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
12524         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
12525         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
12526         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
12527         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
12528         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
12529         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
12530         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
12531         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
12532         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
12533         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
12534         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
12535         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
12536         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
12537         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
12538         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
12539         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
12540         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
12541         * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
12542         * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
12543         * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
12544         * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
12545         * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
12546         * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
12547         * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
12548         * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
12549         * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
12550         * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
12551         * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
12552         * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
12553         * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
12554         * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
12555         * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
12556         * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
12557         * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
12558         * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
12559         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S:  Renamed to
12560         ...
12561         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
12562         Don't include <sysdep.h> nor <init-arch.h>.
12563         (_ZGVbN2v_cos): Removed.
12564         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S:  Renamed to
12565         ...
12566         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
12567         Don't include <sysdep.h> nor <init-arch.h>.
12568         (_ZGVdN4v_cos): Removed.
12569         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S:  Renamed to
12570         ...
12571         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
12572         Don't include <sysdep.h> nor <init-arch.h>.
12573         (_ZGVeN8v_cos): Removed.
12574         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S:  Renamed to
12575         ...
12576         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
12577         Don't include <sysdep.h> nor <init-arch.h>.
12578         (_ZGVbN2v_exp): Removed.
12579         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S:  Renamed to
12580         ...
12581         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
12582         Don't include <sysdep.h> nor <init-arch.h>.
12583         (_ZGVdN4v_exp): Removed.
12584         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S:  Renamed to
12585         ...
12586         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
12587         Don't include <sysdep.h> nor <init-arch.h>.
12588         (_ZGVeN8v_exp): Removed.
12589         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S:  Renamed to
12590         ...
12591         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
12592         Don't include <sysdep.h> nor <init-arch.h>.
12593         (_ZGVbN2v_log): Removed.
12594         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S:  Renamed to
12595         ...
12596         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
12597         Don't include <sysdep.h> nor <init-arch.h>.
12598         (_ZGVdN4v_log): Removed.
12599         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S:  Renamed to
12600         ...
12601         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
12602         Don't include <sysdep.h> nor <init-arch.h>.
12603         (_ZGVeN8v_log): Removed.
12604         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S:  Renamed to
12605         ...
12606         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
12607         Don't include <sysdep.h> nor <init-arch.h>.
12608         (_ZGVbN2vv_pow): Removed.
12609         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S:  Renamed to
12610         ...
12611         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
12612         Don't include <sysdep.h> nor <init-arch.h>.
12613         (_ZGVdN4vv_pow): Removed.
12614         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S:  Renamed to
12615         ...
12616         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
12617         Don't include <sysdep.h> nor <init-arch.h>.
12618         (_ZGVeN8vv_pow): Removed.
12619         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S:  Renamed to
12620         ...
12621         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
12622         Don't include <sysdep.h> nor <init-arch.h>.
12623         (_ZGVbN2v_sin): Removed.
12624         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S:  Renamed to
12625         ...
12626         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
12627         Don't include <sysdep.h> nor <init-arch.h>.
12628         (_ZGVbN4v_sin): Removed.
12629         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S:  Renamed to
12630         ...
12631         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
12632         Don't include <sysdep.h> nor <init-arch.h>.
12633         (_ZGVbN8v_sin): Removed.
12634         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S:  Renamed to
12635         ...
12636         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
12637         Don't include <sysdep.h> nor <init-arch.h>.
12638         (_ZGVbN2vvv_sincos): Removed.
12639         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S:  Renamed to
12640         ...
12641         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
12642         Don't include <sysdep.h> nor <init-arch.h>.
12643         (_ZGVdN4vvv_sincos): Removed.
12644         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S:  Renamed to
12645         ...
12646         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
12647         Don't include <sysdep.h> nor <init-arch.h>.
12648         (_ZGVeN8vvv_sincos): Removed.
12649         * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S:  Renamed to
12650         ...
12651         * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
12652         Don't include <sysdep.h> nor <init-arch.h>.
12653         (_ZGVeN16v_cosf): Removed.
12654         * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S:  Renamed to
12655         ...
12656         * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
12657         Don't include <sysdep.h> nor <init-arch.h>.
12658         (_ZGVbN4v_cosf): Removed.
12659         * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S:  Renamed to
12660         ...
12661         * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
12662         Don't include <sysdep.h> nor <init-arch.h>.
12663         (_ZGVdN8v_cosf): Removed.
12664         * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S:  Renamed to
12665         ...
12666         * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
12667         Don't include <sysdep.h> nor <init-arch.h>.
12668         (_ZGVeN16v_expf): Removed.
12669         * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S:  Renamed to
12670         ...
12671         * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
12672         Don't include <sysdep.h> nor <init-arch.h>.
12673         (_ZGVbN4v_expf): Removed.
12674         * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S:  Renamed to
12675         ...
12676         * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
12677         Don't include <sysdep.h> nor <init-arch.h>.
12678         (_ZGVdN8v_expf): Removed.
12679         * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S:  Renamed to
12680         ...
12681         * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
12682         Don't include <sysdep.h> nor <init-arch.h>.
12683         (_ZGVeN16v_logf): Removed.
12684         * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S:  Renamed to
12685         ...
12686         * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
12687         Don't include <sysdep.h> nor <init-arch.h>.
12688         (_ZGVbN4v_logf): Removed.
12689         * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S:  Renamed to
12690         ...
12691         * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
12692         Don't include <sysdep.h> nor <init-arch.h>.
12693         (_ZGVdN8v_logf): Removed.
12694         * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S:  Renamed to
12695         ...
12696         * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
12697         Don't include <sysdep.h> nor <init-arch.h>.
12698         (_ZGVeN16vv_powf): Removed.
12699         * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S:  Renamed to
12700         ...
12701         * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
12702         Don't include <sysdep.h> nor <init-arch.h>.
12703         (_ZGVbN4vv_powf): Removed.
12704         * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S:  Renamed to
12705         ...
12706         * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
12707         Don't include <sysdep.h> nor <init-arch.h>.
12708         (_ZGVdN8vv_powf): Removed.
12709         * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S:  Renamed to
12710         ...
12711         * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
12712         Don't include <sysdep.h> nor <init-arch.h>.
12713         (_ZGVeN16vvv_sincosf): Removed.
12714         * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S:  Renamed to
12715         ...
12716         * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
12717         Don't include <sysdep.h> nor <init-arch.h>.
12718         (_ZGVbN4vvv_sincosf): Removed.
12719         * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S:  Renamed to
12720         ...
12721         * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
12722         Don't include <sysdep.h> nor <init-arch.h>.
12723         (_ZGVdN8vvv_sincosf): Removed.
12724         * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S:  Renamed to
12725         ...
12726         * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
12727         Don't include <sysdep.h> nor <init-arch.h>.
12728         (_ZGVeN16v_sinf): Removed.
12729         * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S:  Renamed to
12730         ...
12731         * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
12732         Don't include <sysdep.h> nor <init-arch.h>.
12733         (_ZGVbN4v_sinf): Removed.
12734         * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S:  Renamed to
12735         ...
12736         * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
12737         Don't include <sysdep.h> nor <init-arch.h>.
12738         (_ZGVdN8v_sinf): Removed.
12740 2017-08-04  H.J. Lu  <hongjiu.lu@intel.com>
12742         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12743         Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
12744         s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
12745         s_rint-sse4_1 and s_rintf-sse4_1.
12746         * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
12747         * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
12748         * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
12749         * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
12750         * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
12751         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
12752         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
12753         * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
12754         * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
12755         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
12756         * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This.  Don't
12757         include <machine/asm.h> nor <init-arch.h>.  Include <sysdep.h>.
12758         (__ceil): Removed.
12759         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
12760         * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This.  Don't
12761         include <machine/asm.h> nor <init-arch.h>.  Include <sysdep.h>.
12762         (__ceilf): Removed.
12763         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
12764         * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This.  Don't
12765         include <machine/asm.h> nor <init-arch.h>.  Include <sysdep.h>.
12766         (__floor): Removed.
12767         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
12768         * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This.  Don't
12769         include <machine/asm.h> nor <init-arch.h>.  Include <sysdep.h>.
12770         (__floorf): Removed.
12771         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
12772         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This.  Don't
12773         include <machine/asm.h> nor <init-arch.h>.  Include <sysdep.h>.
12774         (__nearbyint): Removed.
12775         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
12776         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This.  Don't
12777         include <machine/asm.h> nor <init-arch.h>.  Include <sysdep.h>.
12778         (__nearbyintf): Removed.
12779         * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
12780         * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This.  Don't
12781         include <machine/asm.h> nor <init-arch.h>.  Include <sysdep.h>.
12782         (__rint): Removed.
12783         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
12784         * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This.  Don't
12785         include <machine/asm.h> nor <init-arch.h>.  Include <sysdep.h>.
12786         (__rintf): Removed.
12788 2017-08-04  H.J. Lu  <hongjiu.lu@intel.com>
12790         * sysdeps/i386/start.S (_start): Check Check PIC instead of
12791         SHARED.  Avoid dynamic relocation against main in static PIE.
12793 2017-08-04  H.J. Lu  <hongjiu.lu@intel.com>
12795         [BZ #21815]
12796         * elf/Makefile (CFLAGS-tst-prelink.c): New.
12797         (LDFLAGS-tst-prelink): Likewise.
12799 2017-08-04  H.J. Lu  <hongjiu.lu@intel.com>
12801         * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
12802         Define to I386_USE_SYSENTER to 0 or 1 if not defined.
12803         (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
12804         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
12805         (INTERNAL_SYSCALL_NCS): Likewise.
12806         (LOADARGS_1): Likewise.
12807         (LOADARGS_5): Likewise.
12808         (RESTOREARGS_1): Likewise.
12809         (RESTOREARGS_5): Likewise.
12811 2017-08-04  H.J. Lu  <hongjiu.lu@intel.com>
12813         * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
12814         (MEMPCPY_SYMBOL): Likewise.
12815         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12816         (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
12817         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
12818         in libc.a.
12819         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12820         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
12821         Likewise.
12822         * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
12823         (__hidden_ver1): Don't use in libc.a.
12824         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
12825         (__mempcpy): Don't create a weak alias in libc.a.
12826         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
12827         libc.a.
12828         * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
12829         (__hidden_ver1): Don't use in libc.a.
12831 2017-08-04  H.J. Lu  <hongjiu.lu@intel.com>
12833         * config.make.in (have-insert): New.
12834         * configure.ac (libc_cv_insert): New.  Set to yes if linker
12835         supports INSERT in linker script.
12836         (AC_SUBST(libc_cv_insert): New.
12837         * configure: Regenerated.
12838         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
12839         if $(have-insert) == yes.
12841 2017-08-04  H.J. Lu  <hongjiu.lu@intel.com>
12843         * elf/Makefile (tests): Add vismain only if
12844         $(have-protected-data) == yes.
12845         (tests-pie): Likewise.
12847 2017-08-04  H.J. Lu  <hongjiu.lu@intel.com>
12849         [BZ #21871]
12850         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
12851         bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
12853 2017-08-04  H.J. Lu  <hongjiu.lu@intel.com>
12855         [BZ #21790]
12856         * sysdeps/i386/i586/memset.S
12857         (__memset_zero_constant_len_parameter): Removed.
12858         * sysdeps/i386/i686/memset.S
12859         (__memset_zero_constant_len_parameter): Likewise.
12860         * sysdeps/i386/i686/multiarch/memset_chk.S
12861         (__memset_zero_constant_len_parameter): Likewise.
12862         * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
12863         Likewise.
12865 2017-08-03  Aurelien Jarno  <aurelien@aurel32.net>
12867         * stdlib/getentropy.c (getentropy): Change return type to int.
12869 2017-08-03  Aurelien Jarno  <aurelien@aurel32.net>
12871         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
12873 2017-08-03  Joseph Myers  <joseph@codesourcery.com>
12875         * math/s_nextafter.c (__nextafter): Use uintN_t instead of
12876         u_intN_t.
12877         * math/s_nexttowardf.c (__nexttowardf): Likewise.
12878         * sysdeps/generic/math_private.h (ieee_double_shape_type):
12879         Likewise.
12880         (ieee_float_shape_type): Likewise.
12881         * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
12882         * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
12883         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
12884         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12885         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
12886         * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
12887         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
12888         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
12889         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12890         Likewise.
12891         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
12892         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12893         (__ieee754_yn): Likewise.
12894         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
12895         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
12896         * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
12897         Likewise.
12898         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12899         * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
12900         * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
12901         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
12902         (__erfc): Likewise.
12903         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
12904         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
12905         * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
12906         * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
12907         * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
12908         * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
12909         Likewise.
12910         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
12911         * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
12912         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
12913         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
12914         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
12915         * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
12916         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
12917         * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
12918         * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
12919         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
12920         (__issignaling): Likewise.
12921         * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
12922         * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
12923         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12924         Likewise.
12925         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
12926         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
12927         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
12928         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
12929         Likewise.
12930         * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
12931         Likewise.
12932         * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
12933         * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
12934         * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
12935         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
12936         (__erfcf): Likewise.
12937         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
12938         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
12939         * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
12940         * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
12941         Likewise.
12942         * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
12943         * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
12944         Likewise.
12945         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
12946         * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
12947         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
12948         * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
12949         * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
12950         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
12951         * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
12952         * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
12953         Likewise.
12954         * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
12955         Likewise.
12956         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
12957         Likewise.
12958         * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
12959         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12960         Likewise.
12961         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12962         Likewise.
12963         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12964         (__ieee754_ynl): Likewise.
12965         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12966         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
12967         Likewise.
12968         * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
12969         Likewise.
12970         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
12971         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
12972         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12973         Likewise.
12974         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
12975         * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
12976         * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
12977         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
12978         * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
12979         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
12980         * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
12981         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
12982         Likewise.
12983         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
12984         * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
12985         * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
12986         Likewise.
12987         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
12988         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
12989         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
12990         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
12991         * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
12992         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
12993         Likewise.
12994         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
12995         Likewise.
12996         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
12997         Likewise.
12998         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
12999         Likewise.
13000         * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
13001         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
13002         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13003         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
13004         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
13005         * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
13006         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
13007         Likewise.
13008         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13009         Likewise.
13010         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13011         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13012         Likewise.
13013         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
13014         (__ieee754_remainderl): Likewise.
13015         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13016         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13017         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13018         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13019         Likewise.
13020         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13021         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13022         Likewise.
13023         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13024         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
13025         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
13026         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
13027         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
13028         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13029         Likewise.
13030         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13031         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
13032         (__ieee754_y0l): Likewise.
13033         (pzero): Likewise.
13034         (qzero): Likewise.
13035         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13036         (__ieee754_y1l): Likewise.
13037         (pone): Likewise.
13038         (qone): Likewise.
13039         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13040         (__ieee754_ynl): Likewise.
13041         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
13042         (__ieee754_lgammal_r): Likewise.
13043         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
13044         Likewise.
13045         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
13046         * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
13047         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
13048         (__erfcl): Likewise.
13049         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
13050         * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
13051         Likewise.
13052         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
13053         * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
13054         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
13055         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
13056         * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
13057         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13058         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13059         Likewise.
13060         * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
13061         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
13062         * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
13063         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
13064         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13065         Likewise.
13066         * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
13067         * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
13068         Likewise.
13069         * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
13070         * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
13071         * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
13072         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
13073         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
13075 2017-08-03  Florian Weimer  <fweimer@redhat.com>
13077         [BZ #21885]
13078         * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
13079         on memory allocation failure.
13081 2017-08-03  Alan Modra  <amodra@gmail.com>
13083         * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
13084         tst-tlsopt-powerpc.c with function name change and no test harness.
13085         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
13086         Call tls_get_addr_opt_test.
13087         * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
13088         (modules-names): Add mod-tlsopt-powerpc.
13089         (mod-tlsopt-powerpc.so-no-z-defs): Define.
13090         (tst-tlsopt-powerpc): Depend on .so.
13091         * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
13092         define.  Expand use in TLS_GD and TLS_LD.
13094 2017-08-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13096         * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
13097         function.
13098         * sysdeps/posix/shm_open.c: Include <pthread.h>.
13100 2017-08-02  Joseph Myers  <joseph@codesourcery.com>
13102         [BZ #21686]
13103         * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
13104         comparing size with that of double.
13105         (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
13106         (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
13107         (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
13108         (__TGMATH_TERNARY_REAL_ONLY): Likewise.
13109         (__TGMATH_BINARY_REAL_IMAG): Likewise.
13110         * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
13111         unsigned __int128 types.
13113 2017-08-02  Steve Ellcey  <sellcey@cavium.com>
13115         * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
13116         CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
13117         CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
13118         CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
13119         CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
13121 2017-08-02  H.J. Lu  <hongjiu.lu@intel.com>
13123         * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
13125 2017-08-02  H.J. Lu  <hongjiu.lu@intel.com>
13127         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
13128         of SHARED.
13129         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
13130         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
13131         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13132         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13133         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13134         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13135         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13137 2017-08-02  Joseph Myers  <joseph@codesourcery.com>
13139         [BZ #21685]
13140         * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
13141         bit-field expressions passed to sizeof or typeof.
13142         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
13143         (__TGMATH_F128): Likewise.
13144         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
13145         (__TGMATH_CF128): Likewise.
13146         (__TGMATH_UNARY_REAL_ONLY): Likewise.
13147         (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
13148         (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
13149         (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
13150         (__TGMATH_BINARY_REAL_ONLY): Likewise.
13151         (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
13152         (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
13153         (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
13154         (__TGMATH_TERNARY_REAL_ONLY): Likewise.
13155         (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
13156         (__TGMATH_UNARY_REAL_IMAG): Likewise.
13157         (__TGMATH_UNARY_IMAG): Likewise.
13158         (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
13159         (__TGMATH_BINARY_REAL_IMAG): Likewise.
13160         * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
13161         type.
13162         (define_vars_for_type): Handle bit_field type specially.
13163         (Tests.__init__): Declare structure with bit-field element.
13165 2017-08-02  H.J. Lu  <hongjiu.lu@intel.com>
13167         [BZ #21791]
13168         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
13169         (MEMCPY_CHK): Define only if SHARED is defined.
13170         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
13171         Likewise.
13172         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
13173         Likewise.
13175 See ChangeLog.18 for earlier changes.