]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
arm: Remove lazy tlsdesc initialization related code
[thirdparty/glibc.git] / ChangeLog
1 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
2
3 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
4 DT_TLSDESC_GOT initialization.
5 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
6 (_dl_tlsdesc_resolve_hold): Likewise.
7 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
8 (_dl_tlsdesc_resolve_hold): Likewise.
9 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
10 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
11
12 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
13
14 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
15
16 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
17
18 [BZ #18572]
19 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
20 non-lazily for R_ARM_TLS_DESC.
21
22 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23
24 [BZ #17078]
25 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
26 R_ARM_TLS_DESC case.
27 (elf_machine_lazy_rel): Remove the prelink check.
28
29 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
30
31 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
32 DT_TLSDESC_GOT initialization.
33 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
34 (_dl_tlsdesc_resolve_rela): Likewise.
35 (_dl_tlsdesc_resolve_hold): Likewise.
36 (_dl_tlsdesc_undefweak): Remove ldar.
37 (_dl_tlsdesc_dynamic): Likewise.
38 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
39 (_dl_tlsdesc_resolve_rela): Likewise.
40 (_dl_tlsdesc_resolve_hold): Likewise.
41 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
42 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
43 (_dl_tlsdesc_resolve_rela): Likewise.
44 (_dl_tlsdesc_resolve_hold): Likewise.
45
46 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
47
48 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
49 binding and initialization non-lazily for R_AARCH64_TLSDESC.
50
51 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
52
53 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
54 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
55
56 2017-11-02 Joseph Myers <joseph@codesourcery.com>
57
58 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
59 Declare.
60 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
61 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
62 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
63 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
64 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
65 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
66 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
67 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
68 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
69 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
70 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
71
72 2017-11-02 Mike FABIAN <mfabian@redhat.com>
73
74 [BZ #22382]
75 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
76 * localedata/locales/tpi_PG: Add standard header.
77
78 2017-11-02 Florian Weimer <fweimer@redhat.com>
79
80 test-errno-linux: quotactl can fail with EPERM in containers.
81 * sysdeps/unix/sysv/linux/test-errno-linux.c
82 (LIST, LIST_FORWARD): New macros.
83 (check_error_in_list): New function.
84 (test_wrp_rv): Accept list of permitted error codes.
85 (test_wrp_rv2): Remove.
86 (test_wrp): Call test_wrp_rv with list of error codes.
87 (test_wrp2): Accept list of error codes.
88 (do_test): Adjust. Allow EPERM for quotactl.
89
90 2017-11-02 Florian Weimer <fweimer@redhat.com>
91
92 * stdio-common/bug16.c (do_test): Use array_length.
93 * stdio-common/errlist.c (_sys_nerr): Likewise.
94 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
95 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
96 * stdio-common/psiginfo.c (psiginfo): Use array_length.
97 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
98 (do_test): Use array_length.
99 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
100 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
101 * stdio-common/tst-printf-round.c (do_test): Likewise.
102 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
103 (CHECK): Use array_length.
104 * stdio-common/tstdiomisc.c (t3, F): Likewise.
105 * stdio-common/tstscanf.c (main): Likewise.
106 * stdio-common/vfprintf.c (process_string_arg): Likewise.
107
108 2017-11-02 Florian Weimer <fweimer@redhat.com>
109
110 Add array_length and array_end macros.
111 * include/array_length.h: New file.
112
113 2017-11-02 Florian Weimer <fweimer@redhat.com>
114
115 [BZ #22332]
116 * posix/tst-glob-tilde.c (do_noescape): New variable.
117 (one_test): Process it.
118 (do_test): Set do_noescape. Add unescaping test case.
119
120 2017-11-01 Joseph Myers <joseph@codesourcery.com>
121
122 * math/complex.h
123 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
124 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
125 with appropriate macros defined and undefined.
126 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
127 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
128 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
129 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
130 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
131 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
132 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
133 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
134 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
135 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
136
137 * math/complex.h
138 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
139 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
140 that for long double. Do not condition define and undefine of
141 _Mdouble_complex_ on [__CFLOAT128].
142
143 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
144
145 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
146 of <sysdeps/generic/sysdep.h>.
147 (ALIGNARG): Removed.
148 (ASM_SIZE_DIRECTIVE): Likewise.
149 (ENTRY): Likewise.
150 (END): Likewise.
151 (ENTRY_CHK): Likewise.
152 (END_CHK): Likewise.
153 (syscall_error): Likewise.
154 (mcount): Likewise.
155 (PSEUDO_END): Likewise.
156 (L): Likewise.
157 (atom_text_section): Likewise.
158 * sysdeps/x86/sysdep.h: New file.
159 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
160 of <sysdeps/generic/sysdep.h>.
161 (ALIGNARG): Removed.
162 (ASM_SIZE_DIRECTIVE): Likewise.
163 (ENTRY): Likewise.
164 (END): Likewise.
165 (ENTRY_CHK): Likewise.
166 (END_CHK): Likewise.
167 (syscall_error): Likewise.
168 (mcount): Likewise.
169 (PSEUDO_END): Likewise.
170 (L): Likewise.
171 (atom_text_section): Likewise.
172
173 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
174
175 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
176 category of LC_CTYPE set to "i18n:2012".
177 * localedata/locales/i18n_ctype: Regenerate.
178
179 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
180
181 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
182 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
183 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
184 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
185
186 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
187 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
188 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
189 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
190
191 2017-10-31 Joseph Myers <joseph@codesourcery.com>
192
193 * math/complex.h
194 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
195 New macro.
196 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
197 Likewise.
198 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
199 Likewise.
200 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
201 (CMPLXF32X): Likewise.
202 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
203 (CMPLXF64X): Likewise.
204 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
205 (CMPLXF128X): Likewise.
206
207 * math/math.h
208 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
209 (__MATH_EVAL_FMT2): Define to add 0.0f.
210
211 2017-10-31 Alan Modra <amodra@gmail.com>
212
213 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
214 include sysdep.h.
215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
229 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
230 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
231 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
232 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
233 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
234 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
235 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
236 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
237 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
238 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
239 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
240 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
241 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
242 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
243 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
244 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
245 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
246 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
247 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
248 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
249 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
250 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
251 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
252 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
253 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
254 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
255 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
256 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
257 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
258 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
259 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
260 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
261 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
262 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
263 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
264 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
265 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
266 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
267 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
268 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
269 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
270 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
271 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
272 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
273 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
274 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
275 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
276 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
277 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
278 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
279 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
280 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
281 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
282 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
283 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
284
285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
286 include sysdep.h and math_ldbl_opt.h.
287
288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
289 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
314
315 2017-10-31 Alan Modra <amodra@gmail.com>
316
317 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
318 string/strncase_l.c, not string/strncase.c.
319 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
320 (libc_hidden_def): Redefine.
321
322 2017-10-31 Alan Modra <amodra@gmail.com>
323
324 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
325 (__STRCMP, STRCMP, __strcasecmp_l): Define.
326 (__strcasecmp): Don't define.
327
328 2017-10-31 Alan Modra <amodra@gmail.com>
329
330 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
331 IS_IN (libc).
332 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
333 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
334 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
335
336 2017-10-31 Alan Modra <amodra@gmail.com>
337
338 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
339 USE_AS_STPNCPY.
340
341 2017-10-31 Alan Modra <amodra@gmail.com>
342
343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
344 Redefine only when SHARED.
345
346 2017-10-30 Joseph Myers <joseph@codesourcery.com>
347
348 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
349 Include <bits/math-finite.h> with appropriate macros defined and
350 undefined.
351 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
352 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
353 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
354 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
355 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
356
357 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
358 [!_Mlong_double_] (_Mlong_double_): Likewise.
359 [!_Mfloat16_] (_Mfloat16_): Likewise.
360 [!_Mfloat32_] (_Mfloat32_): Likewise.
361 [!_Mfloat64_] (_Mfloat64_): Likewise.
362 [!_Mfloat128_] (_Mfloat128_): Likewise.
363 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
364 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
365 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
366 (_Mdouble_): Define without indirection through those macros.
367 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
368 [!_Mfloat128_] (_Mfloat128_): Likewise.
369 [_Mlong_double_] (_Mlong_double_): Likewise.
370 (_Mdouble_): Define without indirection through those macros.
371 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
372 not add -D_Mlong_double_=double.
373 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
374 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
375
376 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
377
378 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
379
380 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
381
382 * sysdeps/x86/libc-start.c: Reformat.
383
384 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
385
386 [BZ #22353]
387 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
388 (1): Renamed to ...
389 (L(Src0)): This.
390 (L(Src1)): New.
391 (L(Src2)): Likewise.
392 (L(1)): Renamed to ...
393 (L(Src3)): This.
394
395 2017-10-30 Joseph Myers <joseph@codesourcery.com>
396
397 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
398 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
399 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
400 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
401 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
402 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
403 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
404 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
405 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
406 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
407 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
408 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
409 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
410 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
411 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
412 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
413 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
414 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
415 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
416 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
417 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
418 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
419 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
420 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
421 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
422 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
423 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
424 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
425 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
426 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
427 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
428 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
429 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
430 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
431 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
432 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
433 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
434 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
435 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
436 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
437 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
438 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
439 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
440 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
441 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
442 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
443 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
444 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
445 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
446 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
447 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
448 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
449 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
450 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
451 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
452 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
453 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
454 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
455 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
456 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
457 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
458 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
459 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
460 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
461 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
462 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
463
464 2017-10-30 Florian Weimer <fweimer@redhat.com>
465
466 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
467 always defined.
468 * io/tst-mkdirat.c (do_test): Likewise.
469 * io/tst-mkfifoat.c (do_test): Likewise.
470 * io/tst-mknodat.c (do_test): Likewise.
471 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
472 * locale/programs/locale.c (select_dirs): Likewise.
473 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
474 * posix/bug-glob2.c (my_readdir): Likewise.
475 * posix/tst-dir.c (main): Likewise.
476 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
477 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
478
479 2017-10-30 Florian Weimer <fweimer@redhat.com>
480
481 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
482 just __USE_GNU.
483
484 2017-10-30 Florian Weimer <fweimer@redhat.com>
485
486 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
487 Convert to support/test-driver.c.
488 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
489 New macro parameters.
490 (PRINTF): Remove macro. Use test_verbose conditionals instead.
491 * posix/tst-gnuglob.c: New file.
492 * posix/tst-gnuglob64.c: Likewise.
493 * posix/Makefile (tests): Add tst-gnuglob64.
494
495 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
496
497 [BZ #19485]
498 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
499 and use a better translation for March in “mon”.
500 * localedata/locales/csb_PL: Use more ASCII to improve the
501 readability of the source.
502
503 2017-10-30 Mike FABIAN <mfabian@redhat.com>
504
505 [BZ #13953]
506 * localedata/locales/km_KH: Use ASCII as much
507 as possible for better readability of the source and
508 remove useless comments.
509 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
510 was commented out and apparently wrong anyway because it was
511 using Lao characters. If Buddhist era should be used
512 for km_KH, a native speaker should write the correct formaat
513 for Khmer.
514 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
515 (According to CLDR, the first weekday for Cambodia is Sunday).
516 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
517 (These were using Lao characters which must be wrong. If we get
518 the correct data from a native speaker, we could add it back, until
519 then it is better not to have name_mr and name_mrs at all than
520 having it wrong).
521
522 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
523
524 * locale/loadlocale.c: Correct size of
525 _nl_value_type_LC_<category> arrays.
526
527 2017-10-27 Joseph Myers <joseph@codesourcery.com>
528
529 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
530 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
531 with appropriate macros defined and undefined.
532 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
533 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
534 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
535 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
536 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
537
538 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
539
540 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
541 "-O2 -march=i586".
542
543 2017-10-27 Mike FABIAN <mfabian@redhat.com>
544
545 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
546 with lowercase letters to make it agree with CLDR.
547
548 2017-10-27 Mike FABIAN <mfabian@redhat.com>
549
550 [BZ #15260]
551 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
552 first letters of yesstr and nostr in yesexpr and noexpr,
553 not for the full words.
554 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
555 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
556 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
557 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
558 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
559 first letters of yesstr and nostr in yesexpr and noexpr,
560 until now only English was matched in yesexpr and noexpr.
561 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
562 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
563 fil but not for tl. As tl and fil are very similar, using fil
564 is probably better than using English.
565
566 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
567
568 [BZ #21706]
569 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
570 in yesstr and nostr.
571
572 2017-10-26 Joseph Myers <joseph@codesourcery.com>
573
574 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
575 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
576 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
577 Likewise.
578 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
579 Likewise.
580 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
581 Likewise.
582 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
583 Likewise.
584 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
585 (SNANF128X): Likewise.
586
587 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
588 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
589 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
590 (HUGE_VAL_F32): Likewise.
591 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
592 (HUGE_VAL_F64): Likewise.
593 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
594 (HUGE_VAL_F32X): Likewise.
595 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
596 (HUGE_VAL_F64X): Likewise.
597 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
598 (HUGE_VAL_F128X): Likewise.
599
600 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
601
602 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
603 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
604 for the br_FR locale.
605
606 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
607
608 [BZ #21706]
609 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
610
611 2017-10-25 Carlos O'Donell <carlos@redhat.com>
612
613 * locale/programs/record-status.h: Define globals, and function
614 prototypes. Move function bodies...
615 * locale/programs/record-status.c: ... to here. New file.
616 * iconv/Makefile (iconv_prog-modules): Add record-status.
617 * locale/Makefile (lib-modules): Likewise.
618 * iconv/iconv_prog.c: Remove verbose.
619 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
620 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
621 record a warning about ASCII compatibility.
622 * locale/programs/ld-monetary.c (monetary_finish): If
623 warn_int_curr_symbol is true then record a warning about the symbol
624 not being in our ISO 4217 list.
625 * locale/programs/locale.c: Include record-status.h. Remove verbose.
626 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
627 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
628 (OPT_NO_WARN): Define.
629 (OPT_WARN): Define.
630 (options): Add entry for --no-warnings, and --warnings.
631 (set_warnings): New function to enable/disable warnings.
632 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
633 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
634 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
635 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
636 Pass flags to generate_locale.
637 (generate_locale): Accept new flag argument and pass it to localedef
638 invocation.
639 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
640 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
641
642 * localedata/Makefile (test-input-data): Use full file name.
643 * localedata/da_DK.in: Rename to...
644 * localedata/da_DK.ISO-8859-1.in: ...this.
645 * localedata/de_DE.in: Rename to...
646 * localedata/de_DE.ISO-8859-1.in: ...this.
647 * localedata/en_US.in: Rename to...
648 * localedata/en_US.ISO-8859-1.in: ...this.
649 * localedata/fr_FR.in: Rename to...
650 * localedata/fr_FR.UTF-8.in: ... this.
651 * localedata/hr_HR.in: Rename to...
652 * localedata/hr_HR.ISO-8859-2.in: ...this.
653 * localedata/hu_HU.in: Rename to...
654 * localedata/hu_HU.UTF-8.in: ...this.
655 * localedata/si_LK.in: Rename to...
656 * localedata/si_LK.UTF-8.in: ...this.
657 * localedata/sv_SE.in: Rename to...
658 * localedata/sv_SE.ISO-8859-1.in: ...this.
659 * localedata/tr_TR.in: Rename to...
660 * localedata/tr_TR.UTF-8.in: ...this.
661 * localedata/uk_UA.in: Rename to...
662 * localedata/uk_UA.UTF-8.in: ...this.
663 * localedata/sort-test.sh: Test file is locale name with the
664 suffix.
665
666 * localedata/unicode-gen/Makefile (check_i18n): Rename to
667 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
668 file.
669 * localedata/locales/i18n_ctype: Regenerate.
670 * localedata/locales/tr_TR: Likewise.
671 * localedata/locales/translit_circle: Likewise.
672 * localedata/locales/translit_cjk_compat: Likewise.
673 * localedata/locales/translit_combining: Likewise.
674 * localedata/locales/translit_compat: Likewise.
675 * localedata/locales/translit_font: Likewise.
676 * localedata/locales/translit_fraction: Likewise.
677
678 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
679
680 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
681 lxvd2x/stxvd2x with lvx/stvx.
682 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
683
684 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
685
686 * include/alloc_buffer.h: Replace "if if " with "if " in
687 comments.
688 * sysdeps/mips/memcpy.S: Likkewise.
689 * sysdeps/mips/memset.S: Likewise.
690 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
691 Likewise.
692 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
693 Likewise.
694 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
695 Likewise.
696
697 2017-10-25 Mike FABIAN <mfabian@redhat.com>
698
699 [BZ #15261]
700 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
701 yesexpr and noexpr.
702 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
703 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
704 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
705 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
706 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
707 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
708 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
709
710 2017-10-25 Mike FABIAN <mfabian@redhat.com>
711
712 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
713 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
714 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
715 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
716 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
717 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
718 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
719 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
720 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
721 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
722 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
723 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
724
725 2017-10-25 Mike FABIAN <mfabian@redhat.com>
726
727 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
728 as possible for better readability of the source.
729 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
730 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
731 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
732 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
733 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
734 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
735 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
736 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
737 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
738 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
739 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
740 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
741 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
742 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
743 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
744 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
745 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
746 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
747 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
748 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
749 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
750 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
751 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
752 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
753 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
754 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
755 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
756 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
757 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
758 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
759 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
760 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
761 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
762 * localedata/locales/en_US (LC_MESSAGES): Likewise.
763 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
764 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
765 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
766 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
767 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
768 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
769 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
770 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
771 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
772 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
773 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
774 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
775 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
776 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
777 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
778 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
779 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
780 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
781 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
782 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
783 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
784 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
785 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
786 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
787 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
788 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
789 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
790 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
791 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
792 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
793 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
794 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
795 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
796 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
797 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
798 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
799 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
800 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
801 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
802 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
803 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
804 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
805 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
806 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
807 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
808 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
809 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
810 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
811 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
812 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
813 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
814 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
815 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
816 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
817 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
818 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
819 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
820 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
821 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
822 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
823 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
824 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
825 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
826 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
827 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
828 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
829 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
830 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
831 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
832 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
833 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
834 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
835 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
836 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
837 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
838 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
839 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
840 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
841 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
842 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
843 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
844 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
845 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
846 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
847 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
848 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
849 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
850 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
851 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
852 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
853 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
854 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
855 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
856 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
857 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
858 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
859 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
860 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
861 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
862 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
863 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
864 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
865 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
866 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
867 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
868 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
869 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
870 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
871 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
872 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
873 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
874 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
875 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
876 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
877 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
878 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
879 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
880 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
881 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
882 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
883 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
884 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
885 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
886 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
887 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
888 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
889 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
890 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
891 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
892 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
893 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
894 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
895 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
896 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
897 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
898 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
899 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
900 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
901 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
902 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
903
904 2017-10-25 Mike FABIAN <mfabian@redhat.com>
905
906 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
907 (Use first letters of yesstr and nostr correctly instead of using
908 full words).
909
910 2017-10-25 Mike FABIAN <mfabian@redhat.com>
911
912 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
913 (Use first letters of yesstr and nostr correctly).
914
915 2017-10-25 Mike FABIAN <mfabian@redhat.com>
916
917 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
918 also check for the first characters of yesstr and nostr.
919 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
920 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
921
922 2017-10-25 Mike FABIAN <mfabian@redhat.com>
923
924 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
925 also check for Chinese characters.
926
927 2017-10-25 Mike FABIAN <mfabian@redhat.com>
928
929 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
930 match also for the contents of yesstr and nostr. As the first letter
931 of yesstr and nostr is equal, checking only for the first letter
932 is not enough.
933
934 2017-10-25 Mike FABIAN <mfabian@redhat.com>
935
936 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
937 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
938
939 2017-10-25 Mike FABIAN <mfabian@redhat.com>
940
941 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
942 of main contributor.
943
944 2017-10-25 Mike FABIAN <mfabian@redhat.com>
945
946 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
947 instead of using English.
948
949 2017-10-25 Mike FABIAN <mfabian@redhat.com>
950
951 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
952 by including the first letters of nostr and yesexpr in the regexp.
953 Also make it more readable by using ASCII where possible.
954
955 2017-10-25 Mike FABIAN <mfabian@redhat.com>
956
957 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
958 the first letter of nostr in the regexp. It agrees with CLDR now.
959 Also make it more readable by using ASCII where possible.
960
961 2017-10-24 Mike FABIAN <mfabian@redhat.com>
962
963 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
964 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
965 these strings contain a U+17D6 (which somewhat looks like a colon)
966 instead of a real colon to separate the full words for “yes”
967 and “no” from the single letter responses.
968
969 2017-10-24 Mike FABIAN <mfabian@redhat.com>
970
971 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
972 it agree with CLDR (include the first letter of yesstr).
973 Also make it more readable by using ASCII where possible.
974
975 2017-10-24 Mike FABIAN <mfabian@redhat.com>
976
977 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
978 and improve yesexpr and noexpr. The yesstr and nostr apparently
979 came from CLDR. And CLDR has a bug there: these strings contain
980 a U+0903 (which looks like a colon) instead of a real colon
981 to separate the full words for “yes” and “no” from the single
982 letter responses.
983
984 2017-10-24 Mike FABIAN <mfabian@redhat.com>
985
986 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
987 letters of the full yesstr and nostr in yesexpr and noexpr.
988
989 2017-10-24 Mike FABIAN <mfabian@redhat.com>
990
991 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
992 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
993 * localedata/locales/an_ES: Make source more readable by using ASCII
994 where possible.
995
996 2017-10-24 Mike FABIAN <mfabian@redhat.com>
997
998 [BZ #20952]
999 * localedata/locales/yuw_PG: New file.
1000 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
1001 * locale/iso-639.def: Add Yau (Uruwa).
1002
1003 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1004
1005 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
1006
1007 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1008
1009 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
1010 (__libc_realloc): Likewise.
1011 (_mid_memalign): Likewise.
1012 (__libc_calloc): Likewise.
1013
1014 2017-10-23 Mike FABIAN <mfabian@redhat.com>
1015
1016 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
1017 by adding the generic +1 and -0 as in all other locales.
1018 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
1019 day names and make it more readable by using ASCII where possible.
1020
1021 2017-10-24 Joseph Myers <joseph@codesourcery.com>
1022
1023 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
1024 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
1025
1026 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1027
1028 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
1029 WNOHANG in waitpid call.
1030
1031 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
1032
1033 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
1034 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
1035
1036 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
1037 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
1038 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
1039 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
1040 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
1041 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
1042 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
1043 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
1044 variables.
1045
1046 2017-10-23 Michael Collison <michael.collison@arm.com>
1047
1048 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
1049 with __builtin_sqrt.
1050 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
1051 with __builtin_sqrtf.
1052 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
1053 with __builtin_ceil.
1054 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
1055 with __builtin_ceilf.
1056 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
1057 with __builtin_floor.
1058 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
1059 with __builtin_floorf.
1060 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
1061 with __builtin_fma.
1062 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
1063 with __builtin_fmaf.
1064 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
1065 with __builtin_fmax.
1066 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
1067 with __builtin_fmaxf.
1068 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
1069 with __builtin_fmin.
1070 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
1071 with __builtin_fminf.
1072 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
1073 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
1074 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
1075 with builtin_rint and conversion to int.
1076 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
1077 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
1078 with builtin_llround.
1079 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
1080 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
1081 with builtin_rint and conversion to long int.
1082 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
1083 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
1084 with builtin_lround.
1085 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
1086 with builtin_lroundf.
1087 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
1088 statements with __builtin_nearbyint.
1089 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
1090 statements with __builtin_nearbyintf.
1091 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
1092 with __builtin_rint.
1093 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
1094 with __builtin_rintf.
1095 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
1096 with __builtin_round.
1097 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
1098 with __builtin_roundf.
1099 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
1100 with __builtin_trunc.
1101 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
1102 with __builtin_truncf.
1103 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
1104 and s_l[l]round[f].c too.
1105
1106 2017-10-23 Alan Modra <amodra@gmail.com>
1107
1108 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
1109 Adjust stack after restoring regs. Add missing LR cfi_restore.
1110
1111 2017-10-23 Alan Modra <amodra@gmail.com>
1112
1113 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
1114 Move LR save and frame setup/teardown and LR restore to
1115 immediately around memset call. Provide cfi.
1116
1117 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
1118
1119 * sysdeps/i386/fpu/e_powf.S: Removed.
1120 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
1121 * sysdeps/i386/fpu/w_powf.c: Likewise.
1122 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
1123 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1124 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
1125 Add e_powf-sse2.
1126 (CFLAGS-e_powf-sse2.c): New.
1127 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
1128 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
1129
1130 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
1131
1132 * sysdeps/i386/fpu/e_log2f.S: Removed.
1133 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
1134 * sysdeps/i386/fpu/w_log2f.c: Likewise.
1135 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
1136 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1137 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
1138 Add e_log2f-sse2.
1139 (CFLAGS-e_log2f-sse2.c): New.
1140 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
1141 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
1142
1143 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
1144
1145 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1146 Add e_powf-fma.
1147 (CFLAGS-e_powf-fma.c): New.
1148 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
1149 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
1150
1151 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
1152
1153 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1154 Add e_log2f-fma.
1155 (CFLAGS-e_log2f-fma.c): New.
1156 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
1157 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
1158
1159 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
1160
1161 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1162 Add e_logf-fma.
1163 (CFLAGS-e_logf-fma.c): New.
1164 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
1165 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
1166
1167 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
1168
1169 * sysdeps/i386/fpu/e_logf.S: Removed.
1170 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
1171 * sysdeps/i386/fpu/w_logf.c: Likewise.
1172 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
1173 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
1174 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1175 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
1176 Add e_logf-sse2.
1177 (CFLAGS-e_logf-sse2.c): New.
1178 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
1179 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
1180
1181 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
1182
1183 * sysdeps/i386/fpu/e_exp2f.S: Removed.
1184 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
1185 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
1186 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1187 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
1188 Add e_exp2f-sse2.
1189 (CFLAGS-e_exp2f-sse2.c): New.
1190 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
1191 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
1192
1193 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
1194
1195 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1196 Add e_exp2f-fma.
1197 (CFLAGS-e_exp2f-fma.c): New.
1198 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
1199 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
1200
1201 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
1202
1203 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
1204 * sysdeps/i386/fpu/e_expf.S: Likewise.
1205 * sysdeps/i386/fpu/math_errf.c: Likewise.
1206 * sysdeps/i386/fpu/w_expf.c: Likewise.
1207 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
1208 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1209 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
1210 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
1211 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1212 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
1213 Remove e_expf-ia32.
1214 (CFLAGS-e_expf-sse2.c): New.
1215 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
1216 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
1217
1218 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
1219
1220 * sysdeps/x86_64/fpu/e_expf.S: Removed.
1221 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
1222 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
1223 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
1224 e_expf.c.
1225 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
1226 New.
1227 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
1228 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
1229 Renamed to ...
1230 (__redirect_expf): This.
1231 (SYMBOL_NAME): Changed to expf.
1232 (__ieee754_expf): Renamed to ...
1233 (__expf): This.
1234 (__GI___expf): This.
1235 (__ieee754_expf): Add strong_alias.
1236 (__expf_finite): Likewise.
1237 (__expf): New.
1238 Include <sysdeps/ieee754/flt-32/e_expf.c>.
1239
1240 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
1241
1242 [BZ #22332]
1243 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
1244 unescaping.
1245
1246 2017-10-21 Florian Weimer <fweimer@redhat.com>
1247
1248 * posix/Makefile (tests): Add tst-glob-tilde.
1249 (tests-special): Add tst-glob-tilde-mem.out
1250 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
1251 (tst-glob-tilde-mem.out): Add mtrace check.
1252 * posix/tst-glob-tilde.c: New file.
1253
1254 2017-10-20 Joseph Myers <joseph@codesourcery.com>
1255
1256 * bits/floatn-common.h: New file.
1257 * math/Makefile (headers): Add bits/floatn-common.h.
1258 * bits/floatn.h: Include <bits/floatn-common.h>.
1259 * sysdeps/ia64/bits/floatn.h: Likewise.
1260 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
1261 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
1262 * sysdeps/powerpc/bits/floatn.h: Likewise.
1263 * sysdeps/x86/bits/floatn.h: Likewise.
1264
1265 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1266
1267 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
1268 indicates whether compiler emits an warning for alias for
1269 functions with incompatible types.
1270
1271 [BZ #22273]
1272 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
1273 the auxiliary process is terminated by a signal before calling _exit
1274 or execve.
1275
1276 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
1277
1278 [BZ #21265]
1279 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
1280 New.
1281 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
1282 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
1283 and bit_arch_XSAVEC_Usable if needed.
1284 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
1285 and bit_arch_Use_dl_runtime_resolve_opt.
1286 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
1287 Removed.
1288 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
1289 (bit_arch_Prefer_No_AVX512): Updated.
1290 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
1291 (bit_arch_XSAVEC_Usable): New.
1292 (STATE_SAVE_OFFSET): Likewise.
1293 (STATE_SAVE_MASK): Likewise.
1294 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
1295 (cpu_features): Add xsave_state_size and xsave_state_full_size.
1296 (index_arch_Use_dl_runtime_resolve_opt): Removed.
1297 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
1298 (index_arch_XSAVEC_Usable): New.
1299 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
1300 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
1301 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
1302 is enabled.
1303 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
1304 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
1305 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
1306 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
1307 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
1308 _dl_runtime_resolve_xsavec.
1309 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
1310 Removed.
1311 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
1312 instead of VEC_SIZE.
1313 (REGISTER_SAVE_BND0): Removed.
1314 (REGISTER_SAVE_BND1): Likewise.
1315 (REGISTER_SAVE_BND3): Likewise.
1316 (REGISTER_SAVE_RAX): Always defined to 0.
1317 (VMOV): Removed.
1318 (_dl_runtime_resolve_avx): Likewise.
1319 (_dl_runtime_resolve_avx_slow): Likewise.
1320 (_dl_runtime_resolve_avx_opt): Likewise.
1321 (_dl_runtime_resolve_avx512): Likewise.
1322 (_dl_runtime_resolve_avx512_opt): Likewise.
1323 (_dl_runtime_resolve_sse): Likewise.
1324 (_dl_runtime_resolve_sse_vex): Likewise.
1325 (USE_FXSAVE): New.
1326 (_dl_runtime_resolve_fxsave): Likewise.
1327 (USE_XSAVE): Likewise.
1328 (_dl_runtime_resolve_xsave): Likewise.
1329 (USE_XSAVEC): Likewise.
1330 (_dl_runtime_resolve_xsavec): Likewise.
1331 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
1332 Removed.
1333 (_dl_runtime_resolve_avx512_opt): Likewise.
1334 (_dl_runtime_resolve_avx): Likewise.
1335 (_dl_runtime_resolve_avx_opt): Likewise.
1336 (_dl_runtime_resolve_sse): Likewise.
1337 (_dl_runtime_resolve_sse_vex): Likewise.
1338 (_dl_runtime_resolve_fxsave): New.
1339 (_dl_runtime_resolve_xsave): Likewise.
1340 (_dl_runtime_resolve_xsavec): Likewise.
1341
1342 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
1343
1344 [BZ #22320]
1345 CVE-2017-15670
1346 * posix/glob.c (__glob): Fix one-byte overflow.
1347
1348 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
1349
1350 * malloc/malloc.c (sysdep-cancel.h): Add include.
1351
1352 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
1353
1354 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
1355
1356 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
1357
1358 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
1359 (tests): Remove $(objpfx)ga_test depdendency.
1360 * resolv/ga_test.c: Remove file.
1361
1362 2017-10-20 Mike FABIAN <mfabian@redhat.com>
1363
1364 [BZ #18812]
1365 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
1366 * localedata/locales/kab_DZ: New file.
1367
1368 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
1369
1370 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
1371 _dl_relocate_static_pie instead of _dl_start to compute load
1372 address in static PIE.
1373
1374 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
1375
1376 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
1377
1378 2017-10-20 Mike FABIAN <mfabian@redhat.com>
1379
1380 [BZ #13605]
1381 * localedata/SUPPORTED: Add shn_MM/UTF-8.
1382 * localedata/locales/shn_MM: New file.
1383
1384 2017-10-20 Florian Weimer <fweimer@redhat.com>
1385
1386 [BZ #22321]
1387 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
1388 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
1389 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
1390 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
1391 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
1392 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
1393
1394 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
1395
1396 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1397
1398 2017-10-19 Joseph Myers <joseph@codesourcery.com>
1399
1400 * sysdeps/mips/ieee754/bits/floatn.h: New file.
1401
1402 [BZ #22322]
1403 * sysdeps/mips/bits/long-double.h: Move to ....
1404 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
1405
1406 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
1407
1408 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
1409
1410 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
1411 H.J. Lu <hongjiu.lu@intel.com>
1412
1413 [BZ #22299]
1414 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
1415 GLRO(dl_platform) to NULL.
1416 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
1417 (modules-names): Add tst-platformmod-1 and
1418 x86_64/tst-platformmod-2.
1419 (CFLAGS-tst-platform-1.c): New.
1420 (CFLAGS-tst-platformmod-1.c): Likewise.
1421 (CFLAGS-tst-platformmod-2.c): Likewise.
1422 (LDFLAGS-tst-platformmod-2.so): Likewise.
1423 ($(objpfx)tst-platform-1): Likewise.
1424 ($(objpfx)tst-platform-1.out): Likewise.
1425 (tst-platform-1-ENV): Likewise.
1426 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
1427 * sysdeps/x86_64/tst-platform-1.c: New file.
1428 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
1429 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
1430
1431 2017-10-19 Mike FABIAN <mfabian@redhat.com>
1432
1433 [BZ #13994]
1434 * locale/iso-639.def: Add Karbi.
1435 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
1436 * localedata/locales/mjw_IN: New file.
1437
1438 2017-10-18 Joseph Myers <joseph@codesourcery.com>
1439
1440 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
1441 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
1442 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
1443 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
1444 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
1445 (libm_alias_ldouble_other_r): Also create _Float128 alias.
1446 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
1447 <bits/floatn.h>.
1448 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
1449 (libm_alias_ldouble_other_r): Also create _Float128 alias.
1450 * manual/math.texi (Mathematics): Document additional architecture
1451 support for _Float128.
1452 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
1453 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1454 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1455 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1456 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1457 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1458 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1459 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1460 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1461 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1462 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1463 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1464 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1465 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1466 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1467
1468 2017-10-18 Renlin Li <renlin.li@arm.com>
1469
1470 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
1471 _DYNAMIC symbol to calculate load address.
1472
1473 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
1474
1475 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
1476 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
1477 summary bits.
1478 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
1479 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
1480
1481 2017-10-18 Mike FABIAN <mfabian@redhat.com>
1482
1483 [BZ #16777]
1484 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
1485 and improve readability by using more ASCII.
1486 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
1487 and improve readability by using more ASCII.
1488
1489 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
1490
1491 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
1492 not all targets support atomics on bool.
1493
1494 2017-10-17 Joseph Myers <joseph@codesourcery.com>
1495
1496 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
1497 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
1498 __f128.
1499 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
1500 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
1501 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
1502 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
1503 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
1504 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
1505
1506 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1507
1508 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
1509 defines.
1510
1511 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
1512
1513 [BZ #22159]
1514 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
1515 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
1516 (do_check_remalloced_chunk): Fix build bug.
1517 (do_check_malloc_state): Add assert that checks arena->top.
1518 (malloc_consolidate): Remove initialization.
1519 (int_mallinfo): Remove call to malloc_consolidate.
1520 (__libc_mallopt): Clarify why malloc_consolidate is needed.
1521
1522 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
1523
1524 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
1525 (have_fastchunks): Remove.
1526 (clear_fastchunks): Remove.
1527 (set_fastchunks): Remove.
1528 (malloc_state): Add have_fastchunks.
1529 (malloc_init_state): Use have_fastchunks.
1530 (do_check_malloc_state): Remove incorrect invariant checks.
1531 (_int_malloc): Use have_fastchunks.
1532 (_int_free): Likewise.
1533 (malloc_consolidate): Likewise.
1534
1535 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
1536
1537 * malloc/malloc.c (tcache_put): Inline.
1538 (tcache_get): Inline.
1539
1540 2017-10-17 Jordi Mallach <jordi@gnu.org>
1541
1542 Aurelien Jarno <aurelien@aurel32.net>
1543 [BZ #2522]
1544 * localedata/locales/ca_ES@valencia: New file.
1545 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
1546
1547 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
1548
1549 [BZ #22296]
1550 * math/math.h: Let signbit use the builtin in C++ mode with gcc
1551 < 6.x
1552
1553 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1554
1555 * scripts/build-many-glibcs.py (Context.add_all_configs):
1556 Add arm-linux-gnueabihf multiarch extra_glibcs.
1557
1558 * sysdeps/generic/ifunc-init.h: New file.
1559 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
1560
1561 2017-10-17 Mike FABIAN <mfabian@redhat.com>
1562
1563 [BZ #22019]
1564 * localedata/locales/el_GR: Set n_cs_precedes to 0.
1565 * localedata/locales/el_CY: copy "el_GR" because it is identical.
1566 * stdlib/tst-strfmon_l.c: adapt test case.
1567
1568 2017-10-16 Joseph Myers <joseph@codesourcery.com>
1569
1570 * sysdeps/generic/float128-abi.h: New file.
1571 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
1572 non-__prefixed symbols to ....
1573 * math/Versions: ... here. Include <float128-abi.h>.
1574 * stdlib/Versions ... and here. Include <float128-abi.h>
1575
1576 2017-10-16 Florian Weimer <fweimer@redhat.com>
1577
1578 * version.h (VERSION): Switch to ".9000" as the development
1579 version suffix.
1580
1581 2017-10-16 Florian Weimer <fweimer@redhat.com>
1582
1583 [BZ #22050]
1584 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
1585 compat_symbol_reference to access non-default version.
1586
1587 2017-10-16 Florian Weimer <fweimer@redhat.com>
1588
1589 * malloc/Makefile (others-extras): Set to mcheck-init.o.
1590
1591 2017-10-16 Carlos O'Donell <carlos@redhat.com>
1592
1593 * include/shlib-compat.h (compat_symbol_reference): Update
1594 comment.
1595
1596 2017-10-16 Joseph Myers <joseph@codesourcery.com>
1597
1598 * math/Makefile (test-types): Add
1599 $(type-float128-$(float128-alias-fcts)).
1600 * math/test-float128.h (TYPE_STR): Define conditional on
1601 [FLT128_MANT_DIG == LDBL_MANT_DIG].
1602 (ULP_IDX): Likewise.
1603 (ULP_I_IDX): Likewise.
1604
1605 * stdlib/strtold.c: Include <bits/floatn.h>
1606 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
1607 and later undefine as macro. Define as weak alias if
1608 [!USE_WIDE_CHAR].
1609 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
1610 and later undefine as macro. Define as weak alias if
1611 [USE_WIDE_CHAR].
1612 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
1613 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
1614 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
1615 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
1616 Define and later undefine as macro. Define as weak alias if
1617 [USE_WIDE_CHAR].
1618 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
1619 <bits/floatn.h>.
1620 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
1621 Define and later undefine as macro. Define as weak alias if
1622 [!USE_WIDE_CHAR].
1623 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
1624 Define and later undefine as macro. Define as weak alias if
1625 [USE_WIDE_CHAR].
1626
1627 2017-10-15 Carlos O'Donell <carlos@redhat.com>
1628
1629 * localedata/collate-test.c (allocate_arrays): Don't use \n in
1630 record_verbose messages.
1631
1632 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
1633
1634 [BZ #22052]
1635 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
1636 to silence -O3 -Wall warning with GCC 7.
1637
1638 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
1639
1640 * Makeconfig (+link-static-before-libc): Use the first of
1641 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
1642 * gmon/Makefile (tests): Add tst-gmon-static.
1643 (tests-static): Likewise.
1644 (CFLAGS-tst-gmon-static.c): New.
1645 (CRT-tst-gmon-static): Likewise.
1646 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
1647 (tst-gmon-static-ENV): Likewise.
1648 (tests-special): Likewise.
1649 ($(objpfx)tst-gmon-static.out): Likewise.
1650 (clean-tst-gmon-static-data): Likewise.
1651 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
1652 * gmon/tst-gmon-static-gprof.sh: New file.
1653 * gmon/tst-gmon-static.c: Likewise.
1654
1655 2017-10-13 Carlos O'Donell <carlos@redhat.com>
1656
1657 [BZ #22295]
1658 * locale/programs/linereader.c (get_string): Don't warn on
1659 non-symbolic character.
1660
1661 [BZ #22294]
1662 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
1663 int_curr_symbol.
1664
1665 [BZ #22292]
1666 * locale/programs/record-status.h: New file
1667 * locale/programs/locale.c: Add comment.
1668 * locale/programs/charmap-dir.c: Don't include error.h.
1669 (charmap_opendir): Use record_error.
1670 * locale/programs/charmap.c: Don't include error.h.
1671 (charmap_read): Use record_error, and record_warning.
1672 (parse_charmap): Likewise.
1673 * locale/programs/ld-address.c: Don't include error.h.
1674 (address_finish): Use record_error, and record_warning.
1675 * locale/programs/ld-collate.c: Don't include error.h.
1676 (collate_finish): Use record_error, and record_error_at_line.
1677 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
1678 (ctype_class_new): Likewise.
1679 (ctype_map_new): Likewise.
1680 (set_one_default): Likewise.
1681 (set_class_defaults): Likewise.
1682 (translit_flatten): Likewise.
1683 (allocate_arrays): Use record_error, and record_verbose.
1684 * locale/programs/ld-identification.c: Don't include error.h.
1685 (indentation_finish): Use record_error and record_warning.
1686 * locale/programs/ld-measurement.c: Don't include error.h.
1687 (measurement_finish): Use record_error.
1688 * locale/programs/ld-messages.c
1689 (message_finish): Likewise.
1690 * locale/programs/ld-monetary.c
1691 (monetary_finish): Likewise.
1692 * locale/programs/ld-name.c (name_finish): Use record_error
1693 and record_warning.
1694 * locale/programs/ld-numeric.c
1695 (numeric_finish): Use record_error.
1696 * locale/programs/ld-paper.c: Don't include error.h.
1697 (paper_finish): Use record_error.
1698 * locale/programs/ld-telephone.c: Don't include error.h.
1699 (telephone_finish): Use record_error.
1700 * locale/programs/ld-time.c (time_finish): Likewise.
1701 * locale/programs/linereader.h (lr_error): Make inline func.
1702 * locale/programs/localedef.c: Define recorded_warning_count,
1703 and recorded_error_count.
1704 (main): Use record_error. Use recorded_error_count and
1705 recorded_warning_count to issue correct error returns.
1706 (add_to_readlist): Use record_error.
1707 (find_locale): Likewise.
1708 (load_locale): Likewise.
1709 * locale/programs/localedef.h: Remove be_quiet
1710 and WITH_CUR_LOCALE.
1711 * locale/programs/locarchive.c (compare_from_file): Use
1712 record_error.
1713 * locale/programs/locfile.c (write_locale_data): Use
1714 record_error.
1715 * locale/programs/repertoire.c: Dont include error.h.
1716 (repertoire_complain): Use record_error.
1717 * localedata/tst-fmon.sh: Expect failures from localedef.
1718 * localedata/tst-locale.sh: Likewise.
1719 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
1720
1721 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
1722 (REPORTS): Likewise.
1723 (check): Likewise.
1724 (i18n): Rename to...
1725 (i18n_ctype): ...this.
1726 (i18n-report): Rename to...
1727 (i18n_ctype-report): ...this.
1728 * localedata/locales/i18n_ctype: Regenerate.
1729 * localedata/locales/i18n: copy i18n_ctype.
1730
1731 2017-10-13 Joseph Myers <joseph@codesourcery.com>
1732
1733 * stdlib/strfroml.c: Include <bits/floatn.h>.
1734 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
1735 Define before include of <stdlib.h> and undefine afterwards, then
1736 define as weak alias.
1737
1738 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
1739 Undefine and restore default definition. Use
1740 libm_alias_ldouble_other.
1741
1742 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
1743
1744 [BZ #22153]
1745 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
1746 in coredumps.
1747
1748 2017-10-13 James Clarke <jrtc27@jrtc27.com>
1749
1750 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
1751 Assign sym_map to be map for local symbols, as TLS relocations
1752 use sym_map to determine whether the symbol is defined and to
1753 extract the TLS information.
1754 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
1755 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1756
1757 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1758
1759 [BZ #22189]
1760 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
1761 (math_force_eval): Add powerpc version.
1762
1763 [BZ #22142]
1764 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
1765 -DBL_MAX.
1766 (do_test): Likewise.
1767 * stdio-common/tst-printf.sh: Likewise.
1768 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
1769 ifdef clause in order to set the carry bit right. Replace r0 by
1770 0 without changing the behavior.
1771
1772 2017-10-13 Joseph Myers <joseph@codesourcery.com>
1773
1774 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
1775 <libm-alias-ldouble.h>.
1776 (fabsl): Define using libm_alias_ldouble.
1777 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
1778 <libm-alias-ldouble.h>.
1779 (fabsl): Define using libm_alias_ldouble.
1780
1781 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
1782 Remove conditional code.
1783
1784 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
1785 Rename to __clog10_internal_l.
1786 (__clog10_internal_l): Define aliases using
1787 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
1788 with __clog10.
1789
1790 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1791
1792 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
1793 * benchtests/sincosf-inputs: New file.
1794 * benchtests/cosf-inputs: New file.
1795 * benchtests/sinf-inputs: New file.
1796
1797 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
1798
1799 * posix/tst-spawn.c (do_test): Wait for both children.
1800
1801 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
1802
1803 [BZ #22284]
1804 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
1805 tests-pie): Add tst-gmon-pie.
1806 (CFLAGS-tst-gmon-pie.c): New.
1807 (CRT-tst-gmon-pie): Likewise.
1808 (tst-gmon-pie-ENV): Likewise.
1809 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
1810 ($(objpfx)tst-gmon-pie.out): Likewise.
1811 (clean-tst-gmon-pie-data): Likewise.
1812 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
1813 * gmon/gmon.c [PIC]: Include <link.h>.
1814 [PIC] (callback): New function.
1815 (write_hist): Add an argument for load address. Subtract load
1816 address from PCs.
1817 (write_call_graph): Likewise.
1818 (write_gmon): Call __dl_iterate_phdr to get load address, pass
1819 it to write_hist and write_call_graph.
1820 * gmon/tst-gmon-pie.c: New file.
1821
1822 2017-10-11 Joseph Myers <joseph@codesourcery.com>
1823
1824 * math/Makefile (test-types-basic): New variable.
1825 (test-types): Likewise.
1826 (libm-test-support): Use $(test-types) instead of $(types).
1827 (libm-tests-base-normal): Likewise.
1828 (libm-tests-base-finite): Likewise.
1829 (libm-tests-base-inline): Likewise.
1830 (generated): Likewise.
1831 ($(objpfx)libm-test-support-$(t).c): Likewise.
1832 (libm-tests-for-type iterator): Likewise.
1833 (libm-test-support iterator): Likewise.
1834 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
1835 (ulp_idx): Use ULP_IDX.
1836 * math/test-ldouble.h: Include <float.h>.
1837 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
1838 (ULP_IDX): New macro.
1839 (ULP_I_IDX): Likewise.
1840 * math/test-double.h (ULP_IDX): Likewise.
1841 (ULP_I_IDX): Likewise.
1842 * math/test-float.h (ULP_IDX): Likewise.
1843 (ULP_I_IDX): Likewise.
1844 * math/test-float128.h (ULP_IDX): Likewise.
1845 (ULP_I_IDX): Likewise.
1846
1847 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1848
1849 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
1850 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1851 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1852 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
1853 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1854 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
1855 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
1856 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1857 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1858 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1859 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
1860 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1861 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1862 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1863 (SINGLE_THREAD_BY_GLOBAL): Define.
1864 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
1865 Likewise.
1866 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
1867 Likewise.
1868 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
1869 Likewise.
1870 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
1871 Likewise.
1872 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
1873 (SINGLE_THREAD_BY_GLOBAL): Likewise.
1874 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
1875 Likewise.
1876
1877 2017-10-11 Andreas Schwab <schwab@suse.de>
1878
1879 * nis/Makefile (aux): Remove.
1880 * nscd/Makefile (aux): Add nscd_hash.
1881 (nscd-modules): Likewise.
1882 ($(objpfx)nscd): Don't depend on libnsl.
1883 * nscd/nscd_hash.c: New file.
1884 * nscd/nscd_hash.h: Likewise.
1885 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
1886 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
1887 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
1888 instead of <nis/rpcsvc/nis.h>.
1889 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
1890
1891 2017-10-11 Florian Weimer <fweimer@redhat.com>
1892
1893 [BZ #22078]
1894 Avoid large NSS buffers with many addresses, aliases.
1895 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
1896 using dynarrays and struct alloc_buffer.
1897 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
1898 (tst-nss-files-hosts-multi): Link with -ldl.
1899 * nss/tst-nss-files-hosts-multi.c: New file.
1900
1901 2017-10-11 Florian Weimer <fweimer@redhat.com>
1902
1903 [BZ #18023]
1904 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
1905 scratch_buffer. Eliminate gotos.
1906
1907 2017-10-11 Joseph Myers <joseph@codesourcery.com>
1908
1909 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
1910 libm_alias_ldouble_other.
1911 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
1912 undefine and redefine.
1913 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
1914 (exp10l): Do not define here.
1915 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
1916 (weak_alias): Undefine and redefine.
1917 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
1918 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
1919 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
1920 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
1921
1922 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
1923 [!__fma] (fma): Define using libm_alias_double.
1924 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
1925 [!__fmaf] (fmaf): Define using libm_alias_float.
1926 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
1927 (fmal): Define using libm_alias_ldouble.
1928
1929 2017-10-10 Joseph Myers <joseph@codesourcery.com>
1930
1931 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
1932 New macro.
1933 (libm_alias_double_other): Likewise.
1934 (libm_alias_double_r): Use libm_alias_double_other_r.
1935 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
1936 New macro.
1937 (libm_alias_float_other): Likewise.
1938 (libm_alias_float_r): Use libm_alias_float_other_r.
1939 * sysdeps/generic/libm-alias-float128.h
1940 (libm_alias_float128_other_r): New macro.
1941 (libm_alias_float128_other): Likewise.
1942 (libm_alias_float128_r): Use libm_alias_float128_other_r.
1943 * sysdeps/generic/libm-alias-ldouble.h
1944 (libm_alias_ldouble_other_r): New macro.
1945 (libm_alias_ldouble_other): Likewise.
1946 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
1947 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
1948 (libm_alias_double_other_r): New macro.
1949 (libm_alias_double_other): Likewise.
1950 (libm_alias_double_r): Use libm_alias_double_other_r.
1951 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
1952 (libm_alias_ldouble_other_r): New macro.
1953 (libm_alias_ldouble_other): Likewise.
1954 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
1955 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
1956 [!USE_AS_COMPAT]: Use libm_alias_double_other.
1957 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
1958 [!USE_AS_COMPAT]: Use libm_alias_float_other.
1959 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
1960 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
1961 * math/w_exp2f.c: Use libm_alias_float_other.
1962 * math/w_expf.c: Likewise.
1963 * math/w_log2f.c: Likewise.
1964 * math/w_logf.c: Likewise.
1965 * math/w_powf.c: Likewise.
1966 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
1967 [!__exp2f]: Use libm_alias_float_other.
1968 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
1969 [!__expf]: Use libm_alias_float_other.
1970 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
1971 [!__log2f]: Use libm_alias_float_other.
1972 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
1973 [!__logf]: Use libm_alias_float_other.
1974 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
1975 [!__powf]: Use libm_alias_float_other.
1976
1977 2017-10-10 Florian Weimer <fweimer@redhat.com>
1978
1979 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
1980 function.
1981 (_nss_files_gethostbyname3_r): Call it.
1982
1983 2017-10-09 Joseph Myers <joseph@codesourcery.com>
1984
1985 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
1986 error. Remove default definition of declare_mgen_alias.
1987 [!declare_mgen_alias_r]: Likewise.
1988 * sysdeps/generic/math-type-macros-double.h
1989 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
1990 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
1991 (declare_mgen_alias_r): Likewise.
1992 * sysdeps/generic/math-type-macros-float128.h
1993 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
1994 * sysdeps/generic/math-type-macros-ldouble.h
1995 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
1996 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
1997 macro.
1998 (declare_mgen_alias_r_s): Likewise.
1999 (declare_mgen_alias_r): Likewise.
2000 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
2001 (lgamma_r): Define using libm_alias_double_r.
2002 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
2003 (lgammaf_r): Define using libm_alias_float_r.
2004 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
2005 (lgammal_r): Define using libm_alias_ldouble_r.
2006 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
2007 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
2008
2009 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2010
2011 * lib/glob.c (__glob_pattern_type): Remove now-spurious
2012 extern declaration.
2013
2014 2017-10-09 Joseph Myers <joseph@codesourcery.com>
2015
2016 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
2017
2018 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
2019
2020 [BZ #21326]
2021 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
2022 [__cplusplus >= 201103] (__USE_ISOC99): Define.
2023 * math/Makefile (test-math-cxx11): New test.
2024 * math/test-math-cxx11.cc: New file.
2025
2026 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
2027
2028 * login/openpty.c (openpty): Close slave pty file descriptor on error.
2029
2030 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
2031 call to allocate the slave pty file descriptor.
2032
2033 2017-10-06 Joseph Myers <joseph@codesourcery.com>
2034
2035 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
2036 [!__fma] (fma): Define using libm_alias_double.
2037 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
2038 [!__fma] (fma): Define using libm_alias_double.
2039
2040 * sysdeps/ieee754/float128/float128_private.h: Include
2041 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
2042 (libm_alias_ldouble_r): Undefine and redefine.
2043 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
2044 <libm-alias-ldouble.h>.
2045 (asinhl): Define using libm_alias_ldouble.
2046 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
2047 <libm-alias-ldouble.h>.
2048 (atanl): Define using libm_alias_ldouble.
2049 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
2050 <libm-alias-ldouble.h>.
2051 (cbrtl): Define using libm_alias_ldouble.
2052 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
2053 <libm-alias-ldouble.h>.
2054 (ceill): Define using libm_alias_ldouble.
2055 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
2056 <libm-alias-ldouble.h>.
2057 (copysignl): Define using libm_alias_ldouble.
2058 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
2059 <libm-alias-ldouble.h>.
2060 (cosl): Define using libm_alias_ldouble.
2061 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
2062 <libm-alias-ldouble.h>.
2063 (erfl): Define using libm_alias_ldouble.
2064 (erfcl): Likewise.
2065 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
2066 <libm-alias-ldouble.h>.
2067 (expm1l): Define using libm_alias_ldouble.
2068 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
2069 <libm-alias-ldouble.h>.
2070 (fabsl): Define using libm_alias_ldouble.
2071 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
2072 <libm-alias-ldouble.h>.
2073 (floorl): Define using libm_alias_ldouble.
2074 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
2075 <libm-alias-ldouble.h>.
2076 (fmal): Define using libm_alias_ldouble.
2077 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
2078 <libm-alias-ldouble.h>.
2079 (frexpl): Define using libm_alias_ldouble.
2080 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
2081 libm_alias_ldouble.
2082 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
2083 <libm-alias-ldouble.h>.
2084 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
2085 libm_alias_ldouble.
2086 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
2087 <libm-alias-ldouble.h>.
2088 (getpayloadl): Define using libm_alias_ldouble.
2089 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
2090 <libm-alias-ldouble.h>.
2091 (llrintl): Define using libm_alias_ldouble.
2092 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
2093 <libm-alias-ldouble.h>.
2094 (llroundl): Define using libm_alias_ldouble.
2095 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
2096 <libm-alias-ldouble.h>.
2097 (logbl): Define using libm_alias_ldouble.
2098 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
2099 <libm-alias-ldouble.h>.
2100 (lrintl): Define using libm_alias_ldouble.
2101 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
2102 <libm-alias-ldouble.h>.
2103 (lroundl): Define using libm_alias_ldouble.
2104 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
2105 <libm-alias-ldouble.h>.
2106 (modfl): Define using libm_alias_ldouble.
2107 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
2108 <libm-alias-ldouble.h>.
2109 (nearbyintl): Define using libm_alias_ldouble.
2110 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
2111 <libm-alias-ldouble.h>.
2112 (nextafterl): Define using libm_alias_ldouble.
2113 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
2114 <libm-alias-ldouble.h>.
2115 (nextupl): Define using libm_alias_ldouble.
2116 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
2117 <libm-alias-ldouble.h>.
2118 (remquol): Define using libm_alias_ldouble.
2119 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
2120 <libm-alias-ldouble.h>.
2121 (rintl): Define using libm_alias_ldouble.
2122 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
2123 <libm-alias-ldouble.h>.
2124 (roundevenl): Define using libm_alias_ldouble.
2125 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
2126 <libm-alias-ldouble.h>.
2127 (roundl): Define using libm_alias_ldouble.
2128 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
2129 using libm_alias_ldouble.
2130 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
2131 <libm-alias-ldouble.h>.
2132 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
2133 Define using libm_alias_ldouble.
2134 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
2135 <libm-alias-ldouble.h>.
2136 (sincosl): Define using libm_alias_ldouble.
2137 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
2138 <libm-alias-ldouble.h>.
2139 (sinl): Define using libm_alias_ldouble.
2140 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
2141 <libm-alias-ldouble.h>.
2142 (tanhl): Define using libm_alias_ldouble.
2143 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
2144 <libm-alias-ldouble.h>.
2145 (tanl): Define using libm_alias_ldouble.
2146 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
2147 <libm-alias-ldouble.h>.
2148 (totalorderl): Define using libm_alias_ldouble.
2149 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
2150 <libm-alias-ldouble.h>.
2151 (totalordermagl): Define using libm_alias_ldouble.
2152 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
2153 <libm-alias-ldouble.h>.
2154 (truncl): Define using libm_alias_ldouble.
2155 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
2156 libm_alias_ldouble.
2157 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
2158 libm_alias_ldouble.
2159 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
2160 <libm-alias-ldouble.h>.
2161 (weak_alias): Do not undefine and redefine.
2162 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
2163 (copysignl): Define with long_double_symbol only if [IS_IN
2164 (libc)].
2165 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
2166 <libm-alias-ldouble.h>.
2167 (weak_alias): Do not undefine and redefine.
2168 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
2169 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
2170 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
2171 <libm-alias-ldouble.h>.
2172 (weak_alias): Do not undefine and redefine.
2173 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
2174 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
2175 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
2176 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
2177 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
2178 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
2179 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
2180 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
2181 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
2182 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
2183 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
2184 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
2185 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
2186 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
2187 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
2188 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
2189 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
2190 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
2191 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
2192 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
2193 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
2194 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
2195 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
2196 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
2197 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
2198 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
2199
2200 2017-10-06 Carlos O'Donell <carlos@redhat.com>
2201
2202 [BZ #22111]
2203 * malloc/malloc.c (tcache_shutting_down): Use bool type.
2204 (tcache_thread_freeres): Set tcache_shutting_down before
2205 freeing the tcache.
2206 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
2207 * malloc/tst-malloc-tcache-leak.c: New file.
2208
2209 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2210
2211 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
2212 back to powerpc32 file.
2213 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
2214 (memrchr): Add __memrchr_power8 to ifunc list.
2215 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
2216 extra bytes for unaligned inputs.
2217
2218 2017-10-06 Joseph Myers <joseph@codesourcery.com>
2219
2220 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
2221 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
2222 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
2223 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
2224 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
2225
2226 2017-10-05 Joseph Myers <joseph@codesourcery.com>
2227
2228 * sysdeps/arm/libm-test-ulps: Update.
2229
2230 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
2231 <libm-alias-ldouble.h>.
2232 (asinhl): Define using libm_alias_ldouble.
2233 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
2234 <libm-alias-ldouble.h>.
2235 (cbrtl): Define using libm_alias_ldouble.
2236 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
2237 <libm-alias-ldouble.h>.
2238 (copysignl): Define using libm_alias_ldouble.
2239 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
2240 <libm-alias-ldouble.h>.
2241 (cosl): Define using libm_alias_ldouble.
2242 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
2243 <libm-alias-ldouble.h>.
2244 (erfl): Define using libm_alias_ldouble.
2245 (erfcl): Likewise.
2246 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
2247 <libm-alias-ldouble.h>.
2248 (fmal): Define using libm_alias_ldouble.
2249 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
2250 <libm-alias-ldouble.h>.
2251 (frexpl): Define using libm_alias_ldouble.
2252 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
2253 libm_alias_ldouble.
2254 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
2255 <libm-alias-ldouble.h>.
2256 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
2257 libm_alias_ldouble.
2258 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
2259 <libm-alias-ldouble.h>.
2260 (getpayloadl): Define using libm_alias_ldouble.
2261 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
2262 <libm-alias-ldouble.h>.
2263 (llrintl): Define using libm_alias_ldouble.
2264 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
2265 <libm-alias-ldouble.h>.
2266 (llroundl): Define using libm_alias_ldouble.
2267 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
2268 <libm-alias-ldouble.h>.
2269 (lrintl): Define using libm_alias_ldouble.
2270 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
2271 <libm-alias-ldouble.h>.
2272 (lroundl): Define using libm_alias_ldouble.
2273 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
2274 <libm-alias-ldouble.h>.
2275 (modfl): Define using libm_alias_ldouble.
2276 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
2277 <libm-alias-ldouble.h>.
2278 (nextupl): Define using libm_alias_ldouble.
2279 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
2280 <libm-alias-ldouble.h>.
2281 (remquol): Define using libm_alias_ldouble.
2282 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
2283 <libm-alias-ldouble.h>.
2284 (roundevenl): Define using libm_alias_ldouble.
2285 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
2286 <libm-alias-ldouble.h>.
2287 (roundl): Define using libm_alias_ldouble.
2288 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
2289 using libm_alias_ldouble.
2290 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
2291 <libm-alias-ldouble.h>.
2292 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
2293 <libm-alias-ldouble.h>.
2294 (setpayloadsigl): Define using libm_alias_ldouble.
2295 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
2296 <libm-alias-ldouble.h>.
2297 (sincosl): Define using libm_alias_ldouble.
2298 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
2299 <libm-alias-ldouble.h>.
2300 (sinl): Define using libm_alias_ldouble.
2301 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
2302 <libm-alias-ldouble.h>.
2303 (tanhl): Define using libm_alias_ldouble.
2304 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
2305 <libm-alias-ldouble.h>.
2306 (tanl): Define using libm_alias_ldouble.
2307 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
2308 <libm-alias-ldouble.h>.
2309 (totalorderl): Define using libm_alias_ldouble.
2310 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
2311 <libm-alias-ldouble.h>.
2312 (totalordermagl): Define using libm_alias_ldouble.
2313 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
2314 libm_alias_ldouble.
2315 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
2316 libm_alias_ldouble.
2317
2318 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
2319
2320 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
2321 memmove_falkor.
2322 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2323 (__libc_ifunc_impl_list): Likewise.
2324 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
2325 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
2326
2327 * benchtests/bench-memmove-walk.c: New file.
2328 * benchtests/Makefile (string-benchset): Add it.
2329
2330 * benchtests/bench-memset-walk.c: New file.
2331 * benchtests/Makefile (string-benchset): Add it.
2332
2333 * benchtests/bench-memcpy-walk.c: New file.
2334 * benchtests/Makefile (string-benchset): Add it.
2335
2336 2017-10-05 Florian Weimer <fweimer@redhat.com>
2337
2338 nscd: Eliminate compilation time dependency in the build output.
2339 * nscd/nscd_stat.c (STATDATA_VERSION)
2340 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
2341 (STATDATA_VERSION_FULL): New macro definitions.
2342 (compilation): Remove.
2343 (struct statdata): Adjust version member.
2344 (send_stats): Set version from STATDATA_VERSION_FULL.
2345 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
2346
2347 2017-10-05 Joseph Myers <joseph@codesourcery.com>
2348
2349 * configure.ac (--enable-add-ons): Remove option.
2350 (machine): Do not mention add-ons in comment.
2351 (LIBC_PRECONFIGURE): Likewise.
2352 (add_ons): Remove variable and sanity checks and logic to locate
2353 add-ons.
2354 (add_ons_automatic): Remove variable.
2355 (configured_add_ons): Likewise.
2356 (add_ons_sfx): Likewise.
2357 (add_ons_pfx): Likewise.
2358 (add_on_subdirs): Likewise.
2359 (sysnames_add_ons): Likewise. Remove loop over add-ons and
2360 consideration of add-ons in Implies handling.
2361 (sysdeps_add_ons): Likewise.
2362 * configure: Regenerated.
2363 * libidn/configure.ac: Remove.
2364 * libidn/configure: Likewise.
2365 * sysdeps/unix/inet/configure.ac: New file.
2366 * sysdeps/unix/inet/configure: New generated file.
2367 * sysdeps/unix/inet/Subdirs: Add libidn.
2368 * Makeconfig (sysdeps-srcdirs): Remove variable.
2369 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
2370 ($(common-objpfx)config.status): Do not depend on add-on files.
2371 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
2372 comment.
2373 (all-subdirs): Do not include $(add-on-subdirs).
2374 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
2375 * config.make.in (add-ons): Remove variable.
2376 (add-on-subdirs): Likewise.
2377 (sysdeps-add-ons): Likewise.
2378 * manual/Makefile (add-chapters): Remove.
2379 ($(objpfx)texis): Do not depend on $(add-chapters).
2380 (nonexamples): Do not handle $(add-chapters).
2381 (examples): Do not handle $(add-ons).
2382 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
2383 libc-texinfo.sh.
2384 * manual/install.texi (Installation): Do not mention add-ons.
2385 (--enable-add-ons): Do not document configure option.
2386 * INSTALL: Regenerated.
2387 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
2388 * manual/maint.texi (Hierarchy Conventions): Do not mention
2389 add-ons.
2390 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
2391 --enable-add-ons.
2392 * scripts/gen-sorted.awk: Do not handle Subdirs files from
2393 add-ons.
2394 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
2395 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
2396
2397 2017-10-05 Andreas Schwab <schwab@suse.de>
2398
2399 [BZ #15142]
2400 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
2401 (_IO_flush_all_lockp): Always lock list_all_lock.
2402 (_IO_flush_all_linebuffered): Likewise.
2403 (_IO_unbuffer_all): Likewise.
2404
2405 2017-10-05 Florian Weimer <fweimer@redhat.com>
2406
2407 [BZ #15436]
2408 Do not flush stdio streams on abort.
2409 * stdlib/abort.c (fflush): Remove macro definition.
2410 (abort): Remove stages related to stdio flushing.
2411
2412 2017-10-05 Florian Weimer <fweimer@redhat.com>
2413
2414 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
2415
2416 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
2417
2418 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2419
2420 2017-10-05 Florian Weimer <fweimer@redhat.com>
2421
2422 * support/support_format_hostent.c (support_format_hostent): Add
2423 more error information for NETDB_INTERNAL.
2424
2425 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
2426
2427 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
2428 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
2429 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
2430 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
2431 AC_DEFINE if multi-arch is enabled.
2432 * sysdeps/i386/configure: Regenerated.
2433
2434 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
2435
2436 * Makeconfig (+link-static-before-libc): Use
2437 $(DEFAULT-LDFLAGS-$(@F)).
2438 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
2439 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
2440 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
2441
2442 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
2443
2444 * elf/Makefile (tests): Add tst-main1.
2445 (modules-names): Add tst-main1mod.
2446 ($(objpfx)tst-main1): New.
2447 (CRT-tst-main1): Likewise.
2448 (LDFLAGS-tst-main1): Likewise.
2449 (LDLIBS-tst-main1): Likewise.
2450 (tst-main1mod.so-no-z-defs): Likewise.
2451 * elf/tst-main1.c: New file.
2452 * elf/tst-main1mod.c: Likewise.
2453
2454 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
2455
2456 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
2457
2458 2017-10-04 Joseph Myers <joseph@codesourcery.com>
2459
2460 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
2461 (fma): Define using libm_alias_double.
2462 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
2463 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
2464 <math_ldbl_opt.h>.
2465 (fmal): Do not define as compat symbol here.
2466 * sysdeps/alpha/fpu/s_fma.c: New file.
2467
2468 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2469
2470 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
2471
2472 2017-10-04 Joseph Myers <joseph@codesourcery.com>
2473
2474 [BZ #22229]
2475 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
2476 <math_ldbl_opt.h>
2477 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
2478 and libc.
2479 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
2480 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
2481 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
2482 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
2483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
2484 Include <math_ldbl_opt.h>
2485 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
2486 and libc.
2487 (compat_symbol): Undefine and redefine.
2488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
2489 <math_ldbl_opt.h>
2490 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
2491 (compat_symbol): Undefine and redefine.
2492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
2493 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
2494 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
2495 GLIBC_2_1 for libm.
2496 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
2497 GLIBC_2.0 copysignl symbol.
2498 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
2499 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
2500
2501 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
2502
2503 2017-10-04 Florian Weimer <fweimer@redhat.com>
2504
2505 * scripts/check-local-headers.sh: Ignore nspr4 header file
2506 directory in addition to nspr.
2507
2508 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
2509
2510 [BZ #17956]
2511 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
2512 * configure: Regenerate.
2513 * crypt/Makefile (nss-cpp-flags): New variable.
2514 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
2515 (CPPFLAGS-md5-crypt.c): Use it.
2516 * scripts/check-local-headers.sh: Ignore nspr header file
2517 directory.
2518
2519 2017-10-04 Andreas Schwab <schwab@suse.de>
2520
2521 * nis/Makefile (services): Remove compat.
2522 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
2523 ($(objpfx)libnss_compat.so): Remove rule.
2524 * nis/Versions (libnss_compat): Remove.
2525 * nss/Makefile (services): Add compat.
2526 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
2527 * nss/Versions (libnss_compat): Define.
2528 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
2529 Don't include <rpc/types.h>. Replace bool_t by bool.
2530 * nss/nss_compat/compat-initgroups.c: Likewise.
2531 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
2532 instead of <rpcsrv/ypclnt.h>.
2533 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
2534 yp_get_default_domain.
2535 * nss/nss_compat/compat-pwd.c: Likewise.
2536 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
2537 yp_get_default_domain.
2538 * nss/nss_compat/nisdomain.c: New file.
2539 * nss/nss_compat/nisdomain.h: Likewise.
2540
2541 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2542
2543 [BZ #22244]
2544 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
2545 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2546
2547 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2548
2549 [BZ #22243]
2550 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
2551 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
2552
2553 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
2554
2555 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
2556 "movl main@GOTOFF(%ebx), %eax".
2557
2558 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
2559
2560 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
2561 allow undefined _DYNAMIC in PIE libc.a.
2562 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
2563 Likewse.
2564
2565 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
2566
2567 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
2568 check _DYNAMIC.
2569
2570 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
2571
2572 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
2573 check _DYNAMIC.
2574
2575 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
2576
2577 * math/test-math-iscanonical.cc (error): Replace bool with int.
2578
2579 2017-10-03 Joseph Myers <joseph@codesourcery.com>
2580
2581 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
2582 (modf): Define using libm_alias_double, only if [!__modf].
2583 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
2584 <libm-alias-double.h>.
2585 (modf): Define using libm_alias_double, only if [!__modf].
2586 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
2587 compat symbol here.
2588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
2589 (weak_alias): Do not undefine and redefine.
2590 (strong_alias): Likewise.
2591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
2592 (weak_alias): Likewise.
2593 (strong_alias): Likewise.
2594
2595 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
2596 (logb): Define using libm_alias_double, only if [!__logb].
2597 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
2598 <libm-alias-double.h>.
2599 (logb): Define using libm_alias_double, only if [!__logb].
2600 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
2601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
2602 (weak_alias): Do not undefine and redefine.
2603 (strong_alias): Likewise.
2604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
2605 (weak_alias): Likewise.
2606 (strong_alias): Likewise.
2607
2608 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
2609
2610 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
2611 Check SHARED instead PIC.
2612
2613 2017-10-03 Joseph Myers <joseph@codesourcery.com>
2614
2615 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
2616 [!__fmaf] (fmaf): Define using libm_alias_float.
2617
2618 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
2619 (frexp): Define using libm_alias_double.
2620 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
2621 <libm-alias-double.h>.
2622 (frexp): Define using libm_alias_double.
2623 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
2624 compat symbol here.
2625
2626 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2627
2628 [BZ #22235]
2629 * math/math.h: Trivial fix for unbalanced parentheses in comment.
2630 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
2631 (CFLAGS-test-math-iscanonical.cc): New variable.
2632 * math/test-math-iscanonical.cc: New file.
2633 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
2634 Provide a C++ implementation based on function overloading,
2635 rather than using __MATH_TG, which uses C-only builtins.
2636 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
2637 Likewise.
2638 * sysdeps/powerpc/powerpc64le/Makefile
2639 (CFLAGS-test-math-iscanonical.cc): New variable.
2640
2641 2017-10-03 Joseph Myers <joseph@codesourcery.com>
2642
2643 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
2644 (ceil): Define using libm_alias_double.
2645 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
2646 (floor): Define using libm_alias_double.
2647 * sysdeps/ieee754/dbl-64/s_llround.c: Include
2648 <libm-alias-double.h>.
2649 (llround): Define using libm_alias_double.
2650 * sysdeps/ieee754/dbl-64/s_lround.c: Include
2651 <libm-alias-double.h>.
2652 (lround): Define using libm_alias_double.
2653 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
2654 <libm-alias-double.h>.
2655 (nearbyint): Define using libm_alias_double.
2656 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
2657 <libm-alias-double.h>.
2658 (remquo): Define using libm_alias_double.
2659 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
2660 (rint): Define using libm_alias_double.
2661 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
2662 (round): Define using libm_alias_double.
2663 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
2664 (trunc): Define using libm_alias_double.
2665 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
2666 <libm-alias-double.h>.
2667 (ceil): Define using libm_alias_double.
2668 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
2669 <libm-alias-double.h>.
2670 (floor): Define using libm_alias_double.
2671 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
2672 <libm-alias-double.h>.
2673 (llround): Define using libm_alias_double.
2674 [_LP64] (lround): Likewise.
2675 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
2676 <libm-alias-double.h>.
2677 [!_LP64] (lround): Define using libm_alias_double.
2678 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
2679 <libm-alias-double.h>.
2680 (nearbyint): Define using libm_alias_double.
2681 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
2682 <libm-alias-double.h>.
2683 (remquo): Define using libm_alias_double.
2684 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
2685 <libm-alias-double.h>.
2686 (rint): Define using libm_alias_double.
2687 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
2688 <libm-alias-double.h>.
2689 (round): Define using libm_alias_double.
2690 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
2691 <libm-alias-double.h>.
2692 (trunc): Define using libm_alias_double.
2693 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
2694 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
2695 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
2696 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
2697 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
2698 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
2699 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
2700 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
2701 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
2702
2703 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
2704
2705 * math/w_remainder.c: New file.
2706 * math/w_remainderf.c: New file.
2707 * math/w_remainderl.c: New file.
2708
2709 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
2710
2711 * elf/rtld.c (BOOTSTRAP_MAP): New.
2712 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
2713 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
2714 Likewise.
2715 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
2716 Likewise.
2717 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
2718 Likewise.
2719
2720 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
2721
2722 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
2723 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
2724 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
2725 rtld_hidden_data_ver): Define to empty.
2726 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
2727 __assert_perror_fail): Likewise.
2728 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
2729 (__rewinddir): Likewise.
2730 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
2731 (__profile_frequency): Likewise.
2732 * include/setjmp.h (__sigsetjmp): Likewise.
2733 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
2734 __libc_sigaction): Likewise.
2735 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
2736 not set hidden attribute.
2737 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
2738 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
2739 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
2740 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
2741 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
2742 __fxstatat64): Likewise.
2743 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
2744 (__uname): Likewise.
2745 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
2746 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
2747 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
2748 (NO_RTLD_HIDDEN): Set.
2749 * sysdeps/mach/hurd/configure: Refresh.
2750 * config.h.in: Refresh.
2751
2752 2017-10-02 Joseph Myers <joseph@codesourcery.com>
2753
2754 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
2755 (atan): Define using libm_alias_double.
2756 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
2757 (tan): Define using libm_alias_double.
2758 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
2759 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
2760
2761 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
2762 define as weak alias of __atan. Do not define any aliases if
2763 [__atan].
2764 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
2765 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
2766 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
2767 as weak alias of __tan. Do not define any aliases if [__tan].
2768 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
2769 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
2770 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
2771 __atan.
2772 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
2773 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
2774 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
2775 and define as weak alias of __atan.
2776 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
2777 __atan.
2778 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
2779 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
2780 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
2781 define as weak alias of __tan.
2782
2783 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
2784
2785 * math/w_lgamma.c: New file.
2786 * math/w_lgammaf.c: New file.
2787 * math/w_lgammal.c: New file.
2788
2789 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
2790
2791 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
2792 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
2793 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
2794 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
2795 * sysdeps/ieee754/flt-32/w_logf.c: New file.
2796 * sysdeps/ieee754/flt-32/w_powf.c: New file.
2797 * sysdeps/i386/fpu/w_log2f.c: New file.
2798 * sysdeps/i386/fpu/w_logf.c: New file.
2799 * sysdeps/i386/fpu/w_powf.c: New file.
2800 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
2801 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
2802 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
2803
2804 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
2805 H.J. Lu <hongjiu.lu@intel.com>
2806
2807 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
2808 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
2809 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
2810 * sysdeps/ieee754/flt-32/w_expf.c: New file.
2811 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
2812 the new expf code.
2813 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
2814 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
2815 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
2816 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
2817 * sysdeps/i386/fpu/w_exp2f.c: New file.
2818 * sysdeps/i386/fpu/w_expf.c: New file.
2819 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
2820 * sysdeps/x86_64/fpu/w_expf.c: New file.
2821
2822 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
2823
2824 * math/Versions (logf): New libm symbol at GLIBC_2.27.
2825 (log2f): Likewise.
2826 (powf): Likewise.
2827 * math/w_log2f.c: New file.
2828 * math/w_logf.c: New file.
2829 * math/w_powf.c: New file.
2830 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
2831 * math/w_logf_compat.c (__logf_compat): Likewise.
2832 * math/w_powf_compat.c (__powf_compat): Likewise.
2833 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
2834 * sysdeps/ia64/fpu/e_logf.S: Likewise.
2835 * sysdeps/ia64/fpu/e_powf.S: Likewise.
2836 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
2837 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2838 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2839 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2840 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2841 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2842 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2843 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2844 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2845 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2846 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2847 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2849 Likewise.
2850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2851 Likewise.
2852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2853 Likewise.
2854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2855 Likewise.
2856 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2857 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2858 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2859 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2860 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2861 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2862 Likewise.
2863 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2864 Likewise.
2865 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2866 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2867 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2868
2869 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2870
2871 * sysdeps/powerpc/powerpc64/multiarch/Makefile
2872 (sysdep_routines): Add memrchr_power8.
2873 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2874 (memrchr): Add __memrchr_power8 to list of memrchr functions.
2875 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
2876 New file.
2877 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
2878 (memrchr): Add __memrchr_power8 to ifunc list.
2879 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
2880
2881 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2882
2883 [BZ #18822]
2884 * sysdeps/unix/sysv/linux/posix_fadvise64.c
2885 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
2886 libc_hidden_def.
2887 * sysdeps/unix/sysv/linux/posix_fallocate64.c
2888 (__posix_fallocate64_l64): Likewise.
2889
2890 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2891
2892 [BZ #18822]
2893 * sysdeps/unix/sysv/linux/sched_setaffinity.c
2894 (__sched_setaffinity_new): Add libc_hidden_proto and
2895 libc_hidden_def.
2896
2897 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2898
2899 [BZ #18822]
2900 * include/glob.h (__glob64): Add libc_hidden_proto.
2901 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
2902 libc_hidden_def.
2903
2904 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2905
2906 [BZ #18822]
2907 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
2908 attribute_hidden.
2909
2910 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2911
2912 [BZ #18822]
2913 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
2914
2915 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2916
2917 [BZ #18822]
2918 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
2919 libc_hidden_def.
2920
2921 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2922
2923 [BZ #18822]
2924 * csu/version.c (__libc_print_version): Add attribute_hidden.
2925
2926 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2927
2928 [BZ #18822]
2929 * include/libc-internal.h (__init_misc): Add attribute_hidden.
2930
2931 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2932
2933 [BZ #18822]
2934 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
2935
2936 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2937
2938 [BZ #18822]
2939 * nscd/nscd_helper.c (__nis_hash): New prototype.
2940
2941 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2942
2943 [BZ #18822]
2944 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
2945 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
2946 libc_hidden_def.
2947 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
2948 * termios/tcgetattr.c (__tcgetattr): Likewise.
2949
2950 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2951
2952 [BZ #18822]
2953 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
2954 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
2955 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
2956 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
2957 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
2958
2959 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2960
2961 [BZ #18822]
2962 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
2963
2964 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2965
2966 [BZ #18822]
2967 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
2968 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
2969
2970 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2971
2972 [BZ #18822]
2973 * intl/hash-string.h (__hash_string): Add attribute_hidden.
2974
2975 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2976
2977 [BZ #18822]
2978 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
2979 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
2980
2981 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2982
2983 [BZ #18822]
2984 * include/ifreq.h: New file.
2985 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
2986 (__ifreq): Likewise.
2987 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
2988 (__ifreq): Likewise.
2989
2990 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2991
2992 [BZ #18822]
2993 * include/idna.h: New file.
2994 * inet/getnameinfo.c: Include <idna.h> instead of
2995 <libidn/idna.h>.
2996 (__idna_to_unicode_lzlz): Removed.
2997 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
2998 <libidn/idna.h>.
2999 (__idna_to_ascii_lz): Removed.
3000 (__idna_to_unicode_lzlz): Likewise.
3001
3002 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3003
3004 [BZ #18822]
3005 * include/plural-exp.h: New file.
3006 * intl/plural-exp.c: Include <plural-exp.h> instead of
3007 "plural-exp.h".
3008
3009 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3010
3011 [BZ #18822]
3012 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
3013 "getsourcefilter.h".
3014 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
3015 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
3016 "getsourcefilter.h".
3017 (__get_sol): Removed.
3018
3019 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3020
3021 [BZ #18822]
3022 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
3023 to ...
3024 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
3025
3026 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3027
3028 [BZ #18822]
3029 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
3030 attribute_hidden.
3031
3032 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3033
3034 [BZ #18822]
3035 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
3036
3037 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3038
3039 [BZ #18822]
3040 * include/search.h (__tdestroy): Add libc_hidden_proto.
3041 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
3042
3043 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3044
3045 [BZ #18822]
3046 * include/assert.h (__assert_fail_base): Add attribute_hidden.
3047
3048 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3049
3050 [BZ #18822]
3051 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
3052 attribute_hidden.
3053
3054 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3055
3056 [BZ #18822]
3057 * include/signal.h (__kill): Add libc_hidden_proto.
3058 (__sigblock): Likewise.
3059 (__sigprocmask): Likewise.
3060 (__sigaltstack): Likewise.
3061 * signal/kill.c (__kill): Add libc_hidden_def.
3062 * signal/sigblock.c (__sigblock): Likewise.
3063 * signal/sigprocmask.c (__sigprocmask): Likewise.
3064 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
3065 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3066 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
3067 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
3068 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
3069 Likewise.
3070 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
3071 Likewise.
3072 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
3073 (__sigprocmask): Likewise.
3074 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
3075 Likewise.
3076 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
3077 (__sigprocmask): Likewise.
3078 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
3079 Likewise.
3080
3081 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3082
3083 [BZ #18822]
3084 * include/string.h (__strsep): Add libc_hidden_proto.
3085 * string/strsep.c (__strsep): Add libc_hidden_def.
3086
3087 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3088
3089 [BZ #18822]
3090 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
3091 attribute_hidden.
3092 (__spawni): Likewise.
3093
3094 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3095
3096 [BZ #18822]
3097 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
3098 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
3099 libc_hidden_def.
3100
3101 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3102
3103 [BZ #18822]
3104 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
3105
3106 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3107
3108 [BZ #18822]
3109 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
3110 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
3111 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
3112 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
3113 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
3114 Likewise.
3115 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
3116 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
3117
3118 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3119
3120 [BZ #18822]
3121 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
3122 (__dcigettext): Likewise.
3123
3124 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3125
3126 [BZ #18822]
3127 * include/sys/sysinfo.h (__get_nprocs_conf): Add
3128 libc_hidden_proto.
3129 (__get_nprocs): Likewise.
3130 (__get_phys_pages): Likewise.
3131 (__get_avphys_pages): Likewise.
3132 (__get_child_max): Add attribute_hidden.
3133 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
3134 (__get_nprocs): Likewise.
3135 (__get_phys_pages): Likewise.
3136 (__get_avphys_pages): Likewise.
3137 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
3138 libc_hidden_def.
3139 (__get_nprocs): Likewise.
3140 (__get_phys_pages): Likewise.
3141 (__get_avphys_pages): Likewise.
3142 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
3143 libc_hidden_def.
3144 (__get_nprocs_conf): Likewise.
3145 (__get_phys_pages): Likewise.
3146 (__get_avphys_pages): Likewise.
3147
3148 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3149
3150 [BZ #18822]
3151 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
3152 attribute_hidden.
3153 (__netlink_close): Likewise.
3154 (__netlink_free_handle): Likewise.
3155 (__netlink_request): Likewise.
3156
3157 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3158
3159 [BZ #18822]
3160 * include/rpc/rpc.h (__rpc_thread_variables): Add
3161 attribute_hidden.
3162 (__rpc_thread_svc_cleanup): Likewise.
3163 (__rpc_thread_clnt_cleanup): Likewise.
3164 (__rpc_thread_key_cleanup): Likewise.
3165
3166 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3167
3168 [BZ #18822]
3169 * include/sys/uio.h (__readv): Add libc_hidden_proto.
3170 (__writev): Likewise.
3171 * misc/readv.c (__readv): Add libc_hidden_def.
3172 * misc/writev.c (__writev): Likewise.
3173 * sysdeps/posix/readv.c (__readv): Likewise.
3174 * sysdeps/posix/writev.c (__writev): Likewise.
3175 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
3176 (__readv): Likewise.
3177 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
3178 (__writev): Likewise.
3179
3180 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3181
3182 [BZ #18822]
3183 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
3184 (__regcomp): Add libc_hidden_proto.
3185 (__regexec): Likewise.
3186 (__regfree): Likewise.
3187 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
3188 (__regfree): Likewise.
3189 * posix/regexec.c (__regexec): Likewise.
3190
3191 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3192
3193 [BZ #18822]
3194 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
3195 (__getutent): Likewise.
3196 (__getutid): Likewise.
3197 (__getutline): Likewise.
3198 (__pututline): Likewise.
3199 (__getutent_r): Likewise.
3200 (__getutid_r): Likewise.
3201 (__getutline_r): Likewise.
3202 (__utmpname): Add attribute_hidden.
3203 (__setutent): Likewise.
3204 (__endutent): Likewise.
3205 * login/getutent.c (__getutent): Add libc_hidden_def.
3206 * login/getutent_r.c (__getutent_r): Likewise.
3207 (__pututline): Likewise.
3208 * login/getutid.c (__getutid): Likewise.
3209 * login/getutid_r.c (__getutid_r): Likewise.
3210 * login/getutline.c (__getutline): Likewise.
3211 * login/getutline_r.c (__getutline_r): Likewise.
3212 * login/updwtmp.c (__updwtmp): Likewise.
3213
3214 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3215
3216 [BZ #18822]
3217 * include/dirent.h (__opendir): Always add attribute_hidden.
3218 (__fdopendir): Likewise.
3219 (__closedir): Likewise.
3220 (__readdir): Likewise.
3221 (__readdir64): Add libc_hidden_proto.
3222 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
3223 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
3224 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
3225 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
3226 New alias.
3227
3228 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3229
3230 [BZ #18822]
3231 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
3232 * include/netdb.h (__gethostbyaddr_r): Likewise.
3233 (__gethostbyname_r): Likewise.
3234 (__gethostbyname2_r): Likewise.
3235 (__getnetbyaddr_r): Likewise.
3236 (__getnetbyname_r): Likewise.
3237 (__getservbyname_r): Likewise.
3238 (__getservbyport_r): Likewise.
3239 (__getprotobyname_r): Likewise.
3240 (__getprotobynumber_r): Likewise.
3241 (__getnetgrent_r): Likewise.
3242 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
3243 (__getrpcbynumber_r): Likewise.
3244 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
3245
3246 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3247
3248 [BZ #18822]
3249 * include/stdio.h (__fcloseall): Add attribute_hidden.
3250 (__getline): Likewise.
3251 (__path_search): Likewise.
3252 (__gen_tempname): Likewise.
3253 (__libc_message): Likewise.
3254 (__flockfile): Likewise.
3255 (__funlockfile): Likewise.
3256 (__fxprintf): Likewise.
3257 (__fxprintf_nocancel): Likewise.
3258
3259 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3260
3261 [BZ #18822]
3262 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
3263 (__sgetsgent_r): Likewise.
3264
3265 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3266
3267 [BZ #18822]
3268 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
3269 (__statfs64): Likewise.
3270 (__fstatfs64): Likewise.
3271 * include/sys/statvfs.h (__statvfs64): Likewise.
3272 (__fstatvfs64): Likewise.
3273 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
3274 (__statfs_filesize_max): Likewise.
3275 (__statfs_symlinks): Likewise.
3276 (__statfs_chown_restricted): Likewise.
3277
3278 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3279
3280 [BZ #18822]
3281 * include/time.h (__tzstring): Add attribute_hidden.
3282 (__tzfile_read): Likewise.
3283 (__tzfile_compute): Likewise.
3284 (__tzfile_default): Likewise.
3285 (__tzset_parse_tz): Likewise.
3286 (__offtime): Likewise.
3287 (__asctime_r): Likewise.
3288 (__tzset): Likewise.
3289 (__tz_convert): Likewise.
3290 (__getdate_r): Likewise.
3291 (__getclktck): Likewise.
3292
3293 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3294
3295 [BZ #18822]
3296 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
3297 (__nscd_unmap): Likewise.
3298 (__nscd_cache_search): Likewise.
3299 (__nscd_get_nl_timestamp): Likewise.
3300 (__nscd_getpwnam_r): Likewise.
3301 (__nscd_getpwuid_r): Likewise.
3302 (__nscd_getgrnam_r): Likewise.
3303 (__nscd_getgrgid_r): Likewise.
3304 (__nscd_gethostbyname_r): Likewise.
3305 (__nscd_gethostbyname2_r): Likewise.
3306 (__nscd_gethostbyaddr_r): Likewise.
3307 (__nscd_getai): Likewise.
3308 (__nscd_getgrouplist): Likewise.
3309 (__nscd_getservbyname_r): Likewise.
3310 (__nscd_getservbyport_r): Likewise.
3311 (__nscd_innetgr): Likewise.
3312 (__nscd_setnetgrent): Likewise.
3313
3314 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3315
3316 [BZ #18822]
3317 * include/gmp.h: Declare internal functions only if _ISOMAC is
3318 undefined.
3319 (__mpn_extract_double): Add attribute_hidden.
3320 (__mpn_extract_long_double): Likewise.
3321 (__mpn_extract_float128): Likewise.
3322 (__mpn_construct_float): Likewise.
3323 (__mpn_construct_double): Likewise.
3324 (__mpn_construct_long_double): Likewise.
3325 (__mpn_construct_float128): Likewise.
3326 (mpn_add_1): Likewise.
3327 (mpn_addmul_1): Likewise.
3328 (mpn_add_n): Likewise.
3329 (mpn_cmp): Likewise.
3330 (mpn_divrem): Likewise.
3331 (mpn_lshift): Likewise.
3332 (mpn_mul): Likewise.
3333 (mpn_mul_1): Likewise.
3334 (mpn_rshift): Likewise.
3335 (mpn_sub_1): Likewise.
3336 (mpn_submul_1): Likewise.
3337 (mpn_sub_n): Likewise.
3338
3339 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3340
3341 [BZ #18822]
3342 * include/wchar.h (__wcsnlen): Add attribute_hidden.
3343 (__wcscat): Likewise.
3344 (__btowc): Likewise.
3345 (__wcrtomb): Likewise.
3346 (__mbsrtowcs): Likewise.
3347 (__wcsrtombs): Likewise.
3348 (__mbsnrtowcs): Likewise.
3349 (__wcsnrtombs): Likewise.
3350 (__wcsncpy): Likewise.
3351 (__wcpncpy): Likewise.
3352 (__wmemcpy): Likewise.
3353 (__wmempcpy): Likewise.
3354 (__wmemmove): Likewise.
3355 (__wcschrnul): Likewise.
3356 (__vfwscanf): Likewise.
3357 (__vswprintf): Likewise.
3358 (__fwprintf): Likewise.
3359 (__vfwprintf): Likewise.
3360
3361 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3362
3363 [BZ #18822]
3364 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
3365 (__getgrgid_r): Likewise.
3366 (__getgrnam_r): Likewise.
3367 * include/pwd.h (__getpwuid_r): Likewise.
3368 (__getpwnam_r): Likewise.
3369 (__fgetpwent_r): Likewise.
3370 * include/shadow.h (__getspnam_r): Likewise.
3371 (__sgetspent_r): Likewise.
3372 (__fgetspent_r): Likewise.
3373
3374 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3375
3376 [BZ #18822]
3377 * include/unistd.h (__access): Add attribute_hidden.
3378 (__lseek64): Likewise.
3379 (__libc_pread64): Likewise.
3380 (__pipe2): Likewise.
3381 (__sleep): Likewise.
3382 (__chdir): Likewise.
3383 (__fchdir): Likewise.
3384 (__getcwd): Likewise.
3385 (__rmdir): Likewise.
3386 (__execvpe): Likewise.
3387 (__execve): Likewise.
3388 (__setsid): Likewise.
3389 (__getuid): Likewise.
3390 (__geteuid): Likewise.
3391 (__getgid): Likewise.
3392 (__getegid): Likewise.
3393 (__getgroups): Likewise.
3394 (__group_member): Likewise.
3395 (__ttyname_r): Likewise.
3396 (__isatty): Likewise.
3397 (__readlink): Likewise.
3398 (__unlink): Likewise.
3399 (__gethostname): Likewise.
3400 (__profil): Likewise.
3401 (__getdtablesize): Likewise.
3402 (__brk): Likewise.
3403 (__ftruncate): Likewise.
3404 (__ftruncate64): Likewise.
3405
3406 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3407
3408 [BZ #18822]
3409 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
3410 * argp/argp-fs-xinl.c: Likewise.
3411 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
3412 * argp/argp-parse.c: Include <argp.h>.
3413 * argp/argp-xinl.c: Likewise.
3414 * include/argp-fmtstream.h: New file.
3415 * include/argp.h (__argp_error): Add attribute_hidden.
3416 (__argp_failure): Likewise.
3417 (__argp_input): Likewise.
3418 (__argp_state_help): Likewise.
3419
3420 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3421
3422 [BZ #18822]
3423 * include/wchar.h (____wcstof_l_internal): New prototype.
3424 (____wcstod_l_internal): Likewise.
3425 (____wcstold_l_internal): Likewise.
3426 (____wcstol_l_internal): Likewise.
3427 (____wcstoul_l_internal): Likewise.
3428 (____wcstoll_l_internal): Likewise.
3429 (____wcstoull_l_internal): Likewise.
3430 (____wcstof128_l_internal): Likewise.
3431 * sysdeps/ieee754/float128/wcstof128.c
3432 (____wcstof128_l_internal): Removed.
3433 * sysdeps/ieee754/float128/wcstof128_l.c
3434 (____wcstof128_l_internal): Likewise.
3435 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
3436 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
3437 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
3438 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
3439 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
3440 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
3441 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
3442 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
3443 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
3444 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
3445
3446 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3447
3448 [BZ #18822]
3449 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
3450 instead of <sys/statvfs.h>.
3451 (__internal_statvfs): Removed.
3452 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
3453 instead of <sys/statvfs.h>.
3454 (__internal_statvfs64): Removed.
3455 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
3456 "internal_statvfs.h" instead of <sys/statvfs.h>.
3457 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
3458 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
3459 instead of <sys/statvfs.h>.
3460 (__internal_statvfs): Removed.
3461 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
3462 instead of <sys/statvfs.h>.
3463 (__internal_statvfs64): Removed.
3464
3465 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3466
3467 [BZ #18822]
3468 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
3469 (__gconv_close): Likewise.
3470 (__gconv): Likewise.
3471 (__gconv_find_transform): Likewise.
3472 (__gconv_lookup_cache): Likewise.
3473 (__gconv_compare_alias_cache): Likewise.
3474 (__gconv_load_cache): Likewise.
3475 (__gconv_get_path): Likewise.
3476 (__gconv_close_transform): Likewise.
3477 (__gconv_release_cache): Likewise.
3478 (__gconv_find_shlib): Likewise.
3479 (__gconv_release_shlib): Likewise.
3480 (__gconv_get_builtin_trans): Likewise.
3481 (__gconv_compare_alias): Likewise.
3482 * include/dlfcn.h (_dlerror_run): Likewise.
3483 * include/stdio.h (__fortify_fail_abort): Likewise.
3484 * include/time.h (__tz_compute): Likewise.
3485 (__strptime_internal): Likewise.
3486 * intl/gettextP.h (_nl_find_domain): Likewise.
3487 (_nl_load_domain): Likewise.
3488 (_nl_find_msg): Likewise.
3489 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
3490 (EXTRACT_PLURAL_EXPRESSION): Likewise.
3491 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
3492 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
3493 (__gai_find_request): Likewise.
3494 (__gai_remove_request): Likewise.
3495 (__gai_notify): Likewise.
3496 (__gai_notify_only): Likewise.
3497 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
3498 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
3499 (_dl_non_dynamic_init): Likewise.
3500 (_dl_aux_init): Likewise.
3501 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
3502 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
3503 Likewise.
3504 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
3505 (__wcsmbs_clone_conv): Likewise.
3506 (__wcsmbs_named_conv): Likewise.
3507
3508 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3509
3510 [BZ #18822]
3511 * include/stdlib.h (__random): Add attribute_hidden.
3512 (__random_r): Likewise.
3513 (__srandom_r): Likewise.
3514 (__initstate_r): Likewise.
3515 (__setstate_r): Likewise.
3516 (__erand48_r): Likewise.
3517 (__nrand48_r): Likewise.
3518 (__jrand48_r): Likewise.
3519 (__srand48_r): Likewise.
3520 (__seed48_r): Likewise.
3521 (__lcong48_r): Likewise.
3522 (__drand48_iterate): Likewise.
3523 (__setenv): Likewise.
3524 (__unsetenv): Likewise.
3525 (__clearenv): Likewise.
3526 (__ptsname_r): Likewise.
3527 (__posix_openpt): Likewise.
3528 (__add_to_environ): Likewise.
3529 (__realpath): Add libc_hidden_proto.
3530 (__ecvt_r): Likewise.
3531 (__fcvt_r): Likewise.
3532 (__qecvt_r): Likewise.
3533 (__qfcvt_r): Likewise.
3534 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
3535 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
3536
3537 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
3538
3539 [BZ #18822]
3540 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
3541 * include/time.h (__mktime_internal): Likewise.
3542 * libio/iolibio.h (__fopen_internal): Likewise.
3543
3544 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
3545
3546 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
3547 pointer in frame.
3548 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
3549 Correct offset used to restore PIC register.
3550
3551 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
3552
3553 [BZ libc/22165]
3554 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
3555 code to load address of __getcontext_ret when generating PIC code.
3556
3557 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
3558
3559 * elf/Makefile (tests-static-internal): Add
3560 tst-tls1-static-non-pie.
3561 (LDFLAGS-tst-tls1-static-non-pie): New.
3562 * elf/tst-tls1-static-non-pie.c: New file.
3563
3564 2017-09-29 Joseph Myers <joseph@codesourcery.com>
3565
3566 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
3567 (asinh): Define using libm_alias_double.
3568 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
3569 (cbrt): Define using libm_alias_double.
3570 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
3571 <libm-alias-double.h>.
3572 (copysign): Define using libm_alias_double.
3573 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
3574 (erf): Define using libm_alias_double.
3575 (erfc): Likewise.
3576 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
3577 (expm1): Define using libm_alias_double.
3578 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
3579 (fabs): Define using libm_alias_double.
3580 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
3581 libm_alias_double.
3582 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
3583 <libm-alias-double.h>.
3584 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
3585 libm_alias_double.
3586 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
3587 <libm-alias-double.h>.
3588 (getpayload): Define using libm_alias_double.
3589 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
3590 <libm-alias-double.h>.
3591 (llrint): Define using libm_alias_double.
3592 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
3593 (lrint): Define using libm_alias_double.
3594 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
3595 <libm-alias-double.h>.
3596 (nextup): Define using libm_alias_double.
3597 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
3598 <libm-alias-double.h>.
3599 (roundeven): Define using libm_alias_double.
3600 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
3601 libm_alias_double.
3602 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
3603 <libm-alias-double.h>.
3604 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
3605 using libm_alias_double.
3606 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
3607 (cos): Define using libm_alias_double.
3608 (sin): Likewise.
3609 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
3610 <libm-alias-double.h>.
3611 (sincos): Define using libm_alias_double.
3612 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
3613 (tanh): Define using libm_alias_double.
3614 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
3615 <libm-alias-double.h>.
3616 (totalorder): Define using libm_alias_double.
3617 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
3618 <libm-alias-double.h>.
3619 (totalordermag): Define using libm_alias_double.
3620 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
3621 libm_alias_double.
3622 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
3623 libm_alias_double.
3624 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
3625 <libm-alias-double.h>.
3626 (getpayload): Define using libm_alias_double.
3627 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
3628 <libm-alias-double.h>.
3629 (roundeven): Define using libm_alias_double.
3630 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
3631 <libm-alias-double.h>.
3632 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
3633 <libm-alias-double.h>.
3634 (totalorder): Define using libm_alias_double.
3635 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
3636 <libm-alias-double.h>.
3637 (totalordermag): Define using libm_alias_double.
3638 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
3639 libc compat symbol here.
3640 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
3641 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
3642 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
3643 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
3644 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
3645 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
3646 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
3647 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
3648 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
3649 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
3650
3651 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
3652
3653 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
3654 _dl_relocate_static_pie instead of _dl_start to compute load
3655 address in static PIE. Return 0 if _DYNAMIC is undefined for
3656 static executable.
3657
3658 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
3659
3660 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
3661 _DYNAMIC is undefined for static executable.
3662
3663 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
3664
3665 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
3666
3667 2017-09-29 Joseph Myers <joseph@codesourcery.com>
3668
3669 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3670
3671 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
3672
3673 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
3674 (__ieee754_lgamma_r): Use fabs rather than __fabs.
3675 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
3676 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3677 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
3678 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
3679 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
3680 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
3681 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
3682 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
3683 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
3684 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
3685 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
3686 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
3687 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
3688 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
3689 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
3690
3691 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
3692
3693 * math/bits/cmathcalls.h (cimag): Remove inline.
3694 (creal): Remove inline.
3695 (conj): Remove inline.
3696
3697 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
3698
3699 * math/Makefile (type-float-routines): Add e_powf_log2_data.
3700 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
3701 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
3702 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
3703 (issignalingf_inline): Likewise.
3704 (POWF_LOG2_TABLE_BITS): Likewise.
3705 (POWF_LOG2_POLY_ORDER): Likewise.
3706 (POWF_SCALE_BITS): Likewise.
3707 (POWF_SCALE): Likewise.
3708 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
3709 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
3710 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
3711
3712 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
3713
3714 * math/Makefile (type-float-routines): Add e_log2f_data.
3715 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
3716 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
3717 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
3718 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
3719 * sysdeps/i386/fpu/e_log2f_data.c: New file.
3720 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
3721 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
3722
3723 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
3724
3725 * math/Makefile (type-float-routines): Add e_logf_data.
3726 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
3727 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
3728 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
3729 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
3730 * sysdeps/i386/fpu/e_logf_data.c: New file.
3731 * sysdeps/ia64/fpu/e_logf_data.c: New file.
3732 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
3733
3734 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
3735
3736 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
3737 undefined _DYNAMIC in PIE libc.a.
3738 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
3739 Likewse.
3740
3741 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
3742
3743 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
3744 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
3745 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
3746 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
3747 (__signbit): Remove.
3748 (__signbitl): Remove.
3749 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
3750 (__signbit): Remove.
3751 (__signbitl): Remove.
3752 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
3753 (__signbit): Remove.
3754 (__signbitl): Remove.
3755 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
3756 (__signbit): Remove.
3757 (__signbitl): Remove.
3758 * sysdeps/tile/bits/mathinline.h: Delete file.
3759 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
3760 (__signbit): Remove.
3761 (__signbitl): Remove.
3762
3763 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
3764
3765 * math/math.h: Improve handling of C99 isgreater macros.
3766 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
3767 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
3768 * sysdeps/powerpc/bits/mathinline.h: Likewise.
3769 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
3770 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
3771
3772 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
3773
3774 * sysdeps/aarch64/libm-test-ulps: Update.
3775
3776 2017-09-28 Joseph Myers <joseph@codesourcery.com>
3777
3778 [BZ #22225]
3779 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3780 math_opt_barrier on argument when doing arithmetic on it.
3781 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3782 Likewise. Use math_force_eval not math_opt_barrier after
3783 arithmetic.
3784 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
3785 math_opt_barrier on argument when doing arithmetic on it.
3786 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3787 Likewise.
3788
3789 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
3790
3791 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
3792 libc_hidden_def.
3793 (__freeifaddrs): Likewise.
3794
3795 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3796
3797 * include/dirent.h (__dirfd): New declaration.
3798 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
3799 alias.
3800 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
3801 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
3802 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
3803 * include/unistd.h (__revoke): New declaration.
3804 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
3805 alias.
3806 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
3807 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
3808 revoke.
3809 * include/dirent.h (__seekdir): New declaration.
3810 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
3811 redefine as weak alias.
3812 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
3813 of seekdir.
3814 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
3815 and use libc_hidden_def on them.
3816 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
3817 them.
3818 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
3819 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
3820 instead of getifaddrs and freeifaddrs.
3821
3822 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
3823
3824 [BZ #18822]
3825 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
3826 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
3827 (__dso_handle): Remove declaration.
3828 * dlfcn/tstatexit.c (__dso_handle): Removed.
3829 (main): Don't check __dso_handle.
3830 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
3831 (main): Don't check __dso_handle.
3832 * include/dso_handle.h: New file.
3833 * malloc/mtrace.c: Include <dso_handle.h>.
3834 (mtrace): Pass __dso_handle directly.
3835 * nptl/pthread_atfork.c: Include <dso_handle.h>.
3836 (__dso_handle): Remove declaration.
3837 (__pthread_atfork): Pass __dso_handle directly.
3838 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
3839 (__dso_handle): Removed.
3840 * posix/wordexp-test.c: Include <dso_handle.h>.
3841 (__dso_handle): Remove declaration.
3842 (__app_register_atfork): Pass __dso_handle directly.
3843 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
3844 (__dso_handle): Remove declaration.
3845 (at_quick_exit): Pass __dso_handle directly.
3846 * stdlib/atexit.c: Include <dso_handle.h>.
3847 (__dso_handle): Remove declaration.
3848 (atexit): Pass __dso_handle directly.
3849 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
3850 (__dso_handle): Removed.
3851
3852 2017-09-26 Joseph Myers <joseph@codesourcery.com>
3853
3854 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
3855 using VDSO.
3856
3857 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
3858
3859 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
3860 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
3861 values to correct default value for given type.
3862
3863 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
3864
3865 [BZ #22101]
3866 * elf/Makefile (tests): Add tst-debug1.
3867 ($(objpfx)tst-debug1): New.
3868 ($(objpfx)tst-debug1.out): Likewise.
3869 ($(objpfx)tst-debug1mod1.so): Likewise.
3870 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
3871 with p_filesz == 0.
3872 * elf/tst-debug1.c: New file.
3873
3874 2017-09-26 Joseph Myers <joseph@codesourcery.com>
3875
3876 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
3877 Define using __ifunc.
3878
3879 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3880
3881 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
3882 exp2f() values.
3883
3884 2017-09-26 Joseph Myers <joseph@codesourcery.com>
3885
3886 [BZ #22156]
3887 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
3888
3889 2017-09-26 Florian Weimer <fweimer@redhat.com>
3890
3891 * resolv/Makefile (tests-internal): Fix typo in comment.
3892
3893 2017-09-26 Florian Weimer <fweimer@redhat.com>
3894
3895 * resolv/nss_dns/dns-host.c: Fix typo in comment.
3896
3897 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3898
3899 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
3900 Use an union instead of a max_align_t array for __space,
3901 so that __space is the same size on all platforms.
3902 * malloc/scratch_buffer_grow_preserve.c
3903 (__libc_scratch_buffer_grow_preserve): Likewise.
3904
3905 [BZ #22183]
3906 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
3907 version to 2.
3908 * posix/Makefile (routines): Add glob-lstat-compat and
3909 glob64-lstat-compat.
3910 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
3911 * posix/glob-lstat-compat.c: New file.
3912 * posix/glob64-lstat-compat.c: Likewise.
3913 * posix/tst-glob_lstat_compat.c: Likewise.
3914 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
3915 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
3916 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
3917 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
3918 Likewise.
3919 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
3920 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
3921 * posix/glob.c (glob_lstat): New function.
3922 (glob): Rename to __glob and add versioned symbol to 2.27.
3923 (glob_in_dir): Use glob_lstat.
3924 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
3925 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3926 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
3927 2.27.
3928 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
3929 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
3930 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
3931 gl_lstat on glob call.
3932 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
3933 and glob64 symbols.
3934 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3935 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3936 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3937 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3938 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3939 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3940 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3941 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3942 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3943 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3944 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3945 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3947 Likewise.
3948 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
3949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3950 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3951 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3952 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3953 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3954 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3955 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3956 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3957 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3958 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3959 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3960
3961 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
3962
3963 * configure.ac (AS): Require binutils 2.25 or later.
3964 * configure: Regenerated.
3965
3966 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
3967
3968 [BZ #22207]
3969 * stdlib/test-atexit-race-common.c (do_test): Minimize required
3970 VM size.
3971
3972 2017-09-25 DJ Delorie <dj@redhat.com>
3973
3974 [BZ #22161]
3975 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
3976 resetting timeout.
3977
3978 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3979
3980 * sysdeps/ieee754/dbl-64/sincos32.h
3981 [SINCCOS32_H]: Remove define.
3982 [SINCOS32_H]: Define.
3983
3984 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
3985
3986 * math/Versions (expf): New libm symbol at GLIBC_2.27.
3987 (exp2f): Likewise.
3988 * math/w_exp2f.c: New file.
3989 * math/w_expf.c: New file.
3990 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
3991 * math/w_expf_compat.c (__expf_compat): Likewise.
3992 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
3993 * sysdeps/ia64/fpu/e_expf.S: Likewise.
3994 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3995 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3996 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3997 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3998 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3999 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4000 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4001 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4002 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4003 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4004 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4005 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4007 Likewise.
4008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4009 Likewise.
4010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4011 Likewise.
4012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4013 Likewise.
4014 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4015 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4016 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4017 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4018 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4019 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4020 Likewise.
4021 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4022 Likewise.
4023 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4024 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4025 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4026
4027 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
4028
4029 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
4030 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
4031 (roundtoint, converttoint): Likewise.
4032 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
4033 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
4034 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
4035 * sysdeps/ieee754/flt-32/math_config.h: New file.
4036 * sysdeps/ieee754/flt-32/math_errf.c: New file.
4037 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
4038 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
4039 * sysdeps/i386/fpu/math_errf.c: New file.
4040 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
4041 * sysdeps/ia64/fpu/math_errf.c: New file.
4042 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
4043 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
4044
4045 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
4046
4047 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
4048 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
4049 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
4050 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
4051 to make sure that these symbols are defined.
4052 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
4053 of <limits.h>
4054 (__need_NULL): Do not define.
4055 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
4056 alignment.
4057 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
4058 CMGROUP_MAX, cmsgcred): Do not define.
4059 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
4060 NULL.
4061 * bits/socket.h: Likewise.
4062 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
4063 __gettimeofday instead of gettimeofday.
4064 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
4065 instead of settimeofday.
4066
4067 2017-09-22 Joseph Myers <joseph@codesourcery.com>
4068
4069 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
4070 (asinhf): Define using libm_alias_float.
4071 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
4072 (atanf): Define using libm_alias_float.
4073 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
4074 (cbrtf): Define using libm_alias_float.
4075 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
4076 (ceilf): Define using libm_alias_float.
4077 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
4078 <libm-alias-float.h>.
4079 (copysignf): Define using libm_alias_float.
4080 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
4081 (cosf): Define using libm_alias_float.
4082 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
4083 (erff): Define using libm_alias_float.
4084 (erfcf): Likewise.
4085 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
4086 (expm1f): Define using libm_alias_float.
4087 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
4088 (fabsf): Define using libm_alias_float.
4089 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
4090 (floorf): Define using libm_alias_float.
4091 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
4092 (frexpf): Define using libm_alias_float.
4093 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
4094 libm_alias_float.
4095 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
4096 <libm-alias-float.h>.
4097 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
4098 libm_alias_float.
4099 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
4100 <libm-alias-float.h>.
4101 (getpayloadf): Define using libm_alias_float.
4102 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
4103 <libm-alias-float.h>.
4104 (llrintf): Define using libm_alias_float.
4105 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
4106 <libm-alias-float.h>.
4107 (llroundf): Define using libm_alias_float.
4108 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
4109 (logbf): Define using libm_alias_float.
4110 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
4111 (lrintf): Define using libm_alias_float.
4112 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
4113 (lroundf): Define using libm_alias_float.
4114 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
4115 (modff): Define using libm_alias_float.
4116 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
4117 <libm-alias-float.h>.
4118 (nearbyintf): Define using libm_alias_float.
4119 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
4120 <libm-alias-float.h>.
4121 (nextafterf): Define using libm_alias_float.
4122 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
4123 <libm-alias-float.h>.
4124 (nextupf): Define using libm_alias_float.
4125 * sysdeps/ieee754/flt-32/s_remquof.c: Include
4126 <libm-alias-float.h>.
4127 (remquof): Define using libm_alias_float.
4128 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
4129 (rintf): Define using libm_alias_float.
4130 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
4131 <libm-alias-float.h>.
4132 (roundevenf): Define using libm_alias_float.
4133 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
4134 (roundf): Define using libm_alias_float.
4135 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
4136 using libm_alias_float.
4137 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
4138 <libm-alias-float.h>.
4139 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
4140 Define using libm_alias_float.
4141 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
4142 <libm-alias-float.h>.
4143 (sincosf): Define using libm_alias_float.
4144 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
4145 (sinf): Define using libm_alias_float.
4146 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
4147 (tanf): Define using libm_alias_float.
4148 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
4149 (tanhf): Define using libm_alias_float.
4150 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
4151 <libm-alias-float.h>.
4152 (totalorderf): Define using libm_alias_float.
4153 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
4154 <libm-alias-float.h>.
4155 (totalordermagf): Define using libm_alias_float.
4156 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
4157 (truncf): Define using libm_alias_float.
4158 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
4159 libm_alias_float.
4160 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
4161 libm_alias_float.
4162
4163 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4164
4165 [BZ #22146]
4166 math/math.h: Let fpclassify use the builtin in C++ mode, even
4167 when optimazing for size.
4168
4169 2017-09-22 Joseph Myers <joseph@codesourcery.com>
4170
4171 * csu/Makefile (generated): Do not add version-info.h.
4172 (before-compile): Likewise.
4173 (all-Banner-files): Remove variable.
4174 ($(objpfx)version-info.h): Remove rule.
4175 * csu/version.c (banner): Do not include "version-info.h".
4176 * libidn/Banner: Remove.
4177 * manual/contrib.texi (Simon Josefsson): New entry.
4178
4179 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4180
4181 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4182 Remove conditionals on LDBL_MANT_DIG.
4183 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
4184 (__ieee754_lgammal_r): Likewise.
4185
4186 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4187
4188 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
4189 _Float128 and L().
4190 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
4191 _Float128 and L(). Replace _Float128 with long double and L(x)
4192 with xL, throughout the file.
4193 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
4194 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
4195 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
4196 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
4197
4198 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4199
4200 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
4201 sysdeps/ieee754/ldbl-128ibm.
4202 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
4203 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
4204 of including it. Keep _Float128 and L() intact. These will be
4205 reviewed by a separate patch.
4206 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
4207 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
4208 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
4209 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
4210
4211 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4212
4213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
4214 (__finitef128): Define to __redirect___finitef128.
4215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
4216 (__isinff128): Define to __redirect___isinff128.
4217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
4218 (__isnanf128): Define to __redirect___isnanf128.
4219
4220 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4221
4222 * sysdeps/powerpc/powerpc64le/Makefile
4223 (CFLAGS-tst-strtod-nan-locale.c): New variable.
4224 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
4225
4226 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
4227 Carlos O'Donell <carlos@redhat.com>
4228
4229 [BZ #22180]
4230 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
4231 * stdlib/test-dlclose-exit-race.c: New file.
4232 * stdlib/test-dlclose-exit-race-helper.c: New file.
4233 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
4234
4235 2017-09-21 Joseph Myers <joseph@codesourcery.com>
4236
4237 * crypt/Banner: Remove file.
4238 * nptl/Banner: Likewise.
4239 * resolv/Banner: Likewise.
4240 * soft-fp/Banner: Likewise.
4241 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
4242 ($(objpfx)version.d): Remove dependency on banner.h.
4243 ($(objpfx)version.os): Likewise.
4244 * nptl/version.c (banner): Do not include banner.h.
4245 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
4246 Jelinek and BIND code.
4247
4248 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
4249 Carlos O'Donell <carlos@redhat.com>
4250
4251 * support/xdlfcn.h: New file.
4252 * support/xdlfcn.c: New file.
4253 * support/Makefile (libsupport-routines): Add xdlfcn.
4254 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
4255
4256 2017-09-20 Joseph Myers <joseph@codesourcery.com>
4257
4258 [BZ #20142]
4259 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4260 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
4261 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
4262 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
4263 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
4264 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
4265 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
4266 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
4267
4268 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
4269 Ricky Zhou <rickyz@google.com>
4270 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
4271
4272 [BZ #14333]
4273 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
4274 Remove atomics.
4275 (__new_exitfn): Fail registration when we finished at_exit processing.
4276 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4277 * stdlib/on_exit.c (__on_exit): Likewise.
4278 * stdlib/exit.c (__exit_funcs_done): New variable.
4279 (__run_exit_handlers): Use __exit_funcs_lock.
4280 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
4281 declarations.
4282 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
4283 (test-cxa_atexit-race, test-on_exit-race): New tests.
4284 * stdlib/test-atexit-race-common.c: New file.
4285 * stdlib/test-atexit-race.c: New file.
4286 * stdlib/test-at_quick_exit-race.c: New file.
4287 * stdlib/test-cxa_atexit-race.c: New file.
4288 * stdlib/test-on_exit-race.c: New file.
4289
4290 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
4291
4292 * benchtests/Makefile: Add exp2f and log2f benchmarks.
4293 * benchtests/exp2f-inputs: Copy of expf-inputs.
4294 * benchtests/log2f-inputs: Copy of logf-inputs.
4295
4296 2017-09-19 Joseph Myers <joseph@codesourcery.com>
4297
4298 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
4299 Explicitly take address of first element of array arguments in
4300 call to INLINE_SYSCALL.
4301
4302 2017-09-19 Andreas Schwab <schwab@suse.de>
4303
4304 [BZ #22134]
4305 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
4306 execveat first.
4307 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
4308 unimplemented.
4309 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
4310 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
4311 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4312 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
4313 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4314 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
4315 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4316 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
4317 * posix/Makefile (tests): Add tst-fexecve.
4318 * posix/tst-fexecve.c: New file.
4319
4320 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
4321
4322 * benchtests/Makefile: Add logf benchmark.
4323 * benchtests/logf-inputs: Add reduced trace from wrf_r.
4324
4325 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
4326
4327 * benchtests/Makefile: Add expf benchmark.
4328 * benchtests/expf-inputs: Add reduced trace from wrf_r.
4329
4330 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
4331
4332 * csu/Makefile: Add -funwind-tables to libc-start.c.
4333 * debug/Makefile: Add -funwind-tables to backtrace.c.
4334 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
4335 * sysdeps/arm/Makefile: Likewise.
4336 * sysdeps/i386/Makefile: Likewise.
4337 * sysdeps/m68k/Makefile: Likewise.
4338 * sysdeps/mips/Makefile: Likewise.
4339 * sysdeps/nios2/Makefile: Likewise.
4340 * sysdeps/sh/Makefile: Likewise.
4341 * sysdeps/sparc/Makefile: Likewise.
4342
4343 2017-09-19 Joseph Myers <joseph@codesourcery.com>
4344
4345 * benchtests/Makefile (bench-math): Add trunc and truncf.
4346 (CFLAGS-bench-trunc.c): New variable.
4347 (CFLAGS-bench-truncf.c): Likewise.
4348 * benchtests/trunc-inputs: New file.
4349 * benchtests/truncf-inputs: Likewise.
4350
4351 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4352
4353 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
4354
4355 2017-09-18 Joseph Myers <joseph@codesourcery.com>
4356
4357 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
4358 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
4359 redefine.
4360 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
4361 (exp10l): Define as weak alias.
4362 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
4363 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
4364 and redefine.
4365 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
4366 (remainderl): Define as weak alias.
4367
4368 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
4369 (fmal): Define using libm_alias_ldouble.
4370 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
4371 (acoshl): Define using libm_alias_ldouble.
4372 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
4373 (acosl): Define using libm_alias_ldouble.
4374 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
4375 (asinl): Define using libm_alias_ldouble.
4376 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
4377 (atan2l): Define using libm_alias_ldouble.
4378 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
4379 (atanhl): Define using libm_alias_ldouble.
4380 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
4381 (coshl): Define using libm_alias_ldouble.
4382 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
4383 (exp10l): Define using libm_alias_ldouble.
4384 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
4385 (exp2l): Define using libm_alias_ldouble.
4386 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
4387 (expl): Define using libm_alias_ldouble.
4388 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
4389 (fmodl): Define using libm_alias_ldouble.
4390 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
4391 (hypotl): Define using libm_alias_ldouble.
4392 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
4393 (j0l): Define using libm_alias_ldouble.
4394 (y0l): Likewise.
4395 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
4396 (j1l): Define using libm_alias_ldouble.
4397 (y1l): Likewise.
4398 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
4399 (jnl): Define using libm_alias_ldouble.
4400 (ynl): Likewise.
4401 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
4402 (log10l): Define using libm_alias_ldouble.
4403 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
4404 (log2l): Define using libm_alias_ldouble.
4405 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
4406 (logl): Define using libm_alias_ldouble.
4407 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
4408 (powl): Define using libm_alias_ldouble.
4409 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
4410 (remainderl): Define using libm_alias_ldouble.
4411 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
4412 (sinhl): Define using libm_alias_ldouble.
4413 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
4414 (sqrtl): Define using libm_alias_ldouble.
4415 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
4416 (tgammal): Define using libm_alias_ldouble.
4417 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
4418 (exp10l): Do not use long_double_symbol here.
4419 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
4420 [LIBM_SVID_COMPAT] (remainderl): Likewise.
4421 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
4422 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
4423 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
4424 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
4425 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
4426 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
4427 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
4428 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
4429 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
4430 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
4431 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
4432 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
4433 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
4434 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
4435 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
4436 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
4437 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
4438 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
4439 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
4440 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
4441
4442 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
4443
4444 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
4445 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
4446
4447 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
4448
4449 * io/read.c (read): Add libc_hidden_weak.
4450 * sysdeps/mach/hurd/read.c (read): Likewise.
4451 * io/write.c (write): Likewise.
4452 * sysdeps/mach/hurd/write.c (write): Likewise.
4453 * io/pread64.c (__pread64): Likewise.
4454 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
4455 * posix/pread64.c (__pread64): Add libc_hidden_def.
4456
4457 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
4458
4459 * benchtests/scripts/compare_strings.py: New option -g.
4460 (draw_graph): Print a message that a graph is being generated.
4461 (process_results): Generate graph only if -g is passed.
4462 (main): Process option -g.
4463
4464 * benchtests/scripts/compare_strings.py (process_results):
4465 Better spacing for output.
4466
4467 * benchtests/scripts/compare_strings.py: Use argparse.
4468 * benchtests/README: Document existence of compare_strings.py.
4469
4470 2017-09-15 Joseph Myers <joseph@codesourcery.com>
4471
4472 * math/s_fma.c: Include <libm-alias-double.h>.
4473 (fma): Define using libm_alias_double.
4474 * math/s_nextafter.c: Include <libm-alias-double.h>.
4475 (nextafter): Define using libm_alias_double.
4476 * math/w_acos_compat.c: Include <libm-alias-double.h>.
4477 (acos): Define using libm_alias_double.
4478 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
4479 (aocsh): Define using libm_alias_double.
4480 * math/w_asin_compat.c: Include <libm-alias-double.h>.
4481 (asin): Define using libm_alias_double.
4482 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
4483 (atan2): Define using libm_alias_double.
4484 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
4485 (atanh): Define using libm_alias_double.
4486 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
4487 (cosh): Define using libm_alias_double.
4488 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
4489 (exp10): Define using libm_alias_double.
4490 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
4491 (exp2): Define using libm_alias_double.
4492 * math/w_exp_compat.c: Include <libm-alias-double.h>.
4493 (exp): Define using libm_alias_double.
4494 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
4495 (fmod): Define using libm_alias_double.
4496 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
4497 (hypot): Define using libm_alias_double.
4498 * math/w_j0_compat.c: Include <libm-alias-double.h>.
4499 (j0): Define using libm_alias_double.
4500 (y0): Likewise.
4501 * math/w_j1_compat.c: Include <libm-alias-double.h>.
4502 (j1): Define using libm_alias_double.
4503 (y1): Likewise.
4504 * math/w_jn_compat.c: Include <libm-alias-double.h>.
4505 (jn): Define using libm_alias_double.
4506 (yn): Likewise.
4507 * math/w_log10_compat.c: Include <libm-alias-double.h>.
4508 (log10): Define using libm_alias_double.
4509 * math/w_log2_compat.c: Include <libm-alias-double.h>.
4510 (log2): Define using libm_alias_double.
4511 * math/w_log_compat.c: Include <libm-alias-double.h>.
4512 (log): Define using libm_alias_double.
4513 * math/w_pow_compat.c: Include <libm-alias-double.h>.
4514 (pow): Define using libm_alias_double.
4515 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
4516 (remainder): Define using libm_alias_double.
4517 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
4518 (sinh): Define using libm_alias_double.
4519 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
4520 (sqrt): Define using libm_alias_double.
4521 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
4522 (tgamma): Define using libm_alias_double.
4523 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
4524 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
4525 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
4526 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
4527 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
4528 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
4529 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
4530 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
4531 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
4532 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
4533 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
4534 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
4535 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
4536 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
4537 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
4538 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
4539 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
4540 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
4541 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
4542 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
4543 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
4544 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
4545 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
4546 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
4547 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
4548
4549 * math/e_acoshl.c: Remove.
4550 * math/e_acosl.c: Likewise.
4551 * math/e_asinl.c: Likewise.
4552 * math/e_atan2l.c: Likewise.
4553 * math/e_atanhl.c: Likewise.
4554 * math/e_coshl.c: Likewise.
4555 * math/e_expl.c: Likewise.
4556 * math/e_fmodl.c: Likewise.
4557 * math/e_gammal_r.c: Likewise.
4558 * math/e_hypotl.c: Likewise.
4559 * math/e_j0l.c: Likewise.
4560 * math/e_j1l.c: Likewise.
4561 * math/e_jnl.c: Likewise.
4562 * math/e_lgammal_r.c: Likewise.
4563 * math/e_log10l.c: Likewise.
4564 * math/e_log2l.c: Likewise.
4565 * math/e_logl.c: Likewise.
4566 * math/e_powl.c: Likewise.
4567 * math/e_rem_pio2l.c: Likewise.
4568 * math/e_sinhl.c: Likewise.
4569 * math/e_sqrtf128.c: Likewise.
4570 * math/e_sqrtl.c: Likewise.
4571 * math/k_cosl.c: Likewise.
4572 * math/k_sinl.c: Likewise.
4573 * math/k_tanl.c: Likewise.
4574 * math/s_asinhl.c: Likewise.
4575 * math/s_atanl.c: Likewise.
4576 * math/s_cbrtl.c: Likewise.
4577 * math/s_erfl.c: Likewise.
4578 * math/s_expm1l.c: Likewise.
4579 * math/s_log1pl.c: Likewise.
4580 * math/s_tanhl.c: Likewise.
4581
4582 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4583
4584 [BZ #21745]
4585 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
4586 [$(subdir) = math] (sysdep_calls): New variable. Has the
4587 previous contents of sysdep_routines, but re-sorted..
4588 [$(subdir) = math] (sysdep_routines): Re-use the contents from
4589 sysdep_calls.
4590 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
4591 defined in sysdep_calls and replace by the respective m_* names.
4592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
4593 (compat_symbol): Undefine to avoid duplicated compat symbols in
4594 libc.
4595
4596 2017-09-15 Joseph Myers <joseph@codesourcery.com>
4597
4598 * math/s_fmaf.c: Include <libm-alias-float.h>.
4599 (fmaf): Define using libm_alias_float.
4600 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
4601 (acosf): Define using libm_alias_float.
4602 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
4603 (acoshf): Define using libm_alias_float.
4604 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
4605 (asinf): Define using libm_alias_float.
4606 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
4607 (atan2f): Define using libm_alias_float.
4608 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
4609 (atanhf): Define using libm_alias_float.
4610 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
4611 (coshf): Define using libm_alias_float.
4612 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
4613 (exp10f): Define using libm_alias_float.
4614 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
4615 (fmodf): Define using libm_alias_float.
4616 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
4617 (hypotf): Define using libm_alias_float.
4618 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
4619 (j0f): Define using libm_alias_float.
4620 (y0f): Likewise.
4621 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
4622 (j1f): Define using libm_alias_float.
4623 (y1f): Likewise.
4624 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
4625 (jnf): Define using libm_alias_float.
4626 (ynf): Likewise.
4627 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
4628 (log10f): Define using libm_alias_float.
4629 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
4630 (log2f): Define using libm_alias_float.
4631 * math/w_logf_compat.c: Include <libm-alias-float.h>.
4632 (logf): Define using libm_alias_float.
4633 * math/w_powf_compat.c: Include <libm-alias-float.h>.
4634 (powf): Define using libm_alias_float.
4635 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
4636 (remainderf): Define using libm_alias_float.
4637 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
4638 (sinhf): Define using libm_alias_float.
4639 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
4640 (sqrtf): Define using libm_alias_float.
4641 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
4642 (tgammaf): Define using libm_alias_float.
4643
4644 2017-09-14 Joseph Myers <joseph@codesourcery.com>
4645
4646 * include/math.h (roundeven): Change hidden_proto call to
4647 __roundeven.
4648 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
4649 alias.
4650 [NO_LONG_DOUBLE] (__j0l): New strong alias.
4651 (y0): Rename to __y0 and define as weak alias.
4652 [NO_LONG_DOUBLE] (__y0l): New strong alias.
4653 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
4654 alias.
4655 (y0f): Rename to __y0f and define as weak alias.
4656 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
4657 alias.
4658 [NO_LONG_DOUBLE] (__j1l): New strong alias.
4659 (y1): Rename to __y1 and define as weak alias.
4660 [NO_LONG_DOUBLE] (__y1l): New strong alias.
4661 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
4662 alias.
4663 (y1f): Rename to __y1f and define as weak alias.
4664 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
4665 alias.
4666 [NO_LONG_DOUBLE] (__jnl): New strong alias.
4667 (yn): Rename to __yn and define as weak alias.
4668 [NO_LONG_DOUBLE] (__ynl): New strong alias.
4669 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
4670 alias.
4671 (ynf): Rename to __ynf and define as weak alias.
4672 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
4673 (fromfp): Define as weak alias.
4674 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
4675 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
4676 (fromfpx): Define as weak alias.
4677 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
4678 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
4679 __getpayload and define as weak alias.
4680 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
4681 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
4682 __roundeven and define as weak alias.
4683 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
4684 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
4685 __setpayload.
4686 (setpayload): Define as weak alias.
4687 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
4688 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
4689 __setpayloadsig.
4690 (setpayloadsig): Define as weak alias.
4691 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
4692 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
4693 __totalorder and define as weak alias.
4694 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
4695 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
4696 to __totalordermag and define as weak alias.
4697 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
4698 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
4699 (ufromfp): Define as weak alias.
4700 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
4701 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
4702 __ufromfpx.
4703 (ufromfpx): Define as weak alias.
4704 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
4705 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
4706 Rename to __getpayload and define as weak alias.
4707 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
4708 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
4709 Rename to __roundeven and define as weak alias.
4710 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
4711 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
4712 Rename to __totalorder and define as weak alias.
4713 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
4714 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
4715 (totalordermag): Rename to __totalordermag and define as weak
4716 alias.
4717 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
4718 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
4719 macro.
4720 (__roundevenl): Likewise.
4721 (__totalorderl): Likewise.
4722 (__totalordermagl): Likewise
4723 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
4724 __fromfpf128.
4725 (fromfpf128): Define as weak alias.
4726 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
4727 __fromfpxf128.
4728 (fromfpxf128): Define as weak alias.
4729 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
4730 __setpayloadf128.
4731 (setpayloadf128): Define as weak alias.
4732 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
4733 __setpayloadsigf128.
4734 (setpayloadsigf128): Define as weak alias.
4735 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
4736 __ufromfpf128.
4737 (ufromfpf128): Define as weak alias.
4738 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
4739 __ufromfpxf128.
4740 (ufromfpxf128): Define as weak alias.
4741 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
4742 (fromfpf): Define as weak alias.
4743 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
4744 __fromfpxf.
4745 (fromfpxf): Define as weak alias.
4746 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
4747 __getpayloadf and define as weak alias.
4748 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
4749 __roundevenf and define as weak alias.
4750 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
4751 __setpayloadf.
4752 (setpayloadf): Define as weak alias.
4753 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
4754 __setpayloadsigf.
4755 (setpayloadsigf): Define as weak alias.
4756 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
4757 __totalorderf and define as weak alias.
4758 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
4759 Rename to __totalordermagf and define as weak alias.
4760 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
4761 __ufromfpf.
4762 (ufromfpf): Define as weak alias.
4763 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
4764 __ufromfpxf.
4765 (ufromfpxf): Define as weak alias.
4766 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
4767 __fromfpl.
4768 (fromfpl): Define as weak alias.
4769 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
4770 __fromfpxl.
4771 (fromfpxl): Define as weak alias.
4772 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
4773 to __getpayloadl and define as weak alias.
4774 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
4775 __roundevenl and define as weak alias.
4776 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
4777 __setpayloadl.
4778 (setpayloadl): Define as weak alias.
4779 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
4780 __setpayloadsigl.
4781 (setpayloadsigl): Define as weak alias.
4782 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
4783 to __totalorderl and define as weak alias.
4784 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
4785 Rename to __totalordermagl and define as weak alias.
4786 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
4787 __ufromfpl.
4788 (ufromfpl): Define as weak alias.
4789 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
4790 __ufromfpxl.
4791 (ufromfpxl): Define as weak alias.
4792 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
4793 __fromfpl.
4794 (fromfpl): Define as weak alias.
4795 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
4796 __fromfpxl.
4797 (fromfpxl): Define as weak alias.
4798 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
4799 Rename to __getpayloadl and define as weak alias.
4800 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
4801 to __roundevenl and define as weak alias. Call __roundeven
4802 instead of roundeven.
4803 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
4804 __setpayloadl.
4805 (setpayloadl): Define as weak alias.
4806 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
4807 __setpayloadsigl.
4808 (setpayloadsigl): Define as weak alias.
4809 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
4810 Rename to __totalorderl and define as weak alias.
4811 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
4812 Rename to __totalordermagl and define as weak alias.
4813 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
4814 __ufromfpl.
4815 (ufromfpl): Define as weak alias.
4816 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
4817 __ufromfpxl.
4818 (ufromfpxl): Define as weak alias.
4819 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
4820 __fromfpl.
4821 (fromfpl): Define as weak alias.
4822 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
4823 __fromfpxl.
4824 (fromfpxl): Define as weak alias.
4825 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
4826 __getpayloadl and define as weak alias.
4827 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
4828 __roundevenl and define as weak alias.
4829 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
4830 __setpayloadl.
4831 (setpayloadl): Define as weak alias.
4832 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
4833 __setpayloadsigl.
4834 (setpayloadsigl): Define as weak alias.
4835 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
4836 __totalorderl and define as weak alias.
4837 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
4838 Rename to __totalordermagl and define as weak alias.
4839 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
4840 __ufromfpl.
4841 (ufromfpl): Define as weak alias.
4842 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
4843 __ufromfpxl.
4844 (ufromfpxl): Define as weak alias.
4845
4846 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
4847
4848 * benchtests/bench-string.h (realloc_bufs): New function.
4849 (test_init): Call it.
4850 * benchtests/bench-memset-large.c (do_test): Likewise.
4851 * benchtests/bench-memset.c (do_test): Likewise.
4852
4853 * benchtests/bench-memset-large.c: Print output in JSON
4854 format.
4855 * benchtests/bench-memset.c: Likewise.
4856
4857 2017-09-14 Mike FABIAN <mfabian@redhat.com>
4858
4859 [BZ #21084]
4860 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
4861 * iconvdata/Makefile: Add IBM858.
4862 * iconvdata/gconv-modules: Likewise.
4863 * iconvdata/tst-tables.sh: Likewise.
4864 * iconvdata/ibm858.c: New file.
4865 * localedata/charmaps/IBM858: Likewise.
4866
4867 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
4868
4869 [BZ #22023]
4870 * locales/niu_NZ (LC_TIME): copy "niu_NU".
4871 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
4872
4873 2017-09-14 Mike FABIAN <mfabian@redhat.com>
4874
4875 [BZ #22112]
4876 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
4877 and add tel_int_fmt.
4878
4879 2017-09-14 Joseph Myers <joseph@codesourcery.com>
4880
4881 * sysdeps/generic/libm-alias-float128.h: New file.
4882 * sysdeps/generic/math-type-macros-float128.h: Include
4883 <libm-alias-float128.h>.
4884 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
4885
4886 2017-09-13 Joseph Myers <joseph@codesourcery.com>
4887
4888 * sysdeps/generic/libm-alias-ldouble.h: New file.
4889 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
4890 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
4891 * sysdeps/generic/math-type-macros-ldouble.h: Include
4892 <libm-alias-ldouble.h>.
4893 [!declare_mgen_alias] (declare_mgen_alias): Define to use
4894 libm_alias_ldouble.
4895
4896 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
4897
4898 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
4899 * math/w_exp_compat.c: ... here.
4900 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
4901 * math/w_expf_compat.c: ... here.
4902 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
4903 * math/w_expl_compat.c: ... here.
4904 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
4905 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
4906 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
4907 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
4908
4909 2017-09-13 Joseph Myers <joseph@codesourcery.com>
4910
4911 * math/w_scalbln_template.c (strong_alias): Do not undefine and
4912 redefine.
4913 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
4914 macro.
4915 (ldexpl): Only define as compat symbol for libc, not libm.
4916 (scalbnl): Define as compat symbol for libc here.
4917 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
4918 define for [IS_IN (libc)].
4919 (__ldexpl_2): Remove alias.
4920 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
4921 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
4922 name in long_double_symbol call.
4923 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
4924 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
4925 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
4926 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
4927 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
4928 Remove macro.
4929 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
4930 Define as compat symbol.
4931
4932 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4933
4934 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
4935 * sysdeps/unix/sysv/linux/alpha/Makefile
4936 [$(subdir) = csu] (sysdep_routines): Remove rule.
4937
4938 2017-09-13 Joseph Myers <joseph@codesourcery.com>
4939
4940 * sysdeps/generic/libm-alias-double.h: New file.
4941 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
4942 * sysdeps/generic/math-type-macros-double.h: Include
4943 <libm-alias-double.h>.
4944 [declare_mgen_alias] (declare_mgen_alias): Define to use
4945 libm_alias_double.
4946 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
4947 (M_LIBM_NEED_COMPAT): Remove macro.
4948 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
4949 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
4950 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
4951 code.
4952 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4953 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4954 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4955 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4956 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4957 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4958 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4959 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4960 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4961 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4962 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4963 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4964 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4965 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4966 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4967 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4968 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4969 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4970 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4971 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4972 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4973 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4974 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4975 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4976 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4977 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4978 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4979 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
4980 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
4981 macro.
4982 (declare_mgen_alias): New macro.
4983 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
4984 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
4985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
4986 (M_LIBM_NEED_COMPAT): Remove macro.
4987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
4988 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
4989 <first-versions.h>.
4990 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
4991 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
4992
4993 2017-09-12 Joseph Myers <joseph@codesourcery.com>
4994
4995 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
4996 (declare_mgen_alias_2): Remove.
4997 * sysdeps/generic/math-type-macros-double.h
4998 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
4999 Likewise.
5000 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
5001 alias.
5002 (ldexp): Define with declare_mgen_alias.
5003 (scalbn): Likewise.
5004
5005 2017-09-12 Steve Ellcey <sellcey@cavium.com>
5006
5007 * grp/initgroups.c: Include config.h.
5008 (DEFAULT_CONFIG): New macro.
5009 (internal_getgrouplist): Use DEFAULT_CONFIG.
5010 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5011 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
5012 (DEFAULT_DEFCONFIG): New macro.
5013 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
5014 * nss/grp-lookup.c: Include config.h
5015 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
5016 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
5017 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
5018 * manual/nss.texi: Update default values section.
5019
5020 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
5021
5022 [BZ #21967]
5023 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
5024 New.
5025 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
5026 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
5027 Handle MathVec_Prefer_No_AVX512.
5028 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
5029 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
5030 is set.
5031
5032 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
5033
5034 * posix/sched_primax.c (__sched_get_priority_max): Add
5035 libc_hidden_def.
5036 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
5037 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
5038 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
5039 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
5040 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
5041 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
5042 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
5043 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
5044 Add aliases.
5045
5046 2017-09-11 Joseph Myers <joseph@codesourcery.com>
5047
5048 * sysdeps/generic/libm-alias-float.h: New file.
5049 * sysdeps/generic/math-type-macros-float.h: Include
5050 <libm-alias-float.h>.
5051 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
5052
5053 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
5054
5055 [BZ #22093]
5056 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
5057 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
5058 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
5059 (HWCAP_IMPORTANT): Likewise.
5060 (HWCAP_X86_64): New enum.
5061 (HWCAP_X86_AVX512_1): Updated.
5062 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
5063 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
5064 (modules-names): Add x86_64/tst-x86_64mod-1.
5065 (LDFLAGS-tst-x86_64mod-1.so): New.
5066 ($(objpfx)tst-x86_64-1): Likewise.
5067 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
5068 (tst-x86_64-1-clean): Likewise.
5069 * sysdeps/x86_64/tst-x86_64-1.c: New file.
5070 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
5071
5072 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
5073
5074 * po/sv.po: Update translations.
5075 * po/fr.po: Likewise.
5076
5077 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5078
5079 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
5080 seconds.
5081 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
5082 seconds.
5083 * elf/rtld-Rules: Fix $(error) use.
5084
5085 2017-09-09 Mike FABIAN <mfabian@redhat.com>
5086
5087 [BZ #14925]
5088 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
5089 * locale/iso-639.def: Change “Bengali” to “Bangla”.
5090 * localedata/locales/bn_BD: “Bengali” was still used in some
5091 comments. Change it to “Bangla”.
5092
5093 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
5094
5095 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
5096
5097 2017-09-08 Steve Ellcey <sellcey@cavium.com>
5098
5099 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
5100 thunderx2t99p1 to list of cpu names.
5101 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
5102 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
5103
5104 2017-09-08 Steve Ellcey <sellcey@cavium.com>
5105
5106 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
5107 Use strcmp instead of tunable_is_name.
5108
5109 2017-09-08 Joseph Myers <joseph@codesourcery.com>
5110
5111 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5112 (F_GET_RW_HINT): New macro.
5113 [__USE_GNU] (F_SET_RW_HINT): Likewise.
5114 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
5115 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
5116 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
5117 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
5118 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
5119 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
5120 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
5121 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
5122
5123 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5124 (F_ADD_SEALS): New macro.
5125 [__USE_GNU] (F_GET_SEALS): Likewise.
5126 [__USE_GNU] (F_SEAL_SEAL): Likewise.
5127 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
5128 [__USE_GNU] (F_SEAL_GROW): Likewise.
5129 [__USE_GNU] (F_SEAL_WRITE): Likewise.
5130
5131 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5132
5133 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
5134 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
5135 * posix/glob_internal.h (__glob_pattern_type):
5136 * posix/glob.c (glob):
5137 * posix/glob_pattern_p.c (__glob_pattern_p):
5138 Use them.
5139
5140 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
5141 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5142 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
5143 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
5144 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
5145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
5146 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
5147 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
5148 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
5149 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
5150 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
5151 * sysdeps/wordsize-64/glob.c: Likewise.
5152 * sysdeps/wordsize-64/glob64.c: Likewise.
5153 * sysdeps/wordsize-64/globfree.c: Likewise.
5154 * sysdeps/wordsize-64/globfree64.c: Likewise.
5155 * sysdeps/unix/sysv/linux/glob.c: New file.
5156 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
5157 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
5158 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
5159 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
5160 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
5161 adds !GLOB_NO_OLD_VERSION as an extra condition.
5162 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
5163 using relative path instead of absolute one.
5164 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
5165 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5166 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5167 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
5168 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
5169 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
5170
5171 [BZ #1062]
5172 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
5173 (glob): Use the same scratch buffer for both getlogin_r and
5174 getpwnam_r. Don’t require preallocation of the login name. This
5175 simplifies storage allocation, and corrects the handling of
5176 long login names.
5177
5178 [BZ #1062]
5179 * posix/glob.c (glob): Port recent patches to platforms
5180 lacking getpwnam_r.
5181 (glob): Fix longstanding misuse of errno after getpwnam_r, which
5182 returns an error number rather than setting errno.
5183
5184 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
5185 instead of GCC extension.
5186 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
5187 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
5188 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
5189
5190 [BZ #866]
5191 [BZ #1062]
5192 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
5193 * posix/bug-glob1.c: Remove file.
5194 * posix/tst-glob_symlinks.c: New file.
5195 * posix/glob.c (__lstat64): New macro.
5196 (is_dir): New function.
5197 (glob, glob_in_dir): Match symlinks even if they are dangling.
5198 (link_stat, link_exists_p): Remove. All uses removed.
5199
5200 [BZ #1062]
5201 [BZ #19971]
5202 * posix/glob.c (struct readdir_result): Remove skip_entry member.
5203 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
5204 All uses removed.
5205
5206 [BZ #1062]
5207 CVE-2017-15671
5208 * posix/Makefile (routines): Add globfree, globfree64, and
5209 glob_pattern_p.
5210 * posix/flexmember.h: New file.
5211 * posix/glob_internal.h: Likewise.
5212 * posix/glob_pattern_p.c: Likewise.
5213 * posix/globfree.c: Likewise.
5214 * posix/globfree64.c: Likewise.
5215 * sysdeps/gnu/globfree64.c: Likewise.
5216 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
5217 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
5218 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
5219 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
5220 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
5221 * sysdeps/wordsize-64/globfree.c: Likewise.
5222 * sysdeps/wordsize-64/globfree64.c: Likewise.
5223 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
5224 [NDEBUG): Remove comments.
5225 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
5226 (dirent_type): New type. Use uint_fast8_t not
5227 uint8_t, as C99 does not require uint8_t.
5228 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
5229 (struct readdir_result): Use dirent_type. Do not define skip_entry
5230 unless it is needed; this saves a byte on platforms lacking d_ino.
5231 (readdir_result_type, readdir_result_skip_entry):
5232 New functions, replacing ...
5233 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
5234 these functions, which were removed. This makes the callers
5235 easier to read. All callers changed.
5236 (D_INO_TO_RESULT): Now empty if there is no d_ino.
5237 (size_add_wrapv, glob_use_alloca): New static functions.
5238 (glob, glob_in_dir): Check for size_t overflow in several places,
5239 and fix some size_t checks that were not quite right.
5240 Remove old code using SHELL since Bash no longer
5241 uses this.
5242 (glob, prefix_array): Separate MS code better.
5243 (glob_in_dir): Remove old Amiga and VMS code.
5244 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
5245 separate files.
5246 (glob_in_dir): Do not rely on undefined behavior in accessing
5247 struct members beyond their bounds. Use a flexible array member
5248 instead
5249 (link_stat): Rename from link_exists2_p and return -1/0 instead of
5250 0/1. Caller changed.
5251 (glob): Fix memory leaks.
5252 * posix/glob64 (globfree64): Move to separate file.
5253 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
5254 (globfree64): Remove hidden alias.
5255 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
5256 oldglob.
5257 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
5258 separate file.
5259 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
5260 define.
5261 Move compat code to separate file.
5262 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
5263 separate file.
5264
5265 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
5266
5267 * resolv/tst-resolv-qtypes.c (domain): Changed to
5268 "const char domain[] =".
5269
5270 2017-09-07 Joseph Myers <joseph@codesourcery.com>
5271
5272 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
5273 version to 3.1.6.
5274
5275 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
5276 (TCP_MD5SIG_EXT): Likewise.
5277 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
5278 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
5279 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
5280
5281 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
5282
5283 2017-09-07 Mike FABIAN <mfabian@redhat.com>
5284
5285 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
5286
5287 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
5288
5289 [BZ #22100]
5290 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
5291
5292 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
5293
5294 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
5295 before assuming that the file is empty. Avoid testing buffer content
5296 when nread == 0.
5297
5298 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5299
5300 [BZ #18858]
5301 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
5302 Remove define.
5303 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
5304 Likewise.
5305 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
5306 Likewise.
5307 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
5308 Likewise.
5309 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
5310 Likewise.
5311 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
5312 Likewise.
5313 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
5314 Likewise.
5315
5316 2017-09-06 Florian Weimer <fweimer@redhat.com>
5317
5318 * malloc/dynarray_emplace_enlarge.c
5319 (__libc_dynarray_emplace_enlarge): Add missing else.
5320
5321 2017-09-06 Florian Weimer <fweimer@redhat.com>
5322
5323 [BZ #22096]
5324 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
5325 case of failure to obtain the global conf object.
5326
5327 2017-09-06 Florian Weimer <fweimer@redhat.com>
5328
5329 [BZ #22095]
5330 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
5331 dynarray allocation failure.
5332
5333 2017-09-06 Florian Weimer <fweimer@redhat.com>
5334
5335 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
5336 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
5337 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
5338 New functions.
5339 (response): Call them. Add 'p', '6' flag processing.
5340 (test_reverse): New function.
5341 (test_get2_any): Call it.
5342 (test_no_inet6): Add 'p' test.
5343 (test_inet6): Likewise.
5344
5345 2017-09-06 Florian Weimer <fweimer@redhat.com>
5346
5347 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
5348 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
5349 the QNAME.
5350 (test_gai): Adjust query names. Add additional tests.
5351 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
5352 test_get2. Adjust query names. Add additional tests.
5353 (test_no_inet6): New function, extracted from threadfunc.
5354 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
5355 Add additional tests.
5356
5357 2017-09-06 Mike FABIAN <mfabian@redhat.com>
5358
5359 [BZ #22070]
5360 * localedata/unicode-gen/utf8_gen.py: Set the width for
5361 characters with Prepended_Concatenation_Mark property to 1
5362 * localedata/charmaps/UTF-8: Updated using the improved script.
5363
5364 2017-09-06 Mike FABIAN <mfabian@redhat.com>
5365
5366 [BZ #21750]
5367 * localedata/unicode-gen/utf8_gen.py: Improve the script to
5368 use the range notation for all ranges of neighbouring characters
5369 with the same width.
5370
5371 2017-09-05 Joseph Myers <joseph@codesourcery.com>
5372
5373 * sysdeps/generic/math-type-macros-double.h: Include
5374 <math-svid-compat.h>.
5375 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
5376 * sysdeps/generic/math-type-macros-float.h: Include
5377 <math-svid-compat.h>.
5378 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
5379 * sysdeps/generic/math-type-macros-ldouble.h: Include
5380 <math-svid-compat.h>.
5381 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
5382 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
5383 condition.
5384 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
5385 * math/w_acosf_compat.c: Likewise.
5386 * math/w_acosh_compat.c: Likewise.
5387 * math/w_acoshf_compat.c: Likewise.
5388 * math/w_acoshl_compat.c: Likewise.
5389 * math/w_acosl_compat.c: Likewise.
5390 * math/w_asin_compat.c: Likewise.
5391 * math/w_asinf_compat.c: Likewise.
5392 * math/w_asinl_compat.c: Likewise.
5393 * math/w_atan2_compat.c: Likewise.
5394 * math/w_atan2f_compat.c: Likewise.
5395 * math/w_atan2l_compat.c: Likewise.
5396 * math/w_atanh_compat.c: Likewise.
5397 * math/w_atanhf_compat.c: Likewise.
5398 * math/w_atanhl_compat.c: Likewise.
5399 * math/w_cosh_compat.c: Likewise.
5400 * math/w_coshf_compat.c: Likewise.
5401 * math/w_coshl_compat.c: Likewise.
5402 * math/w_exp10_compat.c: Likewise.
5403 * math/w_exp10f_compat.c: Likewise.
5404 * math/w_exp10l_compat.c: Likewise.
5405 * math/w_exp2_compat.c: Likewise.
5406 * math/w_exp2f_compat.c: Likewise.
5407 * math/w_exp2l_compat.c: Likewise.
5408 * math/w_fmod_compat.c: Likewise.
5409 * math/w_fmodf_compat.c: Likewise.
5410 * math/w_fmodl_compat.c: Likewise.
5411 * math/w_hypot_compat.c: Likewise.
5412 * math/w_hypotf_compat.c: Likewise.
5413 * math/w_hypotl_compat.c: Likewise.
5414 * math/w_j0_compat.c: Likewise.
5415 * math/w_j0f_compat.c: Likewise.
5416 * math/w_j0l_compat.c: Likewise.
5417 * math/w_j1_compat.c: Likewise.
5418 * math/w_j1f_compat.c: Likewise.
5419 * math/w_j1l_compat.c: Likewise.
5420 * math/w_jn_compat.c: Likewise.
5421 * math/w_jnf_compat.c: Likewise.
5422 * math/w_jnl_compat.c: Likewise.
5423 * math/w_lgamma_r_compat.c: Likewise.
5424 * math/w_lgammaf_r_compat.c: Likewise.
5425 * math/w_lgammal_r_compat.c: Likewise.
5426 * math/w_log10_compat.c: Likewise.
5427 * math/w_log10f_compat.c: Likewise.
5428 * math/w_log10l_compat.c: Likewise.
5429 * math/w_log2_compat.c: Likewise.
5430 * math/w_log2f_compat.c: Likewise.
5431 * math/w_log2l_compat.c: Likewise.
5432 * math/w_log_compat.c: Likewise.
5433 * math/w_logf_compat.c: Likewise.
5434 * math/w_logl_compat.c: Likewise.
5435 * math/w_pow_compat.c: Likewise.
5436 * math/w_powf_compat.c: Likewise.
5437 * math/w_powl_compat.c: Likewise.
5438 * math/w_remainder_compat.c: Likewise.
5439 * math/w_remainderf_compat.c: Likewise.
5440 * math/w_remainderl_compat.c: Likewise.
5441 * math/w_sinh_compat.c: Likewise.
5442 * math/w_sinhf_compat.c: Likewise.
5443 * math/w_sinhl_compat.c: Likewise.
5444 * math/w_sqrt_compat.c: Likewise.
5445 * math/w_sqrtf_compat.c: Likewise.
5446 * math/w_sqrtl_compat.c: Likewise.
5447 * math/w_tgamma_compat.c: Likewise.
5448 * math/w_tgammaf_compat.c: Likewise.
5449 * math/w_tgammal_compat.c: Likewise.
5450 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
5451 [LIBM_SVID_COMPAT].
5452 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
5453 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
5454 [LIBM_SVID_COMPAT].
5455 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
5456 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
5457 [LIBM_SVID_COMPAT].
5458 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
5459 * sysdeps/i386/fpu/w_sqrt.c: New file.
5460 * sysdeps/ia64/fpu/w_acos.c: Likewise.
5461 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
5462 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
5463 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
5464 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
5465 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
5466 * sysdeps/ia64/fpu/w_asin.c: Likewise.
5467 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
5468 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
5469 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
5470 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
5471 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
5472 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
5473 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
5474 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
5475 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
5476 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
5477 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
5478 * sysdeps/ia64/fpu/w_exp.c: Likewise.
5479 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
5480 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
5481 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
5482 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
5483 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
5484 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
5485 * sysdeps/ia64/fpu/w_expf.c: Likewise.
5486 * sysdeps/ia64/fpu/w_expl.c: Likewise.
5487 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
5488 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
5489 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
5490 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
5491 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
5492 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
5493 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
5494 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
5495 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
5496 * sysdeps/ia64/fpu/w_log.c: Likewise.
5497 * sysdeps/ia64/fpu/w_log10.c: Likewise.
5498 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
5499 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
5500 * sysdeps/ia64/fpu/w_log2.c: Likewise.
5501 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
5502 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
5503 * sysdeps/ia64/fpu/w_logf.c: Likewise.
5504 * sysdeps/ia64/fpu/w_logl.c: Likewise.
5505 * sysdeps/ia64/fpu/w_pow.c: Likewise.
5506 * sysdeps/ia64/fpu/w_powf.c: Likewise.
5507 * sysdeps/ia64/fpu/w_powl.c: Likewise.
5508 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
5509 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
5510 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
5511 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
5512 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
5513 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
5514 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
5515 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
5516 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
5517 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
5518 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
5519 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
5520 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
5521 [LIBM_SVID_COMPAT].
5522 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
5523 * sysdeps/ieee754/k_standard.c: Likewise.
5524 * sysdeps/ieee754/k_standardf.c: Likewise.
5525 * sysdeps/ieee754/k_standardl.c: Likewise.
5526 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
5527 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
5528 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
5529 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
5530 long_double_symbol call on [LIBM_SVID_COMPAT].
5531 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
5532 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
5533 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
5534 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
5535 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
5536 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
5537 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
5538 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
5539 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
5540 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
5541 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
5542 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
5543 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
5544 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
5545 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
5546 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
5547 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
5548 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
5549 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
5550 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
5551 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
5552 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
5553
5554 2017-09-05 Steve Ellcey <sellcey@cavium.com>
5555
5556 * include/shlib-compat.h (TEST_COMPAT): New Macro.
5557 * malloc/tst-mallocstate.c: Convert from test-skeleton
5558 to test-driver. Ifdef code using TEST_COMPAT macro.
5559 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
5560 * math/test-matherr.c: Likewise.
5561
5562 2017-09-05 Joseph Myers <joseph@codesourcery.com>
5563
5564 [BZ #22086]
5565 * debug/pcprofiledump.c (main): Use byte-swapped mask when
5566 comparing word with byte-swapped constant.
5567
5568 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
5569
5570 [BZ #20498]
5571 * locale/iso-639.def: add Miskito.
5572 * localedata/SUPPORTED: Add miq_NI/UTF-8.
5573 * localedata/locales/miq_NI: New file.
5574
5575 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
5576
5577 [BZ #18822]
5578 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
5579 (__mkdir): Likewise.
5580 * io/chmod.c (__chmod): Add libc_hidden_def.
5581 * io/mkdir.c (__mkdir): Likewise.
5582 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
5583 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
5584 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
5585 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
5586
5587 2017-09-04 Joseph Myers <joseph@codesourcery.com>
5588
5589 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5590 version to 4.13.
5591
5592 [BZ #22082]
5593 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
5594 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
5595
5596 2017-09-04 Florian Weimer <fweimer@redhat.com>
5597
5598 * math/math.h: Issue warning if log is defined.
5599
5600 2017-09-04 Joseph Myers <joseph@codesourcery.com>
5601
5602 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5603 kernel version to 4.13.
5604
5605 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
5606
5607 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
5608 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
5609 parameter.
5610 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
5611 just <bits/types.h>.
5612 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
5613 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
5614 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
5615 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
5616 * misc/preadv2.c: Include <errno.h>.
5617 * misc/preadv64v2.c: Include <errno.h>.
5618 * misc/pwritev2.c: Include <errno.h>.
5619 * misc/pwritev64v2.c: Include <errno.h>.
5620 * sysdeps/posix/preadv2.c: Include <errno.h>.
5621 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
5622 Fix <unistd.h> inclusion.
5623 * sysdeps/posix/pwritev2.c: Include <errno.h>.
5624 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
5625 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
5626 __strtoul_internal): New functions.
5627 * sysdeps/posix/pause.c: Include <sigsetops.h>.
5628 * sysdeps/posix/system.c: Include <sigsetops.h>.
5629 * sysdeps/mach/hurd/i386/Makefile
5630 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
5631 [$(subdir) = csu] (sysdep-only-routines): Likewise.
5632 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
5633 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
5634 __feraiseexcept_renamed to feraiseexcept instead of
5635 __GI_feraiseexcept.
5636 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
5637 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
5638 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
5639 RWF_NOWAIT): Define to 0 if undefined already.
5640 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
5641 boils down to 0.
5642 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
5643 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
5644
5645 2017-09-01 Joseph Myers <joseph@codesourcery.com>
5646
5647 * manual/math.texi (pow10): Do not document.
5648 (pow10f): Likewise.
5649 (pow10l): Likewise.
5650 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
5651 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
5652 * math/libm-test-exp10.inc (pow10_test): Remove.
5653 (do_test): Do not call pow10.
5654 * math/w_exp10_compat.c (pow10): Make into compat symbol.
5655 [NO_LONG_DOUBLE] (pow10l): Likewise.
5656 * math/w_exp10f_compat.c (pow10f): Likewise.
5657 * math/w_exp10l_compat.c (pow10l): Likewise.
5658 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
5659 (pow10): Make into compat symbol.
5660 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
5661 (pow10f): Make into compat symbol.
5662 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
5663 (pow10l): Make into compat symbol.
5664 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
5665 pow10.
5666 (CFLAGS-nldbl-pow10.c): Remove variable..
5667 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
5668 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
5669 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
5670 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
5671 Undefine and redefine.
5672 (pow10l): Make into compat symbol.
5673 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
5674 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
5675 * sysdeps/arm/libm-test-ulps: Likewise.
5676 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
5677 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5678 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5679 * sysdeps/microblaze/libm-test-ulps: Likewise.
5680 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5681 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5682 * sysdeps/nios2/libm-test-ulps: Likewise.
5683 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5684 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5685 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5686 * sysdeps/sh/libm-test-ulps: Likewise.
5687 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5688 * sysdeps/tile/libm-test-ulps: Likewise.
5689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5690
5691 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
5692
5693 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
5694
5695 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
5696
5697 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
5698 "../ChangeLog.old/ChangeLog.8".
5699 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
5700 "../ChangeLog.old/ChangeLog.14".
5701
5702 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
5703
5704 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
5705 Threads Library.
5706
5707 2017-09-01 Joseph Myers <joseph@codesourcery.com>
5708
5709 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
5710
5711 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
5712
5713 * csu/version.c (banner): Remove "by Roland McGrath et al.".
5714 * nptl/Banner: Remove "by Ulrich Drepper et al.".
5715
5716 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
5717
5718 * stdlib/tst-atexit-common.c (do_test): Test support for at least
5719 32 atexit handlers.
5720
5721 2017-09-01 Zack Weinberg <zackw@panix.com>
5722
5723 * math/math.h (HUGE_VAL): Improve commentary.
5724
5725 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5726 Andreas Schwab <schwab@suse.de>
5727
5728 [BZ #21530]
5729 * include/stdio.h (__gen_tempfd): New function.
5730 * stdio-common/Makefile (routines): Add gentempfd.
5731 * stdio-common/gentempfd.c: New file.
5732 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
5733 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
5734 unnamed file first.
5735
5736 2017-09-01 Florian Weimer <fweimer@redhat.com>
5737
5738 [BZ #21915]
5739 [BZ #21922]
5740 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
5741 result to determine success or failure, not the errno value.
5742 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
5743 (tst-nss-files-hosts-erange): Link with -ldl.
5744 * nss/tst-nss-files-hosts-erange.c: New file.
5745 * nss/tst-resolv-basic.c (response): Handle nodata.example.
5746 (do_test): Add NO_DATA tests.
5747 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
5748 (do_test): Call it.
5749
5750 2017-09-01 Florian Weimer <fweimer@redhat.com>
5751
5752 [BZ #21922]
5753 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
5754 coming from gethostbyname2_r.
5755
5756 2017-09-01 Florian Weimer <fweimer@redhat.com>
5757
5758 * support/namespace.h (struct support_chroot_configuration): Add
5759 hosts, host_conf.
5760 (struct support_chroot): Add path_hosts, path_host_conf.
5761 * support/support_chroot.c (write_file): New function.
5762 (support_chroot_create): Call it to process /etc/resolv.conf,
5763 /etc/hosts, /etc/host.conf.
5764 (support_chroot_free): Update.
5765
5766 2017-09-01 Florian Weimer <fweimer@redhat.com>
5767
5768 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
5769 status indicates it is set.
5770
5771 2017-09-01 Florian Weimer <fweimer@redhat.com>
5772
5773 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
5774 function lookup failures more reliable.
5775
5776 2017-09-01 Florian Weimer <fweimer@redhat.com>
5777
5778 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
5779 (getcanonname): Likewise.
5780 (gaih_inet): Likewise.
5781
5782 2017-09-01 Florian Weimer <fweimer@redhat.com>
5783
5784 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
5785 (getcanonname): Likewise.
5786 (gaih_inet): Likewise.
5787
5788 2017-08-31 Steve Ellcey <sellcey@cavium.com>
5789 Richard Henderson <rth@twiddle.net>
5790
5791 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
5792 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
5793 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
5794 (IREG_SIZE, OREG_SIZE): New macros.
5795 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
5796 (IREG_SIZE, OREG_SIZE): New macros.
5797 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
5798 (IREG_SIZE): New macro.
5799 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
5800 (IREG_SIZE): New macro.
5801 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
5802 New includes.
5803 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
5804 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
5805 (__CONCATX): Handle exceptions correctly on large values that may
5806 set FE_INVALID.
5807 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
5808 Initialize if not already set.
5809 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
5810
5811 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5812
5813 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
5814 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
5815 Likewise.
5816 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
5817 Likewise.
5818 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
5819 Likewise.
5820 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
5821 Likewise.
5822 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
5823 Likewise.
5824 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
5825 Likewise.
5826 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
5827 Likewise.
5828 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
5829 (NO_CANCELLATION): Likewise.
5830 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
5831 Likewise.
5832 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
5833 Likewise.
5834 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
5835 Likewise.
5836 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
5837 (NO_CANCELLATION): Likewise.
5838 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
5839 (NO_CANCELLATION): Likewise.
5840 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
5841 Likewise
5842 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
5843 Likewise.
5844 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
5845 Likewise.
5846 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
5847 Likewise.
5848 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
5849 hidden prototype.
5850 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
5851 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
5852
5853 2017-08-31 Steve Ellcey <sellcey@cavium.com>
5854
5855 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
5856 in resolver call.
5857
5858 2017-08-31 Florian Weimer <fweimer@redhat.com>
5859
5860 * include/libc-symbols.h (internal_function): Remove.
5861
5862 2017-08-31 Florian Weimer <fweimer@redhat.com>
5863
5864 * stdlib/fmtmsg.c (internal_addseverity): Remove
5865 internal_function.
5866
5867 2017-08-31 Florian Weimer <fweimer@redhat.com>
5868
5869 * stdio-common/printf_fp.c (group_number): Remove
5870 internal_function.
5871 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
5872
5873 2017-08-31 Florian Weimer <fweimer@redhat.com>
5874
5875 * posix/fnmatch.c (internal_function): Remove definition.
5876 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
5877 * posix/regcomp.c (peek_token, init_word_char)
5878 (duplicate_node_closure, fetch_token, peek_token)
5879 (peek_token_bracket, build_range_exp, build_collating_symbol):
5880 Likewise.
5881 * posix/regex_internal.c (re_string_construct_common)
5882 (create_ci_newstate, create_cd_newstate, re_string_allocate)
5883 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
5884 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
5885 (re_string_translate_buffer, re_string_reconstruct)
5886 (re_string_peek_byte_case, re_string_fetch_byte_case)
5887 (re_string_destruct, re_string_context_at, re_node_set_alloc)
5888 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
5889 (re_node_set_add_intersect, re_node_set_init_union)
5890 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
5891 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
5892 (re_dfa_add_node, calc_state_hash, re_acquire_state)
5893 (re_acquire_state_context): Likewise.
5894 * posix/regex_internal.h (internal_function): Remove definition.
5895 (re_string_realloc_buffers, build_wcs_buffer)
5896 (build_wcs_upper_buffer, build_upper_buffer)
5897 (re_string_translate_buffer, re_string_context_at)
5898 (re_string_char_size_at, re_string_wchar_at)
5899 (re_string_elem_size_at): Likewise.
5900 * posix/regexec.c (match_ctx_init, match_ctx_clean)
5901 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
5902 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
5903 (re_search_internal, re_search_2_stub, re_search_stub)
5904 (re_copy_regs, prune_impossible_nodes, check_matching)
5905 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
5906 (free_fail_stack_return, sift_states_iter_mb)
5907 (sift_states_backward, build_sifted_states)
5908 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
5909 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
5910 (check_subexp_limits, sift_states_bkref, merge_state_array)
5911 (find_recover_state, transit_state, merge_state_with_log)
5912 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
5913 (transit_state_mb, transit_state_bkref, get_subexp)
5914 (get_subexp_sub, find_subexp_node, check_arrival)
5915 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
5916 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
5917 (check_node_accept_bytes, find_collation_sequence_value)
5918 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
5919 (acquire_init_state_context, check_halt_node_context)
5920 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
5921 (sub_epsilon_src_nodes): Likewise.
5922 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
5923 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
5924 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
5925 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
5926 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
5927 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
5928 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
5929 * sysdeps/posix/ttyname.c (getttyname): Likewise.
5930 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
5931 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
5932 (PREADV): Likewise.
5933 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
5934 (PREADV): Likewise.
5935 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
5936 (PWRITEV): Likewise.
5937 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
5938 (PWRITEV): Likewise.
5939 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
5940 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
5941
5942 2017-08-31 Florian Weimer <fweimer@redhat.com>
5943
5944 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
5945 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
5946 Remove internal_function.
5947 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
5948 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
5949 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
5950 (__deallocate_stack, __libc_pthread_init)
5951 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
5952 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
5953 (__libc_disable_asynccancel, __librt_disable_asynccancel):
5954 Likewise.
5955 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
5956 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
5957 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
5958 Likewise.
5959 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
5960 (__pthread_mutex_unlock_usercnt): Likewise.
5961
5962 2017-08-31 Florian Weimer <fweimer@redhat.com>
5963
5964 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
5965 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
5966 (fts_safe_changedir): Remove internal_function.
5967 * io/ftw.c (internal_function): Remove definition.
5968 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
5969
5970 2017-08-31 Florian Weimer <fweimer@redhat.com>
5971
5972 * inet/deadline.c (__deadline_current_time)
5973 (__deadline_from_timeval, __deadline_to_ms): Remove
5974 internal_function.
5975 * inet/getnameinfo.c (nrl_domainname): Likewise.
5976 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
5977 * inet/inet6_option.c (add_pad): Likewise.
5978 * inet/net-internal.h (__deadline_current_time)
5979 (__deadline_from_timeval, __deadline_to_ms): Likewise.
5980 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
5981 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
5982 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
5983
5984 2017-08-31 Joseph Myers <joseph@codesourcery.com>
5985
5986 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
5987 include <bits/nan.h>.
5988 * math/Makefile (headers): Remove bits/nan.h.
5989 * bits/nan.h: Remove.
5990 * sysdeps/ieee754/bits/nan.h: Likewise.
5991 * sysdeps/mips/bits/nan.h: Likewise.
5992
5993 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
5994 not include <bits/inf.h>.
5995 * math/Makefile (headers): Remove bits/inf.h.
5996 * bits/inf.h: Remove.
5997 * sysdeps/ieee754/bits/inf.h: Likewise.
5998
5999 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
6000 bits/huge_vall.h or bits/huge_val_flt128.h.
6001 (HUGE_VAL): Define directly here.
6002 [__USE_ISOC99] (HUGE_VALF): Likewise.
6003 [__USE_ISOC99] (HUGE_VALL): Likewise.
6004 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6005 (HUGE_VAL_F128): Likewise.
6006 * math/Makefile (headers): Remove bits/huge_val.h,
6007 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
6008 * bits/huge_val.h: Remove.
6009 * bits/huge_val_flt128.h: Likewise.
6010 * bits/huge_valf.h: Likewise.
6011 * bits/huge_vall.h: Likewise.
6012 * sysdeps/ia64/bits/huge_vall.h: Likewise.
6013 * sysdeps/ieee754/bits/huge_val.h: Likewise.
6014 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
6015 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
6016 * sysdeps/sh/bits/huge_val.h: Likewise.
6017 * sysdeps/sparc/bits/huge_vall.h: Likewise.
6018 * sysdeps/x86/bits/huge_vall.h: Likewise.
6019
6020 2017-08-31 Florian Weimer <fweimer@redhat.com>
6021
6022 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
6023 internal_function.
6024 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
6025 Likewise.
6026 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
6027 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
6028 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
6029 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
6030 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6031 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
6032 * elf/dl-libc.c (dlerror_run): Likewise.
6033 * elf/dl-load.c (add_name_to_object, decompose_rpath)
6034 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
6035 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
6036 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
6037 Likewise.
6038 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
6039 (_dl_higher_prime_number, _dl_strtoul): Likewise.
6040 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
6041 * elf/dl-profile.c (_dl_start_profile): Likewise.
6042 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
6043 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
6044 Likewise.
6045 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
6046 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
6047 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
6048 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
6049 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
6050 (_dl_allocate_tls_storage): Likewise.
6051 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
6052 (_dl_check_all_versions): Likewise.
6053 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
6054 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
6055 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
6056 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
6057 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
6058 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
6059 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
6060 internal_function from __dl_start.
6061 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
6062 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
6063 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
6064 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
6065 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
6066 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
6067 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
6068 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
6069 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
6070 (_dl_next_ld_env_entry, _dl_important_hwcaps)
6071 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
6072 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
6073 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
6074 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
6075 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
6076 Likewise.
6077 (struct rtld_global_ro): Remove internal_function from the
6078 _dl_lookup_symbol_x member.
6079 (_dl_symbol_value): Remove. No longer defined anywhere.
6080 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
6081 internal_function.
6082 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
6083 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
6084 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
6085 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
6086 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
6087 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
6088 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
6089 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
6090 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
6091 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
6092 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
6093 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
6094
6095 2017-08-31 Florian Weimer <fweimer@redhat.com>
6096
6097 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
6098 Remove internal_function.
6099 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
6100 Likewise.
6101 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
6102 Likewise.
6103
6104 2017-08-31 Florian Weimer <fweimer@redhat.com>
6105
6106 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
6107 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
6108 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
6109
6110 2017-08-31 Florian Weimer <fweimer@redhat.com>
6111
6112 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
6113 (__gai_enqueue_request): Remove internal_function.
6114 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
6115 (__gai_remove_request, __gai_notify, __gai_notify_only)
6116 (__gai_sigqueue): Likewise.
6117 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
6118 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
6119 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
6120 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6121 Likewise.
6122
6123 2017-08-31 Florian Weimer <fweimer@redhat.com>
6124
6125 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
6126 * include/dirent.h (__opendirat, __getdents, __getdents64)
6127 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
6128 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
6129 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
6130 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
6131 Likewise.
6132 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
6133
6134 2017-08-31 Florian Weimer <fweimer@redhat.com>
6135
6136 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
6137 internal_function.
6138 (GETCWD_RETURN_TYPE): Likewise.
6139
6140 2017-08-31 Florian Weimer <fweimer@redhat.com>
6141
6142 * include/time.h (__tz_compute, __strptime_internal): Remove
6143 internal_function.
6144 * time/strptime_l.c (__strptime_internal): Likewise.
6145 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
6146
6147 2017-08-31 Florian Weimer <fweimer@redhat.com>
6148
6149 * iconv/gconv.c (__gconv): Remove internal_function.
6150 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
6151 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
6152 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
6153 (__gconv_release_cache): Likewise.
6154 * iconv/gconv_close.c (__gconv_close): Likewise.
6155 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
6156 (read_conf_file, __gconv_get_path): Likewise.
6157 * iconv/gconv_db.c (derivation_lookup, add_derivation)
6158 (__gconv_release_step, gen_steps, increment_counter)
6159 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
6160 (__gconv_close_transform, free_modules_db): Likewise.
6161 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
6162 Likewise.
6163 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
6164 (__gconv_find_transform, __gconv_lookup_cache)
6165 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
6166 (__gconv_close_transform, __gconv_release_cache)
6167 (__gconv_loaded_object, __gconv_release_shlib)
6168 (__gconv_compare_alias): Likewise.
6169 * iconv/gconv_open.c (__gconv_open): Likewise.
6170 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
6171 * iconv/iconvconfig.c (add_module): Likewise.
6172 * intl/dcigettext.c (plural_lookup, guess_category_value)
6173 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
6174 * intl/eval-plural.h (plural_eval): Likewise.
6175 * intl/finddomain.c (_nl_find_domain): Likewise.
6176 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
6177 (_nl_load_domain, _nl_find_msg): Likewise.
6178 (internal_function): Remove definition.
6179 * intl/loadinfo.h (internal_function): Likewise.
6180 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
6181 internal_function.
6182 * intl/localealias.c (internal_function): Remove definition.
6183 (read_alias_file): Remove internal_function.
6184 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
6185 * intl/plural-exp.h (internal_function): Remove definition.
6186 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
6187 internal_function.
6188 * intl/plural.c: Regenerate.
6189 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
6190 * locale/coll-lookup.c (__collidx_table_lookup)
6191 (__collseq_table_lookup): Likewise.
6192 * locale/coll-lookup.h (__collidx_table_lookup)
6193 (__collseq_table_lookup): Likewise.
6194 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
6195 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6196 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
6197 (_nl_unload_locale): Likewise.
6198 * locale/localeinfo.h (struct __locale_data): Remove
6199 internal_function from cleanup member.
6200 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
6201 (_nl_remove_locale, _nl_load_locale_from_archive)
6202 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
6203 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
6204 (_nl_cleanup_time): Remove internal_function.
6205 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
6206 (_nl_parse_alt_digit): Likewise.
6207 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
6208 (_nl_select_era_entry): Likewise.
6209 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
6210 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
6211 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
6212 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
6213 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
6214
6215 2017-08-31 Florian Weimer <fweimer@redhat.com>
6216
6217 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
6218 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
6219 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
6220 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
6221 Likewise.
6222 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
6223 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
6224 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
6225 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
6226 Likewise.
6227 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
6228
6229 2017-08-31 Florian Weimer <fweimer@redhat.com>
6230
6231 * misc/getttyent.c (skip, value): Remove internal_function.
6232 * misc/syslog.c (openlog_internal): Likewise.
6233 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
6234
6235 2017-08-31 Florian Weimer <fweimer@redhat.com>
6236
6237 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
6238 (__nss_rewrite_field): Remove internal_function.
6239 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6240 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
6241 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
6242 * nss/nsswitch.c (nss_parse_file, nss_getline)
6243 (nss_parse_service_list, nss_new_service): Likewise.
6244 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
6245 * nss/valid_field.c (__nss_valid_field): Likewise.
6246 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
6247
6248 2017-08-31 Florian Weimer <fweimer@redhat.com>
6249
6250 * malloc/arena.c (__malloc_fork_lock_parent)
6251 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
6252 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
6253 internal_function from defintions.
6254 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
6255 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
6256 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
6257 internal_function from declarations.
6258 * malloc/malloc.c (internal_function): Do not define.
6259 (mem2mem_check): Remove internal_function from declaration.
6260 (munmap_chunk, mremap_chunk): Remove internal_function.
6261 * malloc/mtrace.c (tr_where): Likewise.
6262
6263 2017-08-31 Florian Weimer <fweimer@redhat.com>
6264
6265 * include/rpc/pmap_clnt.h (__get_socket): Remove
6266 internal_function.
6267 * sunrpc/auth_des.c (synchronize): Likewise.
6268 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
6269 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
6270 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
6271 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
6272 (key_call): Likewise.
6273 * sunrpc/pm_getport.c (__get_socket): Likewise.
6274 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
6275 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
6276 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
6277 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
6278 (invalidate): Likewise.
6279 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
6280 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
6281 (set_input_fragment, get_input_bytes): Likewise.
6282
6283 2017-08-31 Florian Weimer <fweimer@redhat.com>
6284
6285 * malloc/malloc.c (_int_free): Remove locked variable and related
6286 asserts.
6287
6288 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
6289
6290 [BZ #22051]
6291 * Makerules (build-module-helper-objlist): Filter out
6292 $(elf-objpfx)sofini.os.
6293 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
6294 needed.
6295
6296 2017-08-31 Florian Weimer <fweimer@redhat.com>
6297
6298 * libio/fcloseall.c: Assume weak_alias is defined.
6299 * libio/feof.c: Likewise.
6300 * libio/fileno.c: Likewise.
6301 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
6302 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
6303 definitions.
6304 (_IO_file_open): Call __open directly.
6305 (_IO_new_file_sync): Assume ESPIPE is defined.
6306 (_IO_file_seekoff_maybe_mmap): Call __read directly.
6307 (_IO_new_file_write): Call __write directly.
6308 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
6309 * libio/ftello64.c (__ftello64): Assume EIO is defined.
6310 * libio/genops.c: Assume _LIBC is defined.
6311 (save_for_backup): Remove internal_function.
6312 * libio/getc.c: Assume weak_alias is defined.
6313 * libio/getwc.c: Likewise.
6314 * libio/iofclose.c: Assume _LIBC is defined.
6315 * libio/iofdopen.c: Likewise.
6316 (_IO_fcntl): Remove macro definition.
6317 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
6318 Call __fcntl directly.
6319 * libio/iofflush.c: Assume weak_alias is defined.
6320 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
6321 defined.
6322 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
6323 * libio/iofgets.c: Likewise.
6324 * libio/iofopen.c: Assume _LIBC is defined.
6325 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
6326 * libio/iofputs.c: Assume weak_alias is defined.
6327 * libio/iofread.c: Likewise.
6328 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
6329 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
6330 * libio/ioftell.c: Assume weak_alias is defined.
6331 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
6332 * libio/iofwide.c: Assume _LIBC is defined.
6333 (_IO_fwide): Drop SHARED conditional because it is implied by
6334 SHLIB_COMPAT.
6335 * libio/iofwrite.c: Assume weak_alias is defined.
6336 * libio/iogetdelim.c: Likewise.
6337 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
6338 * libio/iogetwline.c (wmemcpy): Remove macro definition.
6339 (_IO_getwline): Call __wmemcpy directly.
6340 * libio/iopopen.c: Assume _LIBC is defined.
6341 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
6342 (_IO_close): Remove macro definitions.
6343 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
6344 _exit directly.
6345 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
6346 directly.
6347 * libio/ioputs.c: Assume weak_alias is defined.
6348 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
6349 * libio/iosetbuffer.c: Assume weak_alias is defined.
6350 * libio/iosetvbuf.c: Likewise.
6351 * libio/ioungetc.c: Likewise.
6352 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
6353 libc_hidden_def, libc_hidden_weak, NULL are defined.
6354 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
6355 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
6356 defined.
6357 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
6358 definitions.
6359 (_IO_old_file_init_internal): Drop SHARED conditional because it
6360 is implied by SHLIB_COMPAT.
6361 (_IO_old_file_fopen): Call __open directly.
6362 (_IO_old_file_sync): Assume ESPIPE is defined.
6363 (_IO_old_file_write): Call __write directly.
6364 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
6365 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
6366 Call __fcntl directly.
6367 * libio/oldiofgetpos.c: Assume weak_alias is defined.
6368 (_IO_old_fgetpos): Assume EIO is defined.
6369 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
6370 (_IO_old_fgetpos64): Assume EIO is defined.
6371 * libio/oldiofsetpos.c: Assume weak_alias is defined.
6372 (_IO_old_fsetpos): Assume EIO is defined.
6373 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
6374 (_IO_old_fsetpos64): Assume EIO is defined.
6375 * libio/oldiopopen.c: Assume _LIBC is defined.
6376 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
6377 (_IO_close): Remove macro definitions.
6378 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
6379 directly.
6380 (_IO_old_proc_close): Call __close, __waitpid directly.
6381 * libio/put.c: Assume weak_alias is defined.
6382 * libio/stdfiles.c: Assume _LIBC is defined.
6383 * libio/stdio.c: Likewise.
6384 * libio/wfileops.c: Likewise.
6385 (_IO_wfile_sync): Assume ESPIPE is defined.
6386 * libio/wgenops.c: Assume _LIBC is defined.
6387 (save_for_wbackup): Remove internal_function.
6388
6389 2017-08-31 Florian Weimer <fweimer@redhat.com>
6390
6391 * malloc/malloc.c (top_check): Change return type to void. Remove
6392 internal_function.
6393 * malloc/hooks.c (top_check): Likewise.
6394 (malloc_check, realloc_check, memalign_check): Adjust.
6395
6396 2017-08-30 Joseph Myers <joseph@codesourcery.com>
6397
6398 [BZ #21457]
6399 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
6400 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
6401 sigcontext and namespace requirements.
6402 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
6403 * sysdeps/m68k/sys/ucontext.h: Likewise.
6404 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
6405 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
6406 <bits/sigcontext.h>.
6407 (__ctx): Define earlier.
6408 (mcontext_t): Define structure contents rather than using struct
6409 sigcontext.
6410 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
6411 __glibc_reserved1 instead of __reserved.
6412 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
6413 <bits/sigcontext.h>.
6414 (__ctx): Define earlier.
6415 (mcontext_t): Define structure contents rather than using struct
6416 sigcontext.
6417 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
6418 mcontext_t instead of struct sigcontext.
6419 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
6420 <bits/sigcontext.h>.
6421 (__ctx): Define earlier.
6422 (mcontext_t): Define structure contents rather than using struct
6423 sigcontext.
6424 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
6425 <bits/sigcontext.h>.
6426 (__ctx): Define earlier.
6427 (mcontext_t): Define structure contents rather than using struct
6428 sigcontext.
6429 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
6430 mcontext_t instead of struct sigcontext.
6431 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
6432 mcontext_t instead of struct sigcontext.
6433 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
6434 <bits/sigcontext.h>.
6435 (__ctx): New macro.
6436 (struct __ia64_fpreg_mcontext): New type.
6437 (mcontext_t): Define structure contents rather than using struct
6438 sigcontext.
6439 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
6440 (uc_sigmask): Define using __ctx.
6441 (uc_stack): Likewise.
6442 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
6443 <bits/sigcontext.h>.
6444 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
6445 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
6446 <bits/sigcontext.h>.
6447 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
6448 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
6449 <bits/sigcontext.h>.
6450 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
6451 <bits/sigcontext.h>.
6452 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
6453 <bits/sigcontext.h>.
6454 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
6455 <bits/sigcontext.h>.
6456 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
6457 <bits/sigcontext.h>.
6458 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
6459 <bits/sigcontext.h>.
6460 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
6461 <bits/sigcontext.h>.
6462 (__ctx): Define earlier.
6463 (mcontext_t): Define structure contents rather than using struct
6464 sigcontext.
6465 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
6466 <bits/sigcontext.h>. Include <bits/types.h>.
6467 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
6468 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
6469 (test-xfail-XPG42/ucontext.h/conform): Likewise.
6470 (test-xfail-UNIX98/signal.h/conform): Likewise.
6471 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
6472 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
6473 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
6474 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
6475 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
6476 (test-xfail-POSIX2008/signal.h/conform): Likewise.
6477 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
6478 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
6479 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
6480
6481 2017-08-30 Florian Weimer <fweimer@redhat.com>
6482
6483 * malloc/dynarray_emplace_enlarge.c
6484 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
6485 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
6486 * malloc/tst-dynarray.c (test_long_overflow): New function.
6487 (do_test): Call it.
6488
6489 2017-08-30 Florian Weimer <fweimer@redhat.com>
6490
6491 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
6492 (set_arena_corrupt): Remove definitions.
6493 (mtrim): Do not check for corrupt arena.
6494 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
6495 Likewise.
6496
6497 2017-08-30 Florian Weimer <fweimer@redhat.com>
6498
6499 [BZ #21754]
6500 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
6501 check_action.
6502 (ptmalloc_init): Do not set or use check_action.
6503 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
6504 call to malloc_printerr. Remove return statement.
6505 (free_check): Likewise. Remove arena unlock.
6506 (top_check): Update comment. Adjust call to malloc_printerr.
6507 Remove heap repair code.
6508 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
6509 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
6510 (sysmalloc): Adjust call to malloc_printerr.
6511 (munmap_chunk, __libc_realloc): Likewise. Remove return
6512 statement.
6513 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
6514 Remove errout label and corresponding gotos.
6515 (_int_free): Likewise. Remove arena unlock.
6516 (do_set_mallopt_check): Do not set check_action.
6517 (malloc_printerr): Adjust parameter list. Do not mark arena as
6518 corrupt.
6519 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
6520 comment.
6521 * manual/probes.texi (Memory Allocation Probes): Remove
6522 memory_mallopt_check_action.
6523
6524 2017-08-30 Steve Ellcey <sellcey@cavium.com>
6525
6526 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
6527 Use pointer to uint64_t instead of long int for sp.
6528
6529 2017-08-30 Florian Weimer <fweimer@redhat.com>
6530
6531 [BZ #21754]
6532 * malloc/malloc.c (malloc_printerr): Always terminate the process,
6533 without printing a backtrace. Do not leak any information in the
6534 error message.
6535 * manual/memory.texi (Heap Consistency Checking): Update.
6536 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
6537
6538 2017-08-30 Florian Weimer <fweimer@redhat.com>
6539
6540 Do not scale NPTL tests with available number of CPUs.
6541 * nptl/tst-cond16.c (count): Set to constant value of 8.
6542 * nptl/tst-cond18.c (count): Likewise.
6543
6544 2017-08-29 Joseph Myers <joseph@codesourcery.com>
6545
6546 [BZ #22035]
6547 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
6548 Define to take a second argument that is a macro that
6549 concatentates a suffix, not the suffix itself.
6550 (__CONCAT_d): New macro.
6551 (__CONCAT_f): Likewise.
6552 (__CONCAT_l): Likewise.
6553
6554 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
6555
6556 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
6557 by child.
6558
6559 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6560 Aurelien Jarno <aurelien@aurel32.net>
6561 Maciej W. Rozycki <macro@imgtec.com>
6562
6563 [BZ #21956]
6564 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
6565 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
6566 `mips16-syscall6' and `mips16-syscall7'.
6567 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
6568 (CFLAGS-mips16-syscall7.c): Remove.
6569 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
6570 Remove `__mips16_syscall5', `__mips16_syscall6' and
6571 `__mips16_syscall7'.
6572 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
6573 (__mips16_syscall0): Rename `__mips16_syscall_return' to
6574 `__mips_syscall_return'.
6575 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
6576 (__mips16_syscall1): Likewise.
6577 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
6578 (__mips16_syscall2): Likewise.
6579 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
6580 (__mips16_syscall3): Likewise.
6581 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
6582 (__mips16_syscall4): Likewise.
6583 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
6584 Remove.
6585 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
6586 Remove.
6587 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
6588 Remove.
6589 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
6590 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
6591 `__mips16_syscall5'. Remove prototype.
6592 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
6593 `__mips16_syscall6'. Remove prototype.
6594 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
6595 `__mips16_syscall7'. Remove prototype.
6596 (__nomips16, __mips16_syscall_return): Move to...
6597 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
6598 (__nomips16, __mips_syscall_return): ... here.
6599 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
6600 `__mips16_syscall_return' to `__mips_syscall_return'.
6601 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
6602 `internal_syscall##nr'.
6603 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
6604 `internal_syscall##nr'.
6605 (FORCE_FRAME_POINTER): Remove.
6606 (__mips_syscall5): New prototype.
6607 (internal_syscall5): Rewrite to call `__mips_syscall5'.
6608 (__mips_syscall6): New prototype.
6609 (internal_syscall6): Rewrite to call `__mips_syscall6'.
6610 (__mips_syscall7): New prototype.
6611 (internal_syscall7): Rewrite to call `__mips_syscall7'.
6612 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
6613 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
6614 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
6615 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
6616 (sysdep_routines): Add libc-do-syscall.
6617 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
6618 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
6619
6620 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6621
6622 [BZ #21672]
6623 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
6624 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
6625 (advise_stack_range): New function.
6626 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
6627 stack non required to advise_stack_range at allocatestack.c
6628
6629 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
6630
6631 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
6632
6633 2017-08-29 Florian Weimer <fweimer@redhat.com>
6634
6635 [BZ #22026]
6636 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
6637 __end_fct. Mangle __end_fct after setting it to NULL.
6638 * iconv/Makefile (tests): Add tst-gconv-init-failure.
6639 (modules-names, modules-names-tests): Add
6640 tst-gconv-init-failure-mod.
6641 (gconv-modules): New target.
6642 (tst-gconv-init-failure-mod.so): Link against libsupport.
6643 (tst-gconv-init-failure): Depend on gconv-modules,
6644 tst-gconv-init-failure-mod.so.
6645 * iconv/tst-gconv-init-failure-mod.c: New file.
6646 * iconv/tst-gconv-init-failure.c: Likewise.
6647 * iconv/test-gconv-modules: Likewise.
6648
6649 2017-08-29 Florian Weimer <fweimer@redhat.com>
6650
6651 [BZ #22025]
6652 * iconv/gconv_db.c (free_derivation): Remove redundant
6653 parentheses.
6654 (gen_steps): Unconditionally mangle __btowc_fct after
6655 initialization.
6656 (increment_counter): Likewise. Do not call init_fct for internal
6657 modules.
6658
6659 2017-08-29 Joseph Myers <joseph@codesourcery.com>
6660
6661 [BZ #22028]
6662 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
6663 (_MSUF_): Remove macro.
6664 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
6665 Likewise.
6666 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
6667 (__REDIRFROM_X): New macro.
6668 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
6669 Likewise.
6670 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
6671 (__REDIRTO_X): Likewise.
6672 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
6673 arguments.
6674 (__MATH_REDIRCALL_2): Likewise.
6675 (__MATH_REDIRCALL_INTERNAL): Likewise.
6676 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
6677 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
6678 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
6679 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
6680 * math/test-finite-macros.c: New file.
6681 * math/Makefile (tests): Add test-finite-macros.
6682 (CFLAGS-test-finite-macros.c): New variable.
6683
6684 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
6685 Jeff Law <law@redhat.com>
6686
6687 [BZ #22025]
6688 Mangle NULL pointers in iconv/gconv.
6689 * iconv/gconv_cache.c (find_module): Demangle init_fct before
6690 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
6691 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
6692 is non-NULL before demangling the end_fct. Check for NULL
6693 end_fct after demangling.
6694 (__gconv_release_step): Demangle the end_fct before checking
6695 it for NULL. Remove assert on __shlibc_handle != NULL.
6696 (gen_steps): Don't check btowc_fct for NULL before mangling.
6697 Demangle init_fct before checking for NULL.
6698 (increment_counter): Likewise.
6699 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
6700 end_fct for NULL before mangling.
6701 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
6702 for NULL.
6703
6704 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
6705
6706 [BZ #21971]
6707 * locale/iso-639.def: add Morisyen.
6708
6709 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6710
6711 [BZ #21930]
6712 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
6713 (iszero): New C++ implementation that does not use
6714 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
6715 signaling nans are enabled, since __builtin_types_compatible_p
6716 is a C-only feature.
6717 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
6718 defined, include ieee754_float128.h for access to the union and
6719 member ieee854_float128.ieee.
6720 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
6721 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
6722 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
6723 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
6724 options of test-math-zero on powerpc64le.
6725
6726 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
6727
6728 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
6729 Change double to float.
6730
6731 2017-08-28 Joseph Myers <joseph@codesourcery.com>
6732
6733 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
6734 unconditional.
6735 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
6736 conditional code; define contents only for [LIBM_SVID_COMPAT].
6737
6738 2017-08-28 Florian Weimer <fweimer@redhat.com>
6739
6740 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
6741 (abi-lp64_be-options): Remove.
6742 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
6743 (abi-hard-options): Likewise.
6744 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
6745 (abi-o32_hard-options, abi-o32_soft_2008-options)
6746 (abi-o32_hard_2008-options, abi-n32_soft-options)
6747 (abi-n32_hard-options, abi-n32_soft_2008-options)
6748 (abi-n32_hard_2008-options, abi-n64_soft-options)
6749 (abi-n64_hard-options, abi-n64_soft_2008-options)
6750 (abi-n64_hard_2008-options): Likewise.
6751 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
6752 (abi-64-v1-options, abi-64-v2-options): Likewise.
6753 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
6754 (abi-64-options): Likewise.
6755 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
6756 (abi-64-options): Likewise.
6757 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
6758 (abi-64-options): Likewise.
6759 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
6760 (abi-64-options, abi-x32-options): Likewise.
6761
6762 2017-08-28 Florian Weimer <fweimer@redhat.com>
6763
6764 Store supported list of SYS_* system calls in the source tree.
6765 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6766 (bits/syscall.h): Generate from list file.
6767 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
6768 [$(subdir) = misc] (tests): Add tst-syscall-list.
6769 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
6770 [$(subdir) = misc] (tst-syscall-list-macros.list)
6771 [$(subdir) = misc] (tst-syscall-list-nr.list)
6772 (tst-syscall-list-sys.list): Helper targets for new
6773 tst-syscall-list test.
6774 [$(subdir) = misc] (tst-syscall-list.out): Run test script
6775 tst-syscall-list.sh.
6776 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
6777 target. Do not include bits/syscall.d.
6778 [$(subdir) = misc] (generated): Do not update.
6779 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
6780 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
6781 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
6782 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
6783
6784 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
6785
6786 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
6787 (tst-cxa_atexit, tst-on_exit): Likewise.
6788 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
6789 tst-cxa_atexit, and tst-on_exit.
6790 * stdlib/tst-atexit-common.c: New file.
6791 * stdlib/tst-atexit.c: New file.
6792 * stdlib/tst-at_quick_exit.c: New file.
6793 * stdlib/tst-cxa_atexit.c: New file.
6794 * stdlib/tst-on_exit.c: New file.
6795
6796 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6797
6798 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
6799 * mach/stack_chk_fail_local.c: New file.
6800 * hurd/stack_chk_fail_local.c: New file.
6801 * mach/Machrules ($(interface-library)-routines): Add
6802 stack_chk_fail_local.
6803 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
6804 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
6805 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
6806 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
6807 * hurd/Makefile (CFLAGS-hurdstartup.o,
6808 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
6809
6810 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
6811
6812 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
6813 (index_cpu_*, index_arch_*): Removed.
6814
6815 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
6816
6817 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
6818 Use uint64_t instead of unsigned long.
6819
6820 2017-08-25 Joseph Myers <joseph@codesourcery.com>
6821
6822 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
6823 [__HAVE_DISTINCT_FLOAT128].
6824
6825 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
6826 of <bits/math-finite.h>.
6827 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
6828 inclusion of <bits/math-finite.h>.
6829 * math/bits/math-finite.h (__REDIRTO_X): Do not define
6830 conditionally on [__MATH_DECLARING_LDOUBLE && defined
6831 __NO_LONG_DOUBLE_MATH].
6832 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
6833 (__MATH_REDIRCALL_2): Likewise.
6834 (__MATH_REDIRCALL_INTERNAL): Likewise.
6835 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
6836 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
6837 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
6838
6839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
6840 Remove file.
6841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
6842 Likewise.
6843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
6844 Likewise.
6845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
6846 Likewise.
6847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
6848 Likewise.
6849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
6850 Likewise.
6851 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
6852 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
6853 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
6854 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
6855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
6856 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
6857 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
6858 w_sqrtf_compat-ppc32.
6859
6860 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6861
6862 * math/math.h [defined __cplusplus] (issignaling): In the long
6863 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
6864 is not defined. Call __issignaling, otherwise.
6865
6866 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6867
6868 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
6869 syscall definitions and replace __builtin_expect with __glibc_likely.
6870 * sysdeps/unix/syscall-template.S: Update comment about cancellable
6871 syscall.
6872 (SYSCALL_CANCELLABLE): Removedefinition
6873 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
6874 definition.
6875 (PSEUDO_END): Likewise.
6876 [IS_IN (libpthread)] (CENABLE): Likewise.
6877 [IS_IN (libpthread)] (CDISABLE): Likewise.
6878 [IS_IN (libc)] (CENABLE): Likewise.
6879 [IS_IN (libc)] (CENABLE): Likewise.
6880 [IS_IN (librt)] (CDISABLE): Likewise.
6881 [IS_IN (librt)] (CDISABLE): Likewise.
6882 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6883 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
6884 definition.
6885 (PSEUDO_END): Likewise.
6886 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
6887 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
6888 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
6889 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
6890 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
6891 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
6892 (CENABLE): Likewise.
6893 (CDISABLE): Likewise.
6894 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6895 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
6896 defintion.
6897 (PSEUDO_END): Likewise.
6898 [IS_IN (libpthread)] (CENABLE): Likewise.
6899 [IS_IN (libpthread)] (CDISABLE): Likewise.
6900 [IS_IN (libc)] (CENABLE): Likewise.
6901 [IS_IN (libc)] (CENABLE): Likewise.
6902 [IS_IN (librt)] (CDISABLE): Likewise.
6903 [IS_IN (librt)] (CDISABLE): Likewise.
6904 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6905 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
6906 definition.
6907 (PSEUDO_END): Likewise.
6908 [IS_IN (libpthread)] (CENABLE): Likewise.
6909 [IS_IN (libpthread)] (CDISABLE): Likewise.
6910 [IS_IN (libc)] (CENABLE): Likewise.
6911 [IS_IN (libc)] (CENABLE): Likewise.
6912 [IS_IN (librt)] (CDISABLE): Likewise.
6913 [IS_IN (librt)] (CDISABLE): Likewise.
6914 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6915 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
6916 definition.
6917 (PSEUDO_END): Likewise.
6918 [IS_IN (libpthread)] (CENABLE): Likewise.
6919 [IS_IN (libpthread)] (CDISABLE): Likewise.
6920 [IS_IN (libc)] (CENABLE): Likewise.
6921 [IS_IN (libc)] (CENABLE): Likewise.
6922 [IS_IN (librt)] (CDISABLE): Likewise.
6923 [IS_IN (librt)] (CDISABLE): Likewise.
6924 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6925 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
6926 definition.
6927 (PSEUDO_END): Likewise.
6928 [IS_IN (libpthread)] (CENABLE): Likewise.
6929 [IS_IN (libpthread)] (CDISABLE): Likewise.
6930 [IS_IN (libc)] (CENABLE): Likewise.
6931 [IS_IN (libc)] (CENABLE): Likewise.
6932 [IS_IN (librt)] (CDISABLE): Likewise.
6933 [IS_IN (librt)] (CDISABLE): Likewise.
6934 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6935 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
6936 definition.
6937 (PSEUDO_END): Likewise.
6938 [IS_IN (libpthread)] (CENABLE): Likewise.
6939 [IS_IN (libpthread)] (CDISABLE): Likewise.
6940 [IS_IN (libc)] (CENABLE): Likewise.
6941 [IS_IN (libc)] (CENABLE): Likewise.
6942 [IS_IN (librt)] (CDISABLE): Likewise.
6943 [IS_IN (librt)] (CDISABLE): Likewise.
6944 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6945 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
6946 definition.
6947 (PSEUDO_END): Likewise.
6948 [IS_IN (libpthread)] (CENABLE): Likewise.
6949 [IS_IN (libpthread)] (CDISABLE): Likewise.
6950 [IS_IN (libc)] (CENABLE): Likewise.
6951 [IS_IN (libc)] (CENABLE): Likewise.
6952 [IS_IN (librt)] (CDISABLE): Likewise.
6953 [IS_IN (librt)] (CDISABLE): Likewise.
6954 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6955 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
6956 Remove definition.
6957 (PSEUDO_END): Likewise.
6958 [IS_IN (libpthread)] (CENABLE): Likewise.
6959 [IS_IN (libpthread)] (CDISABLE): Likewise.
6960 [IS_IN (libc)] (CENABLE): Likewise.
6961 [IS_IN (libc)] (CENABLE): Likewise.
6962 [IS_IN (librt)] (CDISABLE): Likewise.
6963 [IS_IN (librt)] (CDISABLE): Likewise.
6964 (SINGLE_THREAD_P): Likewise.
6965 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
6966 definition.
6967 (PSEUDO_END): Likewise.
6968 [IS_IN (libpthread)] (CENABLE): Likewise.
6969 [IS_IN (libpthread)] (CDISABLE): Likewise.
6970 [IS_IN (libc)] (CENABLE): Likewise.
6971 [IS_IN (libc)] (CENABLE): Likewise.
6972 [IS_IN (librt)] (CDISABLE): Likewise.
6973 [IS_IN (librt)] (CDISABLE): Likewise.
6974 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6975 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
6976 definition.
6977 (PSEUDO_END): Likewise.
6978 [IS_IN (libpthread)] (CENABLE): Likewise.
6979 [IS_IN (libpthread)] (CDISABLE): Likewise.
6980 [IS_IN (libc)] (CENABLE): Likewise.
6981 [IS_IN (libc)] (CENABLE): Likewise.
6982 [IS_IN (librt)] (CDISABLE): Likewise.
6983 [IS_IN (librt)] (CDISABLE): Likewise.
6984 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6985 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
6986 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
6987 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
6988 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
6989 definition.
6990 (PSEUDO_END): Likewise.
6991 [IS_IN (libpthread)] (CENABLE): Likewise.
6992 [IS_IN (libpthread)] (CDISABLE): Likewise.
6993 [IS_IN (libc)] (CENABLE): Likewise.
6994 [IS_IN (libc)] (CENABLE): Likewise.
6995 [IS_IN (librt)] (CDISABLE): Likewise.
6996 [IS_IN (librt)] (CDISABLE): Likewise.
6997 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6998 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
6999 definition.
7000 (PSEUDO_END): Likewise.
7001 [IS_IN (libpthread)] (CENABLE): Likewise.
7002 [IS_IN (libpthread)] (CDISABLE): Likewise.
7003 [IS_IN (libc)] (CENABLE): Likewise.
7004 [IS_IN (libc)] (CENABLE): Likewise.
7005 [IS_IN (librt)] (CDISABLE): Likewise.
7006 [IS_IN (librt)] (CDISABLE): Likewise.
7007 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
7008 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
7009 definition.
7010 (PSEUDO_END): Likewise.
7011 [IS_IN (libpthread)] (CENABLE): Likewise.
7012 [IS_IN (libpthread)] (CDISABLE): Likewise.
7013 [IS_IN (libc)] (CENABLE): Likewise.
7014 [IS_IN (libc)] (CENABLE): Likewise.
7015 [IS_IN (librt)] (CDISABLE): Likewise.
7016 [IS_IN (librt)] (CDISABLE): Likewise.
7017 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
7018 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
7019 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7020 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
7021 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
7022 definition.
7023 (PSEUDO_END): Likewise.
7024 [IS_IN (libpthread)] (CENABLE): Likewise.
7025 [IS_IN (libpthread)] (CDISABLE): Likewise.
7026 [IS_IN (libc)] (CENABLE): Likewise.
7027 [IS_IN (libc)] (CENABLE): Likewise.
7028 [IS_IN (librt)] (CDISABLE): Likewise.
7029 [IS_IN (librt)] (CDISABLE): Likewise.
7030 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
7031 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
7032 definition.
7033 (PSEUDO_END): Likewise.
7034 [IS_IN (libpthread)] (CENABLE): Likewise.
7035 [IS_IN (libpthread)] (CDISABLE): Likewise.
7036 [IS_IN (libc)] (CENABLE): Likewise.
7037 [IS_IN (libc)] (CENABLE): Likewise.
7038 [IS_IN (librt)] (CDISABLE): Likewise.
7039 [IS_IN (librt)] (CDISABLE): Likewise.
7040 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
7041
7042 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
7043
7044 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
7045
7046 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
7047
7048 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7049
7050 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
7051
7052 [BZ #21982]
7053 * string/stratcliff.c (do_test): Declare size, nchars, inner,
7054 middle and outer with size_t instead of int. Repleace %d and
7055 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
7056 "MAX (outer, nchars - 64)" to support unsigned outer and
7057 nchars. Also exit loop when outer == 0.
7058
7059 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7060
7061 * include/fcntl.h (__fcntl_nocancel): Remove definition.
7062 * include/signal.h (__sigsuspend_nocancel): Likewise.
7063 * include/time.h (__nanosleep_nocancel): Likewise.
7064 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
7065 * login/utmp_file.c: Include non cancellable syscall header.
7066 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
7067 prototype.
7068
7069 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
7070
7071 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
7072 .byte sequences with AVX512F instructions.
7073 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
7074 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
7075 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
7076 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
7077 Likewise.
7078 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
7079 Likewise.
7080
7081 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
7082 Steve Ellcey <sellcey@cavium.com>
7083
7084 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
7085 Use PTR_REG macro in cmp instruction.
7086
7087 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7088
7089 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
7090 Change the return type of the ifunc resolver to match the return
7091 type of the target function.
7092
7093 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7094
7095 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
7096 (preadv64): Likewise.
7097 (pwrite64(: Likewise.
7098 (pwritev64): Likewise.
7099
7100 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
7101 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
7102 (LOAD_ARGS_0): Likewise.
7103 (LOAD_ARGS_1): Likewise.
7104 (LOAD_ARGS_2): Likewise.
7105 (LOAD_ARGS_3): Likewise.
7106 (LOAD_ARGS_4): Likewise.
7107 (LOAD_ARGS_5): Likewise.
7108 (LOAD_ARGS_6): Likewise.
7109 (LOAD_REGS_0): Likewise.
7110 (LOAD_REGS_1): Likewise.
7111 (LOAD_REGS_2): Likewise.
7112 (LOAD_REGS_3): Likewise.
7113 (LOAD_REGS_4): Likewise.
7114 (LOAD_REGS_5): Likewise.
7115 (LOAD_REGS_6): Likewise.
7116 (ASM_ARGS_0): Likewise.
7117 (ASM_ARGS_1): Likewise.
7118 (ASM_ARGS_2): Likewise.
7119 (ASM_ARGS_3): Likewise.
7120 (ASM_ARGS_4): Likewise.
7121 (ASM_ARGS_5): Likewise.
7122 (ASM_ARGS_6): Likewise.
7123 (LOAD_ARGS_TYPES_1): Likewise.
7124 (LOAD_ARGS_TYPES_2): Likewise.
7125 (LOAD_ARGS_TYPES_3): Likewise.
7126 (LOAD_ARGS_TYPES_4): Likewise.
7127 (LOAD_ARGS_TYPES_5): Likewise.
7128 (LOAD_ARGS_TYPES_6): Likewise.
7129 (LOAD_REGS_TYPES_1): Likewise.
7130 (LOAD_REGS_TYPES_2): Likewise.
7131 (LOAD_REGS_TYPES_3): Likewise.
7132 (LOAD_REGS_TYPES_4): Likewise.
7133 (LOAD_REGS_TYPES_5): Likewise.
7134 (LOAD_REGS_TYPES_6): Likewise.
7135 (TYPEFY): New define.
7136 (ARGIFY): Likewise.
7137 (internal_syscall0): Likewise.
7138 (internal_syscall1): Likewise.
7139 (internal_syscall2): Likewise.
7140 (internal_syscall3): Likewise.
7141 (internal_syscall4): Likewise.
7142 (internal_syscall5): Likewise.
7143 (internal_syscall6): Likewise.
7144 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
7145 (INTERNAL_SYSCALL_NCS): Remove define.
7146 (internal_syscall1): Add define.
7147
7148 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7149
7150 * math/w_remainder_compat.c: Remove duplicate inclusion of
7151 math-svid-compat.h.
7152 * math/w_remainderf_compat.c: Likewise.
7153 * math/w_remainderl_compat.c: Likewise.
7154
7155 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7156
7157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7158
7159 2017-08-22 Joseph Myers <joseph@codesourcery.com>
7160
7161 [BZ #21684]
7162 * math/tgmath.h (__floating_type): Simplify definitions.
7163 (__real_integer_type): New macro.
7164 (__complex_integer_type): Likewise.
7165 (__expr_is_real): Likewise.
7166 (__tgmath_real_type_sub): Update comment to describe handling of
7167 complex types.
7168 (__tgmath_complex_type_sub): New macro.
7169 (__tgmath_complex_type): Likewise.
7170 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
7171 (__TGMATH_CF128): Use __expr_is_real.
7172 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
7173 __expr_is_real.
7174 (__TGMATH_BINARY_REAL_IMAG): Likewise.
7175 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
7176 * math/gen-tgmath-tests.py (Type.create_type): Create complex
7177 integer types.
7178
7179 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7180
7181 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
7182 macro.
7183 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
7184 alias.
7185 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
7186 Likewise.
7187
7188 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
7189 nanosleep_not_cancel with __nanosleep_nocancel.
7190 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
7191 (__nanosleep_nocancel): New macro.
7192 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
7193 function.
7194 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
7195 macro.
7196 (__nanosleep_nocancel): New prototype.
7197
7198 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
7199 pause_not_cancel with __pause_nocancel.
7200 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
7201 (__pause_nocancel): New macro.
7202 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
7203 macro.
7204 (__pause_nocancel): New prototype.
7205 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
7206
7207 2017-08-22 Martin Sebor <msebor@redhat.com>
7208
7209 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
7210 to return a pointer to the same type as the target function.
7211
7212 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
7213
7214 [BZ #18822]
7215 [BZ #21986]
7216 * include/printf.h (__printf_fphex): Add attribute_hidden.
7217 (__guess_grouping): New prototype.
7218 * stdio-common/printf_fp.c (__guess_grouping): Removed.
7219 * stdio-common/reg-printf.c (__register_printf_specifier): Add
7220 libc_hidden_proto and libc_hidden_def.
7221 * stdlib/strfmon_l.c (__guess_grouping): Removed.
7222 (__vstrfmon_l): Remove the third argument passed to
7223 __guess_grouping.
7224
7225 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7226
7227 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
7228 definition for issignaling that does not rely on __MATH_TG,
7229 since __MATH_TG uses __builtin_types_compatible_p, which is only
7230 available in C mode.
7231 (CFLAGS-test-math-issignaling.cc): New variable.
7232 * math/Makefile [CXX] (tests): Add test-math-issignaling.
7233 * math/test-math-issignaling.cc: New test for C++ implementation
7234 of type-generic issignaling.
7235 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
7236 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
7237 options of test-math-issignaling on powerpc64le.
7238
7239 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
7240
7241 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
7242 building libc.a.
7243 (hidden_proto): Likewise.
7244 (hidden_tls_proto): Likewise.
7245 (__hidden_proto): Likewise.
7246
7247 2017-08-22 Florian Weimer <fweimer@redhat.com>
7248
7249 math: Statically link tests of internal functionality.
7250 * math/Makefile (tests): Remove atest-exp, atest-sincos,
7251 atest-exp2.
7252 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
7253 (gmp-objs): Remove assignment.
7254 (atest-exp, atest-sincos, atest-exp2): Remove targets.
7255
7256 2017-08-22 Joseph Myers <joseph@codesourcery.com>
7257
7258 [BZ #21987]
7259 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
7260 and copy to ...
7261 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
7262 ... here.
7263 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
7264 ... and here.
7265
7266 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
7267 variable definitions above inclusion of ../Rules.
7268
7269 2017-08-21 Joseph Myers <joseph@codesourcery.com>
7270
7271 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
7272 case calling __builtin_unreachable.
7273
7274 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7275
7276 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
7277 __waitpid_nocancel.
7278 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
7279 (__waitpid_nocancel): New macro.
7280 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
7281 macro.
7282 (__waitpid_nocancel): Replace macro with a function.
7283 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
7284 function.
7285
7286 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
7287 __fcntl_nocancel.
7288 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
7289 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
7290
7291 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
7292 __writev_nocancel_nostatus.
7293 (write_call_graph): Likewise.
7294 (write_bb_counts): Likewise.
7295 * resolv/herror.c (herror): Likewise.
7296 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
7297 macro.
7298 (__writev_nocancel_nostatus): New macro.
7299 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
7300 Remove macro.
7301 (__writev_nocancel_nostatus): New function.
7302
7303 2017-08-21 Joseph Myers <joseph@codesourcery.com>
7304
7305 Revert:
7306 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
7307
7308 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
7309 building libc.a.
7310 (hidden_proto): Likewise.
7311 (hidden_tls_proto): Likewise.
7312 (__hidden_proto): Likewise.
7313
7314 [BZ #21973]
7315 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
7316 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
7317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
7318 Likewise.
7319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
7320 Likewise.
7321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
7322 Likewise.
7323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
7324 Likewise.
7325 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
7326 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
7327 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
7328 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
7329 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
7330 GLIBC_2.0 sqrtl symbol.
7331
7332 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
7333 [__USE_MISC] (_LIB_VERSION): Likewise.
7334 [__USE_MISC] (struct exception): Likewise.
7335 [__USE_MISC] (matherr): Likewise.
7336 [__USE_MISC] (DOMAIN): Likewise.
7337 [__USE_MISC] (SING): Likewise.
7338 [__USE_MISC] (OVERFLOW): Likewise.
7339 [__USE_MISC] (UNDERFLOW): Likewise.
7340 [__USE_MISC] (TLOSS): Likewise.
7341 [__USE_MISC] (PLOSS): Likewise.
7342 [__USE_MISC] (HUGE): Likewise.
7343 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
7344 * math/math-svid-compat.h: New file.
7345 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
7346 and matherrl.
7347 * include/math.h [!_ISOMAC] (__matherr): Remove.
7348 * manual/arith.texi (FP Exceptions): Do not document matherr.
7349 * math/Makefile (tests): Change test-matherr to test-matherr-3.
7350 (tests-internal): New variable.
7351 (install-lib): Do not add libieee.a.
7352 (non-lib.a): Likewise.
7353 (extra-objs): Do not add libieee.a and ieee-math.o.
7354 (CPPFLAGS-s_lib_version.c): Remove variable.
7355 ($(objpfx)libieee.a): Remove rule.
7356 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
7357 * math/ieee-math.c: Remove.
7358 * math/libm-test-support.c (matherr): Remove.
7359 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
7360 and license notices. Include <math-svid-compat.h> and
7361 <shlib-compat.h>.
7362 (matherr): Undefine as macro. Use compat_symbol_reference.
7363 (_LIB_VERSION): Likewise.
7364 * math/test-matherr-2.c: New file.
7365 * math/test-matherr-3.c: Likewise.
7366 * sysdeps/generic/math_private.h (__kernel_standard): Remove
7367 declaration.
7368 (__kernel_standard_f): Likewise.
7369 (__kernel_standard_l): Likewise.
7370 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
7371 <math_private.h>. Include <math-svid-compat.h>.
7372 (_LIB_VERSION): Undefine as macro.
7373 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
7374 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
7375 [LIBM_SVID_COMPAT], use compat_symbol.
7376 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
7377 <math_private.h>. Include <math-svid-compat.h>.
7378 (matherr): Undefine as macro.
7379 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
7380 compat_symbol.
7381 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
7382 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
7383 compat_symbol_reference.
7384 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
7385 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
7386 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
7387 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
7388 (MATHERR_D): Remove declaration.
7389 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
7390 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
7391 [LIBM_BUILD] (pmatherrf): Likewise.
7392 [LIBM_BUILD] (pmatherr): Likewise.
7393 [LIBM_BUILD] (pmatherrl): Likewise.
7394 (DOMAIN): Likewise.
7395 (SING): Likewise.
7396 (OVERFLOW): Likewise.
7397 (UNDERFLOW): Likewise.
7398 (TLOSS): Likewise.
7399 (PLOSS): Likewise.
7400 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
7401 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
7402 compat_symbol.
7403 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
7404 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
7405 compat_symbol.
7406 * math/lgamma-compat.h: Include <math-svid-compat.h>.
7407 * math/w_acos_compat.c: Likewise.
7408 * math/w_acosf_compat.c: Likewise.
7409 * math/w_acosh_compat.c: Likewise.
7410 * math/w_acoshf_compat.c: Likewise.
7411 * math/w_acoshl_compat.c: Likewise.
7412 * math/w_acosl_compat.c: Likewise.
7413 * math/w_asin_compat.c: Likewise.
7414 * math/w_asinf_compat.c: Likewise.
7415 * math/w_asinl_compat.c: Likewise.
7416 * math/w_atan2_compat.c: Likewise.
7417 * math/w_atan2f_compat.c: Likewise.
7418 * math/w_atan2l_compat.c: Likewise.
7419 * math/w_atanh_compat.c: Likewise.
7420 * math/w_atanhf_compat.c: Likewise.
7421 * math/w_atanhl_compat.c: Likewise.
7422 * math/w_cosh_compat.c: Likewise.
7423 * math/w_coshf_compat.c: Likewise.
7424 * math/w_coshl_compat.c: Likewise.
7425 * math/w_exp10_compat.c: Likewise.
7426 * math/w_exp10f_compat.c: Likewise.
7427 * math/w_exp10l_compat.c: Likewise.
7428 * math/w_exp2_compat.c: Likewise.
7429 * math/w_exp2f_compat.c: Likewise.
7430 * math/w_exp2l_compat.c: Likewise.
7431 * math/w_fmod_compat.c: Likewise.
7432 * math/w_fmodf_compat.c: Likewise.
7433 * math/w_fmodl_compat.c: Likewise.
7434 * math/w_hypot_compat.c: Likewise.
7435 * math/w_hypotf_compat.c: Likewise.
7436 * math/w_hypotl_compat.c: Likewise.
7437 * math/w_j0_compat.c: Likewise.
7438 * math/w_j0f_compat.c: Likewise.
7439 * math/w_j0l_compat.c: Likewise.
7440 * math/w_j1_compat.c: Likewise.
7441 * math/w_j1f_compat.c: Likewise.
7442 * math/w_j1l_compat.c: Likewise.
7443 * math/w_jn_compat.c: Likewise.
7444 * math/w_jnf_compat.c: Likewise.
7445 * math/w_jnl_compat.c: Likewise.
7446 * math/w_lgamma_main.c: Likewise.
7447 * math/w_lgamma_r_compat.c: Likewise.
7448 * math/w_lgammaf_main.c: Likewise.
7449 * math/w_lgammaf_r_compat.c: Likewise.
7450 * math/w_lgammal_main.c: Likewise.
7451 * math/w_lgammal_r_compat.c: Likewise.
7452 * math/w_log10_compat.c: Likewise.
7453 * math/w_log10f_compat.c: Likewise.
7454 * math/w_log10l_compat.c: Likewise.
7455 * math/w_log2_compat.c: Likewise.
7456 * math/w_log2f_compat.c: Likewise.
7457 * math/w_log2l_compat.c: Likewise.
7458 * math/w_log_compat.c: Likewise.
7459 * math/w_logf_compat.c: Likewise.
7460 * math/w_logl_compat.c: Likewise.
7461 * math/w_pow_compat.c: Likewise.
7462 * math/w_powf_compat.c: Likewise.
7463 * math/w_powl_compat.c: Likewise.
7464 * math/w_remainder_compat.c: Likewise.
7465 * math/w_remainderf_compat.c: Likewise.
7466 * math/w_remainderl_compat.c: Likewise.
7467 * math/w_scalb_compat.c: Likewise.
7468 * math/w_scalbf_compat.c: Likewise.
7469 * math/w_scalbl_compat.c: Likewise.
7470 * math/w_sinh_compat.c: Likewise.
7471 * math/w_sinhf_compat.c: Likewise.
7472 * math/w_sinhl_compat.c: Likewise.
7473 * math/w_sqrt_compat.c: Likewise.
7474 * math/w_sqrtf_compat.c: Likewise.
7475 * math/w_sqrtl_compat.c: Likewise.
7476 * math/w_tgamma_compat.c: Likewise.
7477 * math/w_tgammaf_compat.c: Likewise.
7478 * math/w_tgammal_compat.c: Likewise.
7479 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
7480 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
7481 * sysdeps/ieee754/k_standard.c: Likewise.
7482 * sysdeps/ieee754/k_standardf.c: Likewise.
7483 * sysdeps/ieee754/k_standardl.c: Likewise.
7484 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
7485 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
7486 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
7487 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
7488 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
7489 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
7490 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
7491 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
7492 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
7493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
7494 Likewise.
7495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
7496 Likewise.
7497 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
7498 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
7499 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
7500 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
7501
7502 2017-08-21 Florian Weimer <fweimer@redhat.com>
7503
7504 [BZ #21864]
7505 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
7506 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
7507 Move before inclusion of ../Rules.
7508
7509 2017-08-21 Florian Weimer <fweimer@redhat.com>
7510
7511 [BZ #21972]
7512 * assert/assert.h (assert): Use static_cast (bool) for C++.
7513 Use the ternary operator in the warning branch for GNU C.
7514 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
7515 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
7516 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
7517 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
7518 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
7519
7520 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
7521
7522 [BZ #18822]
7523 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7524 (__syscall_clock_gettime): Add attribute_hidden.
7525 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
7526 (__start_context): Likewise.
7527
7528 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
7529
7530 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
7531 building libc.a.
7532 (hidden_proto): Likewise.
7533 (hidden_tls_proto): Likewise.
7534 (__hidden_proto): Likewise.
7535
7536 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
7537
7538 * include/libc-symbols.h (attribute_hidden): Enable hidden
7539 visibility in libc.a compiled with PIE.
7540
7541 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
7542
7543 [BZ #18822]
7544 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
7545 Add attribute_hidden.
7546
7547 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
7548
7549 [BZ #21864]
7550 * Makerules (all-nonlib): Add $(others-extras).
7551 * catgets/Makefile (others-extras): New.
7552 * elf/Makefile (others-extras): Likewise.
7553 * nss/Makefile (others-extras): Likewise.
7554
7555 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
7556
7557 [BZ #18822]
7558 * csu/libc-start.c (__libc_multiple_libcs): Removed.
7559 * elf/dl-open.c: Include <libc-internal.h>.
7560 (__libc_multiple_libcs): Removed.
7561 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
7562 <hp-timing.h>.
7563 * include/libc-internal.h (__libc_multiple_libcs): New.
7564 * misc/sbrk.c: Include <libc-internal.h>.
7565 (__libc_multiple_libcs): Removed.
7566
7567 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
7568
7569 [BZ #18822]
7570 * grp/initgroups.c (__nss_group_database): Removed.
7571 (__nss_initgroups_database): Likewise.
7572 * nscd/gai.c (__nss_hosts_database): Likewise.
7573 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
7574 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
7575 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
7576 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
7577 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
7578 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
7579 attribute_hidden.
7580 * nss/nsswitch.c (__nss_database_custom): Define only if
7581 USE_NSCD is defined.
7582 (__nss_configure_lookup): Use __nss_database_custom only if
7583 USE_NSCD is defined.
7584 * nss/nsswitch.h (__nss_database_custom): Declare only if
7585 USE_NSCD is defined. Add attribute_hidden.
7586 (__nss_setent): Add attribute_hidden.
7587 (__nss_endent): Likewise.
7588 (__nss_getent_r): Likewise.
7589 (__nss_getent): Likewise.
7590 (DEFINE_DATABASE): Declare __nss_##arg##_database.
7591
7592 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
7593
7594 [BZ #18822]
7595 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
7596 libc_hidden_proto and libc_hidden_def.
7597
7598 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
7599
7600 [BZ #18822]
7601 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
7602 Add libc_hidden_proto.
7603 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
7604 Add libc_hidden_def.
7605
7606 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
7607
7608 [BZ #21974]
7609 * gmon/Makefile (routines): Remove bb_init_func and
7610 bb_exit_func.
7611 (elide-routines.os): Removed.
7612 * gmon/bb_exit_func.c: Likewise.
7613 * gmon/bb_init_func.c: Likewise.
7614 * include/sys/gmon.h (__bb): Likewise.
7615 (__bb_init_func): Likewise.
7616 (__bb_exit_func): Likewise.
7617 * sysdeps/alpha/bb_init_func.S: Likewise.
7618
7619 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
7620
7621 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
7622 * include/setjmp.h (____longjmp_chk): Here. Add
7623 attribute_hidden.
7624
7625 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
7626
7627 [BZ #18822]
7628 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
7629 attribute_hidden.
7630 (__strspn_sse2): Likewise.
7631
7632 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7633
7634 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
7635 (close_not_cancel_no_status): Likewise.
7636 (__close_nocancel): New macro.
7637 (__close_nocancel_nostatus): Likewise.
7638 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
7639 macro.
7640 (close_not_cancel): Likewise.
7641 (close_not_cancel_no_status): Likewise.
7642 (__close_nocancel): New prototype.
7643 (__close_nocancel_nostatus): New function.
7644 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
7645 * catgets/open_catalog.c (__open_catalog): Replace
7646 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
7647 * gmon/gmon.c (write_gmon): Likewise.
7648 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7649 * intl/loadmsgcat.c (close): Likewise.
7650 * io/ftw.c (open_dir_stream): Likewise.
7651 (ftw_startup): Likewise.
7652 * libio/fileops.c (_IO_file_open): Likewise.
7653 (_IO_file_close_mmap): Likewise.
7654 (_IO_file_close): Likewise.
7655 * libio/iopopen.c (_IO_dup2): Likewise.
7656 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7657 * locale/loadlocale.c (_nl_load_locale): Likewise.
7658 * login/utmp_file.c (pututline_file): Likewise.
7659 (endutent_file): Likewise.
7660 * misc/daemon.c (daemon): Likewise.
7661 * nscd/nscd_getai.c (__nscd_getai): Likewise.
7662 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7663 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
7664 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7665 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7666 * nscd/nscd_helper.c (open_socket): Likewise.
7667 (__nscd_open_socket): Likewise.
7668 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
7669 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
7670 (__nscd_innetgr): Likewise.
7671 * nss/nss_db/db-open.c (internal_setent): Likewise.
7672 * resolv/res-close.c (__res_iclose): Likewise.
7673 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
7674 * sysdeps/posix/closedir.c (__closedir): Likewise.
7675 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
7676 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
7677 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
7678 (opendir_tail): Likewise.
7679 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
7680 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
7681 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7682 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7683 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
7684 (gethostid): Likewise.
7685 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
7686 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
7687 Likewise.
7688 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7689 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
7690 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
7691 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
7692 Likewise.
7693 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
7694 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
7695 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
7696 Likewise.
7697 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
7698 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
7699 Likewise.
7700 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
7701 Likewise.
7702 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
7703 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
7704 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
7705 __close_nocancel.
7706
7707 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
7708 (openat_not_cancel_3): Likewise.
7709 (openat64_not_cancel_3): Likewise).
7710 (openat_not_cancel_3): Likewise).
7711 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
7712 macro.
7713 (openat_not_cancel_3): Likewise.
7714 (openat64_not_cancel): Likewise.
7715 (openat64_not_cancel_3): Likewise.
7716 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
7717 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
7718 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
7719 __open{64}_nocancel.
7720 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
7721 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
7722 * sysdeps/posix/opendir.c (__opendirat): Likewise.
7723
7724 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
7725
7726 [BZ #18822]
7727 * include/argz.h (__argz_create_sep): New function prototype.
7728 (__argz_append): Likewise.
7729 (__argz_add): Likewise.
7730 (__argz_add_sep): Likewise.
7731 (__argz_delete): Likewise.
7732 (__argz_insert): Likewise.
7733 (__argz_replace): Likewise.
7734 * string/argz.h (__argz_create_sep): Removed.
7735 (__argz_append): Likewise.
7736 (__argz_add): Likewise.
7737 (__argz_add_sep): Likewise.
7738 (__argz_delete): Likewise.
7739 (__argz_insert): Likewise.
7740 (__argz_replace): Likewise.
7741
7742 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
7743
7744 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
7745 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
7746 (GNU_PROPERTY_STACK_SIZE): Likewie.
7747 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
7748 (GNU_PROPERTY_LOPROC): Likewise.
7749 (GNU_PROPERTY_HIPROC): Likewise.
7750 (GNU_PROPERTY_LOUSER): Likewise.
7751 (GNU_PROPERTY_HIUSER): Likewise.
7752 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
7753 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
7754 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
7755 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
7756 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
7757 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
7758 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
7759 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
7760 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
7761 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
7762 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
7763 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
7764 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
7765 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
7766 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
7767 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
7768 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
7769 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
7770 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
7771 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
7772 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
7773 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
7774 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
7775
7776 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7777
7778 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
7779 in C++ mode.
7780
7781 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7782
7783 [BZ #21930]
7784 * math/math.h (isinf): Check if in C or C++ mode before using
7785 __builtin_types_compatible_p, since this is a C mode feature.
7786
7787 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7788
7789 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
7790 (__write_nocancel): New macro.
7791 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
7792 Rewrite as a function prototype.
7793 (write_not_cancel): Remove macro.
7794 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
7795 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
7796 (write_gmon): Likewise.
7797 * libio/fileops.c (_IO_new_file_write): Likewise.
7798 * login/utmp_file.c (pututline_file): Likewise.
7799 (updwtmp_file): Likewise.
7800 * stdio-common/psiginfo.c (psiginfo): Likewise.
7801 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
7802 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
7803 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
7804 Likewise.
7805 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
7806 Likewise.
7807
7808 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
7809 (__read_nocancel): New macro.
7810 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
7811 __read_nocancel.
7812 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
7813 macro.
7814 (__read_nocancel): New prototype.
7815 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
7816 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
7817 with __read_nocancel.
7818 * intl/loadmsgcat.c (read): Likewise.
7819 * libio/fileops.c (_IO_file_read): Likewise.
7820 * locale/loadlocale.c (_nl_load_locale): Likewise.
7821 * login/utmp_file.c (getutent_r_file): Likewise.
7822 (internal_getut_r): Likewise.
7823 (getutline_r_file): Likewise.
7824 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
7825 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7826 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
7827 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
7828 Likewise.
7829 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
7830 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
7831 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
7832 Likewise.
7833 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
7834 Likewise.
7835 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
7836 Likewise.
7837 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
7838 Likewise.
7839 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
7840
7841 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
7842
7843 [BZ #21966]
7844 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
7845 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
7846 usable.
7847
7848 2017-08-17 DJ Delorie <dj@redhat.com>
7849
7850 * bug17079.c: Update to new test harness.
7851 * test-digits-dots.c: Likewise.
7852 * test-netdb.c: Likewise.
7853 * tst-field.c: Likewise.
7854 * tst-nss-getpwent.c: Likewise.
7855 * tst-nss-static.c: Likewise.
7856 * tst-nss-test1.c: Likewise.
7857 * tst-nss-test2.c: Likewise.
7858 * tst-nss-test3.c: Likewise.
7859 * tst-nss-test4.c: Likewise.
7860 * tst-nss-test5.c: Likewise.
7861
7862 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7863
7864 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
7865 (open_not_cancel_2): Likewise.
7866 (open_nocancel): New macro.
7867 (open64_nocancel): Likewise.
7868 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
7869 (open_not_cancel_2): Likewise.
7870 (__open_nocancel): New prototype.
7871 (__open64_nocancel): Likewise.
7872 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
7873 __open_nocancel.
7874 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
7875 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
7876 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
7877 with __open_nocancel.
7878 * csu/check_fds.c (check_one_fd): Likewise.
7879 * gmon/gmon.c (write_gmon): Likewise.
7880 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
7881 * intl/loadmsgcat.c (open): Likewise.
7882 * libio/fileops.c (_IO_file_open): Likewise.
7883 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7884 * locale/loadlocale.c (_nl_load_locale): Likewise.
7885 * login/utmp_file.c (setutent_file): Likewise.
7886 * misc/daemon.c (daemon): Likewise.
7887 * nss/nss_db/db-open.c (internal_setent): Likewise.
7888 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
7889 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
7890 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
7891 (__opendir): Likewise.
7892 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
7893 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
7894 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
7895 (gethostid): Likewise.
7896 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
7897 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
7898 Likewise.
7899 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7900 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
7901 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
7902 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
7903 Likewise.
7904 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
7905 Likewise.
7906 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
7907 Likewise.
7908 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
7909 Likewise.
7910 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
7911 Likewise.
7912 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
7913 Likewise.
7914 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
7915 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
7916
7917 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
7918
7919 * benchtests/bench-skeleton.c (main): Add support for
7920 latency benchmarking.
7921 * benchtests/scripts/bench.py: Add support for latency benchmarking.
7922
7923 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
7924
7925 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
7926 the startup object.
7927
7928 2017-08-17 Florian Weimer <fweimer@redhat.com>
7929
7930 * include/sys/socket.h (__opensock): Remove internal_function.
7931 * socket/opensock.c (__opensock): Likewise.
7932 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
7933
7934 2017-08-16 Joseph Myers <joseph@codesourcery.com>
7935
7936 [BZ #21944]
7937 * signal/bits/types/__sigval_t.h: New file.
7938 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
7939 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
7940 and define sigval_t using __sigval_t.
7941 * include/bits/types/__sigval_t.h: New file.
7942 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
7943 instead of <bits/types/__sigval_t.h>.
7944 (struct sigevent): Use __sigval_t instead of sigval_t.
7945 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
7946 instead of <bits/types/__sigval_t.h>.
7947 (siginfo_t): Use __sigval_t instead of sigval_t.
7948 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
7949 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
7950 (struct sigevent): Use __sigval_t instead of sigval_t.
7951 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
7952 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
7953 (siginfo_t): Use __sigval_t instead of sigval_t.
7954 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
7955
7956 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
7957
7958 * NEWS: Remove "[Add new features here]" for 2.27.
7959
7960 2017-08-16 Joseph Myers <joseph@codesourcery.com>
7961
7962 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
7963 libc.so.
7964
7965 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
7966
7967 * NEWS: Mention x86-64 FMA optimization.
7968
7969 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
7970
7971 [BZ #21912]
7972 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7973 Add e_expf-fma.
7974 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
7975 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
7976 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
7977
7978 2017-08-16 Andreas Schwab <schwab@suse.de>
7979
7980 [BZ #16750]
7981 CVE-2009-5064
7982 * elf/ldd.bash.in: Never run file directly.
7983
7984 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
7985
7986 [BZ #21955]
7987 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
7988 (L(SP_INF_0)): Likewise.
7989
7990 2017-08-15 Florian Weimer <fweimer@redhat.com>
7991
7992 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
7993 run-built-tests.
7994
7995 2017-08-15 Florian Weimer <fweimer@redhat.com>
7996
7997 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
7998 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
7999 BROKEN_THREAD_SIGNALS code.
8000 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
8001 request_list): Remove caller_pid member used for
8002 BROKEN_THREAD_SIGNALS.
8003 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
8004 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
8005 Remove BROKEN_THREAD_SIGNALS support.
8006 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
8007 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
8008
8009 2017-08-15 Florian Weimer <fweimer@redhat.com>
8010
8011 * gmon/Makefile (tests): Add tst-gmon.
8012 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
8013 Set.
8014 (tests-special): Add tst-gmon-prof.out.
8015 (tst-gmon.out): Depend on clean-tst-gmon-data.
8016 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
8017 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
8018 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
8019 startup object.
8020 * aclocal.m4 (GPROF): Set and substitute.
8021 * config.amke.in (GPROF): Set.
8022 * configure: Regenerate.
8023
8024 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
8025
8026 * elf/elf.h A (NT_PPC_TAR): New macro.
8027 (NT_PPC_PPR): Likewise.
8028 (NT_PPC_DSCR): Likewise.
8029 (NT_PPC_EBB): Likewise.
8030 (NT_PPC_PMU): Likewise.
8031 (NT_PPC_TM_CGPR): Likewise.
8032 (NT_PPC_TM_CFPR): Likewise.
8033 (NT_PPC_TM_CVMX): Likewise.
8034 (NT_PPC_TM_CVSX): Likewise.
8035 (NT_PPC_TM_SPR): Likewise.
8036 (NT_PPC_TM_CTAR): Likewise.
8037 (NT_PPC_TM_CPPR): Likewise.
8038 (NT_PPC_TM_CDSCR): Likewise.
8039
8040 2017-08-15 Florian Weimer <fweimer@redhat.com>
8041
8042 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
8043 regparm (2) instead of internal_function.
8044 (_MCOUNT_DECL): Adjust.
8045
8046 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
8047
8048 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
8049 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
8050
8051 2017-08-14 Joseph Myers <joseph@codesourcery.com>
8052
8053 * conform/data/sys/wait.h-data (si_value): Do not expect for
8054 XPG42.
8055
8056 2017-08-14 Florian Weimer <fweimer@redhat.com>
8057
8058 [BZ #21962]
8059 NSS: Create stubs for accidentally exported lookup functions.
8060 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
8061 Remove declaration.
8062 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
8063 (ether_hostton): Call __nss_ethers_lookup2 instead.
8064 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
8065 (ether_ntohost): Call __nss_ethers_lookup2 instead.
8066 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
8067 (setup): Call __nss_netgroup_lookup2 instead.
8068 * nss/Makefile (routines): Add compat-lookup.
8069 * nss/Versions (GLIBC_2.27): Add symbol version.
8070 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
8071 (DB_COMPAT_FCT): Remove.
8072 * nss/compat-lookup.c: New file.
8073 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
8074 from databases.def.
8075 * nss/service-lookup.c (NO_COMPAT): Remove definition.
8076 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
8077 (netname2user): Call __nss_publickey_lookup2 instead.
8078 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
8079 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
8080 instead.
8081
8082 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8083 Sergei Trofimovich <slyfox@inbox.ru>
8084
8085 [BZ #21908]
8086 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
8087 Rename to MMAP2_PAGE_UNIT.
8088 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
8089 __OFF_T_MATCHES_OFF64_T is not defined.
8090 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
8091 uint64_t.
8092 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
8093 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
8094
8095 2017-08-14 Florian Weimer <fweimer@redhat.com>
8096
8097 i386: Do not set internal_function.
8098 * config.h.in (USE_REGPARMS, internal_function): Remove.
8099 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
8100 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
8101
8102 2017-08-14 Florian Weimer <fweimer@redhat.com>
8103
8104 * elf/dl-init.c (_dl_init): Remove internal_function.
8105 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
8106 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
8107
8108 2017-08-14 Florian Weimer <fweimer@redhat.com>
8109
8110 * elf/rtld.c (_dl_start): Remove internal_function.
8111 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
8112 _dl_start.
8113
8114 2017-08-14 Florian Weimer <fweimer@redhat.com>
8115
8116 * elf/dl-fini.c (_dl_fini): Remove internal_function
8117 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
8118
8119 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
8120
8121 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
8122 (bit_cpu_SHSTK): Likewise.
8123 (index_cpu_IBT): Likewise.
8124 (index_cpu_SHSTK): Likewise.
8125 (reg_IBT): Likewise.
8126 (reg_SHSTK): Likewise.
8127 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
8128 Handle index_cpu_IBT and index_cpu_SHSTK.
8129
8130 2017-08-14 Mike FABIAN <mfabian@redhat.com>
8131
8132 [BZ #19982]
8133 * po/fr.po: Fix spelling mistake.
8134
8135 2017-08-13 Florian Weimer <fweimer@redhat.com>
8136
8137 * elf/dl-addr.c (_dl_addr): Remove internal_function.
8138 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
8139 (_dl_catch_error, _dl_receive_error): Likewise.
8140 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
8141 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
8142 (_dl_deallocate_tls): Likewise.
8143 * include/dlfcn.h (_dl_addr): Likewise.
8144 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
8145 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
8146 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
8147 Likewise.
8148
8149 2017-08-13 Florian Weimer <fweimer@redhat.com>
8150
8151 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
8152 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
8153 internal_function.
8154 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
8155
8156 2017-08-13 Florian Weimer <fweimer@redhat.com>
8157
8158 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
8159 internal_function.
8160 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
8161 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
8162 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
8163 internal_function from _dl_make_stack_executable_hook member.
8164 (_dl_make_stack_executable): Remove internal_function.
8165 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
8166 Likewise.
8167 * sysdeps/unix/sysv/linux/dl-execstack.c
8168 (_dl_make_stack_executable): Likewise.
8169
8170 2017-08-13 Florian Weimer <fweimer@redhat.com>
8171
8172 * sysdeps/unix/sysv/linux/netlinkaccess.h
8173 (__netlink_assert_response): Remove internal_function.
8174 * sysdeps/unix/sysv/linux/netlink_assert_response.c
8175 (__netlink_assert_response): Likewise.
8176
8177 2017-08-13 Florian Weimer <fweimer@redhat.com>
8178
8179 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
8180 internal_function.
8181 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
8182
8183 2017-08-13 Florian Weimer <fweimer@redhat.com>
8184
8185 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
8186 internal_function.
8187 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
8188 * inet/netgroup.h (__internal_setnetgrent)
8189 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
8190 * inet/getnetgrent_r.c (__internal_setnetgrent)
8191 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
8192 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
8193 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
8194 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
8195 * nss/nsswitch.h (db_lookup_function): Likewise.
8196
8197 2017-08-13 Florian Weimer <fweimer@redhat.com>
8198
8199 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
8200 Remove internal_function.
8201 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
8202 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
8203 message argument on the stack.
8204 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
8205 Likeweise.
8206
8207 2017-08-12 Mike FABIAN <mfabian@redhat.com>
8208
8209 Adapt test case data to the changes in the thousands
8210 separators.
8211
8212 [BZ #20756]
8213 * localedata/tst-langinfo.sh: Adapt test case data.
8214 * stdlib/tst-strfmon_l.c: Likewise.
8215 * stdlib/tst-strtod4.c: Likewise.
8216 * stdlib/tst-strtod5i.c: Likewise.
8217
8218 2017-08-11 Florian Weimer <fweimer@redhat.com>
8219
8220 [BZ #21242]
8221 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
8222 Suppress pedantic warning resulting from statement expression.
8223 (__ASSERT_FUNCTION): Add missing __extension__.
8224
8225 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
8226
8227 * benchtests/bench-memmove-large.c: Print output in JSON
8228 format.
8229 * benchtests/bench-memmove.c: Likewise.
8230
8231 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
8232 * benchtests/bench-memchr.c (do_one_test): Likewise.
8233 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
8234 * benchtests/bench-memcpy.c (do_one_test): Likewise.
8235 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
8236 * benchtests/bench-memmove.c (do_one_test): Likewise.
8237 * benchtests/bench-memset-large.c (do_one_test): Likewise.
8238 * benchtests/bench-memset.c (do_one_test): Likewise.
8239 * benchtests/bench-string.h (test_init): Remove memsets.
8240
8241 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
8242
8243 * manual/lang.texi
8244 (Computing the Width of an Integer Data Type): Rename section to
8245 "Width of an Integer Type". Remove inaccurate statement regarding
8246 lack of C language facilities for determining width of integer
8247 types, and reorder content to improve flow and context of
8248 discussion.
8249
8250 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
8251
8252 * lang.texi (va_copy): Change standard from ISO to C99.
8253 (__va_copy): Add standard and header annotation.
8254 Update description for clarity of origins and current use.
8255
8256 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8257
8258 [BZ #21941]
8259 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
8260 xssqrtqp requires operands to be in Vector Registers
8261 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
8262 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
8263 (__ieee754_sqrtf128): Likewise.
8264
8265 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8266
8267 * sysdeps/aarch64/memcmp.S (memcmp):
8268 Rewrite of optimized memcmp.
8269
8270 2017-08-10 Florian Weimer <fweimer@redhat.com>
8271
8272 Introduce ld.so exceptions.
8273 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
8274 (_dl_exception_create, _dl_exception_create_format)
8275 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
8276 (_dl_catch_exception): Declare.
8277 (_dl_catch_error): Update comment.
8278 * elf/dl-error-skeleton.c (struct catch): Replace objname,
8279 errstring, malloced members with exception member.
8280 (_dl_out_of_memory): Remove.
8281 (fatal_error): New function, extracted from _dl_signal_error.
8282 (_dl_signal_exception, _dl_signal_cexception): New functions.
8283 (_dl_signal_error): Call _dl_exception_create to allocate an
8284 exception object.
8285 (_dl_catch_exception): New function, based on _dl_catch_error.
8286 (_dl_catch_error): Implement using _dl_catch_exception.
8287 * elf/dl-exception.c: New file.
8288 * elf/Makefile (dl-routines): Add dl-exception.
8289 (elide-routines.os): Likewise.
8290 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
8291 _dl_exception_create_format, _dl_exception_free.
8292 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
8293 _dl_signal_exception.
8294 * elf/dl-lookup.c (make_string): Remove.
8295 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
8296 _dl_signal_cexception, _dl_exception_free.
8297 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
8298 _dl_signal_exception.
8299 * elf/dl-sym.c (do_sym): Likewise.
8300 * elf/dl-version.c (make_string): Remove.
8301 (match_symbol): Use _dl_exception_create_format,
8302 _dl_signal_cexception, _dl_exception_free.
8303 (_dl_check_map_versions): Likewise.
8304 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
8305 _dl_catch_exception.
8306 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
8307 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
8308 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
8309 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
8310 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
8311 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
8312 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
8313 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
8314 Likewise.
8315 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
8316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
8317 (ld.so): Likewise.
8318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
8319 (ld.so): Likewise.
8320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
8321 Likewise.
8322 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
8323 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
8324 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
8325 Likewise.
8326 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
8327 Likewise.
8328 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
8329
8330 2017-08-10 Florian Weimer <fweimer@redhat.com>
8331
8332 * inet/net-internal.h (__inet6_scopeid_pton): Remove
8333 attribute_hidden, internal_function.
8334 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
8335 internal_function.
8336
8337 2017-08-10 Florian Weimer <fweimer@redhat.com>
8338
8339 * malloc/malloc.c (get_max_fast): Reimplement as an inline
8340 function which calls __builtin_unreachable.
8341
8342 2017-08-10 Mike FABIAN <mfabian@redhat.com>
8343
8344 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
8345 Indian monetary formatting
8346 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
8347 test cases.
8348
8349 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
8350
8351 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
8352 Fix typo in comment.
8353
8354 [BZ #21928]
8355 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
8356 PTRACE_SEIZE_DEVEL): Remove.
8357 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
8358 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8359 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8360 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8361 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8362
8363 2017-08-09 Joseph Myers <joseph@codesourcery.com>
8364
8365 * posix/bits/types.h (__qaddr_t): Remove.
8366
8367 [BZ #21457]
8368 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
8369 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
8370 __glibc_reserved1.
8371 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
8372 (ucontext_t): Use __ctx with uc_flags.
8373 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
8374 (__ctxt): Likewise.
8375 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
8376 __glibc_reserved1.
8377 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
8378 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
8379 __glibc_reserved1.
8380 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
8381 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
8382 __glibc_reserved1.
8383 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
8384 macro.
8385 (ucontext_t): Use __ctx with uc_flags.
8386 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
8387 (ucontext_t): Use __ctx with uc_flags.
8388 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
8389 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
8390 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
8391 (ucontext_t): Use __ctx with uc_flags.
8392 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
8393 undefine further down.
8394 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
8395 __glibc_reserved1.
8396 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
8397 undefine further down.
8398 (ucontext_t): Use __ctx with uc_flags.
8399 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
8400 undefine further down.
8401 (ucontext_t): Use __ctx with uc_flags.
8402 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
8403 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
8404 Rename uc_pad to __glibc_reserved1.
8405 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
8406 undefine further down.
8407 (ucontext_t): Use __ctx with uc_flags.
8408 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
8409 further down.
8410 (ucontext_t): Use __ctx with uc_flags.
8411 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
8412 __ctx with uc_flags.
8413 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
8414 (ucontext_t): Use __ctx with uc_flags.
8415 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
8416 __ctx with uc_flags.
8417
8418 2017-08-09 Florian Weimer <fweimer@redhat.com>
8419
8420 [BZ #21932]
8421 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
8422 before early return.
8423
8424 2017-08-09 Andreas Schwab <schwab@suse.de>
8425
8426 [BZ #21041]
8427 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
8428 renamed alias.
8429
8430 [BZ #21041]
8431 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
8432 tst-compat-forwarder.
8433 (modules-names): Add tst-compat-forwarder-mod.
8434 ($(objpfx)tst-compat-forwarder): Depend on
8435 $(objpfx)tst-compat-forwarder-mod.so.
8436 * nptl/tst-compat-forwarder.c: New file.
8437 * nptl/tst-compat-forwarder-mod.c: New file.
8438
8439 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
8440
8441 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
8442 comments.
8443
8444 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
8445 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
8446 memcpy_falkor.
8447 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
8448 Bump.
8449 (__libc_ifunc_impl_list): Add __memcpy_falkor.
8450 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
8451 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
8452 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
8453 Add falkor.
8454 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
8455 New macro.
8456
8457 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8458
8459 [BZ #759]
8460 * manual/setjmp.texi (getcontex): Document uc_stack value
8461 compatibility differences.
8462
8463 2017-08-08 Joseph Myers <joseph@codesourcery.com>
8464
8465 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
8466 (old_malloc_hook): Likewise.
8467 (old_memalign_hook): Likewise.
8468 (old_realloc_hook): Likewise.
8469 (struct hdr): Likewise.
8470 (flood): Likewise.
8471 (freehook): Likewise.
8472 (mallochook): Likewise.
8473 (memalignhook): Likewise.
8474 (reallochook): Likewise.
8475 (mprobe): Likewise.
8476 * malloc/mtrace.c (mallwatch): Likewise.
8477 (tr_old_free_hook): Likewise.
8478 (tr_old_malloc_hook): Likewise.
8479 (tr_old_realloc_hook): Likewise.
8480 (tr_old_memalign_hook): Likewise.
8481 (tr_where): Likewise.
8482 (lock_and_info): Likewise.
8483 (tr_freehook): Likewise.
8484 (tr_mallochook): Likewise.
8485 (tr_reallochook): Likewise.
8486 (tr_memalignhook): Likewise.
8487 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
8488 * misc/mmap.c (__mmap): Likewise.
8489 * misc/mmap64.c (__mmap64): Likewise.
8490 * misc/mprotect.c (__mprotect): Likewise.
8491 * misc/msync.c (msync): Likewise.
8492 * misc/munmap.c (__munmap): Likewise.
8493 * posix/posix_madvise.c (posix_madvise): Likewise.
8494 * socket/send.c (__send): Likewise.
8495 * socket/sendto.c (__sendto): Likewise.
8496 * socket/setsockopt.c (__setsockopt): Likewise.
8497 * string/memcmp.c (__ptr_t): Remove macro.
8498 (MEMCMP): Use void * instead of ptr_t.
8499 * string/memrchr.c (__ptr_t): Remove macro.
8500 (__memrchr): Use void * instead of ptr_t.
8501 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
8502 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
8503 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
8504 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
8505 * sysdeps/mach/msync.c (msync): Likewise.
8506 * sysdeps/mach/munmap.c (__munmap): Likewise.
8507 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
8508 Likewise.
8509 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
8510 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
8511 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
8512 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
8513 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
8514 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
8515 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
8516 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
8517 Likewise.
8518 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
8519 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
8520 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
8521 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
8522 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
8523 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
8524 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
8525 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
8526 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
8527 Likewise.
8528 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
8529 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
8530 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
8531 (MEMCMP): Use void * instead of ptr_t.
8532 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
8533 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
8534
8535 2017-08-08 Florian Weimer <fweimer@redhat.com>
8536
8537 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
8538 return statement.
8539
8540 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
8541
8542 [BZ #21913]
8543 * csu/libc-tls.c: Include <startup.h> first.
8544 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
8545 * elf/dl-tunables.c: Include <startup.h> first.
8546 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
8547 * sysdeps/generic/startup.h: New file.
8548 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
8549 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
8550 (I386_USE_SYSENTER): New. Defined to 0.
8551
8552 2017-08-08 Andreas Schwab <schwab@suse.de>
8553
8554 [BZ #21041]
8555 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
8556 * nptl/pt-system.c (system): Likewise.
8557
8558 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8559
8560 [BZ #21780]
8561 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
8562 EOPNOTSUPP.
8563 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
8564 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
8565 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
8566 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
8567 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
8568 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
8569 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
8570
8571 2017-08-07 Joseph Myers <joseph@codesourcery.com>
8572
8573 [BZ #21899]
8574 * bits/sigaction.h (struct sigaction): Define sa_handler and
8575 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
8576 (SA_ONSTACK): Change [__USE_UNIX98] condition to
8577 [__USE_XOPEN_EXTENDED].
8578 (SA_RESTART): Likewise.
8579 (SA_NODEFER): Likewise.
8580 (SA_RESETHAND): Likewise.
8581 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
8582 (struct sigaction): Define sa_handler and sa_sigaction using union
8583 also for [__USE_XOPEN_EXTENDED].
8584 (SA_ONSTACK): Change [__USE_UNIX98] condition to
8585 [__USE_XOPEN_EXTENDED].
8586 (SA_RESTART): Likewise.
8587 (SA_NODEFER): Likewise.
8588 (SA_RESETHAND): Likewise.
8589 * sysdeps/unix/sysv/linux/bits/sigaction.h
8590 (struct sigaction): Define sa_handler and sa_sigaction using union
8591 also for [__USE_XOPEN_EXTENDED].
8592 (SA_ONSTACK): Change [__USE_UNIX98] condition to
8593 [__USE_XOPEN_EXTENDED].
8594 (SA_RESTART): Likewise.
8595 (SA_NODEFER): Likewise.
8596 (SA_RESETHAND): Likewise.
8597 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
8598 (struct sigaction): Define sa_handler and sa_sigaction using union
8599 also for [__USE_XOPEN_EXTENDED].
8600 (SA_ONSTACK): Change [__USE_UNIX98] condition to
8601 [__USE_XOPEN_EXTENDED].
8602 (SA_RESTART): Likewise.
8603 (SA_NODEFER): Likewise.
8604 (SA_RESETHAND): Likewise.
8605 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
8606 (struct sigaction): Define sa_handler and sa_sigaction using union
8607 also for [__USE_XOPEN_EXTENDED].
8608 (SA_ONSTACK): Change [__USE_UNIX98] condition to
8609 [__USE_XOPEN_EXTENDED].
8610 (SA_RESTART): Likewise.
8611 (SA_NODEFER): Likewise.
8612 (SA_RESETHAND): Likewise.
8613 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
8614 (struct sigaction): Define sa_handler and sa_sigaction using union
8615 also for [__USE_XOPEN_EXTENDED].
8616 (SA_ONSTACK): Change [__USE_UNIX98] condition to
8617 [__USE_XOPEN_EXTENDED].
8618 (SA_RESTART): Likewise.
8619 (SA_NODEFER): Likewise.
8620 (SA_RESETHAND): Likewise.
8621 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
8622 (struct sigaction): Define sa_handler and sa_sigaction using union
8623 also for [__USE_XOPEN_EXTENDED].
8624 (SA_ONSTACK): Change [__USE_UNIX98] condition to
8625 [__USE_XOPEN_EXTENDED].
8626 (SA_RESTART): Likewise.
8627 (SA_NODEFER): Likewise.
8628 (SA_RESETHAND): Likewise.
8629 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
8630 (struct sigaction): Define sa_handler and sa_sigaction using union
8631 also for [__USE_XOPEN_EXTENDED].
8632 (SA_ONSTACK): Change [__USE_UNIX98] condition to
8633 [__USE_XOPEN_EXTENDED].
8634 (SA_RESTART): Likewise.
8635 (SA_NODEFER): Likewise. Define directly rather than as alias.
8636 (SA_RESETHAND): Likewise.
8637 (SA_INTERRUPT): Define only for [__USE_MISC].
8638 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
8639 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
8640 [__USE_MISC].
8641 (SA_STACK): Define only for [__USE_MISC].
8642 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
8643 (struct sigaction): Define sa_handler and sa_sigaction using union
8644 also for [__USE_XOPEN_EXTENDED].
8645 (SA_ONSTACK): Change [__USE_UNIX98] condition to
8646 [__USE_XOPEN_EXTENDED].
8647 (SA_RESTART): Likewise.
8648 (SA_NODEFER): Likewise.
8649 (SA_RESETHAND): Likewise.
8650 (SA_NOPTRACE): Define only for [__USE_MISC].
8651
8652 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
8653 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
8654 (struct catalog_info): Likewise.
8655 * inet/htontest.c (lo): Likewise.
8656 (foo): Likewise.
8657 * inet/inet_lnaof.c (inet_lnaof): Likewise.
8658 * inet/inet_net.c (inet_network): Likewise.
8659 * inet/inet_netof.c (inet_netof): Likewise.
8660 * inet/rcmd.c (__ivaliduser): Likewise.
8661 (iruserok): Likewise.
8662 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
8663 * locale/programs/locale-spec.c (locale_special): Likewise.
8664 * nis/nis_findserv.c (struct findserv_req): Likewise.
8665 (__nis_findfastest_with_timeout): Likewise.
8666 * nss/test-netdb.c (test_network): Likewise.
8667 * resolv/inet_neta.c (inet_neta): Likewise.
8668 * resolv/ns_date.c (ns_datetosecs): Likewise.
8669 (SECS_PER_DAY): Likewise.
8670 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
8671 Likewise.
8672 * resolv/res_comp.c (__putlong): Likewise.
8673 (__putshort): Likewise.
8674 (_getlong): Likewise.
8675 (_getshort): Likewise.
8676 * resolv/res_debug.c (p_time): Likewise.
8677 (precsize_ntoa): Likewise.
8678 (precsize_aton): Likewise.
8679 (latlon2ul): Likewise.
8680 (loc_aton): Likewise.
8681 (loc_ntoa): Likewise.
8682 * resolv/res_hconf.c (struct netaddr): Likewise.
8683 (_res_hconf_reorder_addrs): Likewise.
8684 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
8685 (clnttcp_control): Likewise.
8686 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8687 (clntudp_control): Likewise.
8688 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
8689 (clntunix_control): Likewise.
8690 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
8691 * sunrpc/rpc/auth.h (union des_block): Likewise.
8692 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
8693 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
8694 (xdrrec_create): Likewise.
8695 (xdrrec_endofrecord): Likewise.
8696 (flush_out): Likewise.
8697 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
8698 (xdrstdio_putlong): Likewise.
8699 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
8700 Likewise.
8701
8702 * misc/sys/cdefs.h (__long_double_t): Remove.
8703 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
8704 instead of __long_double_t,
8705 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
8706
8707 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
8708
8709 * benchtests/scripts/compare_strings.py: Avoid display error when
8710 running on a text terminal.
8711
8712 * benchtests/scripts/compare_strings.py (main): Add an
8713 optional -base option.
8714 (process_results): New argument base_func.
8715
8716 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
8717 hardcoding memcpy.
8718 * benchtests/bench-memcpy-large.c (test_name): Likewise.
8719 * benchtests/bench-memcpy-random.c (test_name): Likewise.
8720
8721 2017-08-07 Andreas Schwab <schwab@suse.de>
8722
8723 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
8724 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8725 * intl/Makefile ($(objpfx)tst-gettext.out)
8726 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
8727 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
8728 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8729 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8730 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
8731 * posix/Makefile ($(objpfx)globtest.out)
8732 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
8733 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
8734 ($(objpfx)tst-printf.out): Likewise.
8735 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
8736 ($(objpfx)tst-setcontext3.out): Likewise.
8737
8738 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
8739
8740 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8741 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
8742 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
8743 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
8744 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
8745 and mptan-fma.
8746 (CFLAGS-doasin-fma.c): New.
8747 (CFLAGS-dosincos-fma.c): Likewise.
8748 (CFLAGS-e_asin-fma.c): Likewise.
8749 (CFLAGS-e_atan2-fma.c): Likewise.
8750 (CFLAGS-e_exp-fma.c): Likewise.
8751 (CFLAGS-e_log-fma.c): Likewise.
8752 (CFLAGS-e_pow-fma.c): Likewise.
8753 (CFLAGS-halfulp-fma.c): Likewise.
8754 (CFLAGS-mpa-fma.c): Likewise.
8755 (CFLAGS-mpatan-fma.c): Likewise.
8756 (CFLAGS-mpatan2-fma.c): Likewise.
8757 (CFLAGS-mpexp-fma.c): Likewise.
8758 (CFLAGS-mplog-fma.c): Likewise.
8759 (CFLAGS-mpsqrt-fma.c): Likewise.
8760 (CFLAGS-mptan-fma.c): Likewise.
8761 (CFLAGS-s_atan-fma.c): Likewise.
8762 (CFLAGS-sincos32-fma.c): Likewise.
8763 (CFLAGS-slowexp-fma.c): Likewise.
8764 (CFLAGS-slowpow-fma.c): Likewise.
8765 (CFLAGS-s_sin-fma.c): Likewise.
8766 (CFLAGS-s_tan-fma.c): Likewise.
8767 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
8768 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
8769 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
8770 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
8771 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
8772 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
8773 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
8774 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
8775 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
8776 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
8777 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
8778 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
8779 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
8780 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
8781 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
8782 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
8783 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
8784 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
8785 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
8786 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
8787 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
8788 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
8789 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
8790 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
8791 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8792 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8793 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8794 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
8795 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8796 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8797 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8798
8799 2017-08-04 Joseph Myers <joseph@codesourcery.com>
8800
8801 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
8802 (min_of_type_f): New macro.
8803 (min_of_type_): Likewise.
8804 (min_of_type_l): Likewise.
8805 (min_of_type_f128): Likewise.
8806 (min_of_type): Define using __MATH_TG and taking an expression
8807 argument.
8808 (math_check_force_underflow): Pass expression instead of type to
8809 min_of_type.
8810 (math_check_force_underflow_nonneg): Likewise.
8811
8812 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8813
8814 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
8815 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
8816 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
8817
8818 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8819
8820 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8821 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
8822 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
8823 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
8824 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
8825 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
8826 memcpy_chk-nonshared, mempcpy_chk-nonshared,
8827 memmove_chk-nonshared and memset_chk-nonshared
8828 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
8829 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
8830 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
8831 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
8832 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
8833 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
8834 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
8835 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
8836 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
8837 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
8838 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
8839 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
8840 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
8841 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
8842 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
8843 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
8844 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
8845 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
8846 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
8847 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
8848 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
8849 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
8850 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
8851 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
8852 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
8853 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
8854 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
8855 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
8856 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
8857 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
8858 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
8859 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
8860 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
8861 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
8862 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
8863 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
8864 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
8865 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
8866 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
8867 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
8868 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
8869 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
8870 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
8871 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
8872 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
8873 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
8874 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
8875 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
8876 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
8877 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
8878 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
8879 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
8880 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
8881 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
8882 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
8883 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
8884 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
8885 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
8886 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
8887 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
8888 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
8889 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
8890 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
8891 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
8892 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
8893 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
8894 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
8895 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
8896 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
8897 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
8898 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
8899 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8900 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8901 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8902 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8903 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8904 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8905 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8906 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8907 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8908 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8909 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8910 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8911 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8912 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8913 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8914 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8915 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8916 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8917 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8918 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8919 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8920 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8921 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8922 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8923 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8924 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8925 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8926 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8927 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8928 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8929 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8930 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8931 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8932 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8933 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8934 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8935 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8936
8937 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8938
8939 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
8940 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
8941 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
8942 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
8943 svml_d_log2_core-sse2, svml_d_log4_core-sse,
8944 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
8945 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
8946 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
8947 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
8948 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
8949 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
8950 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
8951 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
8952 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
8953 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
8954 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
8955 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
8956 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
8957 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
8958 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
8959 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
8960 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
8961 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
8962 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
8963 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
8964 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
8965 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
8966 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
8967 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
8968 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
8969 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
8970 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
8971 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
8972 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
8973 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
8974 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
8975 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
8976 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
8977 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
8978 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
8979 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
8980 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
8981 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
8982 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
8983 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
8984 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
8985 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
8986 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
8987 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
8988 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
8989 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
8990 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
8991 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
8992 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
8993 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
8994 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
8995 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
8996 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
8997 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
8998 ...
8999 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
9000 Don't include <sysdep.h> nor <init-arch.h>.
9001 (_ZGVbN2v_cos): Removed.
9002 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
9003 ...
9004 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
9005 Don't include <sysdep.h> nor <init-arch.h>.
9006 (_ZGVdN4v_cos): Removed.
9007 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
9008 ...
9009 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
9010 Don't include <sysdep.h> nor <init-arch.h>.
9011 (_ZGVeN8v_cos): Removed.
9012 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
9013 ...
9014 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
9015 Don't include <sysdep.h> nor <init-arch.h>.
9016 (_ZGVbN2v_exp): Removed.
9017 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
9018 ...
9019 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
9020 Don't include <sysdep.h> nor <init-arch.h>.
9021 (_ZGVdN4v_exp): Removed.
9022 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
9023 ...
9024 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
9025 Don't include <sysdep.h> nor <init-arch.h>.
9026 (_ZGVeN8v_exp): Removed.
9027 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
9028 ...
9029 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
9030 Don't include <sysdep.h> nor <init-arch.h>.
9031 (_ZGVbN2v_log): Removed.
9032 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
9033 ...
9034 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
9035 Don't include <sysdep.h> nor <init-arch.h>.
9036 (_ZGVdN4v_log): Removed.
9037 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
9038 ...
9039 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
9040 Don't include <sysdep.h> nor <init-arch.h>.
9041 (_ZGVeN8v_log): Removed.
9042 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
9043 ...
9044 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
9045 Don't include <sysdep.h> nor <init-arch.h>.
9046 (_ZGVbN2vv_pow): Removed.
9047 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
9048 ...
9049 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
9050 Don't include <sysdep.h> nor <init-arch.h>.
9051 (_ZGVdN4vv_pow): Removed.
9052 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
9053 ...
9054 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
9055 Don't include <sysdep.h> nor <init-arch.h>.
9056 (_ZGVeN8vv_pow): Removed.
9057 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
9058 ...
9059 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
9060 Don't include <sysdep.h> nor <init-arch.h>.
9061 (_ZGVbN2v_sin): Removed.
9062 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
9063 ...
9064 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
9065 Don't include <sysdep.h> nor <init-arch.h>.
9066 (_ZGVbN4v_sin): Removed.
9067 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
9068 ...
9069 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
9070 Don't include <sysdep.h> nor <init-arch.h>.
9071 (_ZGVbN8v_sin): Removed.
9072 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
9073 ...
9074 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
9075 Don't include <sysdep.h> nor <init-arch.h>.
9076 (_ZGVbN2vvv_sincos): Removed.
9077 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
9078 ...
9079 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
9080 Don't include <sysdep.h> nor <init-arch.h>.
9081 (_ZGVdN4vvv_sincos): Removed.
9082 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
9083 ...
9084 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
9085 Don't include <sysdep.h> nor <init-arch.h>.
9086 (_ZGVeN8vvv_sincos): Removed.
9087 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
9088 ...
9089 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
9090 Don't include <sysdep.h> nor <init-arch.h>.
9091 (_ZGVeN16v_cosf): Removed.
9092 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
9093 ...
9094 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
9095 Don't include <sysdep.h> nor <init-arch.h>.
9096 (_ZGVbN4v_cosf): Removed.
9097 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
9098 ...
9099 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
9100 Don't include <sysdep.h> nor <init-arch.h>.
9101 (_ZGVdN8v_cosf): Removed.
9102 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
9103 ...
9104 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
9105 Don't include <sysdep.h> nor <init-arch.h>.
9106 (_ZGVeN16v_expf): Removed.
9107 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
9108 ...
9109 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
9110 Don't include <sysdep.h> nor <init-arch.h>.
9111 (_ZGVbN4v_expf): Removed.
9112 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
9113 ...
9114 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
9115 Don't include <sysdep.h> nor <init-arch.h>.
9116 (_ZGVdN8v_expf): Removed.
9117 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
9118 ...
9119 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
9120 Don't include <sysdep.h> nor <init-arch.h>.
9121 (_ZGVeN16v_logf): Removed.
9122 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
9123 ...
9124 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
9125 Don't include <sysdep.h> nor <init-arch.h>.
9126 (_ZGVbN4v_logf): Removed.
9127 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
9128 ...
9129 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
9130 Don't include <sysdep.h> nor <init-arch.h>.
9131 (_ZGVdN8v_logf): Removed.
9132 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
9133 ...
9134 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
9135 Don't include <sysdep.h> nor <init-arch.h>.
9136 (_ZGVeN16vv_powf): Removed.
9137 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
9138 ...
9139 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
9140 Don't include <sysdep.h> nor <init-arch.h>.
9141 (_ZGVbN4vv_powf): Removed.
9142 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
9143 ...
9144 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
9145 Don't include <sysdep.h> nor <init-arch.h>.
9146 (_ZGVdN8vv_powf): Removed.
9147 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
9148 ...
9149 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
9150 Don't include <sysdep.h> nor <init-arch.h>.
9151 (_ZGVeN16vvv_sincosf): Removed.
9152 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
9153 ...
9154 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
9155 Don't include <sysdep.h> nor <init-arch.h>.
9156 (_ZGVbN4vvv_sincosf): Removed.
9157 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
9158 ...
9159 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
9160 Don't include <sysdep.h> nor <init-arch.h>.
9161 (_ZGVdN8vvv_sincosf): Removed.
9162 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
9163 ...
9164 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
9165 Don't include <sysdep.h> nor <init-arch.h>.
9166 (_ZGVeN16v_sinf): Removed.
9167 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
9168 ...
9169 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
9170 Don't include <sysdep.h> nor <init-arch.h>.
9171 (_ZGVbN4v_sinf): Removed.
9172 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
9173 ...
9174 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
9175 Don't include <sysdep.h> nor <init-arch.h>.
9176 (_ZGVdN8v_sinf): Removed.
9177
9178 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
9179
9180 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9181 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
9182 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
9183 s_rint-sse4_1 and s_rintf-sse4_1.
9184 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
9185 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
9186 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
9187 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
9188 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
9189 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
9190 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
9191 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
9192 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
9193 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
9194 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
9195 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
9196 (__ceil): Removed.
9197 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
9198 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
9199 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
9200 (__ceilf): Removed.
9201 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
9202 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
9203 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
9204 (__floor): Removed.
9205 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
9206 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
9207 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
9208 (__floorf): Removed.
9209 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
9210 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
9211 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
9212 (__nearbyint): Removed.
9213 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
9214 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
9215 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
9216 (__nearbyintf): Removed.
9217 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
9218 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
9219 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
9220 (__rint): Removed.
9221 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
9222 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
9223 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
9224 (__rintf): Removed.
9225
9226 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
9227
9228 * sysdeps/i386/start.S (_start): Check Check PIC instead of
9229 SHARED. Avoid dynamic relocation against main in static PIE.
9230
9231 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
9232
9233 [BZ #21815]
9234 * elf/Makefile (CFLAGS-tst-prelink.c): New.
9235 (LDFLAGS-tst-prelink): Likewise.
9236
9237 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
9238
9239 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
9240 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
9241 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
9242 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
9243 (INTERNAL_SYSCALL_NCS): Likewise.
9244 (LOADARGS_1): Likewise.
9245 (LOADARGS_5): Likewise.
9246 (RESTOREARGS_1): Likewise.
9247 (RESTOREARGS_5): Likewise.
9248
9249 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
9250
9251 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
9252 (MEMPCPY_SYMBOL): Likewise.
9253 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9254 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
9255 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
9256 in libc.a.
9257 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9258 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
9259 Likewise.
9260 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
9261 (__hidden_ver1): Don't use in libc.a.
9262 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
9263 (__mempcpy): Don't create a weak alias in libc.a.
9264 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
9265 libc.a.
9266 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
9267 (__hidden_ver1): Don't use in libc.a.
9268
9269 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
9270
9271 * config.make.in (have-insert): New.
9272 * configure.ac (libc_cv_insert): New. Set to yes if linker
9273 supports INSERT in linker script.
9274 (AC_SUBST(libc_cv_insert): New.
9275 * configure: Regenerated.
9276 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
9277 if $(have-insert) == yes.
9278
9279 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
9280
9281 * elf/Makefile (tests): Add vismain only if
9282 $(have-protected-data) == yes.
9283 (tests-pie): Likewise.
9284
9285 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
9286
9287 [BZ #21871]
9288 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
9289 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
9290
9291 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
9292
9293 [BZ #21790]
9294 * sysdeps/i386/i586/memset.S
9295 (__memset_zero_constant_len_parameter): Removed.
9296 * sysdeps/i386/i686/memset.S
9297 (__memset_zero_constant_len_parameter): Likewise.
9298 * sysdeps/i386/i686/multiarch/memset_chk.S
9299 (__memset_zero_constant_len_parameter): Likewise.
9300 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
9301 Likewise.
9302
9303 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
9304
9305 * stdlib/getentropy.c (getentropy): Change return type to int.
9306
9307 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
9308
9309 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
9310
9311 2017-08-03 Joseph Myers <joseph@codesourcery.com>
9312
9313 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
9314 u_intN_t.
9315 * math/s_nexttowardf.c (__nexttowardf): Likewise.
9316 * sysdeps/generic/math_private.h (ieee_double_shape_type):
9317 Likewise.
9318 (ieee_float_shape_type): Likewise.
9319 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
9320 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
9321 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
9322 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
9323 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
9324 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
9325 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
9326 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9327 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9328 Likewise.
9329 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9330 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9331 (__ieee754_yn): Likewise.
9332 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9333 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9334 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
9335 Likewise.
9336 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9337 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
9338 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
9339 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
9340 (__erfc): Likewise.
9341 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
9342 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
9343 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
9344 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
9345 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
9346 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
9347 Likewise.
9348 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
9349 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
9350 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
9351 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
9352 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9353 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
9354 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
9355 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
9356 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
9357 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
9358 (__issignaling): Likewise.
9359 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
9360 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
9361 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9362 Likewise.
9363 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9364 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
9365 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
9366 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
9367 Likewise.
9368 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
9369 Likewise.
9370 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
9371 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
9372 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
9373 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
9374 (__erfcf): Likewise.
9375 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
9376 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
9377 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
9378 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
9379 Likewise.
9380 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
9381 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
9382 Likewise.
9383 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
9384 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
9385 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
9386 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
9387 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
9388 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
9389 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
9390 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
9391 Likewise.
9392 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
9393 Likewise.
9394 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
9395 Likewise.
9396 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
9397 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9398 Likewise.
9399 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9400 Likewise.
9401 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9402 (__ieee754_ynl): Likewise.
9403 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9404 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
9405 Likewise.
9406 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
9407 Likewise.
9408 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
9409 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
9410 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9411 Likewise.
9412 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
9413 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
9414 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
9415 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
9416 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
9417 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
9418 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
9419 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
9420 Likewise.
9421 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
9422 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
9423 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
9424 Likewise.
9425 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
9426 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
9427 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
9428 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
9429 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
9430 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
9431 Likewise.
9432 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
9433 Likewise.
9434 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
9435 Likewise.
9436 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
9437 Likewise.
9438 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
9439 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
9440 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9441 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
9442 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
9443 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
9444 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
9445 Likewise.
9446 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9447 Likewise.
9448 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9449 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9450 Likewise.
9451 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
9452 (__ieee754_remainderl): Likewise.
9453 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9454 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9455 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9456 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9457 Likewise.
9458 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9459 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9460 Likewise.
9461 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9462 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
9463 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
9464 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
9465 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
9466 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9467 Likewise.
9468 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
9469 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
9470 (__ieee754_y0l): Likewise.
9471 (pzero): Likewise.
9472 (qzero): Likewise.
9473 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9474 (__ieee754_y1l): Likewise.
9475 (pone): Likewise.
9476 (qone): Likewise.
9477 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9478 (__ieee754_ynl): Likewise.
9479 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
9480 (__ieee754_lgammal_r): Likewise.
9481 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
9482 Likewise.
9483 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
9484 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
9485 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
9486 (__erfcl): Likewise.
9487 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
9488 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
9489 Likewise.
9490 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
9491 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
9492 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
9493 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
9494 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
9495 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
9496 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
9497 Likewise.
9498 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
9499 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
9500 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
9501 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
9502 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
9503 Likewise.
9504 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
9505 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
9506 Likewise.
9507 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
9508 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
9509 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
9510 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
9511 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
9512
9513 2017-08-03 Florian Weimer <fweimer@redhat.com>
9514
9515 [BZ #21885]
9516 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
9517 on memory allocation failure.
9518
9519 2017-08-03 Alan Modra <amodra@gmail.com>
9520
9521 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
9522 tst-tlsopt-powerpc.c with function name change and no test harness.
9523 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
9524 Call tls_get_addr_opt_test.
9525 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
9526 (modules-names): Add mod-tlsopt-powerpc.
9527 (mod-tlsopt-powerpc.so-no-z-defs): Define.
9528 (tst-tlsopt-powerpc): Depend on .so.
9529 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
9530 define. Expand use in TLS_GD and TLS_LD.
9531
9532 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9533
9534 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
9535 function.
9536 * sysdeps/posix/shm_open.c: Include <pthread.h>.
9537
9538 2017-08-02 Joseph Myers <joseph@codesourcery.com>
9539
9540 [BZ #21686]
9541 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
9542 comparing size with that of double.
9543 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
9544 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
9545 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
9546 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
9547 (__TGMATH_BINARY_REAL_IMAG): Likewise.
9548 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
9549 unsigned __int128 types.
9550
9551 2017-08-02 Steve Ellcey <sellcey@cavium.com>
9552
9553 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
9554 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
9555 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
9556 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
9557 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
9558
9559 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
9560
9561 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
9562
9563 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
9564
9565 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
9566 of SHARED.
9567 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
9568 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9569 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9570 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9571 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9572 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9573 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9574
9575 2017-08-02 Joseph Myers <joseph@codesourcery.com>
9576
9577 [BZ #21685]
9578 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
9579 bit-field expressions passed to sizeof or typeof.
9580 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9581 (__TGMATH_F128): Likewise.
9582 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9583 (__TGMATH_CF128): Likewise.
9584 (__TGMATH_UNARY_REAL_ONLY): Likewise.
9585 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
9586 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
9587 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
9588 (__TGMATH_BINARY_REAL_ONLY): Likewise.
9589 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
9590 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
9591 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
9592 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
9593 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
9594 (__TGMATH_UNARY_REAL_IMAG): Likewise.
9595 (__TGMATH_UNARY_IMAG): Likewise.
9596 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
9597 (__TGMATH_BINARY_REAL_IMAG): Likewise.
9598 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
9599 type.
9600 (define_vars_for_type): Handle bit_field type specially.
9601 (Tests.__init__): Declare structure with bit-field element.
9602
9603 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
9604
9605 [BZ #21791]
9606 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
9607 (MEMCPY_CHK): Define only if SHARED is defined.
9608 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
9609 Likewise.
9610 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
9611 Likewise.
9612
9613 See ChangeLog.18 for earlier changes.